1 2004-11-02 José Matos <jamatos@lyx.org>
3 * output_docbook.C (docbook):
5 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
6 garantee that the output is always legal.
9 * outputprams.[Ch]: remove mixed contents.
11 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
13 * text2.C (setCounter): prevent endless loop
15 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
17 * exporter.C (copyFile): use the mover instead of support::copy()
18 * exporter.C (Export): pass format and latex name to copyFile()
19 * exporter.h (addExternalFile): document
20 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
22 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
24 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
26 2004-10-30 José Matos <jamatos@lyx.org>
28 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
29 text and no inset or font change. This allows to use CDATA
30 sections just for the whole paragraph.
32 2004-10-30 José Matos <jamatos@lyx.org>
34 * paragraph.C (getFirstWord): remove unused variable.
36 2004-10-30 José Matos <jamatos@lyx.org>
38 * paragraph.C (getFirstWord): the content should always be escaped there.
39 (simpleDocBookOnePar):
40 * output_docbook.C (makeEnvironment): replace reference to CDATA to style pass_thru.
42 2004-10-30 José Matos <jamatos@lyx.org>
44 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
46 2004-10-30 José Matos <jamatos@lyx.org>
48 * output_docbook.C (makeParagraphs):
49 * paragraph.[Ch] (emptyTag): for docbook and company, if the
50 standard paragraph has only a given type of content drop the wrapper.
52 2004-10-29 José Matos <jamatos@lyx.org>
54 * output_docbook.C (makeEnvironment):
56 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
58 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
60 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
61 (cleanID): sanitize any id.
63 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
65 * buffer.C, lyxlex_pimpl.C:
66 * lyxlex_pimpl.C (setFile):
67 s/getExtFromContents/getFormatFromContents/
69 2004-10-28 José Matos <jamatos@lyx.org>
71 * output_docbook.C (makeEnvironment): move id to broadest possible scope.
73 * sgml.C (openTag): apply substitution of <> for all attribuites.
75 2004-10-28 José Matos <jamatos@lyx.org>
77 * buffer.C (makeLinuxDocFile, makeDocBookFile):
78 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
79 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
81 * sgml.[Ch]: new version for open and closeTag for paragraph and
82 for strings. Now they handle the ids of paragraphs.
84 2004-10-26 Angus Leeming <leeming@lyx.org>
86 * Makefile.am: add mover.[Ch].
88 * converter.C (convert, move): use the new Movers to move external
89 files to the temp directory.
91 * lyx_main.C (init): ensure that the global system_movers data
94 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
97 * mover.[Ch]: new files, defining a Mover as a utility to move an
98 external file between directories and, if necessary, manipulate this
99 file using a helper script.
101 2004-10-25 José Matos <jamatos@lyx.org>
103 * output_docbook.C (makeCommand): merge two if's that tested the same condition.
105 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * sgml.C (escapeString): fix warning in a better way
109 2004-10-25 José Matos <jamatos@lyx.org>
111 * sgml.C (escapeString): import the require boosts header file for
112 tie, and avoid a signed unsigned comparison.
114 2004-10-25 José Matos <jamatos@lyx.org>
116 * sgml.h: add #include <string>
118 2004-10-25 José Matos <jamatos@lyx.org>
120 * sgml.[Ch] (escapeString): new function to escape all the string.
122 2004-10-24 José Matos <jamatos@lyx.org>
124 * paragraph.[Ch] (getFirstWord): new function to get the first
125 word. Useful for description.
126 (simpleDocBookOnePar): remove depth argument, add another that
127 says where to start the paragraph.
129 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
130 use the new functions to fix cleanly the support for descriptions.
132 2004-10-24 José Matos <jamatos@lyx.org>
134 * buffer.C (makeLinuxDocFile, makeDocBookFile):
135 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
136 * output_linuxdoc.C (linuxdocParagraphs):
137 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
138 add buffer as argument.
140 2004-10-24 José Matos <jamatos@lyx.org>
142 * output_docbook.C (makeEnvironment, searchEnvironment): place
143 CDATA inside paragraphs and fix scope for listitems.
145 2004-10-24 José Matos <jamatos@lyx.org>
147 * output_docbook.C: remove using statement for stack.
149 2004-10-23 José Matos <jamatos@lyx.org>
151 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
152 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
153 docbook. The new scheme is recursive and makes use of iterators, the
154 same as latex export works.
155 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
156 directly with the paragraph contents. This code was moved up to
157 output_docbook.C (docbookParagraphs).
158 * sgml.C (openTag, closeTag): removed unneeded newlines.
159 (closeEnvTags) removed.
161 2003-10-23 André Pönitz <poenitz@gmx.net>
163 * undo.C (textUndoOrRedo):
164 * dociterator.C (asDocIterator): work around crash
166 * cursor.C (getStatus): replace ASSERT by more verbose error message
167 and manual correction of the problem. Should increase stability
168 while providing more sensible information.
170 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
172 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
174 * bufferlist.C (previous, next): new methods
177 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
179 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
181 * buffer.C (makeDocBookFile): add dsssl stylesheet control
182 entities to preamble.
184 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
186 * messages.C (Pimpl): strip off translation context information
188 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
190 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
191 the cursor is correct (bug 1694)
193 2004-10-13 José Matos <jamatos@lyx.org>
195 * output_docbook.C (docbookParagraphs): fix closing tags in the
198 2004-10-09 José Matos <jamatos@lyx.org>
200 * buffer.C: format up to 237.
201 * bufferparams.C (write): use tostr to convert booleans to strings.
203 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
205 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
207 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
209 * LaTeX.C: implement use of babel language in xindy.
211 2004-10-05 José Matos <jamatos@lyx.org>
213 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
214 Add new translators to help reading and writing the lyx file.
216 2004-10-05 José Matos <jamatos@lyx.org>
218 * ParagraphParameters.C (read):
219 * text.C (readParToken): replace nexToken by more appropriate lex
222 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
224 * LaTeX.C (runMakeIndex):
225 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
226 (usually 'makeindex') configurable.
228 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
229 with a variable rather than with a number.
231 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * output_latex.C (TeXOnePar): make sure font setting is the first
234 thing that gets output (and the last at the end). Should fix bug
237 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
239 * pch.h: use proper signal include
241 * LaTeX.h: Use preferred calling of Boost.Signal
244 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
246 * pch.h: dont include <boost/function/function0.hpp>
248 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
250 * paragraph_pimpl.h: remove usage of ShareContainer
252 * paragraph_pimpl.C: remove initialization of ShareContainer.
254 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * BufferView.C (putSelectionAt): change the semantics when
259 backwards == true: now, this just swaps cursor and anchor wrt the
262 * BufferView.h (putSelectionAt): add some documentation
264 * lyxfind.C (findBackwards): rewrite using while(). In particular,
265 make sure backwardChar is done at least once (to avoid getting
267 (findNextChange): use putSelectionAt in the forward direction
268 (operator()): use Paragraph::isWord
270 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
272 * Spacing.C (set): c_str fix
274 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * lyx_cb.C (Reconfigure): quote the name of configure script in
277 case it contains spaces
279 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
283 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
284 (BOOST_LIBS): use top_buildir when looking for the file
286 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
288 * pch.h: do not use include boost/format.hpp, multiple symbols
289 will result (gcc bug)
292 2004-08-23 José Matos <jamatos@lyx.org>
294 * bufferparams.C (readToken): fix reading of the author field.
296 2004-08-20 José Matos <jamatos@lyx.org>
298 * lyxrc.C: remove support/translator.h inclusion since it is not used.
300 2004-08-20 José Matos <jamatos@lyx.org>
302 * lyxlex.[Ch] (findToken): remove function.
304 * ParagraphParameters.C (findToken):
305 * bufferparams.C (findToken): replace call for previous function
306 with local copy. This local function has one more argument, the
307 read string argument.
309 2004-08-16 José Matos <jamatos@lyx.org>
311 * ParagraphParameters.C (write):
312 * Spacing.C (writeFile):
313 * bufferparams.C (writeLaTeX):
314 * lyx_cb.C (Reconfigure):
315 * paragraph.C (write):
316 * tabular.C (write): remove unnecessary space at end of line.
319 2004-08-16 José Matos <jamatos@lyx.org>
321 * text.C (readParagraph): remove debug message.
323 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
325 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
328 * output_plaintext.C (asciiParagraph): set depth correctly
330 * outputparams.h: add member depth
332 * paragraph_funcs.C (ownerPar): remove.
334 * text2.C (setCounter): remove first_pit; comment out some
335 non-working code that uses ownerPar
337 * BufferView.C (getParentLanguage): remove. Not used anymore, and
340 2004-08-16 José Matos <jamatos@lyx.org>
342 * text.C (readParToken, readParagraph, read): report all unknown tokens.
343 For the same level of importance use the same chanel to report problems.
344 (read): add code to deal with \begin_body and \end_body.
347 2004-08-15 José Matos <jamatos@lyx.org>
349 * lyxlex.C (getString): fix comment, buffer::readBody is now
352 * tex-strings.C (string_papersize): Default -> default,
353 Custom -> custom, for consistency with other options.
355 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
359 * Makefile.am: support pch
361 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
363 * text.C (readParToken): remove the static LyXFont variable and
364 pass it as a parameter instead. This fixes a nasty bug where an
365 inset will be inserted with a bad font in some situations
366 (readParagraph): adapt
368 * text2.C (setCounter): reduce number of calls to pars_[pit]
370 * text.C (singleWidth): add an assert, fix a test
372 * rowpainter.C (paintText): reduce number of calls to singleWidth
374 * paragraph.C (isHfill):
377 2004-08-14 André Pönitz <poenitz@gmx.net>
382 * lyxtext.h (several functions): use a Paragraph & argument
385 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
387 * metricsinfo.h: add a new field ltr_pos to PainterInfo
389 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
391 * text.C (singleWidth): remove useless test
393 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
395 * tabular.h: remove bogus comments
397 * tabular.C (getDescentOfRow):
398 (isPartOfMultiColumn): add assertions
400 * lyxlength.C (inPixels): remove #warning
402 2004-08-14 André Pönitz <poenitz@gmx.net>
404 * paragraph.h: inline getChar()
406 * BufferView.h: remove unused declarations
408 2004-08-14 José Matos <jamatos@lyx.org>
410 * Buffer.[Ch] (readDocument): new name for old readBody.
411 * Buffer.C: new file format, new keywords: \begin_document,
412 \begin_header, \begin_body, \end_body.
414 * bufferparams.C (readToken): replace all calls to lex.nextToken
415 by lex.next(). Do the same to eatLine except where really needed.
417 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
418 line when writing to the lyx file.
420 * output_plaintext.C (asciiParagraph): fix Bibliography style
423 * text.C (read): fix end of file handling.
425 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * MenuBackend.C (Menu::operator[]): new method to access
428 individual menu items
429 (Menu::hasFunc): new method. search for an item that corresponds
431 (MenuBackend::specialMenu): new method
432 (MenuBackend::expand): if a special menu has been set, skip
433 entries whose func() appears in this menu
435 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
437 * text3.C: use Debug::DEBUG a bit more
439 * text.C (leftMargin): try to simplify a tiny bit change var x to
440 l_margin. Dont output the wide margins always.
441 (rightMargin): no margin in inner texts
443 * rowpainter.h (nestMargin): new func
444 (changebarMargin): new func
445 (rightMargin): new func
447 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
451 * factory.C (createInset): modify setDrawFrame
453 * cursor.C: use Debug::DEBUG a bit more
455 2004-08-14 André Pönitz <poenitz@gmx.net>
458 * Makefile.am: new files to accomodate an 'external' (x,y)-position
459 cache for all insets in (at least partially) visible (top-level)
462 * BufferView_pimpl.C: reset external coord cache before every update.
463 This means the coord cache only contains valid entries.
465 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
468 * BufferView_pimpl.C (getInsetByCode): move function out of class
469 and change in to a template in anon namespace. Also fix to do what
472 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
475 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
477 (breakParagraph): rename par to par_offset and use a local
478 reference. Add code to keep the language over a rebreak.
479 (breakParagraphConservative): rename par to par_offset, use a
481 (mergeParagraph): ditto
483 (isFirstInSequence): ditto
484 (outerFont): rename pit to par_offset
486 * paragraph.C: ws change
491 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
493 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
496 * paragraph.C (simpleTeXOnePar): when we have a \item with
497 optional argument, enclose the argument with curly brackets (in
498 case it contains a closing square bracket)
502 * text3.C (checkInsetHit): constify
504 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
506 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
509 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
511 Fix toggling of collapsable insets with the mouse (bug 1558)
513 * lyxfunc.C (dispatch): adapt to LCursor changes
515 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
516 make sure that dispatch is not invoked twice
518 * cursor.C (needsUpdate): new method
519 (dispatch): return void
520 (result): new method, to access the DispatchResult of the cursor.
522 2004-08-13 José Matos <jamatos@lyx.org>
524 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
526 2004-08-13 André Pönitz <poenitz@gmx.net>
528 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
530 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
533 2004-08-12 André Pönitz <poenitz@gmx.net>
535 * text3.C: take out the 'cursor right' form insertInset and only
536 do it in those places when it is really needed. Fixes crash on
539 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
541 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
543 * BufferView_pimpl.C (setBuffer): initialize the current font of
544 the underlying LyXText
546 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
548 * kbsequence.C (print): use UI native formatting for menu
551 * text.C (insertChar): call Paragraph::insertChar with a font
554 * paragraph.C (insertInset, insertChar): the version that takes a
555 LyXFont argument is now a wrapper around the other one (the
556 opposite used to be true).
558 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
559 argument. Font setting is done in Paragraph now.
561 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
563 * outputparams.h: add new members intitle and lang.
565 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
566 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
568 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
570 * text3.C (dispatch): remove special handling of button 4 and 5,
571 it is now taken care of in the frontend code.
573 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
575 * Spacing.h: add <string> (STLPort compile fix)
577 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
579 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
581 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
583 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
586 * converter.C (showMessage): inherit from unary_function, make
589 * buffer.C (writeFile): initialize retval
591 * InsetList.h: rename private variable list to list_
592 * InsetList.[Ch]: adjust accordingly.
594 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
596 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
597 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
598 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
599 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
600 * ParagraphParameters.C, LaTeXFeatures.C: replace
601 "support/std_sstream.h" with <sstream>
603 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
605 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
606 * lyxsocket.C (LyXServerSocket): ditto
607 (serverCallback): ditto
609 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
611 * LaTeXFeatures.C: check release date when loading jurabib.
613 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
615 * lyxserver.C (startPipe): call register_socket_callback
616 (endPipe): call unregister_socket_callback
618 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
620 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
621 (LyXServerSocket): register the callback
622 (LyXServerSocket): unregister the callback
623 (fd): delete function
624 (serverCallback): improve error checking and setup the callbacks.
625 (dataCallback): change arg to fd.
626 (writeln): new func (copied fro the client socket) used for server
628 (LyXDataSocket): simplify
629 (~LyXDataSocket): close ann unregiser callback
630 (server): delete function
631 (fd): delete function
632 (readln): small changes, improve some std::string usage
633 (writeln): constify a bit
635 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
637 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
640 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
642 * BufferView_pimpl.C (setBuffer): set the layout combox value only
643 after it has been populated
645 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
647 * text2.C (insertInset): move cursor when inserting inset.
649 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
651 * kbmap.C (findbindings): a couple of new methods. returns a
652 container of kb_sequence objects. The real work is done by the
653 private recursive version
654 (printbindings): uses findbindings to print out a bracketed list
655 of bindings (renamed from findbinding).
657 * MenuBackend.C (binding): use kb_keymap::findbindings
659 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
661 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
663 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
665 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
667 * paragraph.C (isWord): return true on insets that report
670 * text.C (getWord): use Paragraph::isWord to decide what is in a
671 word and what is not; fix bug 1609.
673 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
675 * tex-strings.C: add "none" to string_paperpackages[], fixes
676 off-by-one-error in the paperpackage selection.
679 * tex-strings.[Ch]: char const * string[n]
680 -> char const * const string[]
682 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
684 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
685 command, return early.
687 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
689 * debug.h: add DEBUG to enum and fix size of ANY.
691 * debug.C: add support for Debug::DEBUG
692 (showTags): cast errorTags.level to unsigned int
694 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
695 (redoCurrentBuffer): ditto
696 (updateScrollbar): ditto
697 * cursor.C (dispatch): ditto
698 * text2.C (setLayout): ditto
700 (updateCounters): ditto
702 (deleteEmptyParagraphMechanism): ditto
704 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
706 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
707 annotations to cleanup the Makefile slightly.
709 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
711 * lyxrc.C: do not set user_email to a default value but use empty
712 instead. The entry used to be translated, which does not work
713 since at the point where lyxrc is constructed there is no
714 translation service available
716 * messages.C (getLocaleDir): remove and use directly
717 lyx_localedir() instead
719 2004-06-02 Angus Leeming <leeming@lyx.org>
721 Fix crash caused by dereferencing null pointer 'exportdata' in
722 OutputParams by creating a new ExportData variable on the heap,
723 storing it in a boost::shared_ptr.
724 The crash was triggered when generating an Instant Preview
725 of an external inset.
727 * Makefile.am: add outputparams.C
729 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
730 (c-tor): allocate memory to it.
732 * exporter.C (c-tor): associated changes.
734 2004-06-01 Angus Leeming <leeming@lyx.org>
736 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
737 contains data before calling isInset(0). (Bug 1513.)
739 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
741 * exporter.C (checkOverwrite): new method
742 * exporter.C (copyFile): new method
743 * exporter.C (Export): copy referenced files to the document dir
744 * exporter.[Ch]: new class ExportedFile
745 * exporter.[Ch]: new class ExportData. Contains currently the
746 names of referenced external files
747 * outputparams.h: add exportdata member.
749 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
751 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
754 2004-05-19 Angus Leeming <leeming@lyx.org>
759 * lyxfunc.C: small changes due to the introduction of namespace
760 lyx::frontend and the moving of namespace biblio to lyx::biblio.
762 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
764 * text3.C (dispatch): supress update when only moving the cursor
765 * cursor.C (selHandle): remove commented code
767 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
769 * paragraph.C (startTeXParParams): correct column count
770 * CutAndPaste.C (pasteSelection): remove const_cast
771 * output_docbook.C (docbookParagraphs): remove const_cast
772 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
773 const_cast and return ParagraphList::const_iterator
774 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
775 * output_plaintext.C (writeFileAscii): remove const_cast
776 * paragraph.[Ch] (simpleTeXOnePar): make const
777 * paragraph_funcs.C (outerPar): use const iterators
778 * paragraph_pimpl.C (validate): use const iterators
779 * text.C (setHeightOfRow): use const iterators
781 2004-05-17 Angus Leeming <leeming@lyx.org>
784 * LyXAction.C (init): new LFUN_INSET_REFRESH.
786 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
787 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
788 if the citation engine has changed.
790 2004-05-14 José Matos <jamatos@lyx.org>
792 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
793 if the textclass does not provide it. Have it different for sgml and
795 support the language of document.
796 * output_docbook.C (docbookParagraphs):
797 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
798 first anchor as the id of the paragraph, remove special case code.
799 * sgml.C (escapeChar): escape only < & >.
801 2004-05-14 Angus Leeming <leeming@lyx.org>
803 * bufferparams.h: move biblio::CiteEngine enum here to minimize
804 dependencies on src/frontends/controllers/biblio.h. Define a
805 CiteEngine_enum wrapper class to enable the enum to be forward
808 2004-05-12 Angus Leeming <leeming@lyx.org>
810 * buffer.C: up LYX_FORMAT to 234.
811 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
812 use_numerical_citations with a single biblio::CiteEngine cite_engine
814 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
816 2004-05-13 José Matos <jamatos@lyx.org>
819 * converter.C (Converter, readFlags): add xml member.
820 * outputparams.h: add XML flavor.
821 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
823 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
825 * lyxfunc.C (dispatch):
826 (getStatus): fix handling of LFUN_SEQUENCE
828 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
830 * debug.C (showLevel): do not forget the end-of-line marker
832 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
834 * kbmap.C (read): do not stop parsing a bind file when an error
837 2004-04-29 Angus Leeming <leeming@lyx.org>
842 * text2.C: wrap a bunch of #warning statements
843 inside #ifdef WITH_WARNINGS blocks.
845 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
847 * buffer.C: increment format to 233.
849 2004-04-28 Angus Leeming <leeming@lyx.org>
851 * BufferView_pimpl.C:
854 s/updateToolbar()/updateToolbars()/
855 s/Toolbar.h/Toolbars.h/
857 2004-04-28 Angus Leeming <leeming@lyx.org>
859 * BufferView.[Ch] (c-tor):
860 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
861 No longer passes these data to the WorkArea generator.
863 2004-04-28 Angus Leeming <leeming@lyx.org>
865 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
867 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
869 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
871 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
873 * output_latex.C (TeXEnvironment): make sure that there is a line
874 break before \end{foo} for the last paragraph of a document
875 (TeXOnePar): if the paragraph is at the end of the document (or
876 inset) and the language has to be reset, then make sure that the
877 line break is _before_ the language command, not after (fixes bug
878 1225); also make sure that the language reset command is the first
879 thing after the paragraph (to ensure proper nesting of
880 environments and thus fix bug 1404)
882 2004-04-21 John Levon <levon@movementarian.org>
885 * ToolbarBackend.C: make "name" be a programmatic name
886 and a gui_name field.
888 * lyxfunc.C: display the minibuffer on M-x
890 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
892 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
895 2004-04-19 Angus Leeming <leeming@lyx.org>
897 * BufferView_pimpl.C (setBuffer): changed preview interface.
899 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
902 2004-04-19 John Levon <levon@movementarian.org>
904 * BufferView_pimpl.C:
905 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
907 2004-04-05 Angus Leeming <leeming@lyx.org>
909 * text.C (redoParagraphs): add call to updateCounters(), thereby
910 fixing the missing "Figure #:" label from the caption of a
913 2004-04-13 Angus Leeming <leeming@lyx.org>
915 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
916 cursor is clicked out of an inset.
918 2004-04-13 Angus Leeming <leeming@lyx.org>
920 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
921 than an InsetOld one.
923 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
925 * format.[Ch]: add editor to Format
926 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
927 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
929 2004-04-08 André Pönitz <poenitz@gmx.net>
931 * metricsinfo.h: remove PainterInfo::width member
933 2004-04-08 Angus Leeming <leeming@lyx.org>
935 * lyx_sty.C (boldsymbol_def): modify so that it outputs
936 "\providecommand" rather than "\newcommand", thereby preventing
937 clashes with packages that define "\boldsymbol" themselves.
940 2004-04-08 Angus Leeming <leeming@lyx.org>
942 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
943 thereby squashing an unnecessary warning.
945 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
947 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
950 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
952 * BufferView.C (setCursor): call redoParagraph (some insets could
954 (putSelectionAt): remove the 'double update' trick
956 * BufferView_pimpl.C (fitCursor): call refreshPar
957 (workAreaDispatch): remove an uneeded update call
958 (dispatch): remove some manual update calls
960 * cursor.[Ch]: remove cached_y_, updatePos
961 (selHandle): set noUpdate when appropriate
963 * lyxfunc.C (dispatch): track if we need an update
965 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
967 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
968 (paintSelection): cheap optimization, do not call cursorX when not
970 (paintPars): change signature
973 (paintTextInset): adjust
977 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
979 * lengthcommon.C: compilation fix: remove explicit array size from
980 unit_name[] and friends
982 2004-04-05 Angus Leeming <leeming@lyx.org>
984 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
986 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
987 present only for the preferences dialog.
988 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
990 2004-04-05 Angus Leeming <leeming@lyx.org>
992 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
993 to enable the frontends to export changes to lyxrc correctly.
995 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
997 2004-04-07 André Pönitz <poenitz@gmx.net>
999 * cursor.[Ch] (selClear, adjust): remove math
1001 * cursor_slice.C: more agressive assert
1004 * BufferView_pimpl.C: rework mouse event dispatch
1011 2004-04-05 André Pönitz <poenitz@gmx.net>
1013 * cursor.[Ch] (valign, halign...): remove unneeded functions
1015 2004-04-05 Angus Leeming <leeming@lyx.org>
1017 * lyxlength.[Ch] (unit_name et al.): const-correct.
1019 2004-04-05 Angus Leeming <leeming@lyx.org>
1021 * BufferView_pimpl.C:
1030 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1032 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1034 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1036 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1038 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1039 * BufferView_pimpl.[Ch] (getStatus)
1040 * BufferView.[Ch] (getStatus): add
1041 * lyxfunc.C (getStatus): move lfuns handled in
1042 BufferView::dispatch to te function above
1043 * Cursor.C (setSelection): set selection() = true
1045 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1047 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1049 2004-03-31 Angus Leeming <leeming@lyx.org>
1051 * lyxfunc.C (dispatch): Fall through to the generic
1052 Dialogs::show("preamble").
1054 2004-03-31 Angus Leeming <leeming@lyx.org>
1056 * lyxfunc.C (dispatch): Fall through to the generic
1057 Dialogs::show("spellchecker").
1059 2004-03-31 Angus Leeming <leeming@lyx.org>
1061 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1064 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1069 * insetiterator.[Ch]:
1074 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1076 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1078 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1079 insets where we are putting the cursor.
1081 2004-03-31 Angus Leeming <leeming@lyx.org>
1084 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1086 * lyxrc.[Ch] (read, write): overloaded member functions taking
1087 a std::[io]stream arguments.
1089 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1091 2004-03-31 Angus Leeming <leeming@lyx.org>
1093 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1094 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1096 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1097 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1099 2004-03-31 Angus Leeming <leeming@lyx.org>
1101 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1102 the LFUN_ALL_INSETS_TOGGLE code.
1104 2004-03-30 Angus Leeming <leeming@lyx.org>
1106 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1107 has died. Fall through to the generic Dialogs::show("document").
1109 2004-03-30 Angus Leeming <leeming@lyx.org>
1112 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1113 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1115 * lyxfunc.C (getStatus, dispatch): define the actions for these
1116 lfuns. Little more than a cut and pste job from ControlDocument.C
1118 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1120 2004-03-30 Angus Leeming <leeming@lyx.org>
1123 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1124 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1126 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1127 open/closed state of ollapsable insets. Usage:
1129 all-inset-toggle <state> <name>, where
1130 <state> == "open" || "closed" || "toggle" and
1131 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1133 * lyxtext.h, text2.C (toggleInset): removed.
1135 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1136 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1137 now passes LFUN_INSET_TOGGLE to the found inset.
1139 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1140 is now invoked as "all-insets-toggle toggle branch".
1142 2004-03-30 Angus Leeming <leeming@lyx.org>
1146 * pariterator.[Ch]: added/corrected header blurb.
1148 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1150 * dociterator.[Ch]: add an inset_ member
1151 (backwardPos): implemented
1152 (backwardPos, forwardPos): use inset_ when the stack is empty.
1153 (doc_iterator_begin, doc_iterator_end): implemented
1154 * pariterator.[Ch]: adjust, add begin, end
1155 * insetiterator.[Ch]: adjust, add begin, end
1159 * BufferView_pimpl.C:
1160 * CutAndPaste.C: adjust
1162 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1164 * buffer.C: increment file format to 232.
1165 * LaTeXFeatures.C: add bibtopic package.
1166 * bufferparams.[Ch]: param \use_bibtopic.
1168 * lyxrc.[Ch]: add lyxrc bibtex_command
1169 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1171 * buffer.C: increment file format to 231.
1173 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1175 * dociterator.C: implement forwardPar
1176 * iterators.[Ch]: remove, replaced by
1177 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1179 * BufferView_pimpl.C:
1182 * bufferview_funcs.C:
1188 * Makefile.am: adjust
1190 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1192 * CutAndPaste.C (pasteSelection): fix 2 crashes
1193 (eraseSelection): fix a crash
1194 * paragraph_funcs.C: remove a warning
1196 2004-03-28 Angus Leeming <leeming@lyx.org>
1199 * LyXAction.C (init): new LFUN_PRINT.
1201 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1203 2004-03-27 Angus Leeming <leeming@lyx.org>
1206 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1208 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1210 2004-03-27 Angus Leeming <leeming@lyx.org>
1212 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1213 insetlist always contains non-null pointers to insets.
1215 2004-03-26 Angus Leeming <leeming@lyx.org>
1217 * src/BufferView_pimpl.C:
1218 * src/CutAndPaste.C:
1221 * src/output_plaintext.C:
1222 * src/outputparams.h:
1223 * src/paragraph_funcs.C:
1227 * src/frontends/controllers/ControlErrorList.C:
1228 * src/frontends/gtk/FileDialogPrivate.C:
1229 * src/frontends/gtk/GPainter.C:
1230 * src/frontends/gtk/GToolbar.C:
1231 * src/frontends/qt2/QRef.C:
1232 * src/mathed/math_scriptinset.C: squash compiler warnings.
1234 2004-03-26 Angus Leeming <leeming@lyx.org>
1236 * ispell.C (LaunchIspell::start):
1237 * lyx_cb.C (AutoSaveBuffer::start):
1238 invoke run(DontWait) rather than runNonBlocking().
1240 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1242 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1244 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1246 * kbsequence.C (print): adjust
1248 * kbmap.C (printKeySym): rename and change signature
1249 (printKey): use LyXKeySym::print()
1251 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1253 * undo.C: add using std::advance to compile for stlport
1255 2004-03-24 Angus Leeming <leeming@lyx.org>
1257 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1258 it leads to a crash when no buffer is present.
1260 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1261 Martin Vermeer <martin.vermeer@hut.fi>
1263 * lyxfunc.C (dispatch):
1264 * bufferparams.C (readToken): use the new LColor::setColor
1266 * LColor.[Ch] (setColor): new version that takes two strings as
1267 argument and creates a new color entry if necessary
1269 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1271 * buffer.C (makeLaTeXFile): if the main latex file that is
1272 processed is usually a subdocument of some master, then pretend
1273 for a while that it is actually the master
1275 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1277 * buffer.C (getLabelList):
1278 (getBibkeyList): use getMasterBuffer()
1279 (getMasterBuffer): new method. Returns the main document in the
1280 case where one is using included documents.
1282 2004-03-25 André Pönitz <poenitz@gmx.net>
1286 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1288 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1290 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1291 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1293 * ParameterStruct.h: merge with ParagraphParameters
1295 * lyxtext.h: remove LyXText::parOffset() and getPar()
1297 * text3.C: Remove all 'manual' update calls. We do now one per user
1298 interaction which is completely sufficient.
1302 * BufferView_pimpl.C:
1303 * FontIterator.[Ch]:
1305 * ParagraphParameters.[Ch]:
1310 * cursor_slice.[Ch]:
1317 * output_docbook.[Ch]:
1318 * output_latex.[Ch]:
1319 * output_linuxdoc.[Ch]:
1320 * output_plaintext.[Ch]:
1322 * paragraph_funcs.[Ch]:
1323 * paragraph_pimpl.[Ch]:
1331 * frontends/controllers/ControlDocument.C:
1332 * frontends/controllers/ControlErrorList.C:
1333 * frontends/controllers/ControlSpellchecker.C:
1336 * insets/insetbase.h:
1337 * insets/insetbibitem.C:
1338 * insets/insetbox.C:
1339 * insets/insetbranch.C:
1340 * insets/insetcaption.C:
1341 * insets/insetcharstyle.C:
1342 * insets/insetcharstyle.h:
1343 * insets/insetcollapsable.C:
1344 * insets/insetcollapsable.h:
1345 * insets/insetert.C:
1346 * insets/insetfloat.C:
1347 * insets/insetfoot.C:
1348 * insets/insetmarginal.C:
1349 * insets/insetnote.C:
1350 * insets/insetoptarg.C:
1351 * insets/insettabular.C:
1352 * insets/insettext.C:
1353 * insets/insettext.h:
1354 * insets/insetwrap.C:
1355 * mathed/math_mboxinset.C:
1356 * mathed/math_nestinset.C:
1357 * mathed/math_scriptinset.C:
1358 * mathed/math_scriptinset.h:
1361 2004-03-24 Angus Leeming <leeming@lyx.org>
1363 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1364 deal with any child processes that have finished but are waiting to
1365 communicate this fact to the rest of LyX.
1367 2004-03-24 Angus Leeming <leeming@lyx.org>
1369 64-bit compile fixes.
1371 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1372 (c-tor): pass lyx::pos_types rather than ints.
1374 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1377 * text.C (Delete): compile fix.
1378 (getPar): ensure that function declaration is the same as that in
1381 2004-03-23 Angus Leeming <leeming@lyx.org>
1383 * ispell.C (LaunchIspell):
1384 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1385 a boost::shred_ptr rather than a std::auto_ptr.
1387 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1389 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1390 handle LFUN_FILE_INSERT_*
1392 * lyxrc.C (setDefaults, getDescription, output, read):
1393 * lyxrc.h: remove ps_command
1395 2004-03-22 Angus Leeming <leeming@lyx.org>
1397 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1398 Ensure that error_handler is processed once only and that all data
1399 is saved before attempting to output any warning messages.
1401 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1403 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1405 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1407 2004-03-19 André Pönitz <poenitz@gmx.net>
1409 * cursor.[Ch] (reset): take main text inset as argument
1411 * BufferView: adjust
1412 * BufferView_pimpl.C: adjust
1414 * paragraph.[Ch]: fix completely broken operator=()
1416 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1418 * LColor.C (getFromLyXName): make sure that the color name is used
1421 2004-03-17 Angus Leeming <leeming@lyx.org>
1424 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1426 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1427 dialog and to kill a forked process.
1429 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1431 * text2.C (setCursorFromCoordinates): fix font problem
1433 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1435 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1436 bogus "rebuild cursor" code
1438 2004-03-11 André Pönitz <poenitz@gmx.net>
1440 * buffer.[Ch]: use InsetText instead of LyXText as container for
1443 * dociterator.[Ch]: drop the BufferView * member which is not needed
1444 anymore after the change to buffer.C
1446 * paragraph_funcs.C:
1450 * BufferView_pimpl.[Ch]:
1452 * cursor_slice.[Ch]: adjust
1454 * text3.C: fix bug in mathDispatch
1456 2004-03-08 André Pönitz <poenitz@gmx.net>
1458 * undo.[Ch]: use 'StableDocumentIterator' as base for
1461 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1464 * bufferparams.[Ch]: add jurabib support and param.
1466 * LaTeX.C: add FIXME/comment.
1468 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1470 * buffer.C: increment file format to 230.
1472 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1474 * cursor.C (dispatch): avoid infinite loops
1476 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1478 * rowpainter.C (paintSelection): fix x coordinates
1480 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1482 * text.C (rowBreakPoint): fix breaking before displayed insets
1484 2004-03-01 André Pönitz <poenitz@gmx.net>
1486 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1488 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1492 * BufferView_pimpl.C:
1500 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1506 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1507 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1509 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1511 * Bidi.[Ch] (computeTables): const correctness
1512 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1513 fill_hfill, fill_label_hfill and x from Row
1514 * lyxtext.h: prepareToPrint returns a RowMetrics
1515 * rowPainter.C: adjust
1516 * text.C (prepareToPrint): use width, not textWidth. adjust
1517 (redoParagraphInternal, cursorX): adjust
1518 * text2.C (getColumnNearX): adjust
1519 (init): put a default value to the top LyXText::width
1521 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1523 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1525 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1527 * lyxtext.h: add FontIterator class
1529 * text.C (FontIterator, operator*, operator->, operator++): add
1530 (rowBreakPoint, setRowWidth): adjust (fixing a
1533 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1535 * BufferView_pimpl.C (workAreaDispatch): allow also
1536 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1538 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1540 * text.C (rowBreakPoint): fix a bug showing with very large insets
1542 2004-02-25 André Pönitz <poenitz@gmx.net>
1545 * cursor.[Ch]: move some mathed specific code to mathed
1547 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1549 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1550 use_tempdir in preferences
1551 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1553 * lyx_main.C: ensure that tempdir is valid
1554 * lyxlex.h: correct typo
1555 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1556 * paragraph.[Ch] (isMultiLingual): make const
1557 * cursor.[Ch] (openable): make const
1559 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1561 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1563 2004-02-20 André Pönitz <poenitz@gmx.net>
1565 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1567 * cursor.[Ch]: prepare for localized getStatus()
1573 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1575 2004-02-20 André Pönitz <poenitz@gmx.net>
1577 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1579 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1581 * text2.C (setCursorFromCoordinates): switch to absolute coords
1583 (cursorDown): adjust
1584 * text3.C (dispatch): adjust
1586 2004-02-16 André Pönitz <poenitz@gmx.net>
1588 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1591 * cursor_slice.[Ch]: remove unneeded acessor function
1593 * lyxtext.h: rename rtl() to isRTL()
1601 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1603 * rowpainter.C (paintSelection): coord fix
1605 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1607 * Spacing.C: compile fix
1609 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1611 * cursor.C (dispatch): restore current_ before returning
1613 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1615 * text2.C (cursorUp, cursorDown): fix coords
1618 2004-02-12 André Pönitz <poenitz@gmx.net>
1623 * text3.C: add LCursor & parameter to most cursor movement functions
1624 remove usage of LyXText::cursorRow() and cursorPar()
1626 * cursor.[Ch]: add textRow() needed members
1629 * BufferView_pimpl.C:
1632 * BufferView_pimpl.C: adjust
1634 2004-02-11 André Pönitz <poenitz@gmx.net>
1638 * BufferView_pimpl.C: shift undo/redo handling
1640 * cursor.[Ch]: fix mathed crash
1643 * lyxtext.h: move selectionAsText to LCursor
1651 * rowpainter.C: fix excessive drawing
1653 2004-02-06 André Pönitz <poenitz@gmx.net>
1656 * BufferView_pimpl.[Ch]:
1657 * text3.C: move some text specific LFUN handling
1659 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1661 * text3.C (checkInsetHit): adjust coords
1662 * text2.C (getColumnNearX): adjust coords
1663 (edit): adjust coords
1664 * text.C (getRowNearY): add two asserts
1666 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1669 * format.C: add using std::distance to compile on gcc 2.95/stlport
1671 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1673 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1675 2004-02-04 André Pönitz <poenitz@gmx.net>
1677 * BufferView.[Ch] (insertInset):
1678 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1683 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1685 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1686 on the default clause of the switch
1687 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1688 wasn't catched by LCursor::dispatch
1690 2004-02-03 André Pönitz <poenitz@gmx.net>
1693 * cursor.[Ch]: some additional asserts
1695 * undo.[Ch]: remove LyXText dependency in interface
1699 * lyxtext.h (firstPar, lastPar): remove dead functions
1704 * paragraph.[Ch]: adjust
1706 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1708 * lyxfind.C (find): fix argument order in call to ::find
1710 2004-02-02 André Pönitz <poenitz@gmx.net>
1712 * cursor.[Ch]: remove direct access to anchor
1714 * text.C: remove findText() hack
1716 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1718 * iterators.[Ch] (lockPath): remove in favour of...
1719 * BufferView.[Ch] (setCursor): this addition
1720 * BufferView.C (putSelectionAt): adjust
1721 * undo.C (performUndoOrRedo): adjust
1722 * lyxfunc.C (dispatch): adjust
1724 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1726 * iterators.C (lockPath): add a missing slice
1727 * undo.C (performUndoOrRedo): remove redundant positioning code
1729 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1731 * vc-backend.C (scanMaster): ";" -> ';'
1733 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1735 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1736 std::binary_function
1738 * lyxtextclass.C (compare_name): rename to...
1739 (LayoutNamesEqual): ...this
1741 * lyxlex_pimpl.C (compare_tags): inherit from
1742 std::binary_function, put back into anon namespace
1744 * lyxfind.C (MatchString): inherig from std::binary_function
1745 (findChange): use empty() istead of !size()
1747 * format.C (FormatNamesEqual): new functor
1754 * converter.C (compare_Converter): rename to...
1755 (ConverterEqual): ...this, and fixup a bit.
1756 (getConverter): use it, and make function const
1757 (getNumber): use it, and make function const
1761 * bufferlist.C: add using boost::bind
1763 * MenuBackend.C (MenuNamesEqual): new functor
1764 (hasMenu): use it, and make function const
1765 (hasSubmenu): use nested bind to get rid of compare_memfun.
1767 2004-01-30 André Pönitz <poenitz@gmx.net>
1769 * BufferView_pimpl.C:
1772 * cursor_slice.[Ch]:
1775 * paragraph_funcs.C:
1776 * paragraph_funcs.h:
1780 * text3.C: move some of the edit(x,y) handling to the insets
1781 some coordinate changes.
1783 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1785 * text.C: add using statements for std::advance and std::distance
1787 * paragraph.C: add using statement for std::distance
1789 * lyxfind.C: add using statement for std::advance
1791 * cursor.C (region): remove std:: from swap
1792 (openable): use nucleus in stead of operator->
1794 * BufferView.C: add using statements for std::distance and std::swap
1796 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1798 * iterators.C: Remove the pimple, move the needed structures to
1799 the header file. Create accessor for the positions stack.
1800 (asPosIterator): remove function
1802 * PosIterator.C (PosIterator): move constructors to top of file
1803 (PosIterator): reimplement the constructor taking a ParIterator in
1805 (setFrom): new function
1806 (operator!=): inline it
1808 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1810 * lyxfind.C (replaceAll): use std::advance
1812 * iterators.h: inherit from std::iterator.
1814 * PosIterator.C (advance, distance): remove
1815 * PosIterator.h: interit from std::iterator.
1817 2004-01-26 André Pönitz <poenitz@gmx.net>
1820 * BufferView_pimpl.[Ch]:
1824 * bufferview_funcs.C:
1834 * output_linuxdoc.C:
1835 * output_plaintext.C:
1837 * paragraph_funcs.[Ch]:
1838 * paragraph_pimpl.[Ch]:
1844 * text3.C: more IU: dumps most of the rest of the mathcursor
1845 implementation into cursor.[Ch]; "globalize" a bit of it.
1847 2004-01-25 Angus Leeming <leeming@lyx.org>
1849 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1851 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1853 * LaTeXFeatures.h: add nice_ and nice() const
1854 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1856 2004-01-20 André Pönitz <poenitz@gmx.net>
1859 * BufferView_pimpl.C:
1861 * bufferview_funcs.C:
1863 * cursor_slice.[Ch]:
1874 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1875 LCursor and mathcursor parts to LCursor and InsetBase.
1877 2004-01-15 André Pönitz <poenitz@gmx.net>
1879 * cursor_slice.[Ch]: add a few covienience functions
1881 * funcrequest.[Ch]: remove BufferView * member
1883 * BufferView_pimpl.C:
1890 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1892 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1894 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1895 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1897 2004-01-13 André Pönitz <poenitz@gmx.net>
1900 * lyxtext.h: hide cursor and selection anchor behind accessor function
1903 * BufferView_pimpl.[Ch]:
1905 * bufferview_funcs.C:
1915 * cursor_slice.[Ch]: some integer type changes for inset unification
1917 * lyxcursor.[hC]: remove, it's CursorSlice now.
1920 * BufferView_pimpl.[Ch]:
1921 * bufferview_funcs.C:
1927 * textcursor.[Ch]: adjust
1929 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1931 * text2.C (undoSpan): add and use
1932 * text.C (breakParagraph): use undoSpan (fix bug 578)
1935 2004-01-08 Angus Leeming <leeming@lyx.org>
1937 * BufferView_pimpl.C (MenuInsertLyXFile):
1938 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1939 * lyxfunc.C (menuNew, open, doImport):
1940 FileFilterList change to the FileDialog open and save functions.
1942 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1944 * ShareContainer.h: make isEqual and isUnique adaptable
1946 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1948 2004-01-07 Angus Leeming <leeming@lyx.org>
1951 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1953 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1955 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1956 functions replacing find, replace and replaceAll.
1958 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1959 LFUN_WORDFIND(FORWARD|BACKWARD).
1961 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1963 * text.C (breakParagraph): remove an outdated #warning
1965 2004-01-07 André Pönitz <poenitz@gmx.net>
1967 * lyxfind.C: somewhat clearer logic
1969 * text.C: prevent crash in cursorX on unitialized row cache
1971 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1973 * lyxcursor.[Ch] (operator>): add
1974 * textcursor.C (selStart, selEnd): use std::min and std::max
1976 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1978 * Chktex.C: include boost/format.hpp
1980 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1982 * InsetList.C: replace functor MathcIt with adaptable functor
1984 (insetIterator): modify accordingly
1986 * BranchList.h: move the BranchNamesEqual functor here from...
1987 * BranchList.C: ... to here
1989 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1991 (add): replace a finding loop with std::find_if.
1993 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1995 * output_docbook.C: moving LatexParam functionality into
1998 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2000 * buffer.C: increment format to 229.
2002 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2005 * lyx_sty.[Ch]: remove minipageindent_def
2011 * text3.C: remove LFUN_INSET_MINIPAGE
2013 2003-12-28 Angus Leeming <leeming@lyx.org>
2015 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2017 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2019 * text2.C (setParagraph): fix off-by-one crash
2021 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2023 * output_docbook.C: header stuff for AGU
2025 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2027 * text2.C (redoCursor): remove
2030 * BufferView_pimpl.C: remove calls to redoCursor and
2031 setCursor(cursor.par(), cursor.pos()) all around
2033 2003-12-15 Angus Leeming <leeming@lyx.org>
2035 * buffer.C: up the format to 228.
2037 2003-12-15 André Pönitz <poenitz@gmx.net>
2039 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2044 * BufferView_pimpl.C:
2053 2003-12-15 Angus Leeming <leeming@lyx.org>
2055 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2056 than getFromGUIName to manipulate the color.
2058 2003-12-14 Angus Leeming <leeming@lyx.org>
2060 * BranchList.[Ch]: minimize the API.
2061 (Branch::getBranch, getColor): now return a 'const &'.
2062 (Branch::setSelected) now returns a bool set to true if the
2063 selection status changes.
2064 (BranchList::clear, size, getColor, setColor, setSelected,
2065 allBranches, allSelected, separator): removed.
2066 (BranchList::find): new functions, returning the Branch with
2068 (BranchList::add, remove): return a bool indicating that
2069 the operation was successful.
2071 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2072 new InsetBranch::isBranchSlected member function.
2074 * LColor.[Ch]: mimimize the API.
2075 (fill): renamed as addColor and made private.
2076 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2077 versions of these functions taking a string arg have been removed.
2079 * bufferparams.C (readToken):
2080 * lyxfunc.C (dispatch):
2081 * lyxrc.C (read): changes due to the altered BranchList and
2084 * factory.C (createInset, readInset): changes due to altered
2087 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2090 * lyxfunc.C: remove insetminipage. "minipage-insert"
2091 now produces a frameless minipage box inset.
2093 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2095 * textcursor.[Ch] (selStart,selEnd): add new methods
2096 remove selection::start, end, use LyXCursor::operator<
2097 * lyxcursor.[Ch] (operator<): add
2098 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2099 * BufferView.[Ch] (unsetXSel): add
2100 * text2.C (clearSelection): use unsetXSel,adjust
2103 * rowpainter.C: adjust
2104 * bufferview_funcs.C (put_selection_at): adjust
2106 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2108 * BufferView_pimpl.C: small coord. correction
2110 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2112 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2113 dragging over the splash screen.
2115 2003-12-11 Angus Leeming <leeming@lyx.org>
2117 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2118 as it is now handled in LyXText::dispatch.
2120 * text3.C (doInsertInset): remove a level of nesting.
2122 2003-12-11 Angus Leeming <leeming@lyx.org>
2124 * factory.C (createInset): changes due to the changed interface to
2125 InsetCommandMailer::string2params.
2127 2003-12-10 Angus Leeming <leeming@lyx.org>
2129 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2130 'dialog-show-new-inset <inset name>'
2132 2003-12-10 Angus Leeming <leeming@lyx.org>
2134 * buffer.C: up the format to 227.
2136 * factory.C: the box inset is now identified simply by 'Box'.
2138 2003-12-10 Angus Leeming <leeming@lyx.org>
2140 * buffer.C: up the format to 226.
2142 * factory.C: the note inset is now identified simply by 'Note'.
2144 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2146 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2147 when a pit is enough. Standarize a couple of loops.
2149 2003-12-05 Angus Leeming <leeming@lyx.org>
2151 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2152 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2153 data to the re-worked "log" dialog.
2155 2003-12-03 André Pönitz <poenitz@gmx.net>
2161 * paragraph_funcs.C:
2163 * text2.C: use Inset::getText instead of Inset::getParagraph
2165 2003-12-03 André Pönitz <poenitz@gmx.net>
2169 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2170 InsetText::read() as LyXText::read()
2172 2003-12-02 Angus Leeming <leeming@lyx.org>
2174 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2175 type. Add a comment in the implementation that the function uses
2176 the stream's bad() function rather than fail() as the std::streams
2179 2003-12-02 André Pönitz <poenitz@gmx.net>
2181 * lyxlex.[Ch]: make interface more similar to std::stream
2183 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2185 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2187 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2189 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2191 * vspace.[Ch]: remove VSpace::NONE
2193 2003-12-01 André Pönitz <poenitz@gmx.net>
2196 * lyxtext.h: move ParagraphList member to LyXText
2197 rename LyXText::ownerParagraphs to LyXText::paragraph
2200 * bufferview_funcs.C:
2210 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2212 * undo.C: fix cursor positioning
2214 2003-12-01 John Levon <levon@movementarian.org>
2216 * BufferView_pimpl.C: fix a crash on exit with
2219 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2221 * BranchList.C: fix setSelected() method.
2223 2003-11-28 André Pönitz <poenitz@gmx.net>
2225 * ParagraphParameters.[Ch]:
2226 * ParameterStruct.h: remove space above/below from Paragraph to
2229 * BufferView_pimpl.C:
2235 * paragraph_funcs.C:
2241 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2243 * factory.C: Syntax change for CharStyles
2245 2003-11-28 André Pönitz <poenitz@gmx.net>
2250 * buffer.[Ch]: move LyXText member
2252 2003-11-28 André Pönitz <poenitz@gmx.net>
2254 * BufferView.[Ch]: make LyXText * text a private member
2256 * BufferView_pimpl.C:
2267 * output_plaintext.C: cleanup
2269 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2272 * lyxtextclass.[Ch]: parametrize SGML document header
2274 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2277 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2280 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2282 * text2.C (setFont): rework using PosIterator (no more recursive)
2283 (setCharFont): no more needed
2284 (setLayout): no more selection cursors fiddling (done by redoCursor)
2285 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2286 destroy remaining ones)
2288 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2290 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2292 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2295 * text3.C: adjust + re-allow multi par depth changes
2296 * textcursor.C: simplify a bit
2298 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2304 * src/output_docbook.C:
2305 * src/output_latex.C:
2310 * src/text2.C: Introducing a number of tags parametrizing various
2311 XML formats that we may want to support
2313 2003-11-25 André Pönitz <poenitz@gmx.net>
2315 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2317 * lyxtext.h (leftMargin/rightMargin): simplify interface
2324 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2326 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2327 master file to any child files. Fixes bug 546.
2329 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2331 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2333 2003-11-24 André Pönitz <poenitz@gmx.net>
2335 * rowpainter.C: simplification
2337 * text2.C (updateCounters): remove call to redoParagraph on
2338 changed labels as this is far too expensive.
2340 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2342 * converter.C (convert): fix a crash: this function gets
2343 called with buffer == 0 from importer code.
2345 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2347 * text3.C (cursorPrevious): make sure that we do not compare
2348 iterators form different containers.
2351 * rowpainter.C (paintSelection): make sure that we do not compare
2352 iterators from different containers.
2354 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2355 iterators from different ParagraphList containers.
2358 * text2.C (LyXText): change order of initialization slightly
2359 (operator=): new function. copy all variables except cache_par_
2360 (moveUp): make sure that we do not compare iterators from
2361 different ParagraphList constainers.
2364 * text.C (firstPar): new function
2365 (lastPar): new function
2366 (endPar): new function
2368 * lyxtext.h: move things around and group public functions, public
2369 variables, private functions, private variables
2371 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2373 * factory.C: change call to InsetERT constructor to avoid
2374 additional invocation of method status
2375 * text2.C (toggleInset): remove redundant update() call
2376 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2377 instead of a Bufferview pointer
2379 2003-11-21 André Pönitz <poenitz@gmx.net>
2381 * rowpainter.C: simplification
2383 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2385 * text3.C (dispatch): make possible to extend a word/row selection
2388 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2390 * lyxtext.h: x0_,y0_ -> xo_,yo_
2391 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2392 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2393 * rowpainter.C (paintRows): paint full paragraphs
2395 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2397 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2400 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2402 * lyxtext.h: add x0_, y0_
2403 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2404 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2406 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2408 * text2.C (setCursorIntern): move the x_target update here *
2409 * text3.C: change some bv() to true/false in calls to
2410 cursorUp/Down/Right/Left
2411 * cursor.C: use helper function.
2413 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2415 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2416 * paragraph_funcs.[Ch]: correct comment
2417 * rowpainter.C: do not paint selections away from bv->cursor()
2418 Fix a long standing selection painting bug.
2419 * text3.C: generalize mouse-selection code to LyXTexts other that
2421 * textcursor.C: do not use y coords if we can use par offsets
2423 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2425 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2426 cursor position after e.g. inset insert)
2428 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2430 * lyxfind.C (replace): adjust to locking removal + some
2433 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2435 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2438 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2441 * output_docbook.C: XML sanitation: new layout
2442 parameters InnerTag and CommandDepth
2444 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2446 * BufferView_pimpl.C:
2448 * text3.C: Fix the insertion and modification of button-style
2451 2003-11-13 André Pönitz <poenitz@gmx.net>
2453 * InsetList.[Ch]: remove deleteLyXText
2455 * paragraph.[Ch]: cache beginOfBody position
2460 * text3.C: remove superfluous update() calls
2464 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2466 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2467 * BufferView.C (fitLockedInsetCursor): remove
2468 * cursor.[Ch] (getDim): add
2469 * text.C (getRowNearY): add faster version
2470 * text3.C: remove some update calls
2472 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2484 * text3.C: The Character Style /XML short element patch.
2486 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2489 * factory.C: Small step to solving 'unable to insert some insets'
2492 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2494 * cursor.[Ch] (updatePos): new function for updating the y
2495 position of the tip inset
2496 * bufferview_funcs.C (put_selection_at):
2497 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2499 2003-11-11 André Pönitz <poenitz@gmx.net>
2501 * text.C: remove big comment on invalid Paragraph pointers as it is
2504 2003-11-11 André Pönitz <poenitz@gmx.net>
2506 * text_funcs.[Ch]: merge with ...
2514 * Makefile.am: remove text_funcs.[Ch]
2516 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2518 * cursor.C (getPos): return absolute cached y coord
2520 * BufferView_pimpl.C (fitCursor): new simplistic code
2521 (workAreaDispatch): add a fitCursor call
2523 2003-11-10 André Pönitz <poenitz@gmx.net>
2526 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2528 2003-11-10 André Pönitz <poenitz@gmx.net>
2530 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2531 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2532 indicate that the cursor needs to leave an inset
2534 * lyxtext.h: remove inset locking
2536 * cursor.[Ch]: re-implement functionality provided by inset locking
2539 * BufferView_pimpl.[Ch]:
2541 * bufferview_funcs.[Ch]:
2553 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2555 * PosIterator.[Ch]: replace the stack with a vector, add inset
2557 * iterators.[C]: adjust
2559 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2561 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2563 * paragraph_funcs.C (readParToken): put the correct id in the
2564 error item, not the id of the top paragraph
2566 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2568 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2569 * bufferview_funcs.C (put_selection_at): use the above
2571 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2573 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2575 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2577 * output_linuxdoc.h:
2578 * output_plaintext.h:
2580 * output_docbook.h: add #include statements
2582 2003-11-05 José Matos <jamatos@lyx.org>
2584 * output_docbook.[Ch]:
2585 * output_latex.[Ch]:
2586 * output_linuxdoc.[Ch]:
2587 * output_plaintext.[Ch]: New files for output formats.
2588 * output.[Ch]: New file for helper functions.
2591 * paragraph_funcs.[Ch]: output functions moved to new files.
2593 * outputparams.h: rename of latexrunparams.h
2601 * paragraph_funcs.[Ch]:
2602 * paragraph_pimpl.[Ch]:
2603 * tabular.[Ch]: rename ascii to plaintext
2604 and LatexRunParams to OutputParams.
2606 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2608 * iterators.[Ch] (text): require bv argument
2609 * undo.C (recordUndo):
2610 * lyxfunc.C (dispatch):
2611 * bufferview_funcs.C (put_selection_at): adjust
2613 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2615 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2617 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2619 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2622 2003-11-04 André Pönitz <poenitz@gmx.net>
2624 * cursor.[Ch]: restructure
2627 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2629 * iterators.[Ch] (asCursor): remove
2631 * lfuns.h: remove LFUN_INSET_EDIT
2637 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2639 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2641 * lyxfind.[Ch]: complete overhaul
2642 * BufferView_pimpl.C:
2644 * paragraph.[Ch] (insert): add
2646 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2650 * text.C: remove dead spellcheck code
2652 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2654 * dispatchresult.h: add a val setter
2656 * cursor.C (dispatch): use a tempvar for data_[i]
2658 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2660 * PosIterator.[Ch]: compile fix
2662 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2664 * text.C (cursorPar): deactivate the cursor cache
2666 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2668 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2670 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2672 * text3.C (dispatch): adjust for new DisptchResult semantics.
2674 * lyxfunc.C (dispatch): handle update when return from
2675 Cursor::dispatch, adjust for new DispatchResult semantics.
2677 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2678 DispatchResult(true) mean to not update. Add class functions for
2679 setting dispatched and update, as well as reading.
2681 * cursor.C (dispatch): don't handle update here
2683 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2685 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2686 * trans_mgr.C: adjust
2688 * paragraph_funcs.C (readParToken): exception safety
2690 * lyxvc.h: store the vcs pointer in a scoped_ptr
2693 * lyxsocket.C (serverCallback): exception safety
2695 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2697 * ispell.C (clone): make it return a auto_ptr
2699 * factory.C (createInset): exception safety
2700 (readInset): exception safety
2702 * bufferlist.C (newBuffer): exception safety
2704 * Thesaurus.C (Thesaurus): use initialization for aik_
2706 * MenuBackend.C (expandToc): exception safety.
2708 2003-11-03 André Pönitz <poenitz@gmx.net>
2712 * bufferview_funcs.C: remove getInsetFromId()
2715 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2721 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2723 * PosIterator.C (distance, advance): new
2724 * bufferview_funcs.[Ch] (put_selection_at): new
2725 * iterators.[Ch] (lockPath): new
2727 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2729 * iterators.[Ch] (asPosIterator): added
2730 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2731 * PosIterator.[Ch]: added
2733 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2737 * cursor.C (dispatch):
2738 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2740 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2741 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2742 contructor, add a class function dispatched. Remove operator>=
2744 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2746 * debug.C: only use the default constructor for debugstream
2749 * main.C (main): include debug.h and setup the lyxerr streambuf
2752 2003-10-31 José Matos <jamatos@lyx.org>
2754 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2756 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2757 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2758 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2759 * paragraph_pimpl.C (simpleTeXSpecialC):
2760 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2761 add LatexRunParams argument.
2763 * exporter.C (Export): change call accordingly.
2765 * latexrunparams.h: add new member to take care of the other backends.
2766 2003-10-30 José Matos <jamatos@lyx.org>
2768 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2769 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2770 factorise code for paragraph output.
2772 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2775 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2777 * text3.C (dispatch):
2778 * lyxfunc.C (dispatch):
2779 * cursor.C (dispatch):
2780 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2782 * dispatchresult.h: make the dispatch_result_t ctor explicit
2784 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2787 * buffer.C: small refactoring of docbook stuff
2789 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2791 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2794 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2796 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2797 operator dispatch_result_t, and operators for == != and >=
2799 * cursor.C (dispatch): adjust for operator dispatch_result_t
2800 removal. comment out call to update
2802 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2804 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2812 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2815 * dispatchresult.h: new file, DispatchResult broken out of
2818 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2820 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2822 * text.C (rowBreakPoint): put a hack inside #if 0
2824 2003-10-28 André Pönitz <poenitz@gmx.net>
2828 * paragraph_funcs.C:
2831 * text2.C: general cleanup (lots of small stuff)
2833 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2835 * text2.C (cursorEnd): simple fix to the "end key goes to one
2836 before the end on last row" bug
2838 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2840 * text.C (backspace): fix the "zombie characters"
2842 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2844 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2846 2003-10-27 André Pönitz <poenitz@gmx.net>
2848 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2850 * factory.C: handle new InsetPagebreak, InsetLine
2852 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2853 and move handling into new InsetPagebreak, InsetLine
2855 * BufferView_pimpl.C:
2857 * ParagraphParameters.C:
2858 * ParameterStruct.h:
2863 * paragraph_funcs.C:
2864 * paragraph_pimpl.C:
2870 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2873 * lyxrow_funcs.[Ch]:
2879 * text3.C: remove lastPos uses in favour of Row::endpos
2881 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2883 * undo.C (performUndoOrRedo): fix two crashes by setting a
2884 cursor by hand and reordering some calls. Use bv->lockInset instead
2885 of inset->edit because the latter loses cursor information
2887 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2889 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2891 (rowBreakPoint): fix width. change point to point + 1.
2892 Add a missing check.
2894 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2897 * lyxfunc.C: fix (at least partly) the problems
2898 with the Nav menu and headers inside branch insets
2901 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2903 * paragraph.C (getChar): add strong asserts
2905 * lyxrow_funcs.C (lastPos): remove hideous hack
2907 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2908 (fill): adjust to that (avoid an infinite loop)
2910 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2912 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2914 2003-10-23 André Pönitz <poenitz@gmx.net>
2916 * RowList_fwd.h: change list<> to vector<> to gain speed
2917 after suggestion from Alfredo
2919 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2921 * lyxtext.h: move the bidi stuff from here...
2924 * Bidi.[Ch]: ... to here
2926 2003-10-23 André Pönitz <poenitz@gmx.net>
2929 * text.C (isLastRow, isFirstRow): new functions
2931 * paragraph.h: new width cache member
2933 * rowpainter.C: replace RowList::iterator with Row & where possible
2935 * lyxfunc.C: replace several view()->text with a single call
2937 * toc.C: fix 'unused' warning
2939 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2941 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2942 when woring with stream::pos_type
2943 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2945 2003-10-22 André Pönitz <poenitz@gmx.net>
2948 * text.C: use Row & instead of RowList::iterator
2950 * lyxrow.h: rename end() to endpos()
2956 2003-10-22 Angus Leeming <leeming@lyx.org>
2958 * buffer.[Ch] (fully_loaded): new member function, returning true
2959 only when the file has been loaded fully.
2960 Used to prevent the premature generation of previews and by the
2961 citation inset to prevent computation of the natbib-style label.
2963 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2964 templates are all set up.
2966 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2968 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2970 * text.C: fixed an "oops" in the "is a bit silly"
2973 2003-10-21 André Pönitz <poenitz@gmx.net>
2975 * FuncStatus.[Ch]: small stuff, whitespace
2977 * lyxfont.[Ch]: operator<<() for debug reasons
2981 * lyxtext.h: whitespace, spelling
2983 * paragraph.C: naming of variables
2986 * text2.C: small stuff
2989 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2991 * text.C: (1) finish off the inset display() work;
2992 (2) fix the "is a bit silly" bug (accessing char
2995 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2997 * text.C: re-introduce display() for insets, fixing the
2998 various bugs (stretch of line above, math inset
3001 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3003 * text.C (rightMargin): remove spurious semicolon
3005 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3008 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3010 * text3.C: fix one crash due to wrong cursor def
3012 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3014 * vc-backend.C (scanMaster): make the regex static
3016 * LaTeX.C (scanAuxFile): make the regexs static
3018 * text3.C (doInsertInset, dispatch, dispatch):
3019 * text2.C (cursorUp, cursorDown):
3020 * text.C (selectNextWordToSpellcheck):
3021 * BufferView_pimpl.C (dispatch):
3022 * lyxfunc.C (dispatch): localDispatch -> dispatch
3024 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3026 * lyxsocket.C: include <cerrno>
3028 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3030 * lyxfunc.C (dispatch): remove textcache stuff
3032 * bufferlist.C (release): remove textcache stuff
3035 * TextCache.C: delete file
3036 * TextCache.h: delete file
3038 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3040 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3041 delete of the bv_->text.
3042 (resizeCurrentBuffer): remove texcache stuff
3043 (workAreaResize): ditto
3045 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3047 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3050 2003-10-16 André Pönitz <poenitz@gmx.net>
3057 * text3.C: speed up by storing y positions per paragraph plus per-row
3058 offset instead of having a 'full' y position in the row.
3060 2003-10-15 André Pönitz <poenitz@gmx.net>
3064 * undo.[Ch]: make undo aware of inner insets
3066 2003-10-14 Angus Leeming <leeming@lyx.org>
3068 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3069 static member functions LyX::ref() and LyX::cref.
3070 (lastfiles): new accessor functions for the new lastfiles_ member var.
3071 (addLyXView, views_): add a new LyXView to the list of views_.
3072 (updateInset): loop over all LyXViews to call their own updateInset
3073 member function, returning a pointer to the Buffer owning the inset.
3075 * BufferView_pimpl.C (loadLyXFile):
3076 * MenuBackend.C (expandLastfiles):
3077 * bufferlist.C (MenuWrite, QuitLyX):
3078 lastfiles is no longer a global variable.
3079 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3081 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3082 static function. Access through LyX::cref().emergencyCleanup().
3084 2003-10-14 André Pönitz <poenitz@gmx.net>
3086 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3088 * undo.[Ch]: restoring part of 'undo in insets'
3091 * undo_funcs.[Ch]: merge with undo.[Ch]
3093 * tabular.C: small cleansing stuff
3095 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3097 * paragraph_funcs.C (readParToken): report unknown insets as error
3098 boxes. Use the outer paragraph as location (also for unknown
3101 * factory.C (readInset): do not abort on reading an unknown inset.
3102 Eat it and return 0.
3104 2003-10-13 Angus Leeming <leeming@lyx.org>
3106 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3108 * lyxrc.C: displayTranslator is now a function,
3109 declared in GraphicsTypes.h.
3111 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3113 * format.C: new placeholder $$a to pass the socket address.
3115 * bufferlist.[Ch]: new function getBufferFromTmp.
3117 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3118 files in the temporary dir.
3120 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3122 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3124 * Makefile.am: add lyxsocket.[Ch].
3126 * lyx_main.C (error_handler): handle SIGPIPE.
3128 2003-10-13 André Pönitz <poenitz@gmx.net>
3130 * BufferView_pimpl.C:
3135 * undo_funcs.[Ch]: use paroffset_type instead of
3136 ParagraphList::iterators to prevent multiple conversion
3137 (and get a more robust interface)
3139 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3141 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3143 * text3.C (dispatch): ditto
3145 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3147 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3148 move the onlyfile, use onlyfile instead of foundfile in a couple
3151 * DepTable.C (update): flush the error stream a bit more
3153 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3155 * lyxserver.C (callback): adjust
3157 * lyxfunc.C (getStatus): add a missing brace in commented code
3158 (ensureBufferClean): reindent
3159 (dispatch): delete version taking a string
3161 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3163 * LaTeX.C (deplog): move found file handlig from here...
3164 (handleFoundFile): .. to new function here.
3165 (deplog): make sure to discover several files mentioned on the
3168 2003-10-10 André Pönitz <poenitz@gmx.net>
3175 * text3.C: fix some of the tabular crashes
3177 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3179 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3181 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3183 2003-10-09 André Pönitz <poenitz@gmx.net>
3185 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3188 * BufferView_pimpl.C:
3189 * bufferview_funcs.C:
3200 * undo_funcs.C: adjust
3202 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3204 * text2.C (incrementItemDepth): new function, use a backtracking
3205 algorithm to discover the correct item depth.
3206 (resetEnumCounterIfNeeded): new function, use a backtracking
3207 algorithm to discover if counter reset is needed.
3208 (setCounter): use them. Simplify a bit. Add different labels for
3209 different item depths for itemize.
3211 * paragraph.C (Paragraph): remove initialization of enumdepth
3214 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3215 enumerate and itemize. Change the type of itemdepth to signed char.
3217 2003-10-08 André Pönitz <poenitz@gmx.net>
3219 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3224 * tabular.[Ch]: fix crash after 'row-insert'
3226 2003-10-08 Angus Leeming <leeming@lyx.org>
3228 Fix doxygen warnings.
3230 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3231 Remove CutAndPaste:: prefix from header file declaration.
3233 * LColor.h (fill): remove LColor:: prefix from declaration.
3235 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3236 use lyx::depth_type rather than Paragraph::depth_type so that
3237 header file and .C file match.
3239 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3241 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3242 * aspell.C: \file aspell_local.C -> \file aspell.C
3243 * gettext.C: \file gettext.C -> \file src/gettext.C
3244 * gettext.h: \file gettext.h -> \file src/gettext.h
3245 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3246 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3247 * text.C: \file text.C -> \file src/text.C
3249 * toc.C: move comment so that doxygen is not confused.
3251 2003-10-07 Angus Leeming <leeming@lyx.org>
3253 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3255 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3258 * aspell_local.h: add forgotten std::string's.
3260 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3267 * text3.C: The Box patch. Fancybox support, minipage, parbox
3269 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3275 * ParagraphParameters.h:
3285 * lyxtextclasslist.h:
3288 * paragraph_pimpl.C:
3289 * textcursor.h: add <string> and other small fixes to make Lars'
3290 std::string patch compile with STLport.
3292 2003-10-06 Angus Leeming <leeming@lyx.org>
3294 * LColor.h: Add missing #include <string>.
3296 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3298 * All most all file in all subdirs: Make <string> be the prefered
3299 way of getting to std::string, add using declarations.
3301 2003-10-06 André Pönitz <poenitz@gmx.net>
3303 * metricsinfo.C: initialize LyXFont before changing attribute.
3304 (fixes the 'math in \emph is upright' bug)
3306 2003-10-06 André Pönitz <poenitz@gmx.net>
3308 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3310 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3313 * paragraph_pimpl.C: Small fixes to build using STLport
3315 2003-10-02 André Pönitz <poenitz@gmx.net>
3318 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3320 2003-10-01 André Pönitz <poenitz@gmx.net>
3322 * factory.C: assert early
3324 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3326 * lyx_main.C: remove the global debug object
3328 * debug.h: adjust for new debugstream
3330 * debug.C: adjust for new debugstream and keep the global debug
3333 2003-09-22 Angus Leeming <leeming@lyx.org>
3335 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3336 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3337 an incomplete class LyXFont.
3339 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3341 * factory.C: bug fix in branches
3343 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3345 * lyxfunc.C (processKeySym): adjust
3347 (dispatch): change arg name from ev to func, adjust
3348 (sendDispatchMessage): ditto
3350 * lyx_main.C (defaultKeyBindings): adjust keybindings
3351 (deadKeyBindings): ditto
3353 * kbsequence.C (addkey): return a FuncRequest
3355 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3357 * kbmap.C (bind): take a FuncRequest as arg, adjust
3360 (defkey): change to take a FuncRequest as arg, adjust
3361 (findbinding): take a FuncRequest as arg, adjust.
3363 * funcrequest.h (operator=): added
3365 * funcrequest.C (FuncRequest): default kb_action changed from
3366 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3368 * buffer.C (dispatch): simplify
3369 (dispatch): adjust to take a FuncRequest as arg, adjust
3371 * boost.C (assertion_failed): change assertion message slightly
3373 * ToolbarBackend.C (read): simplify
3375 * MenuBackend.C (binding): adjust call to findbinding, add a
3376 message if no binding is found.
3378 (expandToc): correct by adding a empty FuncRequest
3380 * LyXAction.C: include <boost/assert.hpp>
3381 (isPseudoAction): delete function
3382 (LookupFunc): change name to...
3383 (lookupFunc): this. change return type to FuncRequest.
3384 (getActionName): take kb_action as arg, simplify
3385 (funcHasFlag): add an assert, simplify.
3387 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3389 * toc.C (action): return a FuncRequest, simplify
3391 * lyxfunc.C (processKeySym): adjust
3392 (getStatus): delete version that takes an int.
3394 (dispatch): delete version that takes action as int
3396 (sendDispatchMessage): simplify and adjust
3398 * funcrequest.C (getArg): take unsigned int as arg
3400 * ToolbarBackend.C (read): adjust
3401 (add): delete version that takes func as a string.
3402 (getIton): take a FuncRequest as arg
3404 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3407 * MenuBackend.C (MenuItem): add a new construct that only takes a
3408 Kind, simplify the constructor use for submenus.
3410 (expandLastfiles): adjust
3411 (expandDocuments): adjust
3412 (expandFormats): adjust
3413 (expandFloatListInsert): adjust
3414 (expandFloatInsert): adjust
3415 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3417 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3418 Remove class variables lyx_pseudo_map and lyx_arg_map
3420 * LyXAction.C (searchActionArg): delete function
3421 (getPseudoAction): delete function
3422 (retrieveActionArg): delete function
3423 (LookupFunc): make it return kb_action, simplify.
3424 (getActionName): simplify
3426 * factory.C (createInset): fix new bug
3428 2003-09-19 Angus Leeming <leeming@lyx.org>
3430 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3431 masterFilename_ parameter in the include inset.
3433 * factory.C (createInset): changes due to the changes to InsetInclude.
3435 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3437 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3439 2003-09-18 Angus Leeming <leeming@lyx.org>
3442 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3443 Inset::fillWithBibKeys.
3444 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3446 2003-09-18 Angus Leeming <leeming@lyx.org>
3448 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3450 (ctor): pass and store a 'Buffer const &'
3451 (buffer): new member function.
3453 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3454 '*this' to the LaTeXFeatures ctor.
3456 2003-09-18 Angus Leeming <leeming@lyx.org>
3462 * text.C: rename EnumLColor as LColor_color.
3464 2003-09-18 Angus Leeming <leeming@lyx.org>
3466 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3467 remove #include "insets/insetbase.h" from cursor.h.
3469 2003-09-18 Angus Leeming <leeming@lyx.org>
3471 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3472 InsetOld_code to remove #include "inset.h".
3474 * iterators.C: add #include "insets/inset.h"
3476 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3478 * BufferView.C: remove more locking stuff that apparently doesn't
3479 do anything sensible.
3481 2003-09-16 André Pönitz <poenitz@gmx.net>
3484 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3487 2003-09-16 Angus Leeming <leeming@lyx.org>
3489 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3491 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3494 * paragraph.h: remove #include "lyxfont.h". Forward declare
3497 2003-09-16 Angus Leeming <leeming@lyx.org>
3499 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3500 of support/textutils.h.
3501 (isWord): move the contents of support/textutils.h's IsWordChar here.
3507 * text2.C: add #include "paragraph.h".
3510 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3512 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3518 * LaTeX.C: use namespace alias for lyx::support::os
3520 2003-09-16 Angus Leeming <leeming@lyx.org>
3523 * bufferview_funcs.C:
3526 * paragraph_pimpl.C:
3528 * text.C: add #include "LColor.h".
3530 2003-09-16 Angus Leeming <leeming@lyx.org>
3532 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3533 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3535 Store the FontBits::color variable as an int rather than as an
3536 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3539 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3540 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3541 string calls together.
3543 * lyxrc.C: add #include "LColor.h".
3545 2003-09-15 Angus Leeming <leeming@lyx.org>
3547 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3550 2003-09-15 Angus Leeming <leeming@lyx.org>
3552 * LColor.h: add an EnumLColor wrapper for LColor::color.
3554 * lyxfont.[Ch] (color, setColor, realColor):
3555 * lyxtext.h, text.C (backgroundColor):
3556 pass EnumLColor args to/from the functions, rather than LColor::color
3560 * lyxtext.h: forward declare EnumLColor.
3562 * lyx_main.C: add #include "LColor.h".
3564 2003-09-15 Angus Leeming <leeming@lyx.org>
3566 * .cvsignore: add lyx-gtk.
3568 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3573 * ParagraphParameters.C
3577 * bufferview_funcs.C
3587 * vc-backend.C: remove usage of STRCONV
3589 2003-09-15 Angus Leeming <leeming@lyx.org>
3591 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3592 explicitly define the color passed to the painter.
3594 2003-09-15 Angus Leeming <leeming@lyx.org>
3596 * bufferparams.C (BufferParams): reorder member initializers to avoid
3599 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3601 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3602 * text.C (updateRowPositions): remove an unusual nop
3604 2003-09-12 André Pönitz <poenitz@gmx.net>
3606 * BufferView_pimpl.C:
3615 * Counters.[Ch]: finish the 'automatic counters' job
3617 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3619 * aspell.C: include <boost/assert.cpp> (compile fix)
3621 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3623 * boost.C (assertion_failed): use lyx::support::abort instead of
3626 2003-09-10 Angus Leeming <leeming@lyx.org>
3628 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3629 with their _fwd progeny.
3631 2003-09-09 Angus Leeming <leeming@lyx.org>
3633 134 files throughtout the source tree: replace 'using namespace abc;'
3634 directives with the appropriate 'using abc::xyz;' declarations.
3636 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3638 * boost.C (emergencyCleanup): moved here from LAssert.c
3639 (assertion_failed): new function, called by BOOST_ASSERT
3641 * several files: change Assert to BOOST_ASSERT
3643 2003-09-09 Angus Leeming <leeming@lyx.org>
3645 * buffer.[Ch]: Add an Impl class and move Buffer's member
3646 variables into it. As a result move several header files out of
3649 Add header files to lots of .C files all over the tree as a result.
3651 2003-09-09 Angus Leeming <leeming@lyx.org>
3653 * buffer.[Ch]: make Buffer's member variables private. Add
3656 Lots of changes all over the tree as a result.
3658 2003-09-08 Angus Leeming <leeming@lyx.org>
3660 * graph.C: #include <config.h>.
3662 2003-09-08 Angus Leeming <leeming@lyx.org>
3666 * BufferView_pimpl.C:
3695 * toc.C: remove redundant using directives.
3697 2003-09-07 Angus Leeming <leeming@lyx.org>
3699 * LaTeXFeatures.h: remove #include "support/types.h".
3700 * ToolbarBackend.h: remove #include <algorithm>.
3701 * changes.h: remove #include <ctime>.
3702 * debug.h: remove #include <iosfwd>.
3703 * graph.h: remove #include "support/std_string.h".
3704 * lyx_main.h: remove #include <csignal>.
3705 * lyxlex_pimpl.h: remove #include <fstream>.
3706 * sgml.h: remove #include <algorithm>, <utility>.
3707 * toc.h: remove #include "support/std_ostream.h".
3708 Add #include <iosfwd>.
3710 2003-09-07 Angus Leeming <leeming@lyx.org>
3712 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3714 * converter.h: forward declare LatexRunParams.
3715 * encoding.h: remove #include "lyxrc.h".
3716 * lyxtext.h: remove #include "LColor.h".
3717 * lyxtextclass.h: remove #include "support/types.h".
3718 * trans.h: remove #include "tex-accent.h".
3719 * trans_mgr.h: remove #include "tex-accent.h".
3720 * insets/inset.h: remove #include "support/types.h", <vector>.
3721 * insets/insetcollapsable.h: remove #include "LColor.h".
3722 * insets/insetinclude.h: remove #include "dimension.h".
3723 * insets/insetlatexaccent.h: remove #include "dimension.h".
3724 * insets/insetoptarg.h:: remove #include "insettext.h".
3725 * insets/insettext.h: remove #include "dimension.h",
3726 <boost/shared_ptr.hpp>
3728 * insets/renderers.h: add #include "dimension.h".
3729 * insets/updatableinset.h: add #include "support/types.h".
3731 * many .C files: Associated changes.
3733 2003-09-06 Angus Leeming <leeming@lyx.org>
3735 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3736 one, inside testInvariant.
3738 * PrinterParams.C: new file.
3739 * PrinterParams.[Ch]: move the function bodies out of line.
3741 2003-09-06 Angus Leeming <leeming@lyx.org>
3743 * ParagraphParameters.h: forward declare ParameterStruct rather than
3744 including its header file.
3745 (depth): moved out-of-line.
3747 2003-09-06 Angus Leeming <leeming@lyx.org>
3749 * BufferView_pimpl.h:
3752 * lyxfunc.h: forward declare LyXKeySym rather than
3753 #include "frontends/LyXKeySym.h".
3755 * BufferView_pimpl.C:
3758 * lyxfunc.C: associated changes.
3760 2003-09-06 Angus Leeming <leeming@lyx.org>
3762 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3763 As a result, can remove the #include "insets/inset.h" from BufferView.h
3765 2003-09-06 Angus Leeming <leeming@lyx.org>
3767 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3768 As a result, can remove the #include "insets/inset.h" from BufferView.h
3770 2003-09-06 Angus Leeming <leeming@lyx.org>
3776 * bufferview_funcs.C:
3777 * BufferView_pimpl.C:
3782 * ParagraphParameters.C:
3787 * frontends/controllers/ControlDocument.C:
3788 * insets/insetcaption.C: rearrange the #includes into some sort of
3791 * buffer.h: remove #includes ErrorList.h, undo.h
3793 2003-09-06 Angus Leeming <leeming@lyx.org>
3795 * support/types.h: add a 'depth_type' typedef, used to store the
3796 nesting depth of a paragraph.
3799 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3800 defining explicitly.
3803 * paragraph_funcs.h:
3804 * ParagraphParameters.h:
3805 * sgml.h: use lyx::depth_type rather than Paragraph or
3806 ParameterStruct's depth_type.
3809 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3812 * BufferView_pimpl.C:
3814 * ParagraphParameters.C:
3817 * bufferview_funcs.C:
3824 * frontends/LyXView.C:
3825 * frontends/controllers/ControlDocument.C:
3826 * frontends/controllers/ControlErrorList.C:
3827 * insets/insetbibitem.C:
3828 * insets/insetbranch.C:
3829 * insets/insetcaption.C:
3830 * insets/insetcollapsable.C:
3831 * insets/insetenv.C:
3832 * insets/insetert.C:
3833 * insets/insetfloat.C:
3834 * insets/insetfoot.C:
3835 * insets/insetfootlike.C:
3836 * insets/insetnewline.C:
3837 * insets/insetquotes.C:
3838 * insets/insettabular.C:
3839 * insets/insettext.C:
3840 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3842 * frontends/controllers/ControlChanges.C: #include "changes.h".
3844 2003-09-06 Angus Leeming <leeming@lyx.org>
3846 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3847 than #including paragraph.h.
3850 * RowList.h: deleted. Superfluous.
3860 * insets/insettext.h: use ParagraphList_fwd.h rather than
3863 * paragraph.h: don't forward declare ParagraphList.
3866 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3867 rather than ParagraphList.h. paragraph.h is still needed for the
3868 Paragraph::depth_type parameters.
3870 * textcursor.h: enable it to compile stand-alone in light of the
3873 * bufferview_funcs.C:
3885 * frontends/controllers/ControlParagraph.C:
3886 * frontends/controllers/ControlTabular.C:
3887 * insets/insetmarginal.C:
3888 * insets/insetminipage.C:
3889 * insets/insetnote.C:
3890 * insets/insetoptarg.C: add header files needed to compile again.
3892 2003-09-06 Angus Leeming <leeming@lyx.org>
3894 * RowList_fwd.h: new file, forward-declaring Row rather than
3895 #including lyxrow.h.
3900 * insets/insettext.h: use it instead of RowList.h
3902 * bufferview_funcs.C:
3909 * text3.C: #include "RowList.h".
3911 2003-09-05 Angus Leeming <leeming@lyx.org>
3913 * factory.C (createInset):
3914 * vspace.C (c-tor): replace sscanf call with an istringstream.
3915 * ispell.C: re-add missing HP/UX headers.
3916 * lyxserver.C: re-add missing os2 headers.
3918 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3927 * text3.C: re-add missing system headers, needed for 2.95.2.
3929 2003-09-05 Angus Leeming <leeming@lyx.org>
3931 Changes most place everywhere due to the removal of using directives
3932 from support/std_sstream.h.
3934 2003-09-05 Angus Leeming <leeming@lyx.org>
3936 Replace LString.h with support/std_string.h,
3937 Lsstream.h with support/std_sstream.h,
3938 support/LIstream.h with support/std_istream.h,
3939 support/LOstream.h with support/std_ostream.h.
3941 Changes resulting throughout the tree.
3943 2003-09-05 Angus Leeming <leeming@lyx.org>
3945 * sgml.h: ensure that the header file can be compiled stand-alone.
3946 * *.C: strip out redundant #includes. (320 in total.)
3948 2003-09-04 Angus Leeming <leeming@lyx.org>
3950 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3951 here (from getPackages).
3953 * debug.[Ch]: add a new EXTERNAL tag.
3955 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3957 * text2.C (cursorEnd): simplify
3959 (getColumnNearX): adjust
3961 * text.C (computeBidiTables): adjust
3964 * rowpainter.C (paintChars): adjust
3965 (paintSelection): adjust
3966 (paintChangeBar): adjust
3969 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3971 (numberOfSeparators): adjust
3973 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3979 * text3.C: Restricts the mouse click functionality
3980 of insets like bibtex, include, toc and floatlist to the visible
3981 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3982 up the dialogs. Cursor has to be in front of the inset (i.e.
3983 start of row) for this to function.
3985 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3987 * bufferview_funcs.C (currentState): output row information
3989 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3991 * bufferview_funcs.C (currentState): output paragraph position
3993 2003-09-04 Angus Leeming <leeming@lyx.org>
3995 * FloatList.h: move out #include "Floating.h".
3996 * LaTeX.h: move out #include "DepTable.h".
3997 * LyXAction.h: move out #include "funcrequest.h".
3998 * buffer.h: move out #include "author.h", "iterators.h".
3999 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4000 * lyx_main.h: move out #include "errorlist.h".
4001 * lyxfunc.h: move out #include "FuncStatus.h".
4002 * lyxtext: move out #include "lyxcursor.h".
4003 * paragraph_pimpl.h: move out #include "counters.h".
4005 2003-09-03 Angus Leeming <leeming@lyx.org>
4007 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4008 preamble_snippets list, enabling us to add snippets to the preamble
4009 only if the snippet was not there already.
4011 2003-09-04 Angus Leeming <leeming@lyx.org>
4013 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4015 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4017 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4020 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4022 * BranchList.C: point fix, earlier forgotten
4024 2003-09-02 Angus Leeming <leeming@lyx.org>
4026 * box.C (contains): renamed from 'contained' after a fantastic
4029 2003-09-02 John Levon <levon@movementarian.org>
4035 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4037 2003-09-02 John Levon <levon@movementarian.org>
4039 * text2.C: simplification of cursorEnd(), including partial
4042 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4044 * buffer.C (readFile): add a space
4046 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4048 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4050 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4052 * buffer.C (readFile): new function, take a filename and a
4053 ParagraphList::iterator
4055 (readFile): adjust, make it private. don't use setStream, make
4056 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4057 always contain the filename.
4059 * BufferView.C (insertLyXFile): simplify and make it work for
4062 2003-08-30 John Levon <levon@movementarian.org>
4064 * Makefile.am: fix dist (from Kayvan)
4066 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4068 * most files: change to use const Buffer refs
4070 2003-08-27 André Pönitz <poenitz@gmx.net>
4072 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4073 on top of ownerPar().
4075 2003-08-27 John Levon <levon@movementarian.org>
4077 * funcrequest.C: properly initialise POD members
4079 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4081 * lyxtext.h (top_y): move top_y from here
4086 * BufferView_pimpl.[Ch]: to here
4087 * frontends/screen.C:
4088 * insets/insettabular.C:
4089 * insets/insettext.C: adjust
4090 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4092 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4095 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4097 2003-08-26 André Pönitz <poenitz@gmx.net>
4099 * paragraph_func.[Ch] (outerPar): new function
4102 * paragraph_funcs.C:
4103 * paragraph_funcs.h:
4104 * paragraph_pimpl.C:
4105 * text2.C: remove Inset::par_owner
4107 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4112 * text2.C: eliminates the needFullRow/display() stuff
4113 altogether, putting the logic in metrics/draw in the insets.
4115 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4117 * text2.C (redoParagraphInternal, redoParagraphs):
4118 * text.C (redoParagraph): add a call to updateRowPositions at the
4119 end of each 'metrics-like' call. Remove all others.
4120 (getRow): remove the 'y-computing' version.
4121 (getRowNearY): do not compute nor return the real y. Solve the
4122 'y < 0' problem and simplify.
4124 2003-08-22 Angus Leeming <leeming@lyx.org>
4126 * *.[Ch]: clean-up of licence and author blurbs.
4127 Also move config.h out of a few .h files and into a few .C files.
4129 2003-08-22 André Pönitz <poenitz@gmx.net>
4131 * lyxrow.[Ch]: add x_ and *fill_ members
4136 * text2.C: adjust/remove prepareToPrint() calls
4138 2003-08-22 André Pönitz <poenitz@gmx.net>
4140 * lyxrow.[Ch]: add end_ member
4142 * lyxrow_funcs.C: use LyXRow::end_
4144 * lyxtext.h (singleWidth): add LyXFont parameter
4147 * text2.C: adjust LyXText::singleWidth() calls
4149 * text.C (redoParagraph): simplify row breaking logic
4152 2003-08-19 André Pönitz <poenitz@gmx.net>
4154 * funcrequest.C: initialize button_ member
4157 * rowpainter.[Ch]: interface consolidation
4159 2003-08-18 André Pönitz <poenitz@gmx.net>
4162 * BufferView_pimpl.C:
4164 * paragraph_funcs.C:
4166 * text3.C: remove LyXScreen::draw() and fitCursor calls
4168 * BranchList.h: remove spurious semicolons
4170 * MenuBackend.C: fix branchlist related crash
4172 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4180 * bufferparams.[Ch]:
4184 * text3.C: implements the 'branch inset'
4185 idea. This allows the output of various versions of a document
4186 from a single source version, selectively outputing or suppressing
4187 output of parts of the text.
4188 This implementation contains a 'branch list editor' in a separate
4189 tab of the document settings dialog. Branches are user definable
4190 and have a "display colour" to distinguish them on-screen.
4192 ColorHandler was somewhat cleaned up.
4193 (1) make possible a dynamically growing LColor list by allowing
4194 the graphic context cache to grow along (vector);
4195 (2) eliminate an IMHO unnecessary step in colour allocation.
4197 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4199 * BufferView_pimpl.C: compile fix
4201 2003-08-15 André Pönitz <poenitz@gmx.net>
4203 * rowpainter.C: remove extra metrics calls
4205 * lyxtext.h: merge the two constructors into a single one,
4206 pass reference to owner's par list
4208 * BufferView_pimpl.C:
4212 2003-08-15 André Pönitz <poenitz@gmx.net>
4214 * lyxrow_funcs.[Ch]:
4217 * paragraph_funcs.C:
4222 * text_funcs.C: split LyXText::rowlist_ into individual
4223 Paragraph::rows_ chunks
4226 * BufferView_pimpl.[Ch]:
4229 * text3.C: remove toggleSelection()
4231 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4233 * bufferlist.C: beautify two alerts (shorter text of buttons)
4234 * buffer.C: Remove redundant ' ' from message
4236 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4237 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4238 rename VALIGN_CENTER to VALIGN_MIDDLE
4240 2003-08-11 André Pönitz <poenitz@gmx.net>
4242 * lyxtext.h (getPar):
4243 * text.C: new function
4245 2003-08-11 André Pönitz <poenitz@gmx.net>
4248 * tracer.[Ch]: remove unneeded files
4250 * InsetList.[Ch]: remove resizeInsetsLyXText()
4255 * text3.C: merge insertParagraphs() and appendParagraph()
4256 remove breakAgain(), update()
4258 * BufferView_pimpl.[Ch]:
4259 * bufferview_funcs.[Ch]:
4263 * tabular.C: adjust after text & InsetList changes.
4265 2003-08-08 André Pönitz <poenitz@gmx.net>
4267 * text.C (insertChar, backspace): replace rowlist fiddling
4268 with rebreak of full par
4271 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4272 checkParagraph, updateInset): removed
4274 2003-08-07 André Pönitz <poenitz@gmx.net>
4277 * text3.C: merge some LFUN handlers, remove dead code
4279 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4281 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4283 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4285 * text2.C (DEPM): fix part of bug 1255 and 1256
4287 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4289 * BufferView_pimpl.C (workAreaDispatch): change to use
4290 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4291 that are no mouse related.
4293 2003-08-05 André Pönitz <poenitz@gmx.net>
4296 * BufferView_pimpl.[Ch]:
4297 * bufferview_funcs.C:
4299 * text3.C: rip out "deep update"
4301 * textcursor.[Ch] (last_sel_cursor): remove unused member
4303 2003-08-04 André Pönitz <poenitz@gmx.net>
4306 * BufferView_pimpl.[Ch]:
4307 * ParagraphParameters.C:
4308 * bufferview_funcs.C:
4314 * text3.C: replace "complicated" BufferView::update(...) calls with
4317 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4319 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4321 * Makefile.am (lyx_SOURCES): add paper.h
4323 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4325 * Makefile.am: move things around so that both lyx-qt and
4326 lyx-xforms can be built (according to --with-frontend). Then lyx
4327 is a symbolic link to lyx-[firstfrontend]
4329 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4331 * Always use std::endl with lyxerr
4333 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4335 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4337 2003-08-01 André Pönitz <poenitz@gmx.net>
4340 * BufferView_pimpl.[Ch]:
4342 * text3.C: merge BufferView::repaint() and BufferView::update()
4344 2003-08-01 José Matos <jamatos@lyx.org>
4346 * buffer.[Ch]: file_format is no longer a buffer data element.
4348 2003-08-01 André Pönitz <poenitz@gmx.net>
4353 * text2.C: make redoParagraph more independent of current cursor
4355 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4357 * text2.C: remove unneeded members
4359 2003-07-30 André Pönitz <poenitz@gmx.net>
4361 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4363 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4364 create a single function...
4366 * paragraph_funcs.C (moveItem): ... here.
4369 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4371 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4373 * LColor.[Ch]: Add comment and greyedout logical colors.
4375 2003-07-30 André Pönitz <poenitz@gmx.net>
4377 * tabular.C: don't use Assert too heavily. This crashes where it
4380 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4382 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4383 is disabled (bug 1232)
4385 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4387 * factory.C: limited 'arg' scope
4389 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4391 * factory.C: fixed Note submenu issues
4393 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4395 * factory.C: submenu for Note/Comment/Greyedout
4397 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4400 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4402 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4405 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4406 greyedout. Patch provided by Jürgen Spitzmüller.
4408 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4410 * kbmap.C (read): fix error message when reading bind files
4412 2003-07-29 Angus Leeming <leeming@lyx.org>
4414 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4415 certainly does not do what it purports to do. I am doing it, and
4416 us, a favour by killing it.
4418 2003-07-28 José Matos <jamatos@lyx.org>
4420 * buffer.C (readBody, do_writeFile):
4421 * paragraph.C(readParagraph): \end_document replaces \the_end.
4423 2003-07-29 André Pönitz <poenitz@gmx.net>
4426 * BufferView_pimpl.[Ch]:
4430 * textcursor.[Ch]: remove toggleToggle & Co
4432 2003-07-28 José Matos <jamatos@fep.up.pt>
4434 * buffer.C (readParagraph):
4435 * params_func (readParToken, readParagraph):
4436 * paragraph.C (write): \layout -> \begin_layout.
4438 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4440 * lyxlex_pimpl.C (setFile): clean up slightly.
4442 * bufferparams.h: add compressed var
4444 * buffer_funcs.C (readFile): adjust for LyXLex change
4445 (newFile): ditto + simplify
4447 * buffer.C (writeFile): handle writing of compressed files
4449 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4450 Check if the file is compressed and set a bufferparm if so.
4452 * Makefile.am (lyx_LDADD): remove explicit -lz
4454 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4456 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4457 makeDocBookFile): put the real LyX version in the first line of
4461 * version.C.in: remove lyx_docversion
4463 * tabular.C (write_attribute): add a template-based version to
4464 write enums properly
4466 2003-07-28 André Pönitz <poenitz@gmx.net>
4471 * text3.C: use doubles again for x-coordinates. They are needed.
4473 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4475 * messages.C (getLocaleDir): use lyx_localedir()
4477 * lyxlex_pimpl.C (setFile): compress stuff
4479 * buffer.C (writeFile): add some compression stuff
4480 (do_writeFile): new func, dont call expliti close... will this
4483 * Makefile.am (lyx_LDADD): add -lz
4485 2003-07-28 José Matos <jamatos@fep.up.pt>
4487 * buffer.C: increment file format.
4488 * paragraph_funcs (readParagraph, readParToken):
4489 * paragraph.C (readParagraph): add \end_layout.
4491 2003-07-27 Angus Leeming <leeming@lyx.org>
4493 * Makefile.am: remove special casing for configure-time setting of
4494 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4496 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4497 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4499 2003-07-26 André Pönitz <poenitz@gmx.net>
4501 * paragraph_func.[Ch]:
4502 * paragraph.C (realizeFont): inline it whereever it is used
4507 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4510 2003-07-26 André Pönitz <poenitz@gmx.net>
4514 * text2.C: get rid of LyXText::need_break_row
4516 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4518 * toc.[Ch]: put namespace toc inside namespace lyx
4520 * MenuBackend.C (expandToc2): adjust for lyx::toc
4523 * lyxfunc.C (dispatch): adjust for lyx::find
4525 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4526 lyx::find instead. Reorganize a bit.
4527 (LyXReplace): rename to replace
4528 (LyXFind): rename to find
4530 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4533 2003-07-26 André Pönitz <poenitz@gmx.net>
4535 * text.C (setHeightOfRow): restrict scope of temporary variable
4537 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4538 code (never has been used?)
4540 2003-07-27 Asger Alstrup <alstrup@local>
4542 * text.C (fill): Optimise algorithm to exploit that we can reuse
4543 the LyXFont for many characters.
4544 (setHeightOfRow): Same thing.
4545 (rowBreakPoint): Same thing.
4547 2003-07-26 Asger Alstrup <alstrup@local>
4549 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4551 * text.C (singleWidth): Spurious font copying in hot-spot
4552 singleWidth avoided. Reorder tests for arabic for efficiency.
4554 * text.C (fill): handle empty paragraphs better.
4556 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4559 * encoding.h: add includes
4561 * lyxrc.C: remove reading of bind files
4563 * lyx_main.C (init): setup bindings and menus only if we have a
4566 * kbmap.C (read): new method. Do the actual reading of bind
4569 * converter.C (dvipdfm_options):
4572 (output): adapt PAPER_* enums.
4574 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4576 * bufferparams.h: remove paper-related enums from there
4578 * paper.h: New file. A trivial header file to hold paper-related
4579 enums. It should later expand to contain many paper-related
4582 * lyxrc.C: declare extern displayTranslator
4584 2003-07-27 José Matos <jamatos@fep.up.pt>
4586 * tabular.[Ch] (linuxdoc): add support for tables and figures
4589 2003-07-27 José Matos <jamatos@fep.up.pt>
4591 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4592 consistency in both functions.
4593 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4595 2003-07-26 Asger Alstrup <alstrup@local>
4597 * rowpainter.C (paintRows): Change algorithm to work directly on
4598 the insets rather than asking every character in the document
4599 whether its an inset.
4601 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4603 * buffer.C (openFileWrite): factorize some code
4605 2003-07-26 Angus Leeming <leeming@lyx.org>
4608 * lyx_main.[Ch]: replace occurances of system_tempdir with
4611 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4613 * rename Inset to InsetOld
4615 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4617 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4618 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4619 which I think is a bit clearer. EDIT is gone, since it was
4620 premature optimisation, and broken for mathed anyway.
4621 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4622 with cursor positioning in insets as well (math insets still do not
4623 work, but that's a different story anyway.) It mysteriously
4624 crashes sometimes with undo in the first paragraph, but I'm fairly
4625 confident that this is a compiler bug.
4627 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4629 * paragraph.C (Paragraph): adjust for new clone return type
4631 (copyIntoMinibuffer): ditto
4633 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4635 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4636 by not having a special case, and always doing a full rebreak of
4637 the document after undo.
4639 2003-07-23 Angus Leeming <leeming@lyx.org>
4641 * factory.C (createInset): InsetExternal::setParams now takes a
4644 2003-07-23 Angus Leeming <leeming@lyx.org>
4646 * factory.C (createInset): changed interface to the external and
4647 graphics mailers' string2params functions.
4649 2003-07-23 Angus Leeming <leeming@lyx.org>
4651 * factory.C (createInset): pass a
4652 Buffer const * parameter to InsetExternalMailer's string2params.
4654 2003-07-22 John Levon <levon@movementarian.org>
4656 * Thesaurus.h: include the right aiksaurus header
4658 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4660 * MenuBackend.C (expand): check menu shortcuts unconditionally
4662 2003-07-21 Angus Leeming <leeming@lyx.org>
4664 * factory.C (createInset): pass a
4665 buffer_path parameter to InsetGraphicsMailer's string2params.
4667 2003-07-21 Angus Leeming <leeming@lyx.org>
4669 * BufferView_pimpl.C (buffer):
4672 * lyxfunc.C (dispatch):
4673 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4674 rather than the grfx shortcut.
4676 2003-07-21 André Pönitz <poenitz@gmx.net>
4678 * rowpainter.C: remove unused variables
4681 * tabular_funcs.h: move to tabular.C
4682 * Makefile.am: adjust
4684 * tabular.[Ch]: basic optical cleaning
4686 * author.h: pass references, not values
4688 2003-07-18 André Pönitz <poenitz@gmx.net>
4696 * text3.C: two-phase drawing for InsetText and InsetTabular
4697 some float -> int changes.
4699 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4701 * lyx_main.C: fix the fix
4703 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4705 * lyx_main.C: fix a crash in batch mode if no files specified
4708 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4710 * format.[Ch] (papersize): moved to BufferParams
4711 * converter.[Ch] (dvips_options): moved to BufferParams
4712 (dvipdfm_options): moved to anon namespace
4713 * bufferparams.[Ch]: added above functions.
4715 2003-07-17 André Pönitz <poenitz@gmx.net>
4719 * text2.C: don't call inset->update() anymore
4721 * metricsinfo.[Ch]: add convenience constructor
4723 2003-07-16 André Pönitz <poenitz@gmx.net>
4728 * text2.C: replace the LyXCursor::irow_ member with
4729 on-demand computation of the value
4731 2003-07-16 John Levon <levon@movementarian.org>
4733 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4735 2003-07-15 André Pönitz <poenitz@gmx.net>
4738 * text2.C: remove no more needed refresh_row
4740 2003-07-15 André Pönitz <poenitz@gmx.net>
4745 * text3.C: refresh_status tristate -> need_update bool
4747 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4749 * lyxtext.h (init): remove reinit argument (act as if always true)
4750 * text2.C: adjust to that
4752 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4754 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4755 * text3.C: use it to delete selections in some cases
4756 (bugs 441, 673, 702, 954).
4758 2003-07-14 André Pönitz <poenitz@gmx.net>
4760 * rowpainter.[Ch]: reduce interface
4762 2003-07-14 André Pönitz <poenitz@gmx.net>
4764 * BufferView_pimpl.C:
4765 * text2.C: adjust after removing unused BufferView * argument
4767 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4769 * text2.C (init): fix a crash fired on resize
4771 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4773 * buffer.[Ch]: added new closing signal
4774 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4775 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4776 BufferView::Pimpl via the closing the signal
4778 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4780 * buffer.[Ch]: take out all bv-related from buffer
4782 * BufferView_pimpl.[Ch]: connect to new signals
4783 * CutAndPaste.C: removed useless asserts
4784 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4787 * lyxfunc.C: moved view-related funciontality from vc here
4788 * paragraph.C: removed outdated comments
4791 2003-07-10 André Pönitz <poenitz@gmx.net>
4793 * BufferView_pimpl.C:
4797 * text2.C: remove InsetText::InnerCache, clean up consequences
4799 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4801 * ispell.C: fix two typos in error messages
4803 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4805 * Extend Note inset to other forms of annotation like Comment
4806 and Greyedout. Right button click gives dialog.
4808 Files modified or added (+):
4812 * ControlNote.[Ch] +
4814 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4815 frontends/controllers
4819 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4821 * aspell.C: add missing namespace lyx::support
4823 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4825 * BufferView.[Ch] (newFile): Add
4826 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4827 * LaTeX.[Ch] (message): added this signal and use it
4828 * buffer.[Ch] (busy, message): added these signals and use them
4829 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4833 * importer.C: use buffer signals instead of direct bv calling
4834 * lyx_cb.[Ch] (ShowMessage): removed
4837 * paragraph_funcs.C:
4838 * text2.C: use buffer signals
4840 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4842 * introduce namespace lyx::graphics
4844 2003-07-02 André Pönitz <poenitz@gmx.net>
4846 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4848 2003-07-01 André Pönitz <poenitz@gmx.net>
4855 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4856 text*.C to text_func.C
4858 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4860 * introduce namespace lyx::support
4862 2003-06-30 André Pönitz <poenitz@gmx.net>
4867 * text.C: re-enable --with-included-string
4869 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4871 * textcursor.C: add <config.h>
4873 * text.C (getWord): remove const from word_location arg
4875 * lyxvc.C (getLogFile): fix const type order
4877 * lyxtext.h: remove const from word_location arg, add arg name
4879 * lyxlayout.h: currect type on labeltype.
4881 * importer.C: correct \file
4883 * converter.C (intToFormat): use std:: on ret val, ws changes
4885 * bufferlist.h: correct \file
4887 * buffer.C (makeLinuxDocFile): fix const type order
4888 (makeDocBookFile): ditto
4889 (fillWithBibKeys): use std:: on stdlib args.
4891 * CutAndPaste.C: fix authors.
4892 (availableSelections): use std:: on return vector
4894 2003-06-27 André Pönitz <poenitz@gmx.net>
4896 * BufferView_pimpl.C:
4897 * bufferview_funcs.C:
4905 * text3.C: remove LyXCursor::row_ member
4908 * text.C: rename fullRebreak() to partialRebreak() and implement
4909 a fullRebreak() that really bereks fully
4911 * textcursor.h: new struct for cursor-related data
4913 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4915 * lyx_main.C (LyX): get full path of document loaded on the
4918 2003-06-26 André Pönitz <poenitz@gmx.net>
4920 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4921 remove unused/broken operator>,<,>=.
4923 * text.C: remove only use of broken operator<= in an Assert().
4925 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4927 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4928 moved errorlist_.clear to showErrorList
4930 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4932 * converter.C (scanLog, runLaTeX):
4933 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4934 move the bv->showErrorList call to the callers
4935 * lyxfunc.C: i.e. here...
4937 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4938 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4939 namespace, the second to...
4940 * buffer_funcs (BufferFormat, parseErrors): added
4941 * errorlist.C (ErrorList(TeXErrors const &)): removed
4943 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4945 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4947 2003-06-24 "Garst R. Reese" <reese@isn.net>
4951 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4953 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4955 * version.C.in: change docversion to 1.4
4957 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4959 * buffer.C: fix a bug just introduced
4961 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4963 * buffer.[Ch]: added the parseError signal and use it, removed
4965 * BufferView.[Ch] (addError): moved to ...
4966 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4967 to the Buffer::parseError signal to catch (guess what) parse errors
4968 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4970 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4972 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4973 ability to create a buffer and to return an existing one from
4974 the list. Moved these functions to...
4975 * buffer_funcs.[Ch]: added
4976 * BufferView.[Ch] (loadLyXFile): added
4977 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4978 job removed from bufferlist::loadLyXFile.
4979 * buffer.C (setReadOnly): make it work without view
4980 (i.e added an if (users))
4982 2003-06-19 Angus Leeming <leeming@lyx.org>
4985 * LyXAction.C (init):
4986 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4987 with LFUN_DIALOG_SHOW <name> <data>.
4989 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4991 * CutAndPaste.C (availableSelections): small compilation fix for
4992 ancient (gcc 2.9x) compilers
4994 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4996 * text3.C (cursorNext): add tmp var
4998 * text2.C (updateCounters): for function calling out of for clause
4999 (replaceSelectionWithString): ditto
5000 (insertStringAsParagraphs): ditto
5001 (getColumnNearX): add tmp var
5002 (setCursorFromCoordinates): add tmp var
5003 (cursorDownParagraph): add tmp var
5004 (deleteEmptyParagraphMechanism): add tmp var
5006 * text.C (insertChar): add tmp var
5008 * rowpainter.C (paintDepthBar): add tmp var
5010 * CutAndPaste.C (availableSelections): potentially check all
5011 paragraphs in a cut to fill the shown strings.
5013 2003-06-18 André Pönitz <poenitz@gmx.net>
5015 * kbmap.[Ch]: use vector<> instead of list<>
5017 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5019 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5020 pasteSelection with index
5022 * text2.C (pasteSelection): modify, call pasteSelection with index
5024 * paragraph.C (asString): reimplement version with no interval to
5025 call the one with interval.
5027 * lyxtext.h: add index arg to pasteSelection
5029 * MenuBackend.C (MenuItem): handle PasteRecent
5030 (Menu::read::Menutags): add md_pasterecent
5032 (expandPasteRecent): new function
5035 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5037 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5039 (availableSelections): new function
5041 2003-06-17 Angus Leeming <leeming@lyx.org>
5043 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5045 2003-06-17 Angus Leeming <leeming@lyx.org>
5048 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5050 * lyxfunc.C (dispatch): invoke it.
5052 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5054 * iterators.C (operator++, ParPosition): reintroduce some
5055 const_cast for the benefit of older compilers.
5057 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5059 * text3.C (dispatch): do not modify clipboard when doing
5060 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5061 LFUN_DELETE_SKIP on a selection selection
5063 2003-06-16 André Pönitz <poenitz@gmx.net>
5069 * tabular.[Ch]: IU of clone() and getLabelList();
5071 2003-06-13 André Pönitz <poenitz@gmx.net>
5073 * tabular.h: compactification
5075 2003-06-12 André Pönitz <poenitz@gmx.net>
5079 * tabular_funcs.h: some renaming plus whitespace
5081 2003-06-12 André Pönitz <poenitz@gmx.net>
5084 * BufferView_pimpl.C:
5090 * toc.C: Return a Paragraph & for ParIterator::operator*()
5092 2003-06-11 John Levon <levon@movementarian.org>
5096 * ToolbarBackend.C: add "Toolbars" section and
5099 2003-06-10 Angus Leeming <leeming@lyx.org>
5102 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5104 * lyxfunc.C (dispatch): invoke it.
5106 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5108 * main.C: protect <ios> with HAVE_IOS
5109 (main): protect sync_with_stdio with HAVE_IOS
5111 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5113 * text2.C (cutSelection): adjust
5114 (pasteSelection): adjust
5116 * messages.C: handle get of empty string
5118 * main.C (main): use sync_with_stdio(false)
5120 * lyxfunc.C (dispatch): adjust
5122 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5123 (WriteAs): remove unneeded BufferView arg.
5125 * bufferparams.h: use correct types on papersize, papersize2 and
5128 * bufferparams.C (readToken): adjust for type
5129 (writeLaTeX): add missing cases to switch.
5131 * bufferlist.C (quitWriteBuffer): adjust
5134 * buffer.C (asciiParagraph): remove some commented code.
5136 * CutAndPaste.C: remove current_view extern variable.
5137 (cutSelection): add BufferParams arg.
5138 (eraseSelection): add BufferParams arg.
5139 (pasteSelection): add Buffer const & arg
5141 2003-06-07 John Levon <levon@movementarian.org>
5144 * paragraph_funcs.C:
5145 * paragraph_pimpl.C:
5149 * paragraph.C: allow InsetERT to freely space lines,
5150 and some consolidation of code
5152 2003-06-06 José Matos <jamatos@fep.up.pt>
5154 * buffer.C (makeDocBookFile): fix bug #821
5156 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5158 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5160 2003-06-04 Angus Leeming <leeming@lyx.org>
5162 * buffer.C: bump format to 224.
5164 2003-06-05 André Pönitz <poenitz@gmx.net>
5166 * text2.C (redoParagraphs): remove two const_cast<>
5168 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5170 * ParagraphList.h: remove last remnants of NO_STD_LIST
5172 2003-06-03 Angus Leeming <leeming@lyx.org>
5174 * factory.C (createInset): small change to the way InsetExternal's params
5177 2003-06-04 André Pönitz <poenitz@gmx.net>
5179 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5181 * paragraph_pimpl.h:
5182 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5184 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5186 * undo_funcs.C: make some simple cases of undo work again
5188 2003-06-03 John Levon <levon@movementarian.org>
5190 * ispell.C: HPUX doesn't have sys/select.h
5193 2003-06-03 John Levon <levon@movementarian.org>
5195 * CutAndPaste.C: update tabular and include inset
5200 * paragraph.C: remove owningBuffer(), don't pass Buffer
5203 * factory.C: insetGraphicsParams changed
5205 2003-06-02 John Levon <levon@movementarian.org>
5211 * text3.C: remove insetparent
5213 2003-06-02 John Levon <levon@movementarian.org>
5216 * buffer.C: fix inset_iterator.end(), move out of line
5219 2003-06-01 John Levon <levon@movementarian.org>
5221 * text3.C: use a proper cut/paste when doing inset
5222 insert (from Jürgen Spitzmüller)
5224 2003-06-01 John Levon <levon@movementarian.org>
5226 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5228 2003-05-30 André Pönitz <poenitz@gmx.net>
5230 * rowpainter.C: unify second drawing phase
5232 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5234 * trans_mgr.C: remove one case of current_view
5236 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5238 * paragraph_funcs.h: remove paragraph.h include
5240 * paragraph.h: delete NO_STD_LIST stuff
5242 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5244 * buffer.h: remove paragraph.h include
5246 * ParagraphList.C: delete file
5248 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5250 * toc.C (getTocList): adjust
5252 * paragraph_pimpl.C (validate): adjust
5254 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5256 * paragraph.C (Paragraph): adjust
5257 (getPositionOfInset): use const_iterator, adjust
5258 (bibitem): use const_iterator, adjust
5259 (setInsetOwner): adjust
5261 * iterators.C (operator++): adjust
5263 * InsetList.[Ch]: Replace selfmade iterator with standard
5264 vector::iterator also introduce const_iterator. Remove getPos,
5265 getInset and setInset from InsetTable. Adjust accordingly.
5267 * BufferView.C (lockInset): adjust
5268 (ChangeInsets): adjust
5270 * tabular.[Ch]: delete commented same_id functions
5272 2003-05-28 John Levon <levon@movementarian.org>
5274 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5276 2003-05-28 André Pönitz <poenitz@gmx.net>
5278 * metricsinfo.[Ch]: remove 'fullredraw' member
5280 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5282 * lyxtextclass.C (operator): remove caching.
5284 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5288 * text2.C (cursorBottom): adjust
5289 (setCounter): use ParagraphList::find, adjust
5291 * text.C (workWidth): use ParagraphList::find, adjust
5293 * lyxcursor.C (LyXCursor): adjust
5295 * buffer.C (inset_iterator): adjust
5297 * ParagraphList.h: make iterator(value_type) private, make
5298 ParagraphList a friend of iterator.
5300 * ParagraphList.C (find): new function
5302 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5304 2003-05-27 André Pönitz <poenitz@gmx.net>
5306 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5308 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5310 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5312 2003-05-26 John Levon <levon@movementarian.org>
5314 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5316 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * remove same_id from function signatures, adjust.
5320 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5322 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5324 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5326 * paragraph.C (Paragraph): get rid of same_ids parameter
5328 * ParagraphList.C (insert): adjust
5331 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5333 * paragraph_funcs.C (breakParagraph): adjust
5334 (breakParagraphConservative): adjust
5336 * buffer.C (readParagraph): adjust
5338 * ParagraphList.C (insert): take a reference instead of a pointer
5341 * paragraph.[Ch] (id): new function
5343 * bufferlist.C (newFile): adjust
5345 * ParagraphList.C (ParagraphList): adjust
5347 (push_back): take a reference instead of a pointer.
5349 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5351 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5354 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5355 set else use old code.
5357 * ParagraphList.C: remove all NO_NEXT code and only compile this
5358 code of NO_STD_LIST is set.
5360 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5362 * BufferView_pimpl.C:
5372 * graphics/GraphicsConverter.C:
5373 * graphics/PreviewLoader.C: header adjustment
5375 2003-05-23 Angus Leeming <leeming@lyx.org>
5377 * LaTeXFeatures.[Ch] (useBabel): new method.
5378 * bufferparams.C (writeLaTeX): use it.
5380 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5382 * ParagraphList.h (set): remove unused function.
5384 2003-05-23 André Pönitz <poenitz@gmx.net>
5387 * BufferView_pimpl.C:
5391 * undo_funcs.C: setUndo reworked
5393 * iterators.[Ch]: add access to topmost ParagraphList
5395 * lyxtext.[Ch] (workWidth): add a const
5397 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5399 * texrow.[Ch] (increasePos): remove function
5400 * exporter.C (export): removed unused var and outdated comment
5402 2003-05-23 Angus Leeming <leeming@lyx.org>
5404 * latexrunparams.h: rename fragile as moving_arg.
5405 * paragraph.C (simpleTeXOnePar): ditto.
5406 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5408 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5410 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5412 (textUndoOrRedo): comment out a currently unused var.
5414 * paragraph.h (NO_NEXT): enable NO_NEXT
5416 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5418 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5420 * exporter.C (Export): adjust for removeAutoInsets removal.
5422 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5424 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5426 * BufferView.[Ch] (removeAutoInsets): delete function
5428 2003-05-22 Angus Leeming <leeming@lyx.org>
5430 * latexrunparams.h: add a free_spacing variable.
5432 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5433 to pass moving_arg, as the data is stored in runparams.fragile.
5435 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5436 to Inset::latexOptional or to simpleTeXOnePar.
5438 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5439 free_spacing arg to Inset::latexOptional.
5441 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5444 2003-05-22 Angus Leeming <leeming@lyx.org>
5446 * latexrunparams.h: add fragile and use_babel variables.
5448 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5449 * buffer.C (makeLaTeXFile): store this returned value in
5450 runparams.use_babel, thus passing it to the inset::latex methods.
5452 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5453 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5455 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5456 longer has a fragile arg, as it is stored in runparams.fragile.
5458 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5459 moving_arg parameter as the data is stored in runparams.fragile.
5461 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5462 a fragile parameter as the data is stored in runparams.fragile.
5464 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5466 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5468 2003-05-22 Angus Leeming <leeming@lyx.org>
5470 * latexrunparams.h: add a 'bool nice' which defaults to false.
5472 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5473 now encapsulated within runparams.
5475 * bufferlist.C (updateIncludedTeXfiles):
5476 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5478 2003-05-22 Angus Leeming <leeming@lyx.org>
5480 * latexrunparams.h: new file containing struct LatexRunParams.
5481 * Makefile.am: add new file.
5483 * LaTeX.[Ch] (c-tor, run):
5484 * buffer.[Ch] (makeLaTeXFile):
5485 * bufferlist.[Ch] (updateIncludedTeXfiles):
5486 * converter.C (convert, scanLog):
5487 * converter.[Ch] (runLaTeX):
5488 * exporter.C (Export):
5489 * paragraph.[Ch] (simpleTeXOnePar):
5490 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5491 * paragraph_funcs.[Ch] (latexParagraphs):
5492 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5493 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5494 pass around a LatexRunParams parameter.
5496 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * paragraph.[Ch]: remove unused constructor
5500 * ParagraphList.C (erase): new function, taking two iterators
5502 2003-05-22 André Pönitz <poenitz@gmx.net>
5504 * undo_funcs.C: remove duplicated code
5506 * iterator.[Ch]: operator=
5508 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5510 * tabular.C (SetMultiColumn): ws changes
5512 * rowpainter.C (paintFirst): get rid of a ->previous
5514 * lyx_cb.C (getPossibleLabel): parlist simplification
5516 * BufferView.C (ChangeInsets): simplify slightly.
5518 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5520 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5521 * lfuns.h: new LFUN_SPACE
5522 * lyxfunc.C: protected space has a new lfun
5523 * paragraph_funcs.C: read new space insets
5525 * factory.C: handle new space insets
5527 2003-05-22 André Pönitz <poenitz@gmx.net>
5530 * BufferView_pimpl.C:
5533 * undo_funcs.C: return a ParIterator from getParFromID.
5535 * iterators.[Ch]: add two const's
5537 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * toc.C (getTocList): adjust
5541 * iterators.[Ch]: rework for parlist
5543 * buffer.C (par_iterator_begin): adjust
5544 (par_iterator_end): adjust
5546 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5548 * BufferView.C (removeAutoInsets): adjust
5549 (ChangeInsets): adjust
5551 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5553 * text.C (top_y): fix bug 1110
5555 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5557 * errorlist.[Ch]: added
5560 * BufferView_pimpl.C:
5561 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5564 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5566 * Makefile.am: ensure that lyx is relinked upon changes to the
5567 various "convenience" libs.
5569 2003-05-20 Angus Leeming <leeming@lyx.org>
5571 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5572 files are compiled in alphabetical order again.
5574 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5576 2003-05-19 Angus Leeming <leeming@lyx.org>
5578 * gettext.[Ch]: remove "char const * _(char const *)".
5580 2003-05-19 André Pönitz <poenitz@gmx.net>
5582 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5591 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5593 2003-05-19 André Pönitz <poenitz@gmx.net>
5597 * lyxtextclass.[Ch]:
5599 * paragraph_funcs.[Ch]:
5601 * text3.C: more insetenv work
5603 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5605 * ParagraphParameters.C (params2string): small bug fixed
5607 2003-05-16 André Pönitz <poenitz@gmx.net>
5610 * bufferview_funcs.C: patch from Kornel Benko to prevent
5611 crash when _(...) is called twice in a statement
5613 2003-05-16 André Pönitz <poenitz@gmx.net>
5620 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5622 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5624 * lyx_main.C (init): remove spurious static_cast
5626 2003-05-14 André Pönitz <poenitz@gmx.net>
5628 * BufferView.C: fix format string
5630 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5632 * BufferView.[Ch] (insertErrors): removed
5633 * BufferView.[Ch] (showErrorList): added
5634 * buffer.C (runChkTeX):
5635 * converter.C (scanLog): call showErrorList instead of inserterrors
5637 2003-05-13 André Pönitz <poenitz@gmx.net>
5639 * BufferView_pimpl.C:
5641 * bufferview_func.C:
5648 * tabular_funcs.h: tostr() from its own header
5650 * ParagraphParameters.C:
5655 * text3.C: STRCONV()
5657 2003-05-12 André Pönitz <poenitz@gmx.net>
5660 * BufferView_pimpl.C:
5664 * ParagraphParameters.C:
5668 * bufferview_funcs.C:
5681 * paragraph_funcs.C:
5685 * text3.C: boost::format -> bformat all over the place
5688 2003-05-09 André Pönitz <poenitz@gmx.net>
5690 * LColor.[Ch]: Pimpl the #include <map> away
5692 2003-05-09 John Levon <levon@movementarian.org>
5694 * bufferlist.C: never remove emergency saves
5696 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5698 * Makefile.am: better lib building
5700 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5702 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5704 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5705 (simpleTeXSpecialChars): adjust
5706 (simpleTeXSpecialChars): adjust
5707 * paragraph.C (simpleTeXOnePar): adjust
5708 * buffer.C (makeLaTeXFile): adjust
5710 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5712 * text2.C (changeDepth): parlist cleanup
5713 (getColumnNearX): ditto
5715 * rowpainter.C (getLabelFont): parlist cleanup
5717 * bufferlist.C (newFile): parlist cleanup
5719 * CutAndPaste.C (eraseSelection): parlist cleanup
5721 * BufferView_pimpl.C (trackChanges): parlist cleanup
5724 * BufferView.C (lockInset): parlist cleanup.
5725 (ChangeInsets): ditto
5727 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5729 * CutAndPaste.h: Update file header.
5731 * CutAndPaste.C: Update file header.
5732 Store the parts cut out of the Document in a limited_stack.
5733 (copySelection): adjust
5734 (pasteSelection): new function, takes the index in the limited stack.
5735 (nrOfParagraphs): adjust
5736 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5737 simplify error inset insertion.
5738 (checkPastePossible): adjust
5740 2003-05-06 John Levon <levon@movementarian.org>
5742 * text2.C: don't cast wrap inset to float
5744 2003-05-05 André Pönitz <poenitz@gmx.net>
5747 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5749 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5750 few naked Paragraph *.
5752 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5754 * bufferparams.C: Output warning if a document with missing
5755 TeX document class is loaded
5756 * exporter.C: Disable TeX exports if the document class is missing
5759 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5760 isTeXClassAvailable()
5762 2003-05-03 John Levon <levon@movementarian.org>
5765 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5766 explicit cursor show/hide
5768 * BufferView_pimpl.h:
5769 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5770 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5772 * lyxfunc.C: hide cursor before dispatching.
5777 * text3.C: remove explicit cursor hides
5779 2003-05-02 André Pönitz <poenitz@gmx.net>
5781 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5784 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5787 * text2.C: tiny whitespace
5789 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5791 * undo_funcs.C: almost only ws changes.
5793 * ParagraphList.C (splice): just return if pl is empty.
5795 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5797 * ParagraphList.C (splice): new function.
5799 * CutAndPaste.C (pasteSelection): use it
5801 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5803 * CutAndPaste.C (pasteSelection): remove the last next and
5804 previous from this file.
5806 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5808 * CutAndPaste.C (pasteSelection): more clean up, user proper
5809 ParagraphList functions for pasteing.
5811 * ParagraphList.C (insert): new function, three arg insert
5813 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5815 * ParagraphList.C (insert): new function, three arg insert
5817 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5820 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5822 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5824 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5826 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5828 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5830 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5831 (copySelection): clean up a bit.
5832 (pasteSelection): use make_pair
5834 * ParagraphList.C (ParagraphList): implement copy constructor
5835 (operator=): implement, base on copy constructor.
5838 * paragraph.C (erase): return a bool
5840 * paragraph_pimpl.C (erasePos): remove function, move contents...
5841 (erase): ... here. Return a bool.
5842 (erase): call erase instead of erasePos.
5844 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5846 * ParagraphList.h: define PitPosPair
5847 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5848 ParagraphList, fix a bug on pasting multiple pars
5849 * text2.C: change interface to C&P
5851 2003-04-30 André Pönitz <poenitz@gmx.net>
5853 * undo_func.C: revert part of yesterday's patch 2
5855 2003-04-30 John Levon <levon@movementarian.org>
5857 * LColor.C: s/tabular/table/
5859 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5861 * text3.C (dispatch): do not convert iterator -> pointer
5862 * undo_funcs.C (setCursorParUndo): ditto
5863 * text_funcs.C (transposeChars): ditto
5865 * text2.C (setLayout): ws changes only
5867 * text.C (breakParagraph): do not convert iterator -> pointer
5869 (acceptChange): ditto
5870 (rejectChange): ditto
5875 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5878 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5880 * text3.C (gotoInset): YABG (yet another bad getChar)
5882 2003-04-29 André Pönitz <poenitz@gmx.net>
5884 * paragraph.h: make operator= private unimplemented as long as
5887 * ParagraphList.C: whitespace
5890 * paragraph_pimpl.[Ch]:
5891 * paragraph_funcs.C:
5893 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5896 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5898 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5900 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5901 * paragraph.[Ch] (erase):
5902 * paragraph_pimpl.[Ch] (erase): change return type and value
5903 * text2.C (cutSelection): some rework
5905 2003-04-28 John Levon <levon@movementarian.org>
5907 * bufferlist.C: changes for unsaved changes dialog
5909 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5911 * bufferlist.C (newFile): set language (messages_) for new
5914 * buffer.C (readFile): ws changes only.
5916 2003-04-28 André Pönitz <poenitz@gmx.net>
5921 * BufferView_pimpl.C:
5922 * BufferView.C: getParFromID related ParagraphList::iterator changes
5924 2003-04-28 André Pönitz <poenitz@gmx.net>
5926 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5929 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5931 * messages.C: remove one more localedir class variable.
5933 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5935 * messages.C (getLocaleDir): singleton generation function
5937 (Messages): add a default constructor.
5939 * main.C (main): do not setup localedir here, do not call
5942 * gettext.C (_): use it.
5943 (gettext_init): delete funciton
5945 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5947 * gettext.C (getLyXMessages): new singleton generating function.
5949 * buffer.C (updateDocLang): adjust
5951 * Makefile.am (messages.o): add target
5952 (main.o): remove target
5954 2003-04-27 John Levon <levon@movementarian.org>
5959 * lyxvc.C: specify cancel button in Alert::prompt
5961 2003-04-26 John Levon <levon@movementarian.org>
5966 * LyXAction.C: add LFUN_INSET_SETTINGS
5968 * lyxfunc.C: don't enable tabular-feature when there's
5969 just any locking inset
5971 2003-04-26 John Levon <levon@movementarian.org>
5973 * bufferlist.C: re-add Cancel to buffer close question
5975 * lyxfunc.C: fix import UI a bit
5977 2003-04-25 John Levon <levon@movementarian.org>
5979 * gettext.C: remove the broken asserts for now
5981 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5983 * messages.C: make case where setlocale cannot comply work better.
5985 * buffer.C (updateDocLang): new function
5986 (changeLanguage): use it
5989 * text2.C (setCounter): use B_ a bit.
5991 * lyxlayout.C (Read): be sure to trim the label strings.
5993 * messages.C (Messages): fix typo in comment
5995 * buffer.C (readFile): set message_ after file is loaded.
5996 (makeDocBookFile): remove double return
5997 (changeLanguage): reset message_ upon language change.
5998 (B_): new func, use this to get translated buffer strings.
6000 * main.C: add myself and Jean Marc as authors.
6002 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6004 * messages.[hC]: pimplify Messages, and three different pimpls to be
6005 used in different circumstances.
6007 * gettext.[Ch]: change for use with new message code.
6009 2003-04-24 André Pönitz <poenitz@gmx.net>
6011 * factory.C: support for eqref
6013 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6015 * messages.[Ch]: add missing char
6017 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6019 * messages.[Ch]: New files
6021 2003-04-18 John Levon <levon@movementarian.org>
6025 * BufferView_pimpl.C:
6029 * text2.C: remove layout-copy/paste (bug 778)
6031 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6033 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6035 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6037 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6038 if they succeed. Act accordingly.
6040 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6042 * text2.C (setCharFont): adjust
6043 (setCounter): adjust
6044 (insertStringAsLines): adjust
6046 * text.C (leftMargin): adjust
6047 (setHeightOfRow): adjust
6049 * rowpainter.C (paintFirst): adjust
6052 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6054 (isFirstInSequence): ditto
6055 (getEndLabel): ditto
6058 * paragraph.C (getParLanguage): comment out some hard stuff.
6060 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6062 (simpleDocBookOnePar): ditto
6063 (makeDocBookFile): use ParagraphList::iterator
6065 * CutAndPaste.C (pasteSelection): adjust
6067 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6069 * text2.C (getFont): adjust
6070 (getLayoutFont): adjust
6071 (getLabelFont): adjust
6073 * paragraph_funcs.C (TeXOnePar): adjust
6075 * buffer.C (simpleLinuxDocOnePar): adjust
6076 (simpleDocBookOnePar): adjust
6078 * CutAndPaste.C (pasteSelection): adjust
6080 * BufferView.C (getEncoding): adjust
6082 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6084 2003-04-16 John Levon <levon@movementarian.org>
6086 * lyxfind.C: use parlist stuff for search/changes
6088 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6090 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6092 * text2.C (deleteEmptyParagraphMechanism): adjust
6094 * text2.[Ch] (ownerParagraph): delete func (both of them
6096 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6098 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6100 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6102 * ParagraphList.C: prepare for NO_NEXT
6104 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6106 * text2.C (getFont): adjust
6107 (getLayoutFont): adjust
6108 (getLabelFont): adjust
6110 * paragraph.C (getFont): adjust
6111 (getLabelFont): adjust
6112 (getLayoutFont): adjust
6114 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6116 2003-04-15 John Levon <levon@movementarian.org>
6120 * lyx_main.C: handle Include in .ui files
6122 2003-04-15 John Levon <levon@movementarian.org>
6124 * MenuBackend.C: make the doc files length shorter
6127 * ToolbarBackend.C: handle toolbar placement flags,
6130 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6132 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6135 * paragraph_funcs.C (TeXOnePar): adjust
6137 * paragraph.C (getLabelFont): add outerfont arg, adjust
6138 (getLayoutFont): ditto
6139 (simpleTeXOnePar): adjust
6141 * paragraph_pimpl.C (realizeFont): delete func
6143 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6145 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6146 row argument, constify cur argument.
6148 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6150 * text2.C (getFont): adjust
6151 (getLayoutFont): adjust
6152 (getLabelFont): adjust
6154 * paragraph_funcs.C (TeXOnePar): adjust
6155 (outerFont): new func...
6156 (realizeFont): ...moved out from here, changed this to facilitate
6159 * paragraph.C (getFont): take outerfont as arg, adjust
6160 (simpleTeXOnePar): add outerfont arg, adjust
6162 * buffer.C (simpleLinuxDocOnePar): adjust
6163 (simpleDocBookOnePar): adjust
6165 * CutAndPaste.C (pasteSelection): adjust
6167 * BufferView.C (getEncoding): adjust
6169 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6171 * text2.C (setCharFont): adjust
6172 (setCounter): adjust
6174 * text.C (leftMargin): adjust
6175 (setHeightOfRow): adjust
6177 * rowpainter.C (paintFirst): adjust
6180 * paragraph_pimpl.C (realizeFont): adjust
6182 * paragraph.C (isFirstInSequence): move from here...
6183 * paragraph_funcs.C (isFirstInSequence): ...to here
6185 * paragraph.C (outerHook): move from here...
6186 * paragraph_funcs.C (outerHook): ...to here
6188 * paragraph.C (depthHook): move from here...
6189 * paragraph_funcs.C (depthHook): ...to here
6191 * paragraph.C (getEndLabel): move from here...
6192 * paragraph_funcs.C (getEndLabel): ...to here
6194 * text2.C (realizeFont): move from here...
6195 * paragraph_funcs.C (realizeFont): ...to here
6197 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6199 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6201 2003-04-14 Angus Leeming <leeming@lyx.org>
6203 * LColor.[Ch]: scrap LColor mathcursor.
6205 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6207 * lyxlex.[Ch] (text): delete function
6208 * trans.C (Load): adjust
6209 * paragraph_funcs.C (readParToken): adjust
6211 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6214 vector<char> instead of a char[].
6216 * lyxlex_pimpl.C (getString): adjust
6218 (lex): use getString
6222 * lyxlex.C (text): use pimpl_->getString()
6226 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6228 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6229 (makeFontEntriesLayoutSpecific): temp var for par.size()
6230 (setLayout): temp var for ownerParagraphs().end()
6231 (fullRebreak): temp var for rows().end()
6232 (selectionAsString): temp var for boost::next(startpit), realize
6233 that the while really is a regular for loop.
6234 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6235 setCursor in one place.
6236 (setParagraph): temp vr for ownerParagraphs().end()
6237 (updateCounters): make the while loop a for loop
6238 (cutSelection): temp var for ownerParagraphs().end()
6239 (updateInset): make the do {} while() a regular for loop
6240 (getCursorX): use temp vars
6241 (setCurrentFont): use temp vars
6242 (getColumnNearX): use temp vars
6244 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6246 * text.C (transformChar): use temp var for getChar
6247 (computeBidiTables): use temp var for row->par()
6248 (fill): move temp vars for row->par() and pit->layout() earlier in
6250 (labelFill): use temp var for row->par()
6251 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6252 asc and desc, realize that pit never changes and that firstpit is
6253 just a duplicate and not needed. Exchange rit->par() with pit in a
6255 (breakAgain): use a temp var for boost::next(rit)
6256 (breakAgainOneRow): ditto
6257 (breakParagraph): use a temp var for rows().begin()
6258 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6259 (cursorRightOneWord): use temp var for cursor.par() and
6260 cursor.pos(), remove usage of tmpcursor.
6261 (cursorLeftOneWord): use temp var for cursor.par() and
6262 cursor.pos() only set cur at end of function.
6264 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6266 * text.C, text2.C: exchange all usage of Paragraph::next with
6267 boost::next(ParagraphList::iterator)
6269 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6271 * text2.C (cursorTop): simplify implementation
6272 (cursorBottom): ditto
6273 (setParagraph): use ParagraphList::iterator
6274 (setCurrentFont): adjust
6275 (getColumnNearX): adjust
6276 (cursorRight): adjust
6277 (cursorLeft): remove usage of Paragraph::previous
6278 (cursorUpParagraph): ditto
6279 (deleteEmptyParagraphMechanism): slight cleanup
6281 * text.C (isBoundary): take a Paragraph const & instead of a
6283 (addressBreakPoint): ditto
6284 (leftMargin): remove usage of Paragraph::previous.
6285 (setHeightOfRow): ditto
6286 (cursorLeftOneWord): ditto
6287 (selectNextWordToSpellcheck): ditto
6290 (breakParagraph): remove one usage of Paragraph::next
6291 (redoParagraph): ditto
6292 (acceptChange): ditto
6293 (insertChar): adjust
6294 (rowBreakPoint): adjust
6296 * bufferview_funcs.C (toggleAndShow): adjust
6298 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6300 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6301 methods to access it.
6303 * text.C: Added updateRowPositions to compute all row positions.
6304 Make top_y and getRowNearY() to use the cached y position
6306 2003-04-11 John Levon <levon@movementarian.org>
6308 * text.C (rowBreakPoint): reintroduce the labelEnd
6309 checks, code copied from the row fill stuff. Deep voodoo.
6311 * text.C (fill): add a comment and debugging for the
6314 2003-04-11 John Levon <levon@movementarian.org>
6316 * text.C: make sure fullrow insets get wrapped to the next line,
6317 even when they're in a manual label
6319 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6321 * text2.C (insertParagraph): make it take ParagraphList::iterator
6323 (setLayout): make it return ParagraphList::iterator
6324 (redoParagraphs): ditto
6326 (checkParagraph): ditto
6328 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6330 * text2.C: adjust several funcs.
6331 (realizeFont): take a ParagraphList::iterator as arg.
6332 (getLayoutFont): ditto
6333 (getLabelFont): ditto
6334 (setCharFont): ditto
6336 * text.C: adjust several funcs.
6338 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6340 * text.C (selectNextWordToSpellcheck): don't accidentally
6343 2003-04-10 John Levon <levon@movementarian.org>
6345 * ToolbarBackend.C (getIcon): special handling for
6348 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6350 * text2.C (cursorRight): a getChar assert fixed
6352 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6354 * text2.C (getFont): change to take a ParagraphList::iterator
6355 instead of Paragraph*
6356 Adjust several functions.
6358 * text.C (transformChar): change to take a ParagraphList::iterator
6359 instead of Paragraph*
6360 (singleWidth): ditto
6361 Adjust several functions.
6363 * rowpainter.C: adjust several functions
6364 * rowpainter.h:store a ParagraphList::iterator and not a
6368 2003-04-09 John Levon <levon@movementarian.org>
6373 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6374 and the "help" bits as well
6376 2003-04-09 John Levon <levon@movementarian.org>
6379 * ToolbarBackend.C: allow multiple toolbars
6381 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6383 * undo_funcs.C (setCursorParUndo): adjust
6385 * text_funcs.C (transposeChars): adjust
6387 * text3.C (gotoNextInset): adjust
6390 * text2.C (setLayout): adjust
6391 (changeDepth): adjust
6393 (redoParagraphs): adjust
6394 (selectionAsString): adjust
6395 (setParagraph): adjust
6396 (insertInset): adjust
6397 (cutSelection): adjust
6398 (copySelection): adjust
6399 (pasteSelection): adjust
6400 (insertStringAsLines): adjust
6401 (updateInset): adjust
6402 (setCursor): change to take a ParagraphList::iterator parameter
6403 (setCursorIntern): change to take a ParagraphList::iterator parameter
6404 (setCurrentFont): adjust
6405 (cursorLeft): adjust
6406 (cursorRight): adjust
6407 (deleteEmptyParagraphMechanism): adjust
6409 * text.C (breakParagraph): adjust
6410 (insertChar): adjust
6411 (acceptChange): adjust
6412 (rejectChange): adjust
6413 (selectNextWordToSpellcheck): adjust
6414 (changeCase): adjust
6418 * lyxfind.C (SearchForward): adjust
6419 (SearchBackward): adjust
6420 (nextChange): adjust
6422 * lyxcursor.C (par): adjust
6424 * lyxcursor.h: store a ParagraphList::iterator instead of a
6427 * lyx_cb.C (getPossibleLabel): adjust
6429 * bufferview_funcs.C (toggleAndShow): adjust
6431 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6434 * BufferView.C (removeAutoInsets): adjust
6435 (lockedInsetStoreUndo): adjust
6437 2003-04-09 John Levon <levon@movementarian.org>
6439 * ToolbarBackend.C: try icon without argument
6440 if with argument fails
6442 2003-04-08 John Levon <levon@movementarian.org>
6445 * ToolbarBackend.C: add getIcon(), handle tooltip,
6446 and change from "Icon" to "Item".
6448 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6450 * BufferView.C (lockInset): another bad getchar crunched
6452 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6454 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6457 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6459 * lyxfind.C (searchForward, searchBackwards): bug 782
6461 2003-04-07 John Levon <levon@movementarian.org>
6463 * paragraph.C: remove dead comment
6465 * text.C: remove troublesome depth-fiddling code
6466 in leftMargin() and rightMargin() (bug 1017)
6468 * text.C: fix breaking of rows in nested lists
6471 * text2.C (updateCounters): fix up depth values
6474 2003-04-07 John Levon <levon@movementarian.org>
6476 * BufferView_pimpl.C: clear message when doc finishes resizing,
6477 and after a mouse event
6479 * lyxfunc.C: clear message after exiting inset
6481 2003-04-07 John Levon <levon@movementarian.org>
6483 * bufferview_funcs.C: show math status not outside
6484 status in the statusbar
6486 2003-04-07 John Levon <levon@movementarian.org>
6488 * lyxfunc.C: note status changed after a depth change
6490 2003-04-04 Angus Leeming <leeming@lyx.org>
6492 * LaTeX.h: move AuxInfo operator==, != out of line.
6493 Remove LaTeX virtual destructor; nothing derives from it.
6494 Move operator()() out of public area and rename it startscript().
6495 Change protected for private.
6497 2003-04-04 Angus Leeming <leeming@lyx.org>
6500 * text2.C: remove unneeded #includes.
6502 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6504 * text2.C (dEPM): fix the heigth of the next row
6506 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6508 * text.C: squashed an invalid getChar requester + some ws changes
6510 2003-04-03 John Levon <levon@movementarian.org>
6512 * bufferview_funcs.h:
6513 * bufferview_funcs.C:
6516 * text2.C: make getStatus work for the env depth lfuns
6518 2003-04-03 John Levon <levon@movementarian.org>
6520 * bufferview_funcs.h:
6521 * bufferview_funcs.C:
6524 * text2.C: parlistize decDepth(), by merging it with incDepth()
6526 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6528 * lyxrow.h: store a ParagraphList::iterator instead of a
6529 Paragraph* and adjust other class functions to suit.
6531 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6534 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6536 * text2.C (setCursor): do not anchor to cursor row for the time being
6538 2003-04-02 John Levon <levon@movementarian.org>
6545 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6547 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6549 * paragraph.h: make ParagraphList and ParagraphList::iterator
6550 friends of Paragraph.
6552 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6554 * ParagraphList.C: Use the private next_ and previous_ from
6557 2003-04-01 John Levon <levon@movementarian.org>
6561 * Makefile.am: rename, remove defaults gunk
6564 * MenuBackend.C: remove defaults gunk
6567 * Languages.C: remove defaults gunk
6570 * lyx_main.C: error out if files couldn't be found.
6572 2003-04-02 John Levon <levon@movementarian.org>
6574 * text2.C: make incDepth() use parlist
6576 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6578 * undo_funcs.C (firstUndoParagraph): adjust
6580 * text3.C (gotoInset): adjust
6581 (dispatch): adjust, and rewrite loop.
6583 * text2.C (init): adjust, and rewrite loop.
6584 (redoParagraphs): adjust
6585 (updateInset): adjust, and rewrite loop.
6586 (deleteEmptyParagraphMechanism): adjust
6588 * tabular.C (LyXTabular): adjust
6589 (SetMultiColumn): adjust
6592 * lyxtext.[Ch] (ownerParagraph): delete function
6593 (ownerParagraphs): new function returns a ParagraphList.
6595 * BufferView.C (removeAutoInsets): adjust
6596 (insertErrors): adjust
6597 (setCursorFromRow): adjust
6599 2003-04-01 Angus Leeming <leeming@lyx.org>
6601 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6604 2003-04-02 John Levon <levon@movementarian.org>
6610 * text_funcs.C: make transposeChars a free function
6612 * lyxrow_funcs.C: remove wrong comment
6614 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6617 * rowpainter.C: adjust
6622 * lyxrow_funcs. [Ch]: new files
6624 * lyxrow.[Ch]: remove next and previous pointers
6625 (next,previous): remove accessor functions
6626 (isParEnd): move to lyxrow_funcs
6627 (lastPos): move to lyxrow_funcs
6628 (nextRowIsAllInset): move to lyxrow_funcs
6629 (lastPrintablePos): move to lyxrow_funcs
6630 (numberOfSeparators): move to lyxrow_funcs
6631 (numberOfHfills): move to lyxrow_funcs
6632 (numberOfLabelHfills): move to lyxrow_funcs
6633 (hfillExpansion): move to lyxrow_funcs
6637 * bufferview_funcs.C (toggleAndShow): adjust
6639 * RowList.h: Remove class RowList from file leave just a
6642 * RowList.C: delete file
6644 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6647 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6649 * text3.C (cursorPrevious): adjust
6650 (cursorNext): adjust
6653 * text2.C (redoHeightOfParagraph): adjust
6654 (redoDrawingOfParagraph): adjust
6657 * text.C (breakParagraph): adjust
6658 (insertChar): adjust
6661 * rowpainter.C (RowPainter): adjust
6662 (leftMargin): simplify and adjust
6663 (most rowpainter functions): adjust.
6665 * rowpainter.h: store the row as RowList::iterator not as Row*
6667 * lyxcursor.C (row): taka RowList::iterator as arg
6670 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6673 2003-04-01 Angus Leeming <leeming@lyx.org>
6675 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6676 stuff like bool Bool.
6678 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6680 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6683 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6685 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6688 * lyxtext.h (rows): drop one version and leve a const variant that
6689 returns a RowList::iterator.
6691 2003-03-31 Angus Leeming <leeming@lyx.org>
6693 * text.C (fill): ensure that the signature is the same as that in the
6696 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6698 * text2.C (redoParagraphs): adjust
6699 (updateCounters): adjust
6700 (checkParagraph): adjust
6701 (getColumnNearX): adjust and reformat a bit.
6703 * text.C (top_y): adjust
6705 (leftMargin): adjust
6706 (prepareToPrint): adjust
6708 (getRowNearY): adjust
6710 * lyxtext.h: make rowlist_ mutable.
6712 * RowList.h: add const_iterator
6713 * RowList.C: adjust for RowList::const_iterator.
6715 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6718 2003-03-31 John Levon <levon@movementarian.org>
6721 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6723 * lyx_main.C: set default fonts from using lyx_gui funcs
6725 * exporter.C: pdf_mode moved from lyxrc
6728 * lyxfunc.C: changes from above
6730 2003-03-31 John Levon <levon@movementarian.org>
6732 * lyx_main.C: fix to the last fix
6734 2003-03-31 John Levon <levon@movementarian.org>
6736 * bufferlist.C: "Load original" -> "Load Original"
6742 * format.C: more Alert cleanups
6744 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6746 * text2.C (removeParagraph): make it take a RowList::iterator as
6748 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6749 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6751 * text.C (anchor_row): make it take a RowList::iterator as arg,
6753 (computeBidiTables): make it take a const reference to Row instead
6754 of Row pointer, adjust.
6755 (leftMargin): make it take a RowList::iterator as arg, adjust.
6756 (rowBreakPoint): adjust
6757 (breakAgainOneRow): make it take a RowList::iterator as arg,
6759 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6761 * bufferview_funcs.C (toggleAndShow): adjust
6763 2003-03-30 John Levon <levon@movementarian.org>
6767 * boost-inst.C: moved to support
6769 * several files: changes as a result
6771 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6773 * text2.C (LyXText): adjust.
6775 (removeRow): make it take a RowList::iterator as arg, adjust.
6776 (fullRebreak): adjust
6777 (deleteEmptyParagraphMechanism): adjust
6778 (clearPaint): adjust
6781 * text.C (top_y): adjust
6782 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6783 (breakAgain): make it take a RowList::iterator as arg, adjust.
6784 (breakParagraph): adjust
6785 (insertChar): adjust
6788 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6789 need_break_row, and refresh_row.
6791 * text3.C (dispatch): adjust
6793 * text2.C (checkParagraph): adjust
6795 (setCursorFromCoordinates): adjust
6797 * text.C (top_y): adjust
6799 (getRow): make it return a RowList::iterator, adjust
6800 (getRowNearY): make it return a RowList::iterator, adjust
6802 * text2.C (init): adjust
6803 (insertRow): remove function
6804 (insertParagraph): adjust
6805 (redoParagraphs): adjust
6806 (fullRebreak): adjust
6807 (updateCounters): adjust
6809 * text.C (top_y): rewrite to use RowList iterators.
6811 (setHeightOfRow): rewrite to sue RowList iterators.
6812 (appendParagraph): adjust
6813 (breakAgain): adjust
6814 (breakAgainOneRow): adjust
6815 (breakParagraph): adjust
6817 (getRowNearY): adjust, and remove commented code.
6819 * lyxtext.h (firstRow): delete function
6820 (lastRow): delete function
6821 (rows): new function (const and non-const versions.)
6822 (insertRow): delete function
6824 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6826 2003-03-29 John Levon <levon@movementarian.org>
6828 * BufferView_pimpl.C: always update scrollbar top
6829 because pasting text when we're anchored could mean we
6830 miss an update altogether
6832 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6834 * text2.C (init): use rowlist_.end() and not 0.
6835 (insertRow): change to take a RowList::iterator as arg, adjust
6837 (insertParagraph): change to take a RowList::iterator as arg,
6839 (redoParagraphs): remove some debug msgs.
6841 * text.C (appendParagraph): change to take a RowList::iterator
6842 arg, adjust for this.
6843 (breakAgain): add an assert
6844 (breakAgainOneRow): ditto
6846 2003-03-29 John Levon <levon@movementarian.org>
6848 * text2.C: do not clear selection after inc/decDepth
6851 2003-03-29 John Levon <levon@movementarian.org>
6854 * buffer.C: fix broken strerrors according to Lars
6856 2003-03-29 John Levon <levon@movementarian.org>
6858 * converters.C: more Alert cleanups
6860 2003-03-29 John Levon <levon@movementarian.org>
6862 * bufferview_funcs.C: remove pointless Alert
6864 * buffer.C: fix confusing error message when
6865 a template is chmoded 000
6867 2003-03-29 John Levon <levon@movementarian.org>
6871 * BufferView_pimpl.C: Alert fixes
6875 * tabular-old.C: remove unused table compat reading
6877 2003-03-29 John Levon <levon@movementarian.org>
6882 * lyx_cb.C: more Alert cleanups
6884 * lyxfunc.C: don't allow chktex if not latex document
6886 2003-03-29 John Levon <levon@movementarian.org>
6890 * buffer.C: warnings pushed down from support/,
6893 2003-03-29 John Levon <levon@movementarian.org>
6895 * lyxfunc.C: safety check for C-r (revert)
6897 2003-03-29 John Levon <levon@movementarian.org>
6900 * bufferlist.C: several UI fixes using Alert::prompt.
6901 Fix the pointless looping quit code. Fix stupid revert
6906 * lyx_cb.C: use Alert::prompt
6908 * lyx_main.C: remove a silly question
6910 * lyxfunc.C: remove a couple of silly questions,
6913 2003-03-28 John Levon <levon@movementarian.org>
6915 * text2.C: fix bug 974 (End on empty par)
6917 2003-03-28 John Levon <levon@movementarian.org>
6919 * BufferView_pimpl.C:
6921 * lfuns.h: remove do-nothing math greek lfuns
6923 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6925 * lyxgluelength.h (isValidGlueLength): add default arg on
6926 parameter 2. Remove default arg from friend in class.
6928 * lyxlength.h (isValidLength): add default arg on parameter 2.
6929 Remove default arg from friend in class.
6931 * text2.C (LyXText): adjust, initialize refresh_row.
6935 (insertParagraph): adjst
6936 (redoParagraphs): adjust
6937 (fullRebreak): adjust
6938 (updateCounters): adjust
6939 (deleteEmptyParagraphMechanism): first attempt at fixing a
6942 * text.C (top_y): adjust
6943 (setHeightOfRow): adjust
6945 (getRowNearY): adjust
6947 * lyxtext.h: include RowList.h
6948 (~LyXText): not needed anymore, deleted.
6949 (firstRow): modify for RowList
6950 (lastRow): new function
6951 Delete firstrow and lastrow class variables, add a Rowlist
6952 rowlist_ class variable.
6954 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6957 * RowList.C (insert): fix case where it == begin().
6959 2003-03-26 Angus Leeming <leeming@lyx.org>
6961 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6962 the thesaurus dialog.
6964 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6966 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6968 * RowList.[Ch]: new files
6970 * ParagraphList.C (erase): handle the case where it == begin
6973 2003-03-25 John Levon <levon@movementarian.org>
6977 * aspell.C: add new aspell support
6980 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6983 2003-03-25 Angus Leeming <leeming@lyx.org>
6986 * LyXAction.C (init): new LFUN_INSET_INSERT.
6988 * BufferView_pimpl.C (dispatch): split out part of the
6989 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6991 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6994 2003-03-25 Angus Leeming <leeming@lyx.org>
6996 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6998 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7001 * text3.C: remove useless row->height(0)
7003 2003-03-25 John Levon <levon@movementarian.org>
7007 * text3.C: rename the refreshing stuff to better names
7009 2003-03-24 John Levon <levon@movementarian.org>
7011 * BufferView_pimpl.h:
7012 * BufferView_pimpl.C: update layout choice on a mouse
7015 2003-03-23 John Levon <levon@movementarian.org>
7017 * Makefile.am: fix commandtags.h reference
7019 2003-03-22 John Levon <levon@movementarian.org>
7021 * BufferView_pimpl.C:
7026 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7028 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7031 * text.C: take the rtl methods out of line
7033 2003-03-21 André Pönitz <poenitz@gmx.net>
7035 * metricsinfo.[Ch]: new files containing structures to be passed around
7036 during the two-phase-drawing...
7038 2003-03-21 André Pönitz <poenitz@gmx.net>
7040 * lyxtextclass.C: read 'environment' tag.
7042 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7044 * text2.C (removeRow): fix bug 964
7046 2003-03-20 John Levon <levon@movementarian.org>
7050 * text2.C: paint cleanups. Inset::update() dropped font
7053 2003-03-19 John Levon <levon@movementarian.org>
7055 * lyxfunc.C: only fitcursor/markDirty if available()
7057 2003-03-19 John Levon <levon@movementarian.org>
7059 * commandtags.h: rename to ...
7061 * lfuns.h: ... this, and renumber / cleanup
7063 2003-03-19 John Levon <levon@movementarian.org>
7065 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7066 fit the cursor after an lfun
7070 * BufferView_pimpl.h:
7071 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7073 * LyXAction.C: layout-character should have ReadOnly
7075 * ParagraphParameters.C:
7077 * bufferview_funcs.C:
7084 * undo_funcs.C: changes from above
7086 2003-03-18 John Levon <levon@movementarian.org>
7088 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7089 remove it from update()
7091 * lyxfunc.C: update layout choice after an lfun
7093 * text3.C: remove extra updateLayoutChoice()s
7095 2003-03-18 John Levon <levon@movementarian.org>
7097 * text.C: top_y change means full repaint, fix
7098 a drawing bug with cursor movement
7100 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7104 * text2.C: anchor row on setCursor
7106 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7108 * lyxtext.h: remove almost all mutable keywords
7111 * text3.C: remove const keywords accordingly
7113 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7115 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7117 (TeXEnvironment): ditto
7120 2003-03-17 John Levon <levon@movementarian.org>
7122 * text.C (rowBreakPoint): remove attempt to fix displayed
7123 math insets inside a manual label
7125 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7127 * lyxtext.h: remove BufferView* as first arg from almost all class
7129 * other files: adjust.
7131 2003-03-17 John Levon <levon@movementarian.org>
7135 * text2.C: more paint cleanups
7137 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7140 * rowpainter.C: remove "smart" background painting code
7142 2003-03-16 John Levon <levon@movementarian.org>
7147 * text3.C: add helper functions for setting refresh_row/y
7149 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7151 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7152 newline inset which *can* get inserted in the pass_thru layouts.
7153 This is primarily for literate documents.
7155 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7157 * buffer.C: increment LYX_FORMAT to 223
7159 2003-03-14 André Pönitz <poenitz@gmx.net>
7161 * textclass.h: prepare for environment handling, ws changes
7162 * lyxlayout.C: read latexheader and latexfooter tags
7164 2003-03-14 John Levon <levon@movementarian.org>
7166 * text2.C: rewrite ::status() a bit
7168 2003-03-13 John Levon <levon@movementarian.org>
7170 * lyxtext.h: add some docs
7172 2003-03-13 John Levon <levon@movementarian.org>
7177 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7179 2003-03-13 John Levon <levon@movementarian.org>
7181 * text3.C: fix appendix redrawing
7183 2003-03-13 John Levon <levon@movementarian.org>
7185 * text.C (setHeightOfRow):
7187 * rowpainter.C: make appendix mark have the text
7188 "Appendix" so the user knows what it is
7191 * LColor.C: s/appendixline/appendix/ from above
7193 2003-03-13 John Levon <levon@movementarian.org>
7195 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7197 * text.C: fix a getChar(pos) bug properly
7199 2003-03-13 Angus Leeming <leeming@lyx.org>
7202 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7203 Probably only temporary. Let's see how things pan out.
7205 * BufferView.C (unlockInset):
7206 * BufferView_pimpl.C (fitCursor):
7207 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7209 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7210 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7212 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7213 new functions that convert ParagraphParameters to and from a string.
7215 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7216 BufferView::Pimpl's dispatch.
7217 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7219 2003-03-13 André Pönitz <poenitz@gmx.net>
7223 * factory.C: make it aware of InsetEnv
7225 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7227 * text2.C (setCursor): never ask for one past last
7228 (setCursor): add some debugging messages.
7230 * text.C (singleWidth): never ask for one past last
7231 (singleWidth): ditto
7233 (rightMargin): ditto
7234 (rowBreakPoint): ditto
7235 (setHeightOfRow): ditto
7236 (prepareToPrint): ditto
7238 * rowpainter.C (paintBackground): never ask for one past last
7239 (paintText): never ask for one past last
7241 * paragraph_pimpl.C (getChar): make the assert stricter, never
7242 allow the one past last pos to be taken
7244 * paragraph.C (getChar): ws changes only
7246 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7247 (numberOfSeparators): ditto
7248 (numberOfHfills): ditto
7250 2003-03-12 John Levon <levon@movementarian.org>
7256 * paragraph_funcs.C: fix per-buffer authorlists
7258 2003-03-12 John Levon <levon@movementarian.org>
7260 * text.C: fix newline in right address
7262 2003-03-12 Angus Leeming <leeming@lyx.org>
7264 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7265 duplicate those in LyXFunc::dispatch.
7269 * ToolbarDefaults.C:
7270 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7271 Add LFUN_FONTFREE_UPDATE.
7273 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7274 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7276 * bufferview_func.[Ch]: several new functions to facilliate
7277 transfer of data to and from the character dialog.
7279 2003-03-12 John Levon <levon@movementarian.org>
7284 * paragraph_funcs.C:
7285 * paragraph_pimpl.C:
7289 * text3.C: remove META_NEWLINE in favour of an inset
7292 * rowpainter.C: remove paintNewline (done by inset)
7294 2003-03-12 John Levon <levon@movementarian.org>
7296 * paragraph_pimpl.C: complain about bad getChar()s
7297 for a while at least
7299 2003-03-12 John Levon <levon@movementarian.org>
7302 * buffer.C: move paragraph read into a separate function,
7303 a little renaming to reflect that.
7306 * bufferparams.C: remove the author_ids map, not necessary now
7309 * factory.C: moved Buffer::readInset to here
7311 * paragraph_funcs.h:
7312 * paragraph_funcs.C: readParagraph free function moved from
7315 * tabular.C: name change
7317 2003-03-12 John Levon <levon@movementarian.org>
7320 * ParagraphParameters.C: move par params input to
7323 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7324 behave like a normal read from the stream wrt reading
7325 a line vs. a \\token
7327 2003-03-12 John Levon <levon@movementarian.org>
7330 * ParagraphParameters.h:
7331 * ParagraphParameters.C: move output code to a
7334 2003-03-12 John Levon <levon@movementarian.org>
7336 * BufferView.C (insertLyXFile):
7339 * tabular.C: use a parlist iterator for creating the
7342 2003-03-12 John Levon <levon@movementarian.org>
7344 * buffer.C: make current_change static local not
7347 2003-03-12 John Levon <levon@movementarian.org>
7349 * buffer.C: fix insertStringAsLines for change tracking
7351 2003-03-12 John Levon <levon@movementarian.org>
7358 * bufferparams.C: move author list into params. Rename some
7359 functions. Move the header reading into a separate token
7360 loop. Move the header token reading into BufferParams.
7362 2003-03-12 John Levon <levon@movementarian.org>
7364 * changes.C: put debug inside lyxerr.debugging() checks
7366 2003-03-11 André Pönitz <poenitz@gmx.net>
7368 * factory.C: make it aware of InsetHFill
7370 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7372 * buffer.C (latexParagraphs): move function from here...
7373 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7376 2003-03-10 Angus Leeming <leeming@lyx.org>
7378 * LyXAction.C (init): fix bug in poplating array with multiple entries
7379 with the same LFUN (spotted by JMarc).
7381 2003-03-10 John Levon <levon@movementarian.org>
7384 * text2.C: move getColumnNearX() near its
7387 2003-03-10 John Levon <levon@movementarian.org>
7389 * text.C: fix break before a minipage
7391 2003-03-10 John Levon <levon@movementarian.org>
7393 * text.C: fix the last commit
7395 2003-03-09 John Levon <levon@movementarian.org>
7399 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7400 bug 365 (don't break before insets unless needed). Don't
7401 return a value > last under any circumstances.
7403 2003-03-09 Angus Leeming <leeming@lyx.org>
7405 * BufferView_pimpl.C (trackChanges, dispatch): call
7406 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7408 2003-03-09 Angus Leeming <leeming@lyx.org>
7410 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7411 than Dialogs::showAboutlyx().
7413 2003-03-09 Angus Leeming <leeming@lyx.org>
7415 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7416 than Dialogs::showTabularCreate().
7418 2003-03-09 John Levon <levon@movementarian.org>
7422 * text2.C: 3rd arg to nextBreakPoint was always the same.
7425 2003-03-08 John Levon <levon@movementarian.org>
7432 * text2.C: Remove the "main" bit from the "main body"
7435 2003-03-08 John Levon <levon@movementarian.org>
7437 * text.C (leftMargin): The left margin of an empty
7438 manual label paragraph should not include the label width
7441 * text.C (prepareToPrint): don't attempt to measure hfills
7442 for empty manual label paragraphs - the answer should be 0
7444 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7446 * CutAndPaste.C: remove commented code and reindent.
7448 2003-03-08 John Levon <levon@movementarian.org>
7451 * lyxfunc.C: move reloadBuffer()
7454 * BufferView.C: to here
7456 * lyxvc.C: add comment
7459 * vc-backend.C: call bv->reload() to avoid
7460 getStatus() check on MENURELOAD
7462 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7464 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7465 to an old format .dep file.
7467 2003-03-07 Angus Leeming <leeming@lyx.org>
7469 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7470 when the LFUN_MOUSE_RELEASE should have been handled by
7471 inset->localDispatch.
7473 2003-03-07 Angus Leeming <leeming@lyx.org>
7475 * BufferView_pimpl.C (dispatch):
7476 * LyXAction.C (init):
7477 * ToolbarDefaults.C (init):
7479 * lyxfunc.C (getStatus):
7480 remove LFUN_INSET_GRAPHICS.
7482 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7484 2003-03-07 Angus Leeming <leeming@lyx.org>
7487 * LyXAction.C (init):
7488 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7490 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7493 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7495 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7496 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7498 2003-03-07 Angus Leeming <leeming@lyx.org>
7500 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7503 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7505 * ParagraphList.C (front): new function
7508 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7510 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7511 and top_row_offset_. removed var first_y.
7513 * text2.C (LyXText, removeRow):
7515 * BufferView_pimpl.C:
7516 use these methods instead of using first_y
7518 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7520 * text2.C (pasteSelection): adjust for checkPastePossible
7522 * CutAndPaste.C: remove Paragraph * buf and replace with
7523 ParagraphList paragraphs.
7524 (DeleteBuffer): delete
7525 (cutSelection): change the tc type to textclass_type
7526 (copySelection): change the tc type to textclass_type
7527 (copySelection): adjust for ParagraphList
7528 (pasteSelection): change the tc type to textclass_type
7529 (pasteSelection): adjust for Paragraphlist
7530 (nrOfParagraphs): simplify for ParagraphList
7531 (checkPastePossible): simplify for ParagraphList
7532 (checkPastePossible): remove unused arg
7534 * ParagraphList.C (insert): handle the case where there are no
7537 * CutAndPaste.h: make CutAndPaste a namespace.
7539 * text3.C (dispatch): adjust
7541 * text.C (breakParagraph): add a ParagraphList as arg
7543 * paragraph_funcs.C (breakParagraph): change to take a
7544 BufferParams and a ParagraphList as args.
7545 (breakParagraphConservative): ditto
7546 (mergeParagraph): ditto
7547 (TeXDeeper): add a ParagraphList arg
7548 (TeXEnvironment): ditto
7551 * buffer.C (readLyXformat2): adjust
7552 (insertStringAsLines): adjust
7553 (latexParagraphs): adjust
7555 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7556 (cutSelection): adjust
7557 (pasteSelection): adjust
7559 * BufferView_pimpl.C (insertInset): adjust
7561 2003-03-05 Angus Leeming <leeming@lyx.org>
7564 * LyXAction.C (init):
7565 * BufferView_pimpl.C (dispatch):
7566 * lyxfunc.C (getStatus):
7567 remove LFUN_CHILD_INSERT.
7569 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7571 2003-03-05 Angus Leeming <leeming@lyx.org>
7574 * LyXAction.C (init):
7575 * src/factory.C (createInset):
7576 * lyxfunc.C (getStatus):
7577 * text3.C (dispatch):
7578 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7580 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7582 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7584 * ParagraphList.C (insert): handle insert right before end()
7585 (erase): fix cases where it can be first or last paragraph.
7587 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7589 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7590 Paragraph::next and Paragraph::previous
7593 * text.C (breakParagraph): adjust
7595 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7596 BufferParams& as arg.
7597 (breakParagraph): use ParagraphList::insert
7598 (breakParagraphConservative): take a Buffer* instead of a
7599 BufferParams& as arg.
7600 (breakParagraphConservative): use ParagraphList::insert.
7602 * buffer.C (insertStringAsLines): un-const it
7603 (insertStringAsLines): adjust
7605 * ParagraphList.C (insert): new function
7607 * CutAndPaste.C (pasteSelection): adjust
7609 * text.C (backspace): adjust
7611 * tabular.C (SetMultiColumn): adjust
7613 * CutAndPaste.C (cutSelection): adjust
7614 (pasteSelection): adjust
7616 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7617 Buffer const * as arg
7619 * ParagraphList.C (erase): new function
7620 * paragraph_funcs.C (mergeParagraph): use it
7621 (mergeParagraph): make it take a Buffer* instead of a
7622 BufferParams* as arg
7624 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7626 (breakParagraphConservative): ditto
7628 * paragraph.h: remove the breakParagraph friend
7630 * paragraph.C (eraseIntern): new function
7631 (setChange): new function
7633 * paragraph_funcs.C (mergeParagraph): make it take a
7634 ParagraphList::iterator instead of a Paragraph *, adjust
7637 * paragraph.h: move an #endif so that the change tracking stuff
7638 also works in the NO_NEXT case.
7640 2003-03-04 Angus Leeming <leeming@lyx.org>
7643 * LyXAction.C: new LFUN_INSET_MODIFY.
7645 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7646 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7648 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7650 * several files: ws changes only
7652 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7653 (TeXEnvironment): ditto
7656 * buffer.C (makeLaTeXFile): adjust
7657 (latexParagraphs): make it take ParagraphList::iterator as args
7659 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7661 * buffer.C (latexParagraphs): adjust
7663 * paragraph.C (TeXOnePar): move function...
7664 (optArgInset): move function...
7665 (TeXEnvironment): move function...
7666 * paragraph_pimpl.C (TeXDeeper): move function...
7667 * paragraph_funcs.C: ...here
7669 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7671 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7673 * buffer.C (readInset): remove compability code for old Figure and
7676 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7678 * buffer.C: ws changes
7681 * BufferView_pimpl.C: ditto
7684 * bufferlist.h: ditto
7688 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7690 * converter.[Ch]: split into itself +
7693 * Makefile.am: += graph.[Ch] + format.[Ch]
7700 * lyxrc.C: added #include "format.h"
7702 2003-02-27 Angus Leeming <leeming@lyx.org>
7704 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7707 * factory.C (createInset): add "label" to the factory.
7709 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7710 string and do no more.
7712 2003-02-27 Angus Leeming <leeming@lyx.org>
7715 * LyXAction.C (init):
7716 * factory.C (createInset):
7717 * BufferView_pimpl.C (dispatch):
7718 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7720 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7722 * lyxfunc.C (dispatch):
7723 * text3.C (dispatch): pass name to params2string.
7725 2003-02-26 Angus Leeming <leeming@lyx.org>
7727 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7729 Rearrange the ~includes. Strip out the unnecessary ones.
7731 * factory.C (createInset): reformat.
7732 create new insets for the various LFUN_XYZ_APPLY lfuns.
7734 2003-02-26 John Levon <levon@movementarian.org>
7737 * lyxrow.C: add isParStart,isParEnd helpers
7739 * paragraph.h: make isInserted/DeletedText take refs
7741 * paragraph_funcs.h:
7742 * paragraph_funcs.C: remove #if 0'd code
7747 * text.C: use lyxrow helpers above.
7748 Move draw and paint routines to RowPainter.
7749 Make several methods use refs not pointers.
7750 Make backgroundColor() const.
7751 Add markChangeInDraw(), isInInset().
7752 Merge changeRegionCase into changeCase.
7753 Make workWidth() shouldn't-happen code into an Assert.
7756 * rowpainter.C: new class for painting a row.
7759 * vspace.C: make inPixels take a ref
7761 2003-02-26 Angus Leeming <leeming@lyx.org>
7763 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7766 2003-02-25 John Levon <levon@movementarian.org>
7768 * ispell.C: give the forked command a more accurate name
7770 2003-02-22 John Levon <levon@movementarian.org>
7773 * toc.C: make TocItem store an id not a Paragraph *
7776 2003-02-21 Angus Leeming <leeming@lyx.org>
7778 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7779 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7780 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7781 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7782 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7783 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7785 * BufferView_pimpl.C (dispatch):
7786 * LyXAction.C (init):
7787 * factory.C (createInset):
7788 * lyxfunc.C (getStatus, dispatch):
7789 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7791 2003-02-21 Angus Leeming <leeming@lyx.org>
7793 * BufferView_pimpl.C (MenuInsertLyXFile):
7794 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7795 * lyxfunc.C (menuNew, open, doImport):
7796 no longer pass a LyXView & to fileDlg.
7798 2003-02-21 Angus Leeming <leeming@lyx.org>
7800 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7801 * LyXAction.C: change, BIBKEY to BIBITEM.
7802 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7803 Change InsetBibKey to InsetBibitem.
7804 Change BIBKEY_CODE to BIBITEM_CODE.
7805 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7806 * factory.C: replace insetbib.h with insetbibitem.h.
7807 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7808 * paragraph.C: replace insetbib.h with insetbibitem.h.
7809 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7810 Change bibkey() to bibitem().
7811 * text.C: remove insetbib.h.
7812 * text2.C: replace insetbib.h with insetbibitem.h.
7813 change bibkey() to bibitem().
7814 * text3.C: remove insetbib.h.
7815 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7817 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7819 * lyxrc.C (output): enclose user email in quotes (in case there are
7822 2003-02-18 John Levon <levon@movementarian.org>
7824 * buffer.h: add std::
7826 2003-02-17 John Levon <levon@movementarian.org>
7832 * pspell.C: reworking. Especially in ispell, a large
7833 number of clean ups and bug fixes.
7835 * lyxfunc.C: fix revert to behave sensibly
7837 2003-02-17 André Pönitz <poenitz@gmx.net>
7840 * commandtags.h: new LFUN_INSERT_BIBKEY
7850 * paragraph_func.C: remove special bibkey handling
7852 2003-02-17 John Levon <levon@movementarian.org>
7854 * text.C (Delete): fix case where delete at the end of
7855 the very first paragraph would not merge the pars
7857 2003-02-17 John Levon <levon@movementarian.org>
7859 * lyxrow.C: fix lastPrintablePos()
7861 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7863 * bufferparams.C (writeLaTeX): add a std:here
7865 * buffer.C: and remove a using directive there
7867 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7869 * buffer.C (makeLaTeXFile): move the code that generates the
7872 * bufferparams.C (writeLaTeX): ... in this new method
7874 * LaTeXFeatures.C (getEncodingSet): make const
7875 (getLanguages): make const
7877 * MenuBackend.C (binding): returns the binding associated to this
7879 (add): sets the status of each item by calling getStatus. Adds
7881 (read): add support for OptSubMenu
7882 (expand): remove extra separator at the end of expanded menu
7884 2003-02-15 John Levon <levon@movementarian.org>
7887 * BufferView_pimpl.C:
7889 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7890 inset code that had no actual effect. Remove unneeded status
7893 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7895 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7898 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7900 * text.C (drawLengthMarker): also draw an arrow marker for
7901 symbolic lengths (medskip...)
7903 2003-02-14 John Levon <levon@movementarian.org>
7906 * tabular.C: better method names
7908 2003-02-14 John Levon <levon@movementarian.org>
7910 * BufferView_pimpl.C:
7915 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7916 it's a more accurate name. Remove some pointless uses.
7918 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7920 * text2.C (LyXText): change order of initilizers to shut off
7923 2003-02-14 John Levon <levon@movementarian.org>
7925 * buffer.C: use ParIterator for getParFromID()
7929 * paragraph_pimpl.h:
7930 * paragraph_pimpl.C: remove unused getParFromID()
7932 2003-02-14 John Levon <levon@movementarian.org>
7934 * buffer.C: remove some very old #if 0'd parse code
7936 2003-02-13 John Levon <levon@movementarian.org>
7940 * text2.C: move hfillExpansion(), numberOfSeparators(),
7941 rowLast(), rowLastPrintable(), numberofHfills(),
7942 numberOfLabelHfills() ...
7945 * lyxrow.C: ... to member functions here.
7950 * text.C: remove LyXText::beginningOfMainBody(), and call
7951 p->beginningOfMainBody() directly. Move the check for
7952 LABEL_MANUAL into the latter.
7959 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7965 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7966 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7968 2003-02-13 John Levon <levon@movementarian.org>
7970 * CutAndPaste.C: remove debug
7972 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7974 * paragraph.C (asString): remove two unused variables
7976 * lyxtextclass.C (readTitleType):
7978 (LyXTextClass): handle new members titletype_ and titlename_
7980 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7982 2003-02-09 John Levon <levon@movementarian.org>
7985 * buffer.C: replace hand-coded list with a map for the dep clean
7987 2003-02-08 John Levon <levon@movementarian.org>
7989 * LaTeX.C: consolidate code into showRunMessage() helper
7991 2003-02-08 John Levon <levon@movementarian.org>
7996 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7997 and pass the size in explicitly
7999 * BufferView_pimpl.h:
8000 * BufferView_pimpl.C:
8002 * BufferView.C: add getCurrentChange()
8004 * BufferView_pimpl.h:
8005 * BufferView_pimpl.C: handle change lfuns
8007 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8008 for changes. Mark pasted paragraphs as new.
8010 * support/lyxtime.h:
8011 * support/lyxtime.C:
8012 * DepTable.C: abstract time_t as lyx::time_type
8015 * LColor.C: add colours for new text, deleted text, changebars
8017 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8018 package use "usenames" option.
8022 * LyXAction.C: add change lfuns
8026 * author.C: author handling
8029 * buffer.C: add a per-buffer author list, with first entry as
8030 current author. Handle new .lyx tokens for change tracking. Output
8031 author list to .lyx file. Output dvipost stuff to .tex preamble.
8032 Bump lyx format to 222.
8035 * bufferlist.C: add setCurrentAuthor() to reset current author details
8039 * bufferparams.C: add param for tracking
8041 * bufferview_funcs.C: output change info in minibuffer
8045 * changes.C: add change-tracking structure
8048 * debug.C: add CHANGES debug flag
8051 * lyxfind.C: add code for finding the next change piece
8054 * lyxrc.C: add user_name and user_email
8057 * lyxrow.C: add a metric for the top of the text line
8060 * text.C: implement accept/rejectChange()
8063 * text.C: paint changebars. Paint new/deleted text in the chosen
8064 colours. Strike through deleted text.
8068 * paragraph_pimpl.h:
8069 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8070 in the current change to the insert functions. Rework erase to
8071 mark text as deleted, adding an eraseIntern() and a range-based
8072 erase(). Implement per-paragraph change lookup and
8075 * paragraph_funcs.C: Fixup paste for change tracking.
8077 * tabular.C: mark added row/columns as new.
8079 * text.C: fix rowLast() to never return -1. Don't allow
8080 spellchecking of deleted text. Track transpose changes. Don't
8081 allow paragraph break or merge where appropriate.
8083 * text2.C: leave cursor at end of selection after a cut.
8085 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8087 * text.C (getLengthMarkerHeight):
8088 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8089 visible on screen too.
8091 2003-02-07 John Levon <levon@movementarian.org>
8093 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8095 2003-02-05 Angus Leeming <leeming@lyx.org>
8097 * lyxserver.C (read_ready): revert my patch of 11 September last year
8098 as it sends PC cpu through the roof. Presumably this means that
8099 the lyxserver will no longer run on an Alpha...
8101 2003-01-30 Angus Leeming <leeming@lyx.org>
8103 * factory.C (createInset): create an InsetCommandParam of type "index"
8104 and use it to 'do the right thing'.
8106 * text2.C (getStringToIndex): ensure that cursor position is always
8107 reset to the reset_cursor position.
8109 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8111 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8114 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8118 * lyxfunc.C: Output messages with identical spelling, punctuation,
8121 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8123 * MenuBackend.C (expandFormats): List only viewable export formats
8126 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8129 * lyxfunc.C (getStatus): Make sure that formats other than
8130 "fax" can also be disabled
8132 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8134 * text3.C (dispatch): put the lfuns that insert insets in 3
8135 groups, and call doInsertInset with appropriate arguments.
8136 (doInsertInset): new function, that creates an inset and inserts
8137 it according to some boolean parameters.
8139 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8141 * buffer.C (readFile): remember to pass on 'par' when calling
8142 readFile recursively.
8144 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8146 * MenuBackend.C (expandFormats): add "..." to import formats.
8148 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8150 * paragraph.C (asString): Remove XForms RTL hacks.
8152 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8153 * buffer.C: fix typo
8155 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8157 * Makefile.am (LIBS): delete var
8158 (lyx_LDADD): add @LIBS@ here instead.
8160 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8162 * Clarify the meaning of "wheel mouse jump"
8164 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8166 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8169 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8171 * importer.C (Loaders): do not preallocate 3 elements in the
8172 vector, since one ends up with 6 elements otherwise
8174 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8176 * DepTable.C (write): write the file name as last element of the
8177 .dep file (because it may contain spaces)
8178 (read): read info in the right order
8180 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8182 * paragraph_pimpl.C (simpleTeXBlanks):
8183 (simpleTeXSpecialChars):
8184 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8186 * tabular.C (latex): add some missing case statements. Reindent.
8188 * MenuBackend.C (expandToc): remove unused variable.
8190 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8199 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8202 2003-01-05 John Levon <levon@movementarian.org>
8205 * BufferView.C: add getEncoding()
8208 * kbsequence.C: do not store last keypress
8211 * lyxfunc.C: store last keypress here instead. Pass encoding
8214 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8216 * lyx_main.C (init): remove annoying error message when following
8217 symbolic links (bug #780)
8219 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8221 * text.C (insertChar):
8222 * lyxrc.C (getDescription): remove extra spaces
8224 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8226 * lyxrc.C (getDescription): remove extra spaces
8228 2002-12-20 John Levon <levon@movementarian.org>
8230 * text3.C: hack fix for page up/down across tall rows
8232 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8234 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8237 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8239 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8240 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8241 thesaurus is not compiled in
8243 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8245 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8247 2002-12-16 Angus Leeming <leeming@lyx.org>
8250 * lyx_main.C (init): remove override_x_deadkeys stuff.
8252 2002-12-12 John Levon <levon@movementarian.org>
8254 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8255 insert. Only remove shift modifier under strict
8258 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8260 * MenuBackend.C (expandToc): fix crash.
8262 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8264 * MenuBackend.C (expandToc): gettext on float names.
8266 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8268 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8269 implement bool empty() [bug 490]
8271 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8273 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8275 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8277 * several files: ws changes
8279 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8281 * text2.C (setCounter): clean up a bit, use boost.format.
8282 (updateCounters): initialize par upon declaration.
8284 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8285 if the layout exists. We do not just store the layout any more.
8286 (SwitchLayoutsBetweenClasses): use boost.format
8288 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8290 * converter.C (convert): if from and to files are the same, use a
8291 temporary files as intermediary
8293 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8296 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8298 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8300 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8302 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8304 * tabular.C (asciiPrintCell): use string(size, char) instead of
8307 * sgml.C (openTag): fix order of arguments to string constructor
8310 * lyxfunc.C (dispatch): use boost.format
8312 * lots of files: change "c" -> 'c'
8314 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8316 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8318 2002-11-25 Angus Leeming <leeming@lyx.org>
8320 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8322 * lyx_main.C (init): compile fix.
8324 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8326 * lyx_cb.C (start): boost.formatify
8327 do not include <iostream>
8329 * lengthcommon.C: ws only
8331 * boost-inst.C,BoostFormat.h: add more explict instantations
8333 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8335 * lots of files: handle USE_BOOST_FORMAT
8337 2002-11-21 John Levon <levon@movementarian.org>
8339 * pspell.C: fix compile
8341 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8343 * lyxfunc.C (dispatch): use boost::format
8347 * lyxfont.C (stateText): use boost::format
8349 * lyx_main.C (LyX): use boost::format
8351 (queryUserLyXDir): ditto
8354 (typedef boost::function): use the recommened syntax.
8356 * importer.C (Import): use boost::format
8358 * debug.C (showLevel): use boost::format
8360 * converter.C (view): use boost::format
8365 * bufferview_funcs.C (currentState): use boost::format
8367 * bufferlist.C (emergencyWrite): use boost::format
8369 * buffer.C (readLyXformat2): use boost::format
8370 (parseSingleLyXformat2Token): ditto
8372 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8374 * LaTeX.C (run): use boost::format
8376 * Chktex.C (scanLogFile): use boost::format
8378 * BufferView_pimpl.C (savePosition): use boost::format
8379 (restorePosition): ditto
8380 (MenuInsertLyXFile): ditto
8382 * BoostFormat.h: help file for explicit instation.
8384 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8386 * tabular.C (latex): Support for block alignment in fixed width
8389 2002-11-17 John Levon <levon@movementarian.org>
8391 * BufferView_pimpl.C:
8393 * lyxfunc.C: split filedialog into open/save
8395 2002-11-08 Juergen Vigna <jug@sad.it>
8397 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8398 by my last patch (hopefully).
8400 2002-11-08 John Levon <levon@movementarian.org>
8409 * toc.C: ParConstIterator, and use it (from Lars)
8411 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8413 * lyxtextclass.[Ch]: revise and add doxygen comments
8415 2002-11-07 John Levon <levon@movementarian.org>
8417 * text.C: fix progress value for spellchecker
8419 * toc.C: fix navigate menu for insetwrap inside minipage
8421 * paragraph_funcs.C: added FIXME for suspect code
8423 2002-11-07 John Levon <levon@movementarian.org>
8425 * BufferView_pimpl.C: fix redrawing of insets
8428 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8430 * text2.C (updateCounters): fix bug 668
8432 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8434 * text3.C (dispatch): Do not make the buffer dirty when moving the
8437 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8439 * vc-backend.C: STRCONV
8442 * text2.C (setCounter): STRCONV
8444 * paragraph.C (asString): STRCONV
8446 * lyxlength.C (asString): STRCONV
8447 (asLatexString): ditto
8449 * lyxgluelength.C (asString): STRCONV
8450 (asLatexString): ditto
8452 * lyxfunc.C (dispatch): STRCONV
8455 * lyxfont.C (stateText): STRCONV
8457 * importer.C (Import): STRCONV
8459 * counters.C (labelItem): STRCONV
8460 (numberLabel): ditto
8461 (numberLabel): remove unused ostringstream o
8466 * bufferview_funcs.C (currentState): STRCONV
8468 * buffer.C (readFile): STRCONV
8469 (asciiParagraph): ditto
8470 (makeLaTeXFile): ditto
8472 * Spacing.C (writeEnvirBegin): STRCONV
8474 * LaTeXFeatures.C (getLanguages): STRCONV
8475 (getPackages): ditto
8477 (getBabelOptions): ditto
8478 (getTClassPreamble): ditto
8479 (getLyXSGMLEntities): ditto
8480 (getIncludedFiles): ditto
8484 (scanAuxFile): ditto
8487 * LString.h: add the STRCONV macros
8489 * BufferView_pimpl.C (savePosition): STRCONV
8490 (restorePosition): ditto
8491 (MenuInsertLyXFile): ditto
8493 * vc-backend.C (scanMaster): change from submatch[...] to
8496 * funcrequest.C: include config.h
8498 * factory.C: include config.h
8500 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8502 * box.C: include config.h
8504 * LaTeX.C (scanAuxFile): change from submatch[...] to
8508 2002-10-25 Angus Leeming <leeming@lyx.org>
8510 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8512 * ispell.[Ch] (setError): new method.
8513 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8514 Use setError() insetead of goto END.
8516 * lyx_cb.C (AutoSave): move out child process into new class
8519 2002-10-30 John Levon <levon@movementarian.org>
8521 * text3.C: make start appendix undoable
8523 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8525 * lyxlength.C (inPixels): Fix returned value.
8527 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8530 2002-10-24 Angus Leeming <leeming@lyx.org>
8532 * lyxgluelength.h: no need to forward declare BufferParams
8533 or BufferView, so don't.
8535 2002-10-21 John Levon <levon@movementarian.org>
8537 * BufferView.C: menuUndo ->undo, redo
8539 * BufferView.h: document, remove dead, make some methods private
8541 * paragraph_funcs.h:
8542 * paragraph_funcs.C:
8543 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8548 * sgml.C: move sgml open/close tag into sgml.C
8550 * bufferview_funcs.h: unused prototype
8553 * lyxfunc.C: remove unused
8556 * text.C: remove unused
8558 2002-10-21 John Levon <levon@movementarian.org>
8562 * BufferView_pimpl.h:
8563 * BufferView_pimpl.C: fix mouse wheel handling based on
8564 patch from Darren Freeman
8566 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8568 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8570 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8572 * lyxlength.C (inPixels): Fix hanfling of negative length.
8573 Fix LyXLength::MU case.
8575 2002-10-16 John Levon <levon@movementarian.org>
8577 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8579 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8581 * converter.C (view): add support for $$i (file name) and $$p
8582 (file path) for the viewer command. If $$i is not specified, then
8583 it is appended to the command (for compatibility with old syntax)
8585 2002-10-14 Juergen Vigna <jug@sad.it>
8587 * undo_funcs.C (textHandleUndo): alter the order in which the
8588 new undopar is added to the LyXText, as we have to set first
8589 the right prev/next and then add it as otherwise the rebuild of
8590 LyXText is not correct. Also reset the cursor to the right paragraph,
8591 with this IMO we could remove the hack in "redoParagraphs()".
8593 2002-10-09 Angus Leeming <leeming@lyx.org>
8595 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8596 to turn off an optimisation if a new inset is to be inserted.
8598 2002-10-11 André Pönitz <poenitz@gmx.net>
8600 * lyxtext.h: make some functions public to allow access
8601 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8603 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8605 * text3.C (dispatch): when changing layout, avoid an infinite loop
8608 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8610 * lyxrc.C (read): treat a viewer or converter command of "none" as
8613 * MenuBackend.C (expandFormats): for an update, also allow the
8614 formats that are not viewable
8616 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8617 script if it is newer than the lyxrc.defaults in user directory
8619 2002-10-07 André Pönitz <poenitz@gmx.net>
8621 * text.C: Vitaly Lipatov's small i18n fix
8623 2002-09-25 Angus Leeming <leeming@lyx.org>
8625 * ispell.h: doxygen fix.
8627 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8629 * buffer.h (readFile): Add a new argument to the method, to allow
8630 reading of old-format templates.
8632 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8634 * toc.C (getTocList): Get TOC from InsetWrap.
8636 2002-09-16 John Levon <levon@movementarian.org>
8638 * lyxfunc.C: check tabular for cut/copy too
8640 2002-09-12 John Levon <levon@movementarian.org>
8645 * factory.C: add header
8647 * paragraph_funcs.h:
8648 * paragraph_funcs.C: cleanup
8650 2002-09-11 John Levon <levon@movementarian.org>
8652 * PrinterParams.h: odd/even default to true
8654 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8656 * PrinterParams.h: update printer parameters for new xforms dialog
8658 2002-09-11 Angus Leeming <leeming@lyx.org>
8660 * lyxserver.C (read_ready): re-write to make it more transparent
8661 and to make it work in coherent fashion under Tru64 Unix.
8663 2002-09-11 André Pönitz <poenitz@gmx.net>
8667 * text3.C: implement LFUN_WORDSEL
8669 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8671 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8672 make floatlist_ a boost::shared_ptr<FloatList>
8674 * lyxtextclass.C: include FloatList.h
8675 (LyXTextClass): initialize floatlist_
8676 (TextClassTags): add TC_NOFLOAT
8677 (Read): match "nofloat" to TC_NOFLOAT and use it.
8678 (readFloat): modify call to floatlist_
8682 * FloatList.[Ch] (FloatList): remove commented out float
8684 (erase): new function
8686 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8688 * MenuBackend.C (expandToc): fix crash when there is no document
8691 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8693 * many files: Add insetwrap.
8695 2002-09-09 John Levon <levon@movementarian.org>
8697 * text2.C: remove confusing and awkward depth wraparound
8699 2002-09-09 John Levon <levon@movementarian.org>
8701 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8704 * buffer.C: remove getIncludeonlyList()
8707 * lyxfunc.C: remove headers
8709 2002-09-09 Juergen Vigna <jug@sad.it>
8711 * text.C (getColumnNearX): fix form Michael this is most
8712 probably a cut&paste bug.
8714 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8716 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8718 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8719 references, ws changes.
8721 * text2.C (init): update counters after init
8722 (insertParagraph): no need to set counter on idividual paragraphs.
8723 (setCounter): access the counters object in the textclass object
8724 on in the buffer object.
8725 (updateCounters): ditto
8727 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8728 shared_ptr<Counters> to avoid loading counters.h in all
8730 (LyXTextClass): initialize ctrs_
8731 (TextClassTags): add TC_COUNTER, and ...
8732 (Read): use it here.
8733 (CounterTags): new tags
8734 (readCounter): new function
8735 (counters): new funtion
8736 (defaultLayoutName): return a const reference
8738 * counters.C (Counters): remove contructor
8739 (newCounter): remove a couple of unneeded statements.
8740 (newCounter): simplify a bit.
8741 (numberLabel): some small formatting changes.
8743 * buffer.[Ch]: remove all traces of counters, move the Counters
8744 object to the LyXTextClass.
8746 2002-09-06 Alain Castera <castera@in2p3.fr>
8748 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8749 package to set the horizontal alignment on fixed width columns.
8752 * lyx_sty.h: added tabularnewline macro def.
8754 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8756 2002-09-06 John Levon <levon@movementarian.org>
8758 * LyXAction.C: tooltips for sub/superscript
8760 * MenuBackend.C: a bit more verbose
8762 * lyxfunc.C: tiny clean
8764 * undo_funcs.C: document undo_frozen
8766 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8768 * counters.C (Counters): add missing algorithm counter.
8770 * text2.C (setCounter): lookup the counter with layouts latexname
8771 instead of by section number.
8772 (setCounter): use a hackish way to lookup the correct enum
8774 a float name->type change
8775 reset enum couners with counter name directly instead of depth value.
8777 * counters.C (Counters): remove the push_backs, change to use the
8778 float type not the float name.
8779 (labelItem): remove unused string, float name->type change
8781 * counters.h: don't include vector, loose the enums and sects vectors
8783 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8785 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8786 (Read): add float->TC_FLOAT to textclassTags
8787 (Read): and handle it in the switch
8788 (readFloat): new function
8790 * FloatList.C (FloatList): comment out the hardcoded float
8793 * lyxlayout.h: ws change.
8795 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8797 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8799 2002-09-03 Angus Leeming <leeming@lyx.org>
8801 * BufferView_pimpl.h: qualified name is not allowed in member
8802 declaration: WorkArea & Pimpl::workarea() const;
8804 * factory.C: added using std::endl directive.
8806 * text3.C: added using std::find and std::vector directives.
8808 2002-08-29 André Pönitz <poenitz@gmx.net>
8811 * text2.C: remove unused member number_of_rows
8814 * BufferView2.C: remove file, move contents to...
8815 * BufferView.C: ... here
8817 * BufferView_pimpl.C:
8818 * factory.C: move more inset creation to factory
8820 * vspace.C: avoid direct usage of LyXText, ws changes
8823 don't provide direct access to WorkArea, use two simple
8824 acessors haveSelction() and workHeight() instead
8827 2002-08-29 John Levon <levon@movementarian.org>
8829 * BufferView_pimpl.C (dispatch): do not continue when
8832 2002-08-28 André Pönitz <poenitz@gmx.net>
8834 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8837 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8839 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8841 * buffer.C: increment LYX_FORMAT to 221
8843 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8844 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8846 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8848 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8850 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8852 * factory.C (createInset): use LyXTextClass::floats
8854 * MenuBackend.C (expandFloatListInsert):
8855 (expandFloatInsert):
8858 * text2.C (setCounter):
8860 * LaTeXFeatures.C (useFloat):
8861 (getFloatDefinitions):
8863 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8865 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8866 floatlist_, with accessor floats().
8868 * FloatList.h: remove global FloatList
8870 2002-08-26 André Pönitz <poenitz@gmx.net>
8872 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8876 * BufferView_pimpl.C:
8877 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8879 2002-08-25 John Levon <levon@movementarian.org>
8881 * LyXAction.C: fix margin note description
8883 2002-08-24 John Levon <levon@movementarian.org>
8887 * bufferview_funcs.C:
8889 * undo_funcs.C: cleanups
8891 * lyxfunc.C: disable CUT/COPY when no selection
8893 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8895 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8896 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8898 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8899 Add backward compatibility to "mono", "gray" and "no".
8901 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8903 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8904 (and file_format >= 200).
8906 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8908 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8910 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8912 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8914 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8916 * BufferView_pimpl.C:
8923 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8924 inset and code to make it work with the paragraph code. The inset
8925 can be anywhere in the paragraph, but will only do the expected
8926 thing in LaTeX if the layout file contains the parameter line
8928 (or more generally, a nonzero value) for that layout.
8930 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8932 * paragraph.h: remove the declaration of undefined counters class
8935 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8937 * text2.C (setCounter): fixed enumeration mis-count as reported by
8938 Dr. Richard Hawkins.
8940 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8942 * paragraph_funcs.h: remove some unneeded includes
8944 * text.C (backspace): pasteParagraph now in global scipe
8946 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8947 (pasteSelection): ditto
8949 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8950 * paragraph_funcs.C (pasteParagraph): ... here
8952 2002-08-20 André Pönitz <poenitz@gmx.net>
8954 * commandtags.h: new LFUNs for swapping/copying table row/colums
8957 * lyxfunc.C: support for new lfuns
8959 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8962 * buffer.[Ch]: remove NO_COMPABILITY stuff
8964 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8966 * boost.C (throw_exception): new file, with helper function for
8967 boost compiled without exceptions.
8972 * ParameterStruct.h:
8973 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8975 * bufferlist.C (emergencyWriteAll): use boost bind
8977 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8979 * text.C: include paragraph_funcs.h
8980 (breakParagraph): breakParagraph is now in global scope
8982 * paragraph_funcs.[Ch]: new files
8984 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8987 * buffer.C: include paragraph_funcs.h
8988 (insertStringAsLines): breakParagraph is now in global scope
8990 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8993 * CutAndPaste.C: include paragraph_funcs.h
8994 (cutSelection): breakParagraphConservative is now in global scope
8995 (pasteSelection): ditto
8997 * buffer.h: declare oprator== and operator!= for
8998 Buffer::inset_iterator
9000 * bufferlist.C (emergencyWrite): don't use fmt(...)
9002 * text3.C: add using std::endl
9004 * BufferView.C (moveCursorUpdate): remove default arg
9006 2002-08-20 André Pönitz <poenitz@gmx.net>
9008 * buffer.[Ch]: move inline functions to .C
9011 * BufferView_pimpl.C:
9013 * buffer.[Ch]: use improved inset_iterator
9016 * paragraph.[Ch]: write one paragraph at a time
9018 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9020 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9021 style if style is not specified.
9023 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9025 * text2.C (setCounter): when searching for right label for a
9026 caption, make sure to recurse to parent insets (so that a caption
9027 in a minipage in a figure float works) (bug #568)
9029 2002-08-20 André Pönitz <poenitz@gmx.net>
9031 * text3.C: new file for LyXText::dispatch() and helpers
9033 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9035 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9037 2002-08-19 André Pönitz <poenitz@gmx.net>
9040 * text.C: new LyXText::dispatch()
9042 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9044 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9046 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9048 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9051 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9053 * Makefile.am: use $(variables) instead of @substitutions@
9055 2002-08-15 André Pönitz <poenitz@gmx.net>
9058 * BufferView_pimpl.C: streamlining mathed <-> outer world
9062 * LyXAction.C: remove unused LFUN_MATH
9064 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9066 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9068 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9070 * paragraph.C (Paragraph): reformat a bit
9071 (cutIntoMinibuffer): use builtin InsetList function instad of
9075 * buffer.C: include boost/bind.hpp, add using std::for_each
9076 (writeFileAscii): use ParagraphList iterators
9077 (validate): use for_each for validate traversal of paragraphs
9078 (getBibkeyList): use ParagraphList iterators
9079 (resizeInsets): use for_each to resizeInsetsLyXText for all
9081 (getParFromID): use ParagraphList iterators
9083 * BufferView2.C (lockInset): use paragraph list and iterators
9085 2002-08-14 John Levon <levon@movementarian.org>
9087 * lyxserver.C: remove spurious xforms include
9089 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9091 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9093 2002-08-13 André Pönitz <poenitz@gmx.net>
9096 * lyxfunc.C: further cleaning
9098 2002-08-13 André Pönitz <poenitz@gmx.net>
9100 * funcrequest.h: new constructor
9102 * funcrequest.C: move stuff here from .h
9105 * BufferView_pimpl.C:
9108 * lyxfunc.C: subsequent changes
9110 * lyxfunc.h: new view() member function
9112 * lyxfunc.C: subsequent changes
9114 2002-08-13 Angus Leeming <leeming@lyx.org>
9117 * BufferView_pimpl.C:
9125 changes due to the changed LyXView interface that now returns references
9126 to member variables not pointers.
9128 2002-08-13 Angus Leeming <leeming@lyx.org>
9130 * WordLangTuple (word, lang_code): return references to strings,
9135 * lyxtext.h: forward-declare WordLangTuple.
9140 * text.C: #include "WordLangTuple.h".
9143 * text.C: (selectNextWordToSpellcheck): constify return type.
9145 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9151 * paragraph_pimpl.h:
9154 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9156 Made updateCounter always count from start of buffer, and removed
9157 second argument (par).
9158 Reverted floats number display to '#'. Perhaps I'll try again when the
9159 code base is sanitized a bit.
9161 2002-08-12 Angus Leeming <leeming@lyx.org>
9163 * buffer.[Ch] (getLabelList): constify.
9165 2002-08-07 André Pönitz <poenitz@gmx.net>
9167 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9169 * funcrequest.h: extension to keep mouse (x,y) position
9171 2002-08-12 Juergen Vigna <jug@sad.it>
9173 * BufferView2.C (insertErrors): forbid undo when inserting error
9176 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9178 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9180 * ParagraphList.[Ch]: new files
9182 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9184 * BufferView2.C (lockInset): ParagraphList changes
9187 * bufferlist.C: ditto
9191 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9193 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9194 unused class variable counter_,
9196 * paragraph.[Ch] (getFirstCounter): delete unused function
9198 * counters.C: include LAssert.h
9199 (reset): add a new function with no arg, change other version to
9200 not have def. arg and to not allow empty arg.
9202 * text2.C (setCounter): remove empty arg from call to Counters::reset
9204 2002-08-11 John Levon <levon@movementarian.org>
9206 * Makefile.am: add WordLangTuple.h
9208 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9210 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9211 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9213 * insets/insettext.C: InsetList changes
9215 * graphics/GraphicsSupport.C (operator()): InsetList changes
9217 * toc.C (getTocList): InsetList changes
9219 * paragraph_pimpl.[Ch]: InsetList changes
9221 * paragraph.[Ch]: InsetList changes
9223 * buffer.C (inset_iterator): InsetList changes
9224 (setParagraph): ditto
9225 * buffer.h (inset_iterator): ditto
9226 * iterators.C (operator++): ditto
9227 * iterators.h: ditto
9229 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9231 * InsetList.[Ch]: new files, most InsetList handling moved out of
9234 * BufferView2.C (removeAutoInsets): InsetList changes
9236 (ChangeInsets): ditto
9238 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9240 * paragraph_pimpl.h (empty): new function
9242 * paragraph.[Ch] (empty): new function
9244 * other files: use the new Paragraph::empty function
9246 2002-08-09 John Levon <levon@movementarian.org>
9248 * lyxtext.h: remove unused refresh_height
9250 2002-08-09 John Levon <levon@movementarian.org>
9257 * paragraph.C: move sgml char escaping out of paragraph
9260 * paragraph.C: remove id setter
9264 * paragraph_pimpl.C: remove dead tex_code_break_column
9266 * bufferview_funcs.C: small cleanup
9268 * lyxfunc.C: remove dead proto
9270 * lyxtext.h: make some stuff private. Remove some dead stuff.
9272 * lyxgluelength.C: make as[LyX]String() readable
9274 2002-08-08 John Levon <levon@movementarian.org>
9279 * ToolbarDefaults.C:
9282 * toc.C: lyxaction cleanup
9284 2002-08-08 John Levon <levon@movementarian.org>
9286 * BufferView2.C: small cleanup
9289 * lyxfind.C: move unnecessary header into the .C
9291 2002-08-08 John Levon <levon@movementarian.org>
9293 * funcrequest.h: just tedious nonsense
9296 * lyx_main.C: cleanups
9299 * vspace.C: remove dead header lyx_main.h
9301 2002-08-07 Angus Leeming <leeming@lyx.org>
9304 * paragraph_pimpl.h:
9305 Forward declare class Counters in paragraph.h by moving the ctrs member
9306 variable into Paragraph::Pimpl.
9307 (counters): new method, returning a reference to pimpl_->ctrs.
9309 * text2.C: ensuing changes.
9311 2002-08-07 John Levon <levon@movementarian.org>
9313 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9315 * BufferView_pimpl.C: announce X selection on double/triple
9318 * lyx_main.C: use correct bool in batch dispatch
9320 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9322 2002-08-07 André Pönitz <poenitz@gmx.net>
9324 * funcrequest.h: new class to wrap a kb_action and its argument
9327 * BufferView_pimpl[Ch]:
9331 * lyxrc.C: subsequent changes
9334 2002-08-07 John Levon <levon@movementarian.org>
9336 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9337 document options change.
9339 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9344 * makefile.am: move counters functionality over from
9345 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9347 2002-08-06 John Levon <levon@movementarian.org>
9349 * WordLangTuple.h: new file for word + language code tuple
9360 * BufferView2.C: use WordLangTuple
9363 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9365 2002-08-06 John Levon <levon@movementarian.org>
9367 * lyx_main.C: fix cmdline batch handling
9369 2002-08-06 André Pönitz <poenitz@gmx.net>
9371 * lyxrc.C: set default for show_banner to true
9373 2002-08-06 John Levon <levon@movementarian.org>
9375 * pspell.C: fix a crash, and allow new aspell to work
9377 2002-08-06 John Levon <levon@movementarian.org>
9380 * kbmap.C: small cleanup
9383 * vspace.C: add const
9385 2002-08-05 John Levon <levon@movementarian.org>
9387 * LyXAction.C: back to tabular-insert
9389 2002-08-04 John Levon <levon@movementarian.org>
9392 * BufferView.C: cosmetic change
9394 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9404 * BufferView2.C: purge all "Lyx" not "LyX" strings
9407 * lyxcursor.C: attempt to add some documentation
9412 * ToolbarDefaults.C:
9413 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9414 merge with LFUN_TABULAR_INSERT
9421 * pspell.C: split up i/pspell implementations into separate
9422 files, many cleanups
9424 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9426 * text2.C: some cleanup
9428 * lyxfunc.C: don't check for isp_command == "none" any more, it
9429 didn't make any sense
9431 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9436 * makefile.am: move counters functionality over
9437 from text2.C/paragraph.[Ch] to counters.[Ch], and
9439 2002-08-02 John Levon <levon@movementarian.org>
9441 * buffer.C: s/lyxconvert/lyx2lyx/
9443 2002-08-02 Angus Leeming <leeming@lyx.org>
9445 * lyxlex.C: revert John's change as it breaks reading of the user
9448 2002-08-02 Angus Leeming <leeming@lyx.org>
9450 * importer.C (Import):
9451 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9452 changes due to LyXView::view() now returning a boost::shared_ptr.
9454 2002-08-02 John Levon <levon@movementarian.org>
9456 * lyxlex.C: small cleanup
9458 2002-08-02 John Levon <levon@movementarian.org>
9460 * text2.C (status): small cleanup, no logic change
9462 2002-08-01 John Levon <levon@movementarian.org>
9465 * buffer.C (writeFile): don't output alerts, caller
9469 * lyx_cb.C: from above
9471 * lyxfunc.C: allow to open non-existent files
9473 2002-07-31 John Levon <levon@movementarian.org>
9475 * lyxserver.C: don't let incidental errors get
9478 2002-07-30 John Levon <levon@movementarian.org>
9480 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9482 2002-07-30 John Levon <levon@movementarian.org>
9485 * lyxserver.C: remove I/O callback too
9487 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9489 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9492 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9494 * many files: strip,frontStrip -> trim,ltrim,rtrim
9496 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9498 * PrinterParams.h: remove extern containsOnly, and include
9499 support/lstrings.h instead.
9501 * LaTeX.C (scanAuxFile): modify because of strip changes
9503 * buffer.C (makeLaTeXFile): ditto
9504 * bufferparams.C (writeFile): ditt
9505 * lyxfont.C (stateText): ditto
9506 * lyxserver.C (read_ready): ditto
9507 * vc-backend.C (scanMaster): ditto
9509 * BufferView_pimpl.h: ws changes
9511 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9513 2002-07-26 André Pönitz <poenitz@gmx.net>
9515 * kb_sequence.C: remove unnedred usings
9517 2002-07-26 Juergen Vigna <jug@sad.it>
9519 * lyxfind.C (LyXReplace): we have to check better if the returned
9520 text is not of theLockingInset()->getLockingInset().
9522 2002-07-25 Juergen Vigna <jug@sad.it>
9524 * lyxfind.C (LyXReplace): don't replace if we don't get the
9527 * undo_funcs.C (createUndo): remove debugging code.
9529 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9531 * buffer.C (parseSingleLyXformat2Token): Use default placement
9532 when reading old floats.
9534 * FloatList.C (FloatList): Change the default placement of figure
9535 and tables to "tbp".
9537 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9539 * MenuBackend.C: using std::max
9541 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9543 * MenuBackend.C (expandToc):
9544 (expandToc2): code moved from xforms menu frontend. It is now
9545 generic and TOCs are transparent to menu frontends.
9547 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9549 * toc.C (getTocList): protect against buf=0
9551 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9552 Menu as first parameter. Now, this calls itself recursively to
9553 expand a whole tree (this will be useful for TOC handling)
9554 (expandFloatInsert): remove 'wide' version of floats
9556 * MenuBackend.h (submenuname): returns the name of the submenu.
9557 (submenu): returns the submenu itself, provided it has been
9558 created by MenuBackend::expand
9560 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9562 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9563 insets which have noFontChange == true. (bug #172)
9565 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9567 * BufferView_pimpl.C: add connection objects and use them...
9570 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9572 * MenuBackend.C (expandLastfiles):
9575 (expandFloatListInsert):
9576 (expandFloatInsert):
9577 (expand): split expand in parts
9579 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9581 * lyx_gui.C: use lyx_gui::exit()
9583 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9585 * LyXAction.C: show the failing pseudo action
9587 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9589 * buffer.C (readFile): Run the lyxconvert script in order to read
9592 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9596 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9598 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9602 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9604 2002-07-22 Herbert Voss <voss@lyx.org>
9607 * lyxlength.[Ch]: add support for the vertical lengths
9609 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9611 * toc.[Ch]: std:: fixes
9613 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9615 * lyxrc.C: do not include lyx_main.h
9617 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9623 * BufferView2.C: include "lyxlex.h"
9626 * bufferparams.h: do not #include "lyxlex.h"
9628 * lyxtextclasslist.C (Add): remove method
9629 (classlist): renamed to classlist_
9631 * paragraph_pimpl.C:
9635 * bufferview_funcs.C:
9640 * toc.C (getTocList): use BufferParams::getLyXTextClass
9642 * toc.C (getTocList): use InsetFloat::addToToc
9644 * toc.[Ch]: new files, containing helper functions to handle table
9647 * lyxfunc.C (dispatch): no need to remove spaces around command
9649 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9650 first command of the sequence; it is not very clever, but I do not
9651 have a better idea, actually
9653 * LyXAction.C (LookupFunc): make sure to remove space at the
9654 beginning and end of the command
9656 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9658 * MenuBackend.C (getMenubar): new method: return the menubar of
9660 (read): treat differently reading of menu and menubar (in
9661 particular, the menubar has no name now)
9662 (Menu::menubar): remove
9664 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9667 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9669 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9670 a bibitem inset in a RTL paragraph.
9672 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9674 * paragraph_pimpl.C: constify
9676 * BufferView_pimpl.C:
9678 * lyxfunc.C: fix dispatch in a nicer way
9680 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9682 * lyxfunc.C (dispatch):
9683 * BufferView_pimpl.C:
9684 * BufferView_pimpl.h:
9686 * BufferView.h: rename Dispatch() to dispatch()
9688 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9690 * lyxlayout.C (Read): honor DependsOn tag
9692 * lyxlayout.[Ch] (depends_on): new method
9694 * version.C.in: update lyx_docversion
9696 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9698 * paragraph.C (validate): remove from here...
9699 * paragraph_pimpl.C (validate): ... and move here
9700 (isTextAt): make it const
9702 * buffer.C (getLists): ws cleanup
9704 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9706 * language.C (read): Use iso8859-1 encoding in latex_lang
9707 (this prevents LyX from crashing when using iso10646-1 encoding).
9709 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9711 * text2.C (toggleInset): if cursor is inside an inset, close the
9712 inset and leave cursor _after_ it
9714 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9716 * lyxfunc.C: move minibuffer completion handling out of here
9718 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9720 * BufferView_pimpl.C:
9721 * LaTeX.C: fix dispatch calls
9723 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9725 * text.C (drawChars): Fix Arabic text rendering.
9727 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9731 * lyxfunc.C: remove message-push/pop
9735 * lyxfunc.C: rationalise some code by removing verboseDispatch
9736 in favour of a bool argument to dispatch()
9738 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9740 * lyx_main.C (init): make sure to read symlinks as absolute paths
9742 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9745 * lyxfunc.C: no need for commandshortcut to be a member
9747 2002-07-15 André Pönitz <poenitz@gmx.net>
9749 * converter.C: add support for $$s (scripts from lib/scripts dir)
9750 * lyx_main.C: white space
9752 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9756 * lyxrc.C: remove second exit confirmation
9758 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9763 * BufferView_pimpl.h:
9764 * BufferView_pimpl.C:
9765 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9767 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9769 * MenuBackend.C (expand): add numeric shortcuts to document menu
9771 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9773 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9775 * lyxfont.C (setLyXFamily):
9782 * buffer.C (asciiParagraph): use ascii_lowercase
9784 2002-07-15 Mike Fabian <mfabian@suse.de>
9786 * lyxlex_pimpl.C (search_kw):
9787 * lyxlex.C (getLongString):
9788 * converter.h (operator<):
9789 * converter.C (operator<):
9790 * buffer.C (parseSingleLyXformat2Token):
9792 * ToolbarDefaults.C (read):
9793 * MenuBackend.C (checkShortcuts):
9795 * LColor.C (getFromGUIName):
9796 (getFromLyXName): use the compare_ascii_no_case instead of
9797 compare_no_case, because in turkish, 'i' is not the lowercase
9798 version of 'I', and thus turkish locale breaks parsing of tags.
9800 2002-07-16 Angus Leeming <leeming@lyx.org>
9802 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9803 now takes a Buffer const & argument.
9805 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9807 * BufferView.C (resize): check there's a buffer to resize
9809 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9811 * lyxfunc.C: remove dead code
9814 * lyxserver.C: use lyx_guii::set_read_callback
9816 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9818 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9819 an inset in a RTL paragraph.
9821 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9823 * lyxfunc.C: repaint after a font size update
9825 2002-07-15 André Pönitz <poenitz@gmx.net>
9827 * lyxlength.C: inBP should be able to return negative values
9829 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9831 * lyxfunc.C: use lyx_gui::update_fonts()
9833 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9835 * lyxfunc.C: use lyx_gui::update_color()
9837 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9843 * lyxrc.C: remove file->new asks for name option, and let
9844 buffer-new take an argument
9846 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9848 * BufferView_pimpl.C: remove unneeded extra repaint()
9850 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9852 * LyXAction.C: allow command-sequence with NoBuffer
9854 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9856 2002-07-10 Angus Leeming <leeming@lyx.org>
9858 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9860 2002-07-09 Angus Leeming <leeming@lyx.org>
9862 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9864 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9866 * lengthcommon.h: whitespace
9868 * lyxfunc.C: update scrollbar after goto paragraph
9870 * lyxtext.h: factor out page break drawing, and fix it so
9871 page break/added space paints as selected nicely
9873 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9875 * BufferView_pimpl.C: add FIXMEs, clean up a little
9877 2002-07-09 André Pönitz <poenitz@gmx.net>
9879 * lyxfont.[Ch]: support for wasy symbols
9881 2002-07-08 André Pönitz <poenitz@gmx.net>
9883 * BufferView_pimpl.C: apply John's patch for #93.
9885 2002-07-05 Angus Leeming <leeming@lyx.org>
9887 * BufferView_pimpl.C (buffer): generate previews if desired.
9889 * LColor.h: add "preview" to the color enum.
9891 * LColor.C (LColor): add a corresponding entry to the items array.
9893 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9896 2002-07-05 Angus Leeming <leeming@lyx.org>
9898 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9899 The body of the code is now in the method that is passed an ostream &
9900 rather than a file name.
9901 Pass an additional only_preamble parameter, useful for the forthcoming
9904 2002-07-03 André Pönitz <poenitz@gmx.net>
9906 * lyxfunc.C: simplify getStatus() a bit for math stuff
9908 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9910 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9912 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9914 * text.C (changeRegionCase): do not change case of all the
9915 document when region ends at paragraph end (bug #461)
9917 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9919 * paragraph.C (startTeXParParams):
9920 (endTeXParParams): add \protect when necessary
9922 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9924 * BufferView_pimpl.C (workAreaExpose): remove warning
9926 2002-06-27 Angus Leeming <leeming@lyx.org>
9928 * Makefile.am: add lyxlayout_ptr_fwd.h.
9930 2002-06-26 André Pönitz <poenitz@gmx.net>
9932 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9934 2002-06-25 Angus Leeming <leeming@lyx.org>
9936 * lyxfunc.C (dispatch): Comment out the call to
9937 grfx::GCache::changeDisplay. The method no longer exists now that the
9938 pixmap generation part of the graphics loader has been moved into
9941 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9943 * text2.C: layout as layout
9945 * text.C: layout as layout
9947 * tabular.C (OldFormatRead): layout as layout
9949 * paragraph_pimpl.C (TeXDeeper): layout as layout
9950 (realizeFont): layout as layout
9952 * paragraph.C (writeFile): layout as layout
9953 (validate): layout as layout
9954 (getFont): layout as layout
9955 (getLabelFont): layout as layout
9956 (getLayoutFont): layout as layout
9957 (breakParagraph): layout as layout
9958 (stripLeadingSpaces): layout as layout
9959 (getEndLabel): layout as layout
9960 (getMaxDepthAfter): layout as layout
9961 (applyLayout): layout as layout
9962 (TeXOnePar): layout as layout
9963 (simpleTeXOnePar): layout as layout
9964 (TeXEnvironment): layout as layout
9965 (layout): layout as layout
9966 (layout): layout as layout
9968 * lyxtextclass.C (compare_name): new functor to work with
9969 shared_ptr, layout as layout
9970 (Read): layout as layout
9971 (hasLayout): layout as layout
9972 (operator): layout as layout
9973 (delete_layout): layout as layout
9974 (defaultLayout): layout as layout
9976 * lyxlayout_ptr_fwd.h: new file
9978 * lyxlayout.C (Read): layout as layout
9980 * lyx_cb.C (MenuInsertLabel): layout as layout
9982 * bufferlist.C (newFile): layout as layout
9984 * buffer.C (readLyXformat2): layout as layout
9985 (parseSingleLyXformat2Token): layout as layout
9986 (insertStringAsLines): layout as layout
9987 (asciiParagraph): layout as layout
9988 (latexParagraphs): layout as layout
9989 (makeLinuxDocFile): layout as layout
9990 (simpleLinuxDocOnePar): layout as layout
9991 (makeDocBookFile): layout as layout
9992 (simpleDocBookOnePar): layout as layout
9993 (getLists): layout as layout
9995 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9997 * CutAndPaste.C (cutSelection): layout as layout
9998 (pasteSelection): layout as layout
9999 (SwitchLayoutsBetweenClasses): layout as layout
10001 * BufferView_pimpl.C (Dispatch): layout as layout
10002 (smartQuote): layout as layout
10004 * BufferView2.C (unlockInset): layout as layout
10006 2002-06-24 André Pönitz <poenitz@gmx.net>
10008 * lyxfunc.C: fix #487
10010 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10014 * lyxfunc.C: remove display_shortcuts, show_banner
10016 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10018 * Buffer_pimpl.C: oops, update on resize
10020 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10027 * BufferView.C: use repaint()
10029 * BufferView_pimpl.h:
10030 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10031 as it's a clearer description. Remove superfluous
10034 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10036 * text.C: fix bug 488. Not ideal, but getting
10037 getWord() to work properly for the insets that
10038 matter is more difficult ...
10040 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10042 * BufferView_pimpl.C:
10045 * lyxfunc.C: remove the six million index lyxfuncs to just
10046 one, and DTRT (bug 458)
10048 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10052 * BufferView_pimpl.h:
10053 * BufferView_pimpl.C: clean up resize() stuff,
10054 and unnecessary updateScreen()s
10056 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10060 * BufferView_pimpl.h:
10061 * BufferView_pimpl.C:
10064 * minibuffer.C: remove focus management of workarea,
10065 not needed. Use screen's greyOut()
10067 2002-06-17 Herbert Voss <voss@lyx.org>
10069 * converter.C: (convert) do not post a message, when converting
10070 fails, let the calling function decide what to do in this case
10072 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10074 * lyxfunc.C: tidy up a little
10076 2002-06-16 <alstrup@diku.dk>
10078 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10079 Got rid of FORMS_H_LOCATION include. Now we are
10082 2002-06-15 LyX Development team <lyx@rilke>
10084 * buffer.[Ch] (sgmlOpenTag):
10085 (sgmlCloseTag): Added support for avoiding pernicious mixed
10086 content. Return number of lines written.
10088 (makeLinuxDocFile):
10089 (makeDocBookFile): Fixed calls to sgml*Tag.
10090 Simple white space clean.
10092 (simpleDocBookOnePar): Simple white space clean.
10094 * tabular.[Ch] (docBook): Renamed to docbook and got another
10095 argument to related with the pernicious mixed content.
10097 (docbookRow): Fixed calls for docbook inset method.
10099 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10101 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10102 so it's X11 independent.
10106 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10108 2002-06-15 Lyx Development team <lyx@electronia>
10110 * intl.h: Renamed getTrans to getTransManager.
10112 2002-06-14 Angus Leeming <leeming@lyx.org>
10114 * Makefile.am: nuke forgotten stl_string_fwd.h.
10116 2002-06-12 Angus Leeming <leeming@lyx.org>
10118 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10120 2002-06-13 Angus Leeming <leeming@lyx.org>
10123 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10125 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10127 * kbmap.C (getiso): add support for cyrillic and greek
10129 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10133 * BufferView_pimpl.h:
10134 * BufferView_pimpl.C: move bogus scrolling logic
10137 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10140 * BufferView_pimpl.C: view->resize() change
10142 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10144 * BufferView_pimpl.C: topCursorVisible
10147 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10151 * lyx_gui.C: move to frontends/
10155 * lyx_main.C: changes from above
10157 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10164 * lyx_main.C: minor tidy
10166 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10168 * BufferView_pimpl.h:
10169 * BufferView_pimpl.C:
10171 * BufferView.C: make painter() const,
10174 * BufferView2.C: use screen() accessor
10177 * lyx_main.C: some minor cleanup
10179 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10181 * BufferView_pimpl.h:
10182 * BufferView_pimpl.C: remove enter/leaveView,
10185 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10190 * BufferView_pimpl.h:
10191 * BufferView_pimpl.C: only construct screen once,
10194 * lyxrc.C: remove pointless comment
10196 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10199 * BufferView.C: remove active() and belowMouse()
10201 * BufferView_pimpl.h:
10202 * BufferView_pimpl.C: use workarea() not workarea_,
10203 and make it use a scoped_ptr instead
10205 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10207 * lyx_gui.C: add debug message on BadWindow
10209 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10211 * sp_spell.C: fdopen is not part of the C++ standard.
10213 * paragraph.C (InsetIterator): use >= instead of ==
10215 2002-06-07 Angus Leeming <leeming@lyx.org>
10217 Fixes needed to compile with Compaq cxx 6.5.
10218 * BufferView_pimpl.C:
10225 * lyxtextclasslist.C:
10230 all c-library variables have been moved into namespace std. Wrap
10231 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10236 Add a using std::abs declaration.
10238 * kbmap.h (modifier_pair):
10239 * paragraph.h (InsetTable, InsetList):
10240 * lyxfont.h (FontBits):
10241 type definition made public.
10243 * bufferlist.C (emergencyWriteAll): the compiler complains that
10244 there is more than one possible lyx::class_fun template to choose from.
10245 I re-named the void specialisation as lyx::void_class_fun.
10247 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10249 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10250 the compiler is is unable to find tostr in write_attribute.
10252 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10254 * buffer.C (sgmlError): hide #warning
10256 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10258 * xtl/*: get rid of xtl, which is not in use anyway
10260 * LyXAction.C (init):
10261 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10262 were unimplemented xtl experimentation
10264 2002-06-04 André Pönitz <poenitz@gmx.net>
10266 * lyxfunc.C: disable array operation on simple formulae
10268 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10270 * converter.C: constify a bit
10272 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10274 * lyx_gui.C: check xforms version correctly
10276 2002-04-30 Herbert Voss <voss@lyx.org>
10278 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10281 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10283 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10284 attempt to register it with a VCS)
10286 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10288 * lyx_main.C (init): honor variables LYX_DIR_13x and
10291 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10295 * lyx_main.C: fix a crash on bad command line,
10296 and give a useful exit status on error
10298 * lyxfunc.C (doImport): allow -i lyx to work
10300 2002-03-30 André Pönitz <poenitz@gmx.net>
10302 * lyxfunc.C: mathed font changes
10304 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10319 * trans_mgr.h: srcdocs, and some minor cleanups
10321 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10323 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10324 call getFont all the time)
10326 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10328 * switch from SigC signals to boost::signals
10330 2002-05-29 André Pönitz <poenitz@gmx.net>
10332 * paragraph_pimpl.C (getChar): don't call size() too often...
10334 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10336 * paragraph_pimpl.C (insertChar): do not try to update tables when
10337 appending (pos == size())
10339 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10340 in order to reduce drastically the number of comparisons needed to
10341 parse a large document
10343 2002-05-29 André Pönitz <poenitz@gmx.net>
10349 * textclasslist.[Ch]:
10350 * sp_ispell.h: whitespace change
10352 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10354 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10355 lyxaction directly now.
10357 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10361 * lyxvc.C: remove unused headers
10363 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10370 * undo_funcs.C: some cleanups. Use shared_ptr
10371 and a template for the undo stacks.
10373 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10375 * BufferView_pimpl.h:
10376 * BufferView_pimpl.C:
10383 * text2.C: use key_state/mouse_state
10385 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10387 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10390 * chset.C: change include order
10391 (loadFile): use boost regex and get rid of LRegex and LSubstring
10393 * Makefile.am (BOOST_LIBS): new variable
10394 (lyx_LDADD): use it
10396 * LaTeX.C: change include order.
10397 (scanAuxFile): use boost regex and get rid of LRegex and
10401 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10406 * FontInfo.C: moved to frontends/xforms/
10409 * FontLoader.C: moved into frontends for GUIIzation
10414 * lyxfunc.C: changes from above
10416 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10418 * LColor.C: remove spurious X include
10420 * BufferView_pimpl.C:
10425 * text2.C: move font metrics to frontends/
10427 2002-05-24 Juergen Vigna <jug@sad.it>
10429 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10430 setting the undo_cursor.
10432 * ParagraphParameters.h: include local includes first.
10434 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10436 * BufferView_pimpl.C:
10437 * BufferView_pimpl.h:
10441 * screen.C: move WorkArea into frontends/
10447 * BufferView2.C: move LyXScreen into frontends/
10451 * lyx_gui.C: move lyxlookup into frontends/xforms/
10453 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10456 * BufferView_pimpl.C:
10466 * bufferview_funcs.C:
10479 * vc-backend.C: move LyX/XFormsView into frontends/
10481 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10493 * text2.C: move Painter to frontends/
10495 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10497 * buffer.C: comment out some some code that depend upon lyx_format
10500 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10501 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10503 * buffer.h (NO_COMPABILITY): turn off compability
10505 * ColorHandler.C: include scoped_array.hpp
10507 * font.C: Use more specific smart_ptr header.
10510 * ShareContainer.h: ditto
10511 * lyx_main.h: ditto
10513 * FontInfo.h: ditto
10514 * BufferView_pimpl.h: ditto
10515 * ColorHandler.h: ditto
10517 * kbmap.C (defkey): change call to shared_ptr::reset
10519 2002-05-21 Juergen Vigna <jug@sad.it>
10521 * buffer.C (insertErtContents): fix to insert ert asis if it is
10522 non empty. Skip it completely if it contains only whitespaces.
10524 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10526 * BufferView_pimpl.C:
10527 * BufferView2.C: clear selection on paste (bug 393)
10529 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10531 * DepTable.C: include ctime
10533 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10535 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10537 2002-05-14 Juergen Vigna <jug@sad.it>
10539 * text.C (breakParagraph): fixed function to honor the keepempty
10540 layout in the right maner and also to permit the right breaking
10541 algorithm on empty or non empyt keepempty paragraphs.
10543 * paragraph.C (breakParagraph): we have to check also if the par
10544 is really empty (!size()) for isempty otherwise we do the wrong
10547 2002-05-10 Juergen Vigna <jug@sad.it>
10549 * buffer.[Ch] : The following are only changes to the ert
10550 compatibility read reading old LaTeX layout and font stuff and
10551 convert it to ERTInsets.
10553 * buffer.h: added isErtInset().
10555 * buffer.C (struct ErtComp): add a fromlayout bool to check
10556 if we're inside a LaTeX layout.
10557 (isErtInset): new helper function.
10558 (insertErtContents): look for other ert insets before this one
10559 and insert the contents there, so that we don't have subsequent
10560 ERT insets with nothing between them. This way we create only one
10561 inset with multiple paragraphs. Also check if we don't insert only
10562 spaces ' ' as they are ignored anyway afterwards in the .tex file
10563 so if we have only spaces we will ignore this latex part in the
10565 (parseSingleLyXformat2Token \\layout): better compatibility when
10566 reading layout-latex stuff.
10567 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10569 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10570 stuff after reading the inset only get the information back from
10573 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10575 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10577 * LaTeXFeatures.C (getBabelOptions): New method.
10579 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10581 * BufferView_pimpl.C (Dispatch): work around missing argument for
10584 2002-05-08 Juergen Vigna <jug@sad.it>
10586 * text.C (leftMargin): handle paragraph leftindent.
10588 * paragraph.C (writeFile): write the new \\leftindent tag.
10589 (validate): handle leftindent code.
10590 (TeXEnvironment): handle paragraphleftindent code again.
10592 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10594 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10595 for paragrap_extra indent code and new token \\leftindent.
10596 (latexParagraphs): handle the leftindent as environment.
10598 * ParameterStruct.h: added leftindent support.
10600 * ParagraphParameters.C (leftIndent): added support functions for
10601 the paragraph left indent.
10603 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10606 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10608 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10611 * text.C (computeBidiTables): No bidi in insetERT.
10613 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10616 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10618 * version.C.in: pre 5
10620 2002-05-02 José Matos <jamatos@fep.up.pt>
10621 * buffer.C (makeDocBookFile): white space changes, add newline to
10623 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10625 * tabular.C (docBook): fix typo.
10627 2002-05-03 Juergen Vigna <jug@sad.it>
10629 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10630 change in LyXText as we can not be sure it was not freed.
10631 (drawOneRow): remove unused code.
10633 * text.C (drawInset): redo the calculation of the need_break_row as
10634 it could have a row which was already freed.
10635 (draw): look at the return value of drawInset and return false if
10636 it also returned false.
10637 (paintRowText): look at the return value of draw and return false if
10638 it also returned false.
10640 * lyxtext.h: added bool return type to drawInset() and draw() so that
10641 if we have a change in the row so that the rowbreak has to be redone
10642 we abort drawing as it will be called again.
10644 2002-05-02 Juergen Vigna <jug@sad.it>
10646 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10647 a change in the maintext also if we're inside an inset.
10648 (Dispatch): set the cursor again after a break line and after the
10649 screen has been updated as it could be we're in a different row.
10651 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10652 to set the cursor behind the pargraph with > size().
10653 (setCursor): check also for the same paragraph when checking where
10654 to put the cursor if we have a NFR inset.
10656 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10657 parts of layout read further up as it still was in the wrong
10660 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10662 * screen.C (drawFromTo): change sine fullRebreak always return
10665 * buffer.C (parseSingleLyXformat2Token): reindent some
10667 * BufferView_pimpl.C (update): change since fullRebreak always
10669 (Dispatch): git rid of the last hardcoded "Standard"s.
10671 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10673 * text2.[Ch] (fullRebreak): make it return void now that we always
10676 2002-04-30 Juergen Vigna <jug@sad.it>
10678 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10679 ert compatibility check for "latex" layout.
10681 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10683 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10684 minipages: use col% instead of p%, and also use the current font.
10685 (makeLaTeXFile): Fix use babel condition.
10686 (parseSingleLyXformat2Token): Correct font when reading old floats.
10688 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10690 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10691 inserting list of floats.
10693 2002-04-25 Herbert Voss <voss@lyx.org>
10695 * MenuBackend.C (expand): don't add the graphics extensions to the
10698 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10700 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10701 non-existing layout, do not complain if it was the default layout
10702 of the original class (bug #342)
10704 2002-04-24 Juergen Vigna <jug@sad.it>
10706 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10707 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10709 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10711 * buffer.C (getBibkeyList): If using \bibliography, return the
10712 option field with the reference itself. Enables us to provide natbib
10713 support when using \bibliography.
10715 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10717 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10719 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10720 natbib is provided by the LaTeX class.
10722 2002-04-23 Juergen Vigna <jug@sad.it>
10724 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10727 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10729 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10731 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10733 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10734 ensuremath around textordmasculine, textordfeminine and
10737 2002-04-19 Juergen Vigna <jug@sad.it>
10739 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10740 reinitializing the buffer otherwise row-dimensions may be wrong.
10741 (update): reset also the selection cursors if they do exits otherwise
10742 their x/y positions may be wrong.
10744 * text2.C (cursorDown): don't enter the inset if we came from a row
10745 above and are one row over the inset.
10747 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10748 really leaving an inset.
10750 2002-04-18 Juergen Vigna <jug@sad.it>
10752 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10753 of the selected paragraph does not have the selected layout also if
10756 * text2.C (setLayout): fixed bug which did not change last selected
10759 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10760 changed the read and substituted \\end_float with \\end_inset!
10762 * BufferView_pimpl.C (cursorPrevious):
10763 (cursorNext): fixed to make it work with rows heigher than the work
10764 area without moving the cursor only the draw of the row.
10765 (workAreaMotionNotify): fix jumping over high rows.
10767 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10769 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10772 2002-04-16 Juergen Vigna <jug@sad.it>
10774 * text2.C (setCursor): set also the irow().
10775 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10777 (cursorDown): support for locking an inset if the x_fix value goes
10778 inside it. That way I can transverse insets too with cursor up/down.
10780 * lyxrow.h: added irow helper function same as other (i) functions.
10782 * BufferView_pimpl.C (cursorPrevious):
10783 (cursorNext): fixed for insets!
10785 2002-04-15 Juergen Vigna <jug@sad.it>
10787 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10788 position otherwise it is wrong in some cases.
10790 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10791 inside the inset before the call.
10793 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10795 * buffer.[Ch] (getBibkeyList): make it const.
10797 2002-04-12 Juergen Vigna <jug@sad.it>
10799 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10801 * text2.C (getCursorX): new helper function
10802 (setCursor): compute also ix_
10803 (setCursorFromCoordinates): set also ix.
10805 * lyxcursor.h: added ix_ and helper functions.
10807 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10809 * buffer.C (insertStringAsLines): dont break paragraph if the this
10810 paragraph is inside an inset which does not permit it!
10812 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10813 also with no chars on this paragraph.
10814 (paintRowText): only paint stuff if it's inside the workarea!
10816 * paragraph.C (breakParagraph): honor keepempty flag and break the
10817 paragraph always below not above.
10819 * BufferView2.C (unlockInset): update the paragraph layout on inset
10820 unlock as we changed paragraph in such a case.
10822 * lyxfind.C (LyXFind): clear the former selection if not found!
10824 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10825 again called in insertChar().
10827 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10828 an inset which uses the whole row!
10829 (rightMargin): ditto.
10830 (insertChar): force a rebreak if we inserted an inset!
10832 2002-03-28 Herbert Voss <voss@lyx.org>
10834 * lyxlength.[Ch]: add inBP() to get the right PS-point
10835 units (BigPoint). With inPixels we have rounding errors
10837 2002-04-11 Juergen Vigna <jug@sad.it>
10839 * text2.C (setCursorFromCoordinates): set iy to the right value.
10840 (setCursor): add check if row->previous exists!
10842 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10843 an old float_type as this was the case in the old code!
10845 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10847 * BufferView2.C (showLockedInsetCursor): use iy
10848 (fitLockedInsetCursor): ditto
10850 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10851 locked insets as there we have the right value now.
10853 * lyxcursor.C: added iy_ variable and iy functions to set to the
10854 baseline of cursor-y of the locked inset.
10856 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10857 (setCursor): fixed for insets which need a full row.
10859 * text.C (rowLastPrintable): don't ignore the last space when before
10860 an inset which needs a full row.
10861 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10862 as last character of a row when before a inset which needs a full row.
10864 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10866 * version.C.in: update date
10868 * text2.C (fullRebreak): try to always return true and see what
10871 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10873 * MenuBackend.C (expand): use Floating::listName
10875 * FloatList.C (FloatList): add listName argument to the built-in
10878 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10879 text associated with the float.
10881 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10883 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10885 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10887 * ShareContainer.h: add a couple of missing typenames.
10889 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10891 * lyxrc.C (getDescription): use _() correctly rather than N_().
10893 2002-03-28 Herbert Voss <voss@lyx.org>
10895 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10896 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10898 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10900 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10901 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10903 2002-03-29 Juergen Vigna <jug@sad.it>
10905 * lyxfunc.C (dispatch): add a missing fitCursor call.
10907 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10908 it was scrolled by a cursor move, so return the bool status.
10910 * BufferView.C (fitCursor): return the bool flag also to the outside
10911 world as this is needed.
10913 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10915 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10916 call the edit() as it is not needed (and wrong) IMO.
10917 (workAreaButtonPress): set the screen_first variable before evt.
10918 unlock the inset as this may change screen_first and then we have
10919 a wrong y position for the click!
10921 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10923 * MenuBackend.C (expand): another translation that I missed
10925 2002-03-28 Juergen Vigna <jug@sad.it>
10927 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10929 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10931 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10933 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10935 * MenuBackend.C (expand): fix export/view/update when there is no
10938 2002-03-27 Herbert Voss <voss@lyx.org>
10940 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10943 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10945 * bufferview_funcs.C (currentState): only show paragraph number
10946 for is DEVEL_VERSION is set.
10948 * lyxfunc.C (dispatch): put warning in INFO channel
10950 * MenuBackend.C (expand): translate the name of floats
10952 * FloatList.C (FloatList): mark the float names for translation
10954 * converter.C (convert): use LibScriptSearch
10956 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10958 * MenuBackend.C (defaults): fix default menu (we might as well get
10961 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10963 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10966 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10968 * lyxvc.C: reorder includes.
10970 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10972 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10975 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10977 * CutAndPaste.C: change layouts earlier on paste
10978 to avoid crashing when calling getFont()
10980 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10982 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10985 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10987 * WorkArea.C: remove 'Pending' debug message.
10989 * most files: ws cleanup
10991 * buffer.[Ch]: ws changes
10993 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10995 2002-03-21 Juergen Vigna <jug@sad.it>
10997 * tabular.C (SetMultiColumn): collapse also the contents of the
10998 cells and set the last border right. Added a Buffer const * param.
11000 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11002 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11005 2002-03-19 Juergen Vigna <jug@sad.it>
11007 * text2.C (clearSelection): reset also xsel_cache.
11009 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11010 where it needs to be called (John tells us to do so too :)
11011 (selectionLost): reset sel_cache.
11013 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11015 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11017 * text2.C (setCursorIntern): put debuging code in INSETS channel
11019 2002-03-19 André Pönitz <poenitz@gmx.net>
11021 * lyxfunc.C: tiny whitespace change
11023 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11025 * ToolbarDefaults.C (init):
11026 * LyXAction.C (init):
11028 * BufferView_pimpl.C (Dispatch):
11029 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11031 2002-03-19 Allan Rae <rae@lyx.org>
11033 * exporter.C (Export): removeAutoInsets before doing anything else.
11034 While I've just introduced a dependency on BufferView this really is
11035 the best place to clean the buffer otherwise you need to cleanup in
11036 a dozen places before calling export or cleanup in a dozen functions
11039 * converter.C (runLaTeX):
11040 (scanLog): Better handling of removeAutoInsets and screen updates.
11042 * lyxfunc.C (dispatch): small whitespace changes
11044 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11046 * WorkArea.C (C_WorkAreaEvent): return a value.
11047 (event_cb): return 1 if we handled the event, 0 otherwise.
11049 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11051 2002-03-18 Juergen Vigna <jug@sad.it>
11053 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11054 (GetAdditionalWidth): ditto.
11055 (RightLine): ditto.
11058 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11059 inset if we're there actually (probably not used right now but this
11060 is the direction to go for unifying code).
11061 (paste): disable code to clear the selection.
11063 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11064 inside an InsetText and move the check further up as it is in the
11067 * text2.C (pasteSelection): set a selection over the pasted text.
11069 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11071 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11072 and libgraphics to build on Cygwin.
11074 2002-03-15 Juergen Vigna <jug@sad.it>
11076 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11077 inserting an Inset into the paragraph. I know this is not the best
11078 fix but we already use current_view in CutAndPaste so we will remove
11079 all of it's using at the same time.
11081 * buffer.C (sgmlError): deactivated function till it is rewritten in
11082 the right mode, now it can create problems.
11084 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11085 before accessing it.
11087 2002-03-14 Juergen Vigna <jug@sad.it>
11089 * undo_funcs.C (textHandleUndo): do the right thing when updating
11090 the inset after the undo/redo.
11092 * text2.C (setCursor): just some testcode for #44 not ready yet.
11094 * undo_funcs.C (textHandleUndo): set the next() and previous()
11095 pointers of the paragraph to 0 before deleting otherwise we have
11096 problems with the Paragraph::[destructor].
11098 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11099 on a paragraph insertion.
11101 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11103 * buffer.C (asciiParagraph): use += operator for char append to
11106 * paragraph.C (getFontSettings): compare >= not just >
11107 (highestFontInRange): ditto
11110 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11112 * paragraph.C: change several algorithm to be more appripriate for
11113 the problem domain. This is lookip in FontList and in the InsetList.
11115 2002-03-13 André Pönitz <poenitz@gmx.net>
11118 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11120 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11125 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11127 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11129 * Painter.C (display): anon helper function, adjust code for this
11131 (pixmap): remove function.
11133 * Painter.h: remove private display variable.
11135 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11137 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11139 * WorkArea.[Ch]: remove figinset_canvas cruft.
11141 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11143 * lyxtextclass.C (operator): add one item cache optimization.
11145 * bufferlist.h: doxy changes
11147 * bufferlist.C: ws changes
11149 * DepTable.[Ch] (ext_exist): place const in the right spot.
11151 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11153 (workAreaExpose): call resizeInsets when the with BufferView changes.
11154 (Dispatch): adjust for protectedBlank removal
11155 (specialChar): call updateInset if the insert went ok.
11157 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11158 specialChar instead.
11160 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11162 * BufferView.h: doxy change
11164 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11166 * lyxtextclass.C (operator[]): remove non-const version
11167 (defaultLayout): remove non-const version
11169 2002-03-12 Juergen Vigna <jug@sad.it>
11171 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11172 did resize the LyXText too.
11174 * buffer.C (readLyXformat2): set layout information on newly allocated
11177 * tabular.C (OldFormatRead): set layout information on the paragraph.
11179 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11181 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11183 2002-03-11 Juergen Vigna <jug@sad.it>
11185 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11187 (resizeCurrentBuffer): force also the insets to resize themselfes.
11188 (moveCursorUpdate): fixed up for InsetText.
11190 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11193 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11194 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11195 value of Dialogs::tooltipsEnabled().
11196 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11198 2002-03-08 Juergen Vigna <jug@sad.it>
11200 * BufferView_pimpl.C (updateInset): update inset inside inset also
11201 if it isn't inside theLockingInset().
11203 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11205 * buffer.C (asciiParagraph): redo some of the word and line length
11207 (getLists): look for Caption instead of caption.
11209 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11211 * buffer.C (Buffer): initialize niceFile to true
11213 (makeLinuxDocFile):
11214 (makeDocBookFile): make sure niceFile is true on exit
11216 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11218 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11220 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11222 * LyXSendto.C: remove.
11223 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11224 * lyx_gui.C: remove now-redundant comment.
11225 * ColorHandler.h: remove forward declaration of class WorkArea.
11226 * lyxfunc.C: remove #include "WorkArea.h".
11228 2002-03-07 Juergen Vigna <jug@sad.it>
11230 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11231 got moved away with the DEPM and also set the inset_owner always
11232 right which before could have been omitted.
11234 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11236 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11237 wanted layout is not found.
11239 2002-03-07 Juergen Vigna <jug@sad.it>
11241 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11243 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11245 * paragraph.C (breakParagraph): use default layout not layout of
11247 (Paragraph): clear ParagraphParameters.
11249 2002-03-06 Juergen Vigna <jug@sad.it>
11251 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11252 otherwise it would not be a valid lenght. Fixed a special case in
11253 the minipage compatibility read where we end the document with a
11256 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11257 was set as it could be 0 for InsetTexts first entry.
11259 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11261 * paragraph.C (writeFile): if layout is empty write out
11262 defaultLayoutName().
11264 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11265 file without named layout we set layout to defaultLayoutName().
11267 2002-03-06 Juergen Vigna <jug@sad.it>
11269 * CutAndPaste.C (copySelection): set layout for new paragraph.
11271 * text.C (prepareToPrint): leave ERT inset left aligned
11272 (leftMargin): don't indent paragraphs inside ERT insets
11274 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11276 * paragraph.C (breakParagraph): dont call clear do the work manually
11278 * paragraph.[Ch] (clear): remove function
11280 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11282 * paragraph.C (Paragraph): dont call clear, the work has already
11285 * lyxtextclass.C (operator): assert if n is empty
11287 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11288 work manually instead.
11290 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11292 * BufferView_pimpl.C: protect selectionLost against text == 0
11294 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11296 * text.C (breakParagraph): fix a setting layout to '0' problem.
11298 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11300 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11301 final location of file, for the included files, and graphics.
11303 2002-03-05 Juergen Vigna <jug@sad.it>
11305 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11307 2002-03-04 Juergen Vigna <jug@sad.it>
11309 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11311 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11312 last column of multicolumn cells.
11313 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11315 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11317 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11318 file if it doesn't go to a temporary file.
11320 * buffer.C (sgmlOpenTag):
11321 (sgmlCloseTag): remove extra newline insertion.
11323 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11325 * text.C (getRowNearY): comment out debug msg
11327 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11329 * text2.C: first -> first_y
11331 * text.C (getRowNearY): add some attemts at a possible
11332 optimization, not working.
11334 * tabular.[Ch]: add BufferParams to several function so that newly
11335 created paragraph can be initialized to he default layotu for the
11338 * tabular-old.C (ReadOld): add buf->params to call of Init
11340 * screen.C: rename text->first to text->first_y
11342 * paragraph.C (breakParagraph): always set layout in the broken
11345 * lyxtextclass.C (Read): remove lowercase
11348 (delete_layout): ditto
11350 * lyxtext.h: rename first -> first_y
11352 * lyxlayout.C (Read): remove lowercase
11355 (obsoleted_by): ditto
11357 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11359 * buffer.C (insertErtContents): add params are to InsetERT
11360 (parseSingleLyXformat2Token): add code to check if a paragraphs
11361 layout really exist.
11362 (parseSingleLyXformat2Token): add params to several inset
11364 (asciiParagraph): remove lowercase, do the layout comparisons with
11367 * BufferView_pimpl.C (cursorNext): first -> first_y
11368 (resizeCurrentBuffer): first -> first_y
11369 (updateScrollbar): first -> first_y
11370 (scrollCB): first -> first_y
11371 (workAreaMotionNotify): first -> first_y
11372 (workAreaButtonPress): first -> first_y
11373 (checkInsetHit): first -> first_y
11374 (cursorPrevious): first -> first_y
11375 (cursorNext): first -> first_y
11376 (Dispatch): add buffer_->params to severl inset contructors
11378 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11380 * lyxlayout.C (Read): remove some debug info that I forgot.
11382 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11383 clean up the code slightly.
11384 (makeLinuxDocFile): ditto
11385 (makeDocBookFile): ditto
11387 * text2.C: layout as string
11389 * text.C: layout as string
11391 * paragraph_pimpl.C: layout as string
11393 * paragraph.[Ch]: layout as string
11395 * lyxtextclasslist.[Ch]: layout as string
11397 * lyxtextclass.[Ch]: layout as string
11399 * lyxtext.h: layout as string
11401 * lyxlayout.[Ch]: layout as string
11403 * lyx_cb.C: layout as string
11405 * bufferview_funcs.C: layout as string
11407 * bufferparams.C: layout as string
11409 * buffer.C: layout as string
11411 * LyXView.[Ch]: layout as string
11413 * LaTeXFeatures.[Ch]: layout as string
11415 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11417 * BufferView_pimpl.C: change current_layout to string, remove
11422 (workAreaButtonRelease): layout as string
11424 * BufferView2.C (unlockInset): adjust
11426 * vspace.C (asLatexCommand): use an explict temp variable.
11428 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11430 * Makefile.am: use FRONTEND_*
11432 2002-03-01 Juergen Vigna <jug@sad.it>
11434 * tabular.C (SetWidthOfMulticolCell): changed to something better
11435 I hope but still work in progress.
11436 (recalculateMulticolumnsOfColumn): renamed function from
11437 recalculateMulticolCells as it is more appropriate now.
11438 (SetWidthOfCell): calculate multicols better.
11440 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11442 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11444 * lyxfunc.C (processKeySym): print sequence also if it is
11445 `deleted' (complete)
11447 * kbsequence.C (print): print sequence even if it is deleted
11448 (complete would be a better word, actually).
11450 * lyxfunc.C (dispatch): print complete options after a prefix key
11452 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11454 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11456 * text2.C (setCharFont): eliminate setCharFont code duplication.
11458 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11460 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11461 LFUN_TABULAR_FEATURE (bug #177)
11463 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11465 * Makefile.am: remove figure.h
11467 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11469 * Bufferview_pimpl.C:
11481 * text2.C: remove #include "lyx_gui_misc.h".
11483 * LaTeX.C: added #include <cstdio>
11485 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11487 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11488 that the paragraph following this one can have.
11490 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11492 * vspace.C (asLatexCommand): fix bogus gcc warning
11494 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11496 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11498 * text2.C (setLayout): get rid of redundant code
11500 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11502 * text2.C (incDepth): make sure depth cannot be increased beyond
11505 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11507 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11508 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11510 * PainterBase.h (image):
11511 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11512 a LyXImage const *.
11514 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11518 * BufferView_pimpl.C:
11519 * BufferView_pimpl.h:
11539 * sp_spell.C: remove fig inset, and the crap house of
11540 cards that follows it
11542 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11547 * os2_errortable.h:
11548 * nt_defines.h: move .h into support/
11550 * vms_defines.h: remove
11552 * WorkArea.C: add space in debug output
11556 * buffer.C: add WITH_WARNINGS
11560 * bufferlist.C: s/retrive/retrieve/, add docs
11569 * chset.C: add docs
11571 * lyxgui.C: add ID to X error handler
11573 * lyxtestclass.c: fix typo
11575 2002-02-26 Juergen Vigna <jug@sad.it>
11577 * tabular_funcs.C (write_attribute): changed so that some default
11578 attributes are not written at all.
11579 (getTokenValue): set default values before trying to read the
11580 value so we have the return value always set as default if we don't
11581 find the token we search for.
11583 * tabular.C (Write): write bools as bools not as strings!
11585 2002-02-22 Juergen Vigna <jug@sad.it>
11587 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11588 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11590 * text.C (leftMargin): don't add an indent for paragraphs inside
11591 tabular cells (fix #208).
11593 2002-02-21 José Matos <jamatos@fep.up.pt>
11595 * tabular.C (docBook): fixed support for long tables.
11597 2002-02-20 Juergen Vigna <jug@sad.it>
11599 * text2.C (getFont): get the drawing font of the Inset if this
11600 paragraph is inside an inset (only important for InsetERT for now).
11602 * buffer.C (insertErtContents): use new lanugage params in ERT
11605 * CutAndPaste.C: commenting out seemingly uneeded code.
11607 2002-02-19 Allan Rae <rae@lyx.org>
11609 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11610 Iterators might be simple to use but they also get invalidated.
11611 (removeAutoInsets): renamed saved cursor tracking variables and added
11612 some comments to clarify what everything does.
11614 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11621 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11622 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11625 * vc-backend.h: remove #include "support/syscall.h"
11629 * converter.C: rearrange #includes in Lars' approved fashion.
11631 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11632 forward declare class Timeout in the header file.
11634 * XFormsView.C: changes due to the above.
11636 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11637 similar to LyXView.
11639 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11640 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11642 2002-02-18 José Matos <jamatos@fep.up.pt>
11644 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11647 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11649 * a lot of small ws changes
11650 * add a lot of using std::XXX
11651 * use std construcs some places where approp.
11652 * use some exisint stuff from lyxfunctional where approp.
11653 * Make file changes to use partial linking (lets test this now...)
11655 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11659 remove #include "support/syscontr.h" as it's redundant. Always has been.
11667 change Systemcalls::System to Systemcalls::Wait and
11668 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11669 No change of functionality, just reflects the stripped down Systemcalls
11672 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11674 * debug.[Ch]: add a GRAPHICS type to the enum.
11676 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11678 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11680 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11683 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11685 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11686 match the changes below.
11688 * text2.C (toggleInset): if there is not editable inset at cursor
11689 position, try to see if cursor is _inside_ a collapsable inset
11692 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11694 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11695 document menu has a nice checkbox
11697 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11699 * lyxlength.C (asLatexString): change PW to output as percent of
11702 * lengthcommon.C: change '%' to 't%'
11704 * lyxfunc.C (dispatch): a few comments from Martin
11706 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11710 * BufferView_pimpl.h:
11711 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11714 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11716 * vspace.C (inPixels): fix compiler warning
11718 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11720 * lyxfunc.C (getStatus): fix status message for disabled commands.
11722 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11724 * BufferView_pimpl.C: fix crash on close buffer
11725 during selection (#227)
11727 2002-01-27 Herbert Voss <voss@lyx.org>
11729 * buffer.C: link old Figure to new graphic inset
11731 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11733 * FontLoader.C (getFontinfo): Change the latex font names in order
11734 to match the names of type1inst.
11736 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11738 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11740 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11741 (extchanged): ditto
11743 (remove_files_with_extension): ditto
11744 (remove_file): ditto
11747 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11748 document is smaller than the work area height. Do not initialize
11749 static variables to 0.
11751 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11753 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11755 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11756 LFUN_LAYOUT_PARAGRAPHS.
11758 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11759 tabular. It is possible to provide a possible cell, which will
11760 typically be the actcell from the corresponding insettabular
11762 * lyxfunc.C (getStatus): small cleanup; disable
11763 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11766 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11768 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11770 * paragraph.C (startTeXParParams):
11771 (endTeXParParams): new methods. The LaTeX code to
11772 start/end paragraph formatting
11773 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11774 empty (fixes bug #200)
11776 * vspace.C (inPixels): adapt to the change below
11777 (inPixels): [later] more cleanups (remove unused variables)
11779 * lyxlength.C (inPixels): change to use a width and a height as
11782 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11784 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11785 Replaced with \paperwidth
11787 * DepTable.C (insert): add std:: qualifier
11789 2002-01-18 Allan Rae <rae@lyx.org>
11791 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11794 * text.C (drawInset): Turned out I didn't know enough about how
11795 rebreaking worked. This fixes most of the redraw problems. I see
11796 an occasional cursor trail when a line is broken now and the cursor
11797 placement can seem out by a few pixels also after a rebreak.
11799 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11801 * buffer.C (parseSingleLyXformat2Token): update because minipage
11802 width is now a LyXLength
11804 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11806 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11809 2002-01-17 Juergen Vigna <jug@sad.it>
11811 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11813 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11814 is set correctly and the inset is updated correctly.
11816 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11818 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11819 the beginning of the loop.
11821 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11823 * lyxrc.C: improve help for use_scalable_fonts
11825 2002-01-17 Allan Rae <rae@lyx.org>
11827 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11829 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11831 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11832 make sure to set their inset_owner to the right value (bug #171)
11834 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11837 * DepTable.C: Implement mtime checking to reduce time spent doing
11840 2002-01-16 Juergen Vigna <jug@sad.it>
11842 * tabular.C (GetAdditionalHeight): one of error fixed.
11844 * lyxrc.C (output): small fix in writing use_pspell.
11846 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11848 * sp_base.h: #include LString.h
11850 2002-01-16 Allan Rae <rae@lyx.org>
11852 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11853 Can someone check this please?
11855 * text.C (drawInset): It was possible that p.row would be removed by
11856 breakAgainOneRow upsetting a few other settings. There may be another
11857 small tweak possible by setting need_break_row = 0 when p.row has been
11858 removed but I don't know enough about the logic here.
11860 2002-01-15 Allan Rae <rae@lyx.org>
11862 * text.C (insertChar): removed conditional truism.
11864 * BufferView2.C (removeAutoInsets): More tweaks.
11865 cur_par_prev could be a stray pointer. Check for trailing empty line
11866 in case last line was cur_par and only had an error inset on it.
11868 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11870 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11873 * vc-backend.C (most methods):
11874 * exporter.C (Export):
11875 * converter.C (convert):
11877 * LyXSendto.C (SendtoApplyCB):
11878 * lyxfunc.C (dispatch):
11882 * lyx_cb.C (AutoSave):
11884 * BufferView_pimpl.C (MenuInsertLyXFile):
11885 * buffer.C (runChktex): use Buffer::filePath().
11887 * buffer.h: rename filename to filename_; rename filepath to
11888 filepath_ and make it private
11889 (filePath): new method
11891 * buffer.C (writeFile): use fileName()
11894 * lyx_main.C (init): fix starting of LyX when the binary is a
11895 link from so,ewhere else.
11897 * minibuffer.C: include <cctype> for isprint
11899 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11901 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11902 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11903 name clash with InsetCollapsable's width function.
11905 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11907 * lastfiles.C: include <iterator>
11909 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11911 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11914 * buffer.C (makeLaTeXFile): ditto.
11915 Also make loop operation more transparent.
11917 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11919 * ToolbarDefaults.C: remove trailing comma closing namespace.
11921 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11923 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11926 * trans.C (Load): comment out unused variable, allowed.
11928 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11930 * minibuffer.[Ch] (append_char): new method to recieve input from the
11931 drop-down completion browser. If a key was pressed, then recieve this
11932 char and append it to the existing string.
11933 (peek_event): modify the positioning data passed to the completion
11934 browser so that it can be placed above the minibuffer rather than below.
11935 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11937 * LyXAction.C (init): alloe error-next for readonly documents.
11939 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11942 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11944 * bufferlist.C (readFile): create the buffer _after_ checking that
11947 * lyxfunc.C (verboseDispatch): fix handling of arguments
11949 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11951 * lyxrc.C: use string::erase() instead of initializing to "".
11954 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11956 * BufferView_pimpl.h:
11957 * BufferView_pimpl.C:
11960 * text2.C: tell X when we have made a selection for copying
11962 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11964 * BufferView_pimpl.C (MenuInsertLyXFile):
11965 * lyxfunc.C (menuNew):
11967 (doImport): add shortcuts to directory buttons
11969 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11972 * lyxfunc.C (setStatusMessage):
11973 (getStatusMessage): new methods
11974 (getStatus):use setStatusMessage instead of setErrorMessage
11975 (dispatch): when function is disabled, set error message here
11976 [instead of in getStatus previously]
11978 * BufferView_pimpl.C (workAreaButtonRelease): update
11979 toolbar/menubar here too.
11981 2002-01-13 Allan Rae <rae@lyx.org>
11983 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11984 Now seems indestructible. Remaining task is to audit all other
11985 code affected by deleteEmptyParagraphMechanism. One small quirk
11986 left is that an empty document with an error in the preamble can
11987 be made to report an error but no error box appears. I don't know
11989 (removeAutoInsets): Improved comments.
11991 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11994 * Thesaurus.C: update for Aiksaurus 0.14
11996 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11998 * text2.C (firstParagraph): removed member function, all uses
11999 replaces with ownerParagraph
12000 (redoParagraphs): here
12001 (updateInset): here
12002 (toggleAppendix): here
12003 * BufferView2.C (insertErrors): here
12004 (setCursorFromRow): here
12006 2002-01-13 Allan Rae <rae@lyx.org>
12008 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12009 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12010 There is still a way to segfault this although you may have to do this
12011 multiple times: Have an InsetERT with an unknown command in it.
12012 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12013 <down-arrow>, <Enter> again, View->DVI, BANG!
12015 * text2.C (setCursor):
12016 (deleteEmptyParagraphMechanism):
12017 * lyxtext.h (setCursor):
12018 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12019 Making use of the return value may help fix other bugs.
12021 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12023 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12025 * LyXView.C (updateMenubar): call MenuBar::update here
12026 (updateToolbar): but not here
12027 (showState): do not update toolbar/menubar
12029 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12030 should need to care about that.
12032 * lyxfunc.C (verboseDispatch): simplify a bit
12033 (getStatus): have a version which takes a pseudoaction, and
12034 another which requires a (kb_action,string).
12036 * LyXAction.C (retrieveActionArg): make it work also when action
12037 is not a pseudo-action.
12038 (getActionName): simplify a bit
12041 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12043 * lyxfunc.C (verboseDispatch): new families of methods with
12044 several ways to specify a command and a bool to indicate whether
12045 the command name and shortcut should be displayed in minibuffer
12046 (eventually, we could extend that to a finer bitmask like
12047 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12048 (dispatch): the pristine dispatch command which just, well,
12049 dispatchs! Note it still sets its result to minibuffer; I'm not
12052 * lyxfunc.h: remove setHintMessage
12054 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12056 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12058 * BufferView_pimpl.C (specialChar): delete new inset if we have
12059 not been able to insert it.
12061 * kbmap.C: revert to using int instead of kb_action, since all we
12062 are dealing with is pseudo-actions.
12064 * LyXAction.C (searchActionArg): change to return int instead of
12065 kb_action, since the result is a pseudoaction.
12067 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12069 * buffer.C (insertErtContents): Fix (partially) the font bug.
12071 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12073 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12074 as the other one is broken on my machine!
12076 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12079 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12081 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12083 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12084 reflect their actual use. Provide compatibility code for older lyxrc
12087 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12089 change names of popup font variables in line with the changes to lyxrc.C
12091 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12093 * buffer.C (asciiParagraph): avoid outputing a word twice after
12096 * lyxrc.C (getDescription): document that document_path and
12097 template_path can be empty.
12099 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12101 * LaTeXFeatures.C (getMacros):
12102 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12104 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12106 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12108 (getPackages): rename feature "floats" to "float". Use an array to
12109 iterate over 'simple' features (i.e. just a \usepackage). Add
12110 handling of "amsmath" (renamed from "amsstyle").
12112 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12114 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12117 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12119 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12120 FuncStaus::FuncStatus & FuncStaus::some_method().
12122 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12124 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12125 of the func_satus stuff. Edited and massaged in various ways by
12128 * lyxfunc.C (getStatus): use FuncStatus
12130 2002-01-08 Juergen Vigna <jug@sad.it>
12132 * text.C (nextBreakPoint): use function Inset::isChar().
12134 * paragraph.C (TeXOnePar): use function
12135 Inset::forceDefaultParagraphs.
12137 * buffer.C (latexParagraphs): use function
12138 Inset::forceDefaultParagraphs.
12140 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12142 * lyx_gui.C (init): set the style of the menu popups to
12143 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12145 2002-01-07 Juergen Vigna <jug@sad.it>
12147 * text.C (setHeightOfRow): small fix
12148 (prepareToPrint): don't look at alignment if we don't have the place
12151 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12153 * box.C: New file. Move the Box methods and functions out of box.h,
12154 following Lars' suggestion.
12156 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12158 * box.h: #include "support/LOstream.h", needed for inlined function.
12161 * lyxtextclasslist.C: added some using std declarations.
12163 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12165 * box.h: make signed dimensions to allow insets wider than
12166 the screen (bug #162)
12168 * BufferView_pimpl.C: add some insetHit debug
12170 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12172 * vc-backend.C: add FIXME
12174 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12176 * lyxfunc.C (getStatus): enable code for showing math font status
12179 2002-01-07 Juergen Vigna <jug@sad.it>
12181 * text.C (nextBreakPoint): removed debug output not needed anymore.
12183 2002-01-06 Juergen Vigna <jug@sad.it>
12185 * text.C (nextBreakPoint): fixed up this function we had this bug
12186 since ever but now hopefully we break row better.
12187 (insertChar): we have to check if an inset is the next char as it
12188 could now happen that a large inset is causing a break.
12190 2002-01-05 Juergen Vigna <jug@sad.it>
12192 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12193 if it doesn't like to be drawed.
12195 2002-01-04 Juergen Vigna <jug@sad.it>
12197 * BufferView2.C (lockInset): forgot to set a cursor.
12199 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12201 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12203 * FormMathsPanel.C:
12206 * form_maths_panel.C:
12207 * form_maths_panel.h:
12208 * form_maths_panel.fd: implemented sub- and super- buttons in math
12211 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12212 (or ^ space) to be used as in TeX (req'd by André).
12214 * lyxfunc.C: Allow ^ and _ again to be used both as
12215 super/subscript (mathed) and as themselves (in text).
12217 2002-01-03 Allan Rae <rae@lyx.org>
12219 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12220 "LyX" or the filename of the current buffer if it has one. This is a
12221 modified form of John Levon's patch.
12223 * XFormsView.C (setWindowTitle): also set icon title.
12225 * LyXView.h (setWindowTitle): signature changed.
12226 * XFormsView.h (setWindowTitle): ditto.
12228 2002-01-02 Juergen Vigna <jug@sad.it>
12230 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12232 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12234 * screen.C (topCursorVisible): introduce a temp var for
12235 text->cursor.row(), handle the case where this row is null. (kindo
12238 * text2.C (setCursor): add a couple of asserts.
12240 * paragraph.h (inset_iterator): add -> operator
12242 * paragraph.[Ch] (autoDeleteInsets): remove member function
12244 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12245 cursor pos correctly and handle inset deletion by itself.
12246 (insertErrors): move iterator declaration out of for expression
12248 * lyxtextclass.C: add <algorithm>
12250 * Makefile.am: added the new files to sources, removed layout.C
12252 * layout.C: removed file
12254 * layout.h: remove LYX_DUMMY_LAYOUT
12256 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12260 * lyxtextclass.[Ch]:
12261 * lyxtextclasslist.[Ch]: new files
12263 * include order changes to a lot of files, also changes because of
12266 2001-12-27 Juergen Vigna <jug@sad.it>
12268 * buffer.C (asciiParagraph): more fixes.
12270 * tabular.C (ascii): make ascii export support export of only the
12271 data separated by a column-delimiter.
12272 (ascii): better support for ascii export.
12274 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12276 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12278 * tabular_funcs.C: use a "using std::getline" instead of the
12279 previous fix from Angus (necessary for cxx + lyxstring)
12281 2001-12-24 Juergen Vigna <jug@sad.it>
12283 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12285 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12286 problems. First check a minipage also if we have some ert-contents
12287 (not only on par->size(), second set the right depth of the paragraph
12288 on the relink to the root-paragraph-list!
12290 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12291 which then did not anymore update the main paragraphs on undo/redo!
12293 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12295 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12296 code. Support all font-changing funcs (even those which are not in
12297 menu currently). Support for reporting font settings in
12298 mathed (disabled until Andre provides a function on mathed's side).
12300 * func_status.h (toggle): small helper function to set toggle
12303 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12305 * tabular_funcs.C: getline -> std::getline
12307 2001-12-21 Juergen Vigna <jug@sad.it>
12309 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12310 accessed and could be 0 (I couldn't generate this but it seems
12313 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12315 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12316 * tabular_funcs.h: here and include iosfwd
12318 2001-12-20 Juergen Vigna <jug@sad.it>
12320 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12321 inside inset but undo_par was.
12323 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12325 * Thesaurus.C: always include <config.h> in sources.
12329 * box.h: do not include <config.h> in header files
12331 * text.C (paintLastRow): remove unused variable
12333 * text.C (transformChar):
12335 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12337 * Painter.C (text):
12338 * font.C (width): rewrite to use uppercase() instead of
12341 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12343 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12345 * lyxfind.C: clean up of find failure position change
12347 2001-12-20 Juergen Vigna <jug@sad.it>
12349 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12351 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12352 (TeXRow): added to LaTeX a single tabular row.
12353 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12354 (Latex): simplified and finally good LT-h/f support.
12355 (various_functions): just small adaptions for LT-h/f support.
12357 * tabular_funcs.[hC]: added and moved here all not classfunctions
12360 2001-12-19 Juergen Vigna <jug@sad.it>
12362 * tabular.[Ch]: better support for longtabular options (not finished
12365 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12367 * text.C (paintLastRow): use the label font instead of the font of
12368 the last character to compute the size of *_BOX. This makes more
12369 sense and avoids a crash with empty paragraphs.
12370 Use Painter::rectangle to draw EMPTY_BOX.
12372 2001-12-19 Juergen Vigna <jug@sad.it>
12374 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12375 the paragraphs if the replaced paragraph is not the first one!
12376 Tried to delete not used paragraphs but does not work yet so for
12377 now it's inside #ifdef's and by default off!
12379 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12381 * MenuBackend.C: include "lyx_main.h" instead of declaring
12382 lastfiles (actually was declared as LastFiles* instead of a
12385 2001-12-17 Juergen Vigna <jug@sad.it>
12387 * tabular.C (AppendColumn): applied John's fix
12389 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12393 * BufferView_pimpl.h:
12394 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12397 * box.h: new start of class for above
12399 * lyxfunc.C: ignore space-only minibuffer dispatches.
12400 Show the command name when it doesn't exist
12402 * minibuffer.C: don't add empty lines to the history
12404 * minibuffer.C: add a space on dropdown completion
12406 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12408 * text.C: fix line above/below drawing in insets
12410 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12412 * lyxlength.C (LyXLength): Initialize private variables.
12414 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12416 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12417 when inserting error insets.
12419 2001-12-13 Juergen Vigna <jug@sad.it>
12421 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12422 actually sometimes the before-paragraph.
12423 (setUndo): don't clear the redostack if we're not actually undoing!
12425 2001-12-06 Juergen Vigna <jug@sad.it>
12427 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12428 and fixed redoing of main paragraph, so we can use it now ;)
12430 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12432 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12434 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12437 2001-12-13 André Pönitz <poenitz@gmx.net>
12440 * undo_func.C: minor cleanup
12442 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12444 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12445 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12446 font in urw-fonts package which is marked as -urw-fontspecific and
12447 does not work (incidentally, changing the encoding in the
12448 fonts.dir of this package to -adobe-fontspecific fixes the
12451 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12452 is a crash when undoing first paragraph (Juergen, please take a
12453 look). THis does not mean the undo fix is wrong, just that it
12456 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12457 the (Paragraph*) version when needed instead of duplicating the
12460 * text.C (workWidth): use Inset::parOwner to find out where the
12461 inset has been inserted. This is a huge performance gain for large
12462 documents with lots of insets. If Inset::parOwner is not set, fall
12463 back on the brute force method
12465 * paragraph_pimpl.C (insertInset):
12466 * paragraph.C (Paragraph):
12467 (cutIntoMinibuffer): set parOwner of insets when
12468 inserting/removing them
12470 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12472 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12478 * mathed/formulabase.C:
12479 * mathed/math_cursor.[Ch]:
12480 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12483 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12485 * lyxlength.[Ch] (operator!=): new function
12487 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12489 * text.C (workWidth): use Inset::parOwner to find out where the
12490 inset has been inserted. This is a huge performance gain for large
12491 documents with lots of insets. If Inset::parOwner is not set, fall
12492 back on the brute force method
12494 * paragraph_pimpl.C (insertInset):
12495 * paragraph.C (Paragraph):
12496 (cutIntoMinibuffer): set parOwner of insets when
12497 inserting/removing them
12499 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12501 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12503 * tabular-old.C (getTokenValue):
12504 * tabular.C (getTokenValue):
12505 (write_attribute): new versions for LyXLength
12506 (everywhere): adjust the use of widths
12508 * tabular.h: change the type of widths from string to LyXLength
12510 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12512 * paragraph.C: fixed missing line number count when exporting
12513 Environments to LaTeX file
12515 * buffer.C: added informational message for checking line numbers.
12517 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12519 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12520 paragraph, do the 'double space' part, but not the 'empty
12523 * text.C (workWidth): small optimization
12524 (getLengthMarkerHeight): use minimal size for negative lengths.
12526 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12528 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12530 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12532 2001-12-11 André Pönitz <poenitz@gmx.net>
12535 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12537 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12539 * text2.C: keep selection on a setFont()
12541 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12543 * lyx_cb.C: another bv->text misuse, from insert label
12545 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12548 * kbsequence.C: re-instate nmodifier mask
12550 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12552 * lyx_main.h: make lyxGUI private.
12554 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12556 * lyxfind.C: place the cursor correctly on failed search
12558 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12560 * text.C (getLengthMarkerHeight): for small heights, the arrows
12561 are not always on top/bottom of the text
12562 (drawLengthMarker): smaller arrows; take the left margin in
12563 account; draw also vfills.
12565 (paintLastRow): remove special code for vfill and standard spaces,
12566 since everything is handled in drawLengthMarker now.
12568 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12570 * buffer.C (insertErtContents): try to handle font and language
12571 interaction a bit better.g
12573 * ColorHandler.C (updateColor): change the hash to cover the whole
12574 LColor enum, ws cleanup
12575 (getGCLinepars): ditto
12576 (getGCLinepars): only lookup in the linecache once.
12578 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12580 * iterators.C (operator++): Make the iterator more robust
12582 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12584 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12586 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12589 * text.C: better added space drawing
12591 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12594 * BufferView2.C: fix layout combo update on inset unlock
12596 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12598 * Makefile.am: don't compile unused files
12600 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12604 * LyXAction.C: remove old LFUN_LAYOUTNO
12606 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12608 * paragraph_pimpl.h:
12609 * paragraph_pimpl.C: isTextAt() doesn't need font param
12611 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12614 * lyxlex.C: little cleanup
12616 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12618 * BufferView_pimpl.C: fix insertAscii for insets
12620 2001-12-05 Juergen Vigna <jug@sad.it>
12622 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12623 set the right font on the "multi" paragraph paste!
12625 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12631 * lyxlength.C: remove out-commented code.
12633 * BufferView_pimpl:
12647 * vc-backend.C: change "while(" to "while ("
12649 * lyxlength.[Ch]: add zero function to check if length is zero or
12651 * lyxgluelength.C: use it
12653 2001-12-05 Allan Rae <rae@lyx.org>
12655 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12656 Works for 2.95.3, from what I understand of Garst's reports this should
12657 work for other g++ versions. We're screwed if the abs(int) definition
12658 changed between bugfix releases of gcc.
12660 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12662 * text.C: fix chapter label offset !
12664 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12667 * text.C: fix hfill at end of line, clean up
12669 2001-12-04 Juergen Vigna <jug@sad.it>
12671 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12672 that we force an update of the inset and it's owners if neccessary.
12674 2001-12-03 Juergen Vigna <jug@sad.it>
12676 * text.C (rowLast): simplified code
12678 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12680 * lyxfunc.C: fix show options on timeout
12682 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12684 * screen.C (topCursorVisible): scroll half a page when the cursor
12685 reached top of bottom of screen
12687 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12689 * minibuffer.C: deactivate on loss of focus
12691 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12693 * vspace.[Ch] (operator!=): add operator.
12695 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12697 * BufferView_pimpl.C: refuse to open an inset when
12698 there's a selection.
12700 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12702 * BufferView_pimpl.C: allow to click on RHS of full row insets
12704 2001-11-30 Juergen Vigna <jug@sad.it>
12706 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12707 insets for undo reasons.
12709 2001-11-28 André Pönitz <poenitz@gmx.net>
12711 * vspace.[Ch]: cosmetical changes
12713 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12723 * kbsequence.C: part re-write of old kb code
12726 * WorkArea.C: remove Lgb_bug_find_hack
12728 2001-11-30 José Matos <jamatos@fep.up.pt>
12730 * buffer.C (makeDocBookFile): add a comment to point a hack.
12731 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12732 Fixed a double write of labels.
12734 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12737 * LaTeX.h Fixed bug in LaTeX class where it would not
12738 re-run latex if no depfiles were changed, but the .dvi was removed.
12740 2001-11-28 André Pönitz <poenitz@gmx.net>
12742 * all the files from the change on 2001/11/26:
12743 use lyx::layout_type instead of LyXTextClass::size_type
12744 use lyx::textclass_type instead of LyXTextClassList::size_type
12746 2001-11-29 Juergen Vigna <jug@sad.it>
12748 * text.C: added support for paragraph::isFreeSpacing()
12750 * buffer.C: same as above
12752 * paragraph.h: inserted isFreeSpacing() function to enable
12753 FreeSpacing inside InsetERT.
12755 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12756 of the paragraph's in the cut/copy buffer to 0!
12758 * text2.C (removeRow): remove the assert as it can!
12760 * lyxtext.h: added helper function firstRow returning firstrow and
12761 made firstrow private again.
12763 * BufferView2.C (lockInset): don't relock if we're already locked!
12765 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12766 the only paragraph.
12767 (removeRow): added Assert::(firstrow)
12769 * debug.C: forgot to add INSETTEXT here.
12771 2001-11-28 Juergen Vigna <jug@sad.it>
12773 * sp_spell.C (initialize): changed error text to more general
12774 spellchecker command use (not only ispell!)
12776 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12778 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12780 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12782 * vspace.C: initialise lyxgluelength on failure
12784 2001-11-28 Allan Rae <rae@lyx.org>
12786 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12787 declaration & definition that looks like a function declaration.
12789 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12791 * BufferView2.C (copy):
12792 (copyEnvironment): do not clear the selection when doing a copy.
12794 * text.C (paintFirstRow): compilation fix
12796 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12798 * tabular.C (Latex): correct line count when writing latex.
12800 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12802 * paragraph_pimpl.h:
12803 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12806 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12810 * LColor.C: change vfillline->added_space
12812 * text.C: add markers and text for added space
12814 * vspace.C: fix comment
12816 2001-11-28 André Pönitz <poenitz@gmx.net>
12818 * paragraph.C: whitespace changes
12819 * all the other files from the change on 2001/11/26:
12820 change *::pos_type into lyx::pos_type
12822 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12824 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12825 language of the document when inserting error insets.
12827 2001-11-26 André Pönitz <poenitz@gmx.net>
12829 * BufferView_pimpl.[Ch]:
12837 * paragraph_pimpl.[Ch]:
12840 * text2.C: reduce header dependencies, introduce type for positions
12842 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12844 * <various>: change to use Alert.h
12846 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12848 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12849 when encountering an unknown token.
12850 (readLyXformat2): Show an error message if there were unknown tokens.
12852 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12855 * BufferView_pimpl.C:
12859 * text2.C: use par->isInset()
12861 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12863 * paragraph_pimpl.h:
12864 * paragraph_pimpl.C: cleanup
12866 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12868 * text2.C (removeRow):
12869 * text.C (setHeightOfRow): remove useless (and costly) call to
12872 2001-11-20 Allan Rae <rae@lyx.org>
12874 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12875 Now need Inset*::checkInsertChar() to return true for appropriate
12876 cases so that the characters in the minibuffer will actually be
12879 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12881 * text.C: change the order of the includes.
12882 (workWidth): initialize it at once.
12883 (workWidth): make maxw unsigned
12884 (setHeightOfRow): remove unused variable (inset)
12885 (selectSelectedWord): remove unused variable (inset)
12886 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12888 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12890 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12891 server is not running.
12893 (closeConnection): add debug info when server is disabled.
12895 * ColorHandler.C (getGCForeground): send debug message to GUI
12898 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12900 * kbmap.C (bind): modify because return conventions of
12901 kb_sequence::parse have changed.
12903 * kbsequence.C (parse): only ignore spaces and not any stupid
12904 control character. This avoids tests like s[i] <= ' ', which are
12905 guaranteed to fail with 8bit characters and signed chars.
12906 Change return code to string::npos when there have been no error
12907 (0 was a bad idea when error is at first character)
12909 2001-11-14 José Matos <jamatos@fep.up.pt>
12912 * buffer.C (simpleDocBookOnePar): removed unused argument.
12914 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12916 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12917 insets which are part of a word. Paragraph::isLetter takes care of
12918 that now. Use Paragraph::isInset to identify insets.
12919 (selectSelectedWord): do not test for hyphenation break.
12921 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12922 that protected spaces are considered as spaces.
12924 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12927 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12930 * lyxserver.C: fix it. and small cleanup.
12932 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12934 * BufferView_pimpl.C: use inline helpers
12937 * LaTeXFeatures.C: fix typos
12940 * Spacing.C: move spacing_string into class
12942 * ToolbarDefaults.C: move stuff into namespace anon
12944 * layout.h: update enum
12946 * lyxfunc.C: use better debug
12948 * minibuffer.h: fix typo
12952 * WorkArea.C: add and use Debug::WORKAREA
12956 * text2.C: code re-organisation, inline helpers
12958 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12960 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12961 std::vector.empty().
12963 2001-11-09 Allan Rae <rae@lyx.org>
12965 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12966 '\n's after tables. Tabular and ERT inset work now makes this no
12969 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12972 * minibuffer.C: fix crash, improve drop-down completion
12974 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12977 * lyxserver.C: invalidate fd's when doing endPipe()
12979 2001-11-08 José Matos <jamatos@fep.up.pt>
12981 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12982 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12985 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12987 2001-11-07 José Matos <jamatos@fep.up.pt>
12990 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12993 * buffer.C (sgmlOpenTag):
12994 * buffer.C (sgmlCloseTag): removed debug info.
12996 * buffer.h (sgmlOpenTag):
12997 * buffer.h (sgmlCloseTag): made public.
12999 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13001 * buffer.C (saveParamsAsDefaults):
13002 * lyx_cb.C (MenuLayoutSave): remove
13004 * LyXAction.C (init):
13006 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13008 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13010 * buffer.C (setPaperStuff): removed from here...
13012 * bufferparams.C (setPaperStuff): ... and moved there.
13014 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13018 * XFormsView.C: add support for drop-down completion
13020 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13022 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13025 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13027 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13030 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13032 * lyx_main.C: change ref to known bugs
13034 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13036 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13037 to work around older babel problems.
13039 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13041 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13043 2001-10-24 Juergen Vigna <jug@sad.it>
13045 * tabular-old.C (ReadOld): below variable changes reflected.
13047 * tabular.[Ch]: added ltType struct for longtable header/footer
13048 defines and changed all instances where they are used. Added
13049 future support for double top/bottom rows.
13051 2001-10-24 José Matos <jamatos@fep.up.pt>
13053 * buffer.h (docbookHandleCaption):
13054 * buffer.C (docbookHandleCaption): removed unused function.
13055 (makeDocBookFile): moved docbook supported version to v4.1.
13057 2001-10-24 José Matos <jamatos@fep.up.pt>
13060 * tabular.C (docbookRow): new function to export docbook code of a row.
13061 (DocBook): now honors the longtable flags.
13063 2001-10-23 José Matos <jamatos@fep.up.pt>
13066 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13067 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13069 * buffer.C (makeLinuxDocFile):
13070 (makeDocBookFile): reworked the preamble, more clean, and with
13071 support for lyx defined entities. Changed the document declaration
13072 to be more XML friendly.
13074 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13075 if we need to output XML that should be done with a filter.
13077 2001-10-22 Juergen Vigna <jug@sad.it>
13079 * sp_pspell.h (class PSpell): add alive function needed in the
13080 controller to see if the spellchecker could be started.
13082 2001-10-22 Juergen Vigna <jug@sad.it>
13084 * buffer.C (insertStringAsLines): modify the font for inserting
13085 chars in certain conditions by calling checkInsertChar(font).
13087 2001-10-19 Juergen Vigna <jug@sad.it>
13089 * text.C (workWidth): use getRow instead of wrong algorithm.
13090 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13092 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13097 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13099 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13101 * text.C (workWidth): do not search for the exact row when
13102 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13103 optimization for big documents.
13105 2001-10-18 Juergen Vigna <jug@sad.it>
13107 * text.C (workWidth): new function with added Inset * parameter.
13109 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13111 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13113 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13114 change return type of getColumnNearX.
13117 * text.C (changeRegionCase): use uppercase/lowercase instead of
13120 (rightMargin): simplify code by factoring out the uses of
13125 (appendParagraph): use Paragraph::size_type
13127 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13129 * vspace.C (asLatexString): add a missing break
13131 2001-10-15 Herbert Voss <voss@perce.de>
13133 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13135 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13137 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13140 2001-10-10 André Pönitz <poenitz@gmx.net>
13142 * lyxfunc.C: removed greek_kb_flag.
13144 2001-10-10 Herbert Voss <voss@perce.de>
13146 * lyx_main.C: delete global string help_lyxdir.
13148 2001-10-09 Herbert Voss <voss@perce.de>
13150 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13152 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13154 * lyx_main.C: added global string help_lyxdir.
13156 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13158 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13160 * lyxrc.C (set_font_norm_type): support iso8859-4
13162 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13164 * LaTeX.C (deplog): add another regex for MikTeX
13166 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13168 * lyxrc.C (set_font_norm_type): support iso8859-3
13170 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13172 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13174 * LaTeXFeatures.C: remove special case of french and index
13176 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13177 before \begin{document}). This solves several incompatibilities.
13179 2001-10-03 Garst Reese <reese@isn.net>
13181 * lyx_cb.C: change CheckTex error msg.
13183 2001-10-03 José Matos <jamatos@fep.up.pt>
13185 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13187 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13189 * .cvsignore: update
13191 * lyx_main.C (commandLineVersionInfo): use new style version info.
13193 * buffer.C (writeFile):
13195 (makeLinuxDocFile):
13196 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13198 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13200 * version.h: update to use stuff in version.C
13202 * version.C.in: new file. Contains version information determined
13203 at compile time. This is a merging of version.h and
13206 2001-10-03 Juergen Vigna <jug@sad.it>
13208 * BufferView_pimpl.C (update): don't change "dirty" status in
13211 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13213 * WorkArea.C (c-tor): re-position version string slightly.
13215 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13217 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13218 revert to previous code.
13220 WorkArea.[Ch]: (show, destroySplash): methods removed.
13222 WorkArea.C: rework code so that it's an amalgam of the codes before and
13223 after the splash screen was moved to WorkArea.
13225 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13228 * vspace.C (inPixels):
13231 * buffer.C (insertStringAsLines):
13232 (asciiParagraph): fix types to be large enough
13234 * lyxlex_pimpl.h: change member status from short to int
13236 * layout.h: fix type of endlabeltype
13239 * kbsequence.C (parse): change return type to string::size_type
13241 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13244 * Bullet.C (bulletSize):
13245 (bulletEntry): do not use short ints as parameters
13247 * BufferView2.C (insertLyXFile): change a char to an int.
13249 * WorkArea.C (WorkArea): remove unneeded floats in computation
13251 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13253 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13255 * paragraph.C (asString): Do not ignore newline/hfill chars when
13256 copying to the clipboard.
13258 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13260 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13261 after a multi-line inset.
13263 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13265 * paragraph.C (validate): Set NeedLyXFootnoteCode
13267 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13269 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13270 and decrease-error to decrease.
13272 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13274 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13275 it more readable (should be equivalent)
13277 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13279 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13281 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13283 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13284 of a cursor (row, etc.) after a character has been deleted
13285 (deleteEmptyParagraphMechanism): call the method above on _all_
13286 cursors held by the LyXText when a double space has been
13289 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13291 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13293 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13295 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13296 background. Use greyOut() and the new show() methods to toggle between
13297 the foreground and background. Add code to remove the splash after
13298 its initial showing.
13300 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13301 (create_forms): no longer call Dialogs::showSplash.
13303 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13305 * .cvsignore: add version_info.h
13307 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13309 * version_info.h.in: new file
13311 * Makefile.am: add version_info.h.in
13313 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13314 version_info.h instead of VERSION_INFO
13316 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13318 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13319 The ERT inset now returns string().
13321 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13323 * lyxtext.h, text.C (selectNextWord): renamed as
13324 selectNextWordToSpellcheck.
13326 * text.C (selectNextWordToSpellcheck): Modified to not select
13327 words inside an ERT inset.
13329 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13331 * lyx_cb.C (MenuLayoutSave): change a bit the question
13333 * sp_base.h: include <sys/types.h>
13335 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13337 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13339 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13341 * several files: fix typos in user-visible strings
13343 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13345 * text2.C (pasteSelection): do not set the selection, since it
13346 will be cleared later. Actually, the intent was to fix the way the
13347 selection was set, but I figured rmoving the code was just as good.
13349 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13351 * FontLoader.C (available): Check if font is available without
13354 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13356 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13358 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13360 * lyxrc.[Ch]: added display_graphics variable and associated code.
13362 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13364 * bufferparams.C (hasClassDefaults): new method. Returns true if
13365 the buffer parameters correspond to known class defaults
13367 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13369 * XFormsView.C (show): set minimum size to the main window.
13371 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13373 * text2.C (copySelection):
13375 * lyxfind.C (LyXReplace):
13376 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13377 LyXText::selectionAsString.
13379 * paragraph.C (asString): add "label" argument to the second form
13381 * text2.C (selectionAsString): add "label" argument and pass it to
13382 Paragraph::asString.
13384 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13386 * lyx_main.C (commandLineHelp): remove version information
13388 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13390 * lyx_main.C: add -version commandline option
13392 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13394 * paragraph.h: make the optional constructor arg required instead.
13395 some modifications to other files because of this.
13397 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13399 * lyxserver.C (C_LyXComm_callback): make it static
13401 * lyx_main.C (error_handler): make it static
13403 * lyx_gui.C (LyX_XErrHandler): make it static
13405 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13407 * WorkArea.C: make the extern "C" methods static.
13409 * Makefile.am (lyx_LDADD): simplify
13411 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13413 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13414 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13416 * LyXAction.C (init):
13417 * lyxfunc.C (dispatch): associated code removal.
13419 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13421 * lyxfont.h (isSymbolFont): shut off warning
13423 * text.C (setHeightOfRow):
13424 (getVisibleRow): fix crash with empty paragraphs which have a
13427 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13429 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13432 2001-09-04 José Matos <jamatos@fep.up.pt>
13435 * tabular.C (docbook): rename docBook method to docbook.
13437 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13439 * Makefile.am: add dependencies to main.o.
13441 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13443 * FontLoader.C (available): Return false if !lyxrc.use_gui
13445 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13447 * FontInfo.C (query):
13448 * converter.C (view):
13449 * importer.C (Import):
13450 * exporter.C (Export): Can not -> cannot.
13452 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13454 * BufferView_pimpl.C: allow to create index inset even if
13457 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13459 * buffer.C (getLists): replace boost::tie code with an explicit pair
13460 as boost::tie can break some compilers.
13462 * iterators.h: Added a std:: declaration to the return type of
13465 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13467 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13470 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13472 * iterators.[Ch]: New files. Provide paragraph iterators.
13474 * buffer.C (changeLanguage): Use paragraph iterators.
13475 (isMultiLingual): ditto
13477 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13479 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13481 * FontLoader.C: Support for cmr font.
13483 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13485 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13486 (available): New method.
13488 * FontInfo.C (getFontname): Use scalable fonts even when
13489 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13492 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13494 * converter.C (Formats::view): reverted! Incorrect fix.
13496 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13498 * converter.C (Formats::view): only output the -paper option
13499 if the dvi viewer is xdvi, thereby fixing bug #233429.
13501 2001-08-23 Herbert Voss <voss@perce>
13503 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13505 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13507 * Spacing.h (Spacing): Set space to Default on in the default
13510 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13512 * vc-backend.h (RCS::versionString): add RCS to version
13513 (CVS::versionString): add CVS to version
13515 * vc-backend.C (scanMaster): do not add CVS to version.
13516 (scanMaster): do not add RCS to version
13518 * lyxvc.C (versionString): new method
13520 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13522 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13524 * Spacing.C (set): initialize fval
13526 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13528 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13531 2001-08-16 Juergen Vigna <jug@sad.it>
13533 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13535 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13537 * BufferView_pimpl.C:
13540 * text2.C: setParagraph takes linespacing now
13542 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13544 * LyxAction.C: add internal LFUN_CITATION_INSERT
13546 * LyXView.C: actually apply fix
13548 * bufferlist.C: fix open non-existent file
13550 * lyxfind.C: fix indentation
13552 * lyxfunc.C: remove unneeded assert, fix typo
13554 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13556 * MenuBackend.C: use "Floatname List"
13558 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13560 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13561 when converting LaTeX layout to insetERT.
13562 Generate a non-collapsed float when reading old float
13564 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13566 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13569 2001-08-13 Juergen Vigna <jug@sad.it>
13571 * text.C (fill): return 0 instead of 20 as this seems to be the more
13574 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13576 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13579 2001-08-13 Juergen Vigna <jug@sad.it>
13581 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13583 (SearchBackward): comment out the unlocking of the inset_owner this
13584 should not be needed!
13586 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13588 * Many files: Remove inherit_language, and add latex_language
13590 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13591 collapsible insets.
13593 2001-08-10 Juergen Vigna <jug@sad.it>
13595 * text.C (prepareToPrint): fixed hfill-width in draw!
13597 * BufferView2.C (selectLastWord): save the selection cursor as this
13598 now is cleared in the function LyXText::clearSelection!
13600 2001-08-08 Juergen Vigna <jug@sad.it>
13602 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13603 BACKSPACE type functions.
13605 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13606 is only cutted from the document but not put in the cut-buffer, where
13607 still the old stuff should be.
13609 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13611 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13613 * tabular.C (SetWidthOfCell): fixed special case where the width
13615 (LeftLine): handle '|' in align_special.
13617 (LeftAlreadyDrawed): ditto
13618 (SetWidthOfCell): ditto
13620 2001-08-07 Juergen Vigna <jug@sad.it>
13622 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13624 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13626 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13627 * lyxlex.[hC]: ditto
13629 2001-08-06 Juergen Vigna <jug@sad.it>
13631 * text.C (getVisibleRow): fix up row clearing a bit.
13633 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13635 * minibuffer.C: make sure the X server sees the changes in the input.
13637 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13639 * paragraph.C (getFont): split into...
13640 (getLabelFont): this
13641 (getLayoutFont): and this
13642 * paragraph_pimpl.C (realizeFont): calling this
13644 * text2.C (getFont): split into...
13645 (getLayoutFont): this
13646 (getLabelFont): and this
13647 (realizeFont): all three calling this
13649 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13652 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13654 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13656 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13658 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13659 layouts from the Quote inset insertion.
13661 2001-08-03 Juergen Vigna <jug@sad.it>
13663 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13665 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13666 only if status not is already CHANGED_IN_DRAW (second level).
13668 * text.C (draw): don't set the need_break_row when inside an
13671 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13673 * buffer.C (parseSingleLyXformat2Token): handle more latex
13676 * bufferview_funcs.[hC]: change function names to
13677 begin with small char, adjust other files.
13679 2001-08-02 André Pönitz <poenitz@gmx.net>
13682 BufferView_pimpl.C: remove broken special code for math-greek
13684 2001-08-02 Juergen Vigna <jug@sad.it>
13686 * BufferView_pimpl.C (update): redone this function so that we
13687 update the text again if there was a CHANGE_IN_DRAW.
13689 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13690 (drawFromTo): added a new internal bool which is used by draw() and
13692 (general): some cursor drawing problems fixed.
13694 2001-08-01 Juergen Vigna <jug@sad.it>
13696 * lyxfind.C (LyXFind): fixed
13697 (SearchForward): ditto
13698 (SearchBackward): ditto
13700 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13701 spurius drawing of the cursor in the main area.
13703 * text2.C (status): small fix which could lead to a segfault!
13704 (clearSelection): remove unneeded BufferView param.
13706 2001-08-01 André Pönitz <poenitz@gmx.net>
13708 * lyxfunc.C: small change due to changed mathed interface
13710 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13712 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13714 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13716 * lyxfunc.c: fail gracefully if file doesn't exist
13721 * BufferView_pimpl.C: IsDirWriteable() proto changed
13723 * LyXView.C: fix updateWindowTitle() to store the last title
13725 2001-07-31 Juergen Vigna <jug@sad.it>
13727 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13728 the font (wrong since using of Paragraph::highestFontInRange).
13730 * paragraph.C (highestFontInRange): added a default_size parameter.
13732 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13733 (setHeightOfRow): reformat
13735 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13737 * converter.[hC] + affected files: move to (inital-char)lowercase
13740 * ParagraphParameters.C (ParagraphParameters): remove commented code
13742 * PainterBase.[Ch]: remove commented code
13744 * LaTeXFeatures.h: add "bool floats" for float.sty
13746 * LaTeXFeatures.C (LaTeXFeatures): init floats
13747 (require): handle float
13748 (getPackages): do it with floats
13750 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13752 * BufferView_pimpl.C (Dispatch): improve handling of
13753 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13755 * commandtags.h: #include lyxfont.h here temporarily to avoid
13758 * bufferlist.h: include LString.h here.
13760 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13762 * text2.C (getStringToIndex): new method.
13764 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13766 * *: Reduced header file dependencies all over.
13768 2001-07-30 Baruch Even <baruch@lyx.org>
13770 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13772 2001-07-29 Baruch Even <baruch@lyx.org>
13774 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13776 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13778 * ParameterStruct.h (endif): add a default constructor to make
13779 sure that all variables is initialized.
13781 * ParagraphParameters.C (ParagraphParameters): adjust
13783 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13785 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13786 index; also, check that there is something to index, and that it
13787 does not span over several paragraphs.
13788 (doubleClick): use WHOLE_WORD_STRICT for double click.
13790 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13792 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13795 2001-07-26 Baruch Even <baruch@lyx.org>
13797 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13798 an InsetFig figure, backwards compatible reading of old figure code.
13800 2001-07-27 Juergen Vigna <jug@sad.it>
13802 * text2.C: font.realize function adaption.
13804 * text.C (draw): add a warnings lyxerr text if needed.
13806 * layout.C: font.realize function adaption.
13808 * language.C: add inherit_language and implement it's handlings
13810 * bufferview_funcs.C (StyleReset): remove language parameter from
13811 font creation (should be language_inherit now).
13813 * bufferparams.C (writeFile): handle ignore_language.
13815 * paragraph.C (getFontSettings): the language has to be resolved
13816 otherwise we have problems in LyXFont!
13818 * lyxfont.C (lyxWriteChanges): added document_language parameter
13819 (update): removed unneeded language parameter
13821 * paragraph.C (validate): fixed wrong output of color-package when
13822 using interface colors for certain fonts in certain environments,
13823 which should not seen as that on the final output.
13825 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13827 * BufferView_pimpl.C:
13832 * LyXAction.C: add thesaurus support
13835 * lyxfind.C: add "once" parameter, for thesaurus, to not
13836 move to the next match
13838 2001-07-26 Juergen Vigna <jug@sad.it>
13840 * lyxfont.C (realize): honor ignore_language too!
13843 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13845 * text.C (draw): one place more for ignore_language to not draw
13848 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13850 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13852 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13854 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13855 the minipage conversion problem.
13857 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13859 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13862 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13864 * BufferView.h: don't forward declare WorkArea
13866 * BufferView.C: don't include WorkArea.h
13868 2001-07-25 André Pönitz <poenitz@gmx.net>
13872 * lyxfunc.C: new LFUN 'math-space'
13874 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13876 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13878 * text2.C (toggleInset): call open/close
13880 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13882 * lyxfunc.C (dispatch): add debug for the disabled case
13884 * font.C (buttonText): make similar to rectText
13886 * buffer.C (readInset): comment out parsing of insetlist and
13889 * PainterBase.C (rectText): small correction
13891 * BufferView_pimpl.C: comment out insettheorem and insetlist
13892 * LyXAction.C: ditto
13893 * commandtags.h: ditto
13895 2001-07-24 Juergen Vigna <jug@sad.it>
13897 * text.C (draw): honor the ignore_language.
13899 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13901 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13903 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13906 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13908 * lyxtext.h: remove unused (and unimplemented) methods
13910 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13912 * text.C (getVisibleRow): honor background color
13915 * Painter.h: remove default color argument for fillRectangle
13917 * text.C (backgroundColor): new method
13919 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13921 * text.C (getVisibleRow): adjust
13923 * font.[Ch] (rectText): new method, metrics
13924 (buttonText): new method, metrics
13926 * PainterBase.[hC]: make rectText and buttonText always draw and take
13929 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13931 * ToolbarDefaults.C (read):
13932 * MenuBackend.C (read): allow escaping in all strings
13934 * BufferView_pimpl.C (insertAndEditInset): new method.
13935 (Dispatch): use insertAndEditInset whenever appropriate.
13937 * BufferView_pimpl.C (insertNote): removed
13939 * BufferView_pimpl.C (smartQuote): new method, moved from
13940 BufferView; if an insetquote cannot be inserted, insert a '"'
13943 * BufferView2.C: remove insertCorrectQuote();
13945 * lyxfunc.C (getStatus): Add support for all remaingin
13946 inset-insert lfuns.
13948 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13950 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13951 command (necessary to pass " as parameter of self-insert.
13953 * text.C (selectWordWhenUnderCursor):
13954 (selectWord): add word_location parameter
13955 (selectWordWhenUnderCursor): same + remove special code for word
13957 (selectNextWord): use kind() to guess type of insetspecialchar,
13960 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13961 (insertErtContents): create ert insets as collapsed.
13962 (readInset): better compatibility code for Info inset.
13964 2001-07-20 Juergen Vigna <jug@sad.it>
13966 * lyxfunc.C (dispatch): use always LyXFind now!
13968 * text2.C (init): add a reinit flag so that the LyXText can be
13969 reinited instead of deleted and reallocated (used in InsetText).
13971 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13977 2001-07-18 Juergen Vigna <jug@sad.it>
13979 * text.C (selectNextWord): handle insets inside inset by calling
13980 always the bv->text functions so that we can go up the_locking_inset!
13982 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13983 in strange locations when inside an inset!
13985 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13986 handling to include insets.
13988 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13990 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13992 * LyXAction.C (init):
13994 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13995 LIGATURE_BREAK, since the name is so stupid.
13997 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13999 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14002 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14004 * sp_form.[Ch]: remove.
14006 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14008 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14011 * src/buffer.C (readInset): ditto.
14013 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14015 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14016 menuSeparator(), endOfSentenceDot(), ldots() and
14017 hyphenationPoint(), which are therefore removed.
14018 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14020 * LyXAction.C (init):
14021 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14023 * paragraph.C (getWord): removed.
14025 * BufferView_pimpl.C (Dispatch): use last word or selection for
14026 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14028 * lyx_main.C (queryUserLyXDir): do not ask before creating
14029 user_dir, except if it has been named explicitely.
14031 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14033 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14034 a document of zero size.
14036 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14038 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14039 approriately in the c-tor and in require().
14040 (getPackages): output the appropriate LaTeX for natbib support.
14042 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14043 variables "use_natbib" and "use_numerical_citations" when reading the
14045 (readInset): read the various natbib cite commands.
14046 (validate): white-space change.
14048 * bufferparams.[Ch]: new variables "bool use_natbib" and
14049 "bool use_numerical_citations".
14050 (writeFile): output them in the LyX file.
14052 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14054 * lyxfunc.C (getStatus): add support for all the inset insertion
14057 * text2.C (insertInset):
14058 * paragraph.C (insetAllowed):
14059 * BufferView_pimpl.C (insertInset): update to take in account the
14060 renaming of insertInsetAllowed
14062 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14064 * text2.C (getInset): new method. returns inset at cursor position.
14066 * BufferView_pimpl.C (Dispatch): changes because of this.
14068 * LyXAction.C (init): rename open-stuff to inset-toggle.
14070 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14072 * text2.C (toggleInset): renamed from openStuff; use
14075 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14077 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14079 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14081 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14083 * buffer.C (readLyXformat2): Add filename to the error dialog
14085 2001-07-18 Juergen Vigna <jug@sad.it>
14087 * tabular.C (GetCellNumber): put an assert here instead of the check!
14089 2001-07-17 Juergen Vigna <jug@sad.it>
14091 * BufferView_pimpl.C (toggleSelection): adapted too.
14093 * text.C (selectNextWord): adapted for use with insets.
14094 (selectSelectedWord): ditto
14096 2001-07-17 Juergen Vigna <jug@sad.it>
14098 * sp_spell.C (PSpell): fix initialitation order.
14100 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14102 * paragraph.C: spacing
14104 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14106 * sp_spell.C: repair language selection for pspell
14108 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14110 * lyxfunc.h: change more methods to begin with lower char.
14112 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14114 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14115 for unknown layouts.
14117 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14119 * buffer.C (readLyXformat2): Generate an error dialog if there are
14122 2001-07-16 Juergen Vigna <jug@sad.it>
14124 * sp_spell.C: always compile ISpell part.
14126 * lyxrc.C: added use_pspell entry and it's handling.
14128 2001-07-13 Juergen Vigna <jug@sad.it>
14130 * sp_spell.C: removed double includes.
14132 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14134 Consistent use of Lsstream.h:
14135 * Lsstream.h: added using std::stringstream for consistencies sake.
14137 * buffer.C: removed using std::stringstream
14139 * lyxfont.C (stateText):
14140 * paragraph.C (asString):
14141 * text.C (selectNextWord, selectSelectedWord):
14142 * text2.C (setCounter):
14143 * vspace.C (asString, asLatexString):
14144 std::ostringstream -> ostringstream.
14146 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14148 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14149 * commandtags.h: add LFUN_HELP_ABOUTLYX
14150 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14152 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14154 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14156 * lyx_gui_misc.C: remove spellchecker
14157 * lyxfunc.C: showSpellchecker
14159 * sp_ispell.h: added
14160 * sp_pspell.h: added
14161 * sp_spell.C: added
14162 * sp_form.[Ch]: removed
14163 * spellchecker.[Ch]: removed
14165 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14167 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14169 (simpleTeXSpecialChars): Simply print the input character without
14170 any special translation if pass_thru is set.
14172 * layout.h: Added bool pass_thru to layout class for being able to
14173 implement pass through of a paragraph for Literate Programming.
14175 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14176 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14177 * layout.C (Read): add "passthru" to list of layout tags and add
14178 code to set the pass_thru boolean when it is read.
14180 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14182 * trans_decl.h: remove allowed from KmodInfo
14184 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14185 remove allowed code
14188 * paragraph_pimpl.C (erase): use boost::prior
14190 * Painter.C (text): use data() instead of c_str() when length is
14192 * WorkArea.C (putClipboard): ditto
14193 * font.h (width): ditto
14195 * BufferView2.C: use it-> instead of (*it). for iterators
14197 * paragraph_pimpl.C: ditto
14198 * paragraph.C: ditto
14199 * minibuffer.C: ditto
14200 * language.C: ditto
14202 * encoding.C: ditto
14203 * counters.C: ditto
14204 * converter.C: ditto
14206 * Variables.C: ditto
14207 * TextCache.C: ditto
14208 * MenuBackend.C: ditto
14209 * LyXAction.C: ditto
14211 * FloatList.C: ditto
14212 * DepTable.C: ditto
14213 * ColorHandler.C (LyXColorHandler): ditto
14215 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14217 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14219 * text2.C (openStuff): reintroduce this method (which had been
14220 nuked in NEW_INSETS frenzy).
14222 * lyxfunc.C (Dispatch): when an action has not been handled, use
14223 its name in the error message, not its number.
14225 * paragraph.C (inInset): change method name to begin with lowercase.
14228 * text2.C: updates because of this.
14230 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14232 * ToolbarDefaults.C (add): add spaces in error message
14234 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14236 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14237 (readLyXformat2): rename return_par to first_par, use lyxlex's
14238 pushToken and remove the manual push handling.
14239 (parseSingleLyXformat2Token): add another ert comp. variable:
14240 in_tabular, rename return_par to first_par. handle newlines better
14242 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14244 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14246 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14248 * text2.C (getParFromID): removed
14250 * buffer.C (getParFromID): new method moved form lyxtext.
14251 * BufferView2.C (insertErrors): adjust
14252 (setCursorFromRow): adjust
14253 * BufferView_pimpl.C (restorePosition): adjust
14254 * lyxfunc.C (Dispatch): adjust
14255 * undo_funcs.C (textUndo): adjust
14257 (textHandleUndo): adjust
14258 (textHandleUndo): adjust
14260 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14262 * buffer.C: up' the LYX_FORMAT
14264 * lyxfont.h: turn NO_LATEX on as default
14266 * buffer.C (insertErtContents): new methods of tex style compability.
14267 (parseSingleLyXformat2Token): use it several places.
14268 * tabular.C (OldFormatRead): and here
14270 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14272 * text2.C: remove some commented code.
14275 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14276 * trans.C: changes because of the above.
14278 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14280 * text2.C (setCounter): Fix counters bug with bibliography layout.
14282 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14284 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14285 own member functions
14286 (simpleTeXSpecialChars): ditto
14288 2001-07-06 Juergen Vigna <jug@sad.it>
14290 * a lot of files: changed the access to LyXText::status and the
14291 call of undo-functions.
14293 * undo.[Ch]: added a inset_id to the undo informations.
14295 * undo_funcs.[Ch]: added and moved here all undo functions.
14297 * lyxtext.h: give the status enum a weight, made status_ a private
14298 variable and made accessor functions for it, removed the whole bunch
14299 of undo-functions as they are now in their own file, make some
14300 functions publically available. Added function ownerParagraph with
14303 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14304 made InInset() a const function, added getParFromID() function.
14306 * buffer.[Ch]: added const version for inset_iterator functions,
14307 added getInsetFromID() function.
14309 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14310 changed undo functions for new version.
14312 2001-07-05 Juergen Vigna <jug@sad.it>
14314 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14315 unknow mechanism does not call the proper constructor but only this
14316 one also if I request the other!?
14318 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14320 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14322 * text2.C (LyXText): use initialization lists.
14324 * lyxtext.h (Selection): initialize set_ and mark_
14325 (init): remove method
14327 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14329 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14331 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14333 * screen.[Ch]: change method names to begin with lowercase
14335 * BufferView_pimpl.C (updateScrollbar): simplify further and
14336 hopefully make it a bit faster.
14338 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14340 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14341 calling directly xforms functions.
14343 * Painter.C (Painter):
14344 * lyx_cb.C (MenuWrite):
14345 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14348 * lyx_gui.C: remove bogus guiruntime extern declaration.
14350 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14352 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14354 (redoDrawingOfParagraph): ditto
14355 (redoParagraphs): ditto
14356 (cutSelection): don't create a object for CutAndPaste use the
14357 static method directly
14358 (pasteSelection): ditto
14360 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14363 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14365 * modifications to some other files because of this.
14367 * Makefile.am (lyx_SOURCES): add XFormsView
14369 * XFormsView.[Ch]: new files
14371 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14372 the main window. Move the gui dependent stuff to XFormsView
14374 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14376 * tabular.C (GetCellInset): update cur_cell also in the row/col
14377 version of this function.
14379 * lyxfunc.C: no need to include figure_form.h here.
14385 * lyxvc.C: no need to include forms.h here.
14387 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14389 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14391 * lyxfunc.C (Dispatch):
14393 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14394 constructor argument.
14396 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14398 * paragraph.C (Paragraph): dont't clear, and just set layout.
14399 (makeSameLayout): use params's copy contructor.
14401 * ParagraphParameters.[Ch] (makeSame): delete method
14403 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14405 * Variables.[Ch]: fix indentation, rename set to isSet
14407 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14409 * lyxfunc.C (Dispatch): fix typo
14411 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14413 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14416 * bufferlist.C: include assert.h for emergencyWrite().
14418 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14420 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14421 give up at last (bug #425202) !
14423 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14429 * spellchecker.C: strip spellchecker options and bring up
14430 preferences tab instead
14432 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14434 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14435 the istringstream constructor
14437 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14439 * paragraph.C (getLayout): fix return value
14441 * paragraph.h: do not declare getLayout as inline.
14443 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14445 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14447 * lyxcursor.h (operator<): new func
14448 (operator>): new func
14449 (operator>=): new func
14450 (operator<=): new func
14452 * text.C (changeCase): use selection.start and selection.end
14453 (changeRegionCase): require from to be <= to. Require par to be a
14456 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14458 2001-06-27 Juergen Vigna <jug@sad.it>
14460 * text.C (cursorLeftOneWord): changed to return the cursor and added
14461 overlay with BufferView * parameter which calls this one.
14463 (selectWord): use new getWord function.
14464 (changeCase): renamed from changeWordCase as and extended to work
14465 also on selections.
14467 * lyxtext.h: added enum word_location
14469 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14470 changeCase as this operates now also on selections.
14472 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14474 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14476 * many files: send debug output to Debug::INFO instead of
14479 * converter.C (View):
14481 (Move): send debug output to Debug::FILES instead of console.
14483 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14485 * lyxfunc.C (getStatus): use func_status
14487 * func_status.h: new header, describing the results of
14488 LyXFunc::getStatus;
14490 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14493 2001-06-25 The LyX Project <jug@sad.it>
14495 * buffer.C (sgmlOpenTag):
14497 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14499 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14501 * text2.C: remove some dead code
14503 * tabular.C (GetCellInset): store the last cell checked (gotten)
14505 * tabular.h: add the helper for the speedup
14507 * lyxtext.h: remove some dead code
14509 2001-06-26 The LyX Project <Asger>
14511 * paragraph.C: Change export to LaTeX of alignment to
14512 \begin{center} and family for better roundtrip work with reLyX.
14514 * Tune the math drawing a bit.
14516 2001-06-25 The LyX Project <Asger>
14518 * LColor.C (LColor): New color for math background. New color
14521 2001-06-25 The LyX Project <jug@sad.it>
14523 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14525 * lyxfunc.C (Open):
14526 * bufferlist.C (newFile): do not restrict to files ending with
14529 * BufferView_pimpl.C (MenuInsertLyXFile):
14531 2001-06-24 The LyX Project <jug@sad.it>
14533 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14536 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14538 * lyxtext.h: rename most methods to begin with a small char.
14539 Lots of changes because of this.
14541 * paragraph.C (Paragraph): do not call fitToSize
14542 (erase): call Pimpl::erase
14543 (insertChar): call Pimpl::insertChar
14544 (insertInset): call Pipl::insertInset
14545 (breakParagraph): do not call fitToSize
14546 (breakParagraphConservative): do not call fitToSize
14547 (fitToSize): remove method
14549 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14551 2001-06-24 The LyX Project <Asger>
14553 * Fix Qt compilation^2
14555 2001-06-24 The LyX Project <jug@sad.it>
14557 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14558 depthHook(getDepth()-1).
14561 * ParagraphParameters.h:
14562 * ParameterStruct.h: change type of depth to unsigned int ==
14563 depth_type. Many adaptations to other files before of that.
14565 2001-06-24 The LyX Project <Asger>
14567 * Fix Qt compilation.
14569 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14571 * paragraph.h: renamed several methods to begin with small letter.
14572 several changes to many parts of the code because of this.
14574 2001-06-23 The LyX Project <jug@sad.it>
14576 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14577 rewritten to discard all double spaces when KeepEmpty is off
14578 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14579 to only handle newlines but not fiddle with spaces and friends.
14581 * lyxfunc.C (MenuNew): when doing 'new from template', use
14582 template_path as default directory
14584 2001-06-23 The LyX Project <Asger>
14586 * Clean-up of header file includes all over
14587 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14589 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14591 * paragraph.h: renamed from lyxparagraph.h
14593 2001-06-23 Asger <lyx@violet.home.sad.it>
14595 * Buffer.h: Removed Buffer::resize
14596 * BufferList.h: Removed BufferList::resize
14597 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14598 the document lazily when we change the width, or the font settings.
14600 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14602 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14604 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14606 * buffer.h: remove out of date comment
14608 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14611 * screen.C: fix "theoretical" GC leak
14613 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14615 * LaTeX.C (scanAuxFile):
14616 (deplog): remove trailing \r when reading stream (useful under
14619 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14621 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14622 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14623 and BufferView::theLockingInset(Inset*), so should use them and not
14624 access bv_->text->the_locking_inset directly.
14626 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14628 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14631 * tex-defs.h: remove old unused file
14633 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14635 * BufferView_pimpl.C: fix typo, remove minibuffer message
14636 when buffer has loaded
14638 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14640 * lyxfunc.C (Dispatch): use stringstream
14641 (MenuNew): use stringstream
14642 (Open): use stringstream
14644 * importer.C (Import): use stringstream
14646 * bufferview_funcs.C (CurrentState): use stringstream
14648 * LaTeX.C (run): use stringstream
14650 * BufferView_pimpl.C (savePosition): use stringstream
14651 (restorePosition): use stringstream
14652 (MenuInsertLyXFile): use stringstream
14654 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14667 * vspace.C: removed // -*- C++ -*- as first line.
14670 * version.h: added // -*- C++ -*- as first line.
14672 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14674 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14676 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14679 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14681 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14684 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14686 * gettext.C: include LString.h even when --disable-nls is on.
14688 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14690 * converter.h (Get): changed argument type from int to
14691 FormatList::size_type to avoid unnecessary conversion.
14693 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14696 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14698 * gettext.h: include LString.h even when --disable-nls is on.
14700 2001-06-07 Juergen Vigna <jug@sad.it>
14702 * text.C (BreakAgain): subst spaces with tabs.
14704 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14705 (resizeInsetsLyXText): set force on resizeLyXText.
14707 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14709 * gettext.h (gettext_init):
14710 (locale_init): use a real definition instead of a macro
14712 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14714 * Bufferview_pimpl.C:
14716 * LColor.C: further lcolor tidies
14718 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14720 * BufferView_pimpl.C (updateScrollbar): simplify.
14722 * BufferView2.C: don't include insets/insetinfo.h, change
14723 prototype for insertInset and call the Pimpl version. let
14724 updateInset call Pimpl version.
14726 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14727 gotoInset to BufferView::Pimpl
14729 2001-06-01 Juergen Vigna <jug@sad.it>
14731 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14732 inside a LockingInset (is the update needed at all?).
14734 2001-05-31 Juergen Vigna <jug@sad.it>
14736 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14737 here not the old one otherwise how should we compare it afterwards
14740 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14745 * FontInfo.C: bring C functions into global namespace when
14748 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14750 * LString.h: make sure config.h has been loaded before LString.h.
14752 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14753 (one for each char read by EatLine!).
14755 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14758 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14760 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14761 to the same as the par we break from
14763 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14765 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14767 * MenuBackend.C (expand): also create menu entries for wide
14768 versions of the floats.
14770 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14772 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14774 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14775 frontends/Makefile.am
14781 * tabular.C (getTokenValue): add std::
14783 * tabular-old.C (getTokenValue): add std::
14784 (getTokenValue): ditto
14785 (getTokenValue): ditto
14787 * screen.C (ToggleSelection): adjust
14789 * lyxtext.h: put selection cursors inside a Selection struct.
14791 * lyxfunc.C (moveCursorUpdate): adjust
14793 * lyxfont.C (latexWriteStartChanges): add std::
14795 * lyxfind.C: adjust
14797 * font.h: delete with(char const *, LyXFont const &)
14799 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14801 * FontInfo.C (getFontname): add std::
14803 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14804 (workAreaButtonPress): adjust
14805 (tripleClick): adjust
14807 (moveCursorUpdate): adjust
14810 * BufferView2.C (gotoInset): adjust
14812 2001-05-30 Juergen Vigna <jug@sad.it>
14814 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14815 to check pspell I add this as default as I now have new pspell
14816 libraries and they seem to use this.
14818 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14820 * text2.C (CutSelection): make the cursor valid before the call to
14823 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14825 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14826 relied on 0 terminated strings and other horrors. Bug found due to
14827 the new assert in lyxstring!
14829 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14832 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14834 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14837 * lyxfunc.C (processKeySym): change method of getting to the
14840 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14841 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14842 * BufferView_pimpl.[Ch]: here as private methods.
14844 2001-05-28 Juergen Vigna <jug@sad.it>
14846 * text.C (SetHeightOfRow): added the update() call again as it is
14847 needed to initialize inset dimensions!
14849 2001-05-16 Juergen Vigna <jug@sad.it>
14851 * text2.C (SetCharFont): Add new function with BufferView * and
14852 bool toggleall parameters for setting insets internal fonts.
14853 (SetFont): Freeze the undo as we may change fonts in Insets and
14854 all this change should be inside only one Undo!
14856 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14857 setting font's in insets as for them we have the SetFont function!
14859 2001-05-15 Juergen Vigna <jug@sad.it>
14861 * text2.C (ClearSelection): to be sure we REALLY don't have any
14864 * tabular.C (TeXCellPreamble): fixed the left border problem for
14867 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14869 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14872 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14874 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14875 LFUN_BREAKPARAGRAPH.
14877 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14878 help test to "internal only", similar for LFUN_INSERT_URL
14880 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14881 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14882 auto_region_delete and deadkeys.
14884 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14887 * LColor.C: remove some dead entries, tidy a little
14889 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14891 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14893 (Dispatch): implement LFUN_ESCAPE
14895 * commandtags.h: add LFUN_ESCAPE
14897 * LyXAction.C (init): add entry for LFUN_ESCAPE
14899 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14900 Remove commented code.
14901 (insertNote): moved here
14902 (open_new_inset): moved here
14904 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14907 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14909 * kbmap.C (findbinding): clean it up and make it work correctly.
14911 * lyx_main.C (init): do not pass argc and argv as parameters
14913 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14915 * buffer.C: fix path for OS/2 & Win32
14919 * lyx_main.C: Added os:: class.
14921 * os2_defines.h: update
14923 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14925 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14926 better by trying again with reduced state.
14928 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14930 * lyxrc.C (read): print error about invalid key sequence only when
14931 debugging (because not all latinX keysyms are known to some X
14934 * kbsequence.C (getiso): add a few std:: qualifiers
14935 (getiso): comment out extra return statement.
14937 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14939 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14941 (Dispatch): enhance the accent inset a bit. (not perfect)
14943 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14945 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14947 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14949 * bufferlist.C (emergencyWrite): fix assert() call
14951 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14953 * text.C (InsertChar): Added trivial patch to only send the "you
14954 can not do multiple spaces this way" message once during a
14957 2001-05-08 Baruch Even <baruch@lyx.org>
14959 * Makefile.am: Changed order of libraries to get LyX to link properly
14960 with the gnome frontend.
14962 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14964 * LaTeXFeatures.h: add a std:: qualifier
14966 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14968 * paragraph.C (String): use stringstream
14970 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14972 * paragraph.C (writeFile): remove footflag arg
14974 * buffer.C (makeLaTeXFile): use stringstream
14975 (latexParagraphs): remove footnot gurba
14977 * LaTeXFeatures.C (getPackages): use stringstream
14978 (getMacros): likewise
14979 (getTClassPreamble): likewise
14980 (getFloatDefinitions): new method
14982 * paragraph.C (writeFile): reindent
14985 * WorkArea.h: revert the xpos + etc changes.
14987 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14989 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14991 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14992 (pasteSelection): likewise
14993 * text2.C (CreateUndo): likewise
14995 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14997 * minibuffer.C (peek_event): temporarily reduce the functionality
14998 of the minibuffer (to allow args on lfuns)
15000 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15001 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15003 * buffer.C (readInset): add compability reading of old float
15004 lists, add reading of new style float list.
15005 (readInset): avoid reevaluation of inscmd.getCmdName()
15006 (getLists): reindent
15008 * MenuBackend.C (MenuItem): implement parsing of
15009 md_floatlistinsert and md_floatinsert.
15010 (expand::LastFiles): move initalizaton of iterators out of loop,
15011 avoid reevaluation.
15012 (expand::Documents): introduce typdedef vector<string> Strings,
15014 (expand::ExportFormats): introduce typedef vector<Format const *>
15015 Formats, and use it.
15016 (expand): implement FloatListInsert and FloatInsert.
15018 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15019 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15020 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15022 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15024 (Dispatch::LFUN_FLOAT_LIST): implement
15026 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15028 * LaTeX.C (run): Fix problem with --export code.
15030 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15032 * BufferView.[Ch] (workarea): removed.
15033 (getClipboard) new method; wrapper for workarea()->getClipboard()
15035 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15038 * WorkArea.h (width, height, xpos, ypos): These methods all
15039 returned the dimensions of the work_area sub-area of WorkArea,
15040 resulting in a position error if the WorkArea were resized. Now
15041 return the dimensions of the entire WorkArea.
15043 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15045 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15047 * LaTeX.C (deplog): correct the syntax of regex reg1
15049 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15051 * undo.C: remove !NEW_INSETS cruft
15053 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15055 * text2.C: remove !NEW_INSETS cruft
15057 * text.C: remove !NEW_INSETS cruft
15059 * tabular.C: remove !NEW_INSETS cruft
15061 * spellchecker.C: remove !NEW_INSETS cruft
15063 * lyxtext.h: remove !NEW_INSETS cruft
15065 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15067 * lyxfunc.C: remove !NEW_INSETS cruft
15069 * lyxfind.C: remove !NEW_INSETS cruft
15071 * lyx_cb.C: remove !NEW_INSETS cruft
15073 * figureForm.C: remove !NEW_INSETS cruft
15075 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15077 * buffer.[Ch]: remove !NEW_INSETS cruft
15079 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15081 * CutAndPaste.C: remove !NEW_INSETS cruft
15083 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15085 * BufferView2.C: remove !NEW_INSETS cruft
15087 * BufferView.h: remove !NEW_INSETS cruft
15089 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15091 * Lsstream.h: include LString.h before the sstream headers to
15092 fix problem with gcc 2.95.3 and lyxstring
15094 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15096 * lyx_main.C: add using directives when needed for C functions
15097 declared in std:: namespace.
15099 2001-04-27 Juergen Vigna <jug@sad.it>
15101 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15102 (SetHeightOfRow): comment out the update call should not be needed!
15104 2001-04-13 Juergen Vigna <jug@sad.it>
15106 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15107 (LyXTabular): tried to minimize operator= operations (and realized
15108 hopfully Lars wish).
15110 2001-04-27 Juergen Vigna <jug@sad.it>
15112 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15114 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15116 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15118 * buffer.C (readInset): hack to make listof algorithm work
15120 * BufferView_pimpl.C: hack to make listof algorithm work
15122 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15124 * LyXAction.C: removed all !NEW_INSETS cruft
15125 (init): moved lfun_item in method
15127 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15129 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15131 * BufferView2.C (theLockingInset): white space.
15133 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15135 * minibuffer.C: include <iostream>
15137 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15139 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15141 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15143 * text.[Ch] (TransposeChars): new method
15145 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15147 * call message directly through LyXView instead of through LyXFunc
15148 * BufferView2.C: adjust
15149 * BufferView_pimpl.C: adjust
15150 * FontLoader.C: adjust
15152 * bufferview_funcs.C: adjust
15153 * converter.C: adjust
15154 * figureForm.C: adjust
15155 * importer.C: adjust
15157 * lyx_gui_misc.C: adjust
15158 * lyxfunc.C: adjust
15161 + more files in subdirs
15163 * lyxparagraph.h (size): move up int file
15166 * adjust all uses of Assert to lyx::Assert.
15168 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15169 lyxfunctional in namespace lyx
15170 * layout.C (hasLayout): ditto
15173 (delete_layout): ditto
15174 (NumberOfClass): ditto
15175 * converter.C (GetFormat): ditto
15180 * bufferlist.C (getFileNames): ditto
15181 (emergencyWriteAll): ditto
15184 * MenuBackend.C (hasSubmenu): ditto
15187 * BufferView_pimpl.C (getInsetByCode): ditto
15189 2001-04-18 Juergen Vigna <jug@sad.it>
15191 * vspace.C (asLatexString): fixed the 100% problem.
15193 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15195 * lyxfunc.C (Dispatch):
15197 * minibuffer.h: add a few std:: qualifiers
15199 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15201 * minibuffer.[Ch]: reimplement so that commands is initiated and
15202 run from lyxfunc, simplified som handling, and made the completion
15203 and history code for complete. wip.
15205 * lyxfunc.C (processKeySym): call message
15206 (miniDispatch): new temporary method
15207 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15208 (LFUN_MESSAGE): implement
15209 (LFUN_MESSAGE_PUSH): implement
15210 (LFUN_MESSAGE_POP): implement
15211 (initMiniBuffer): the initial/defualt minibuffer message.
15213 * lyxfont.[Ch]: inline some more getters
15215 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15217 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15219 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15220 (AutoSave): use LFUN_MESSAGE
15221 (Reconfigure): ditto
15223 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15225 * figureForm.C: use LFUN_MESSAGE
15227 * converter.C (runLaTeX): use LFUN_MESSAGE
15229 * bufferview_funcs.C: use LFUN_MESSAGE
15231 (changeDepth): ditto
15233 * bufferparams.h: use boost::
15235 * bufferlist.h: inherit privately from noncopyable
15237 * bufferlist.C (loadLyXFile): remove some commented code.
15239 * buffer.C (runChktex): use LFUN_MESSAGE
15241 * ShareContainer.h: inherit privately from noncopyable
15243 * ParagraphParameters.[hC] (depth): inline it.
15245 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15247 (message): new method
15248 (messagePush): ditto
15249 (messagePop): ditto
15250 (show): init minibuffer
15251 (showState): direct call
15253 * LaTeX.[Ch]: inherit privately from noncopyable
15254 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15255 instead of WriteStatus.
15257 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15259 * BufferView_pimpl.C (buffer): don't init minibuffer
15260 (workAreaButtonPress): use LFUN_MESSAGE
15261 (workAreaButtonRelease): ditto
15262 (savePosition): ditto
15263 (restorePosition): ditto
15264 (MenuInsertLyXFile): ditto
15265 (workAreaExpose): don't init minibuffer
15266 (update): remove commented code, simplify
15268 * BufferView2.C (openStuff): use LFUN_MESSAGE
15269 (toggleFloat): ditto
15272 (copyEnvironment): ditto
15273 (pasteEnvironment): ditto
15278 (updateInset): remove some commented code
15280 * lastfiles.h: inherit privately from noncopyable
15283 * lyx_main.h: ditto
15285 * lyxlex_pimpl.h: ditto
15287 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15288 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15289 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15291 * LyXAction.h: inherit privately from noncopyable, add methods
15292 func_begin, func_end, returning iterators to the func map.
15294 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15295 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15296 (func_begin): new method
15297 (func_end): new method
15299 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15301 (copySelection): ditto
15302 (pasteSelection): ditto
15304 * BufferView.C: whitespace change
15305 * BufferView.h: inherit privately from noncopyable
15307 2001-04-16 Allan Rae <rae@lyx.org>
15309 * tabular-old.C (l_getline):
15310 * spellchecker.C (sc_check_word):
15311 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15312 an unrecognised preprocessor directive. So ensure they're wrapped.
15314 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15316 * src/exporter.C (Export): Give an error message when path to file
15319 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15321 * LaTeX.C (deplog): Always check that foundfile exists.
15323 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15326 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15328 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15330 * tabular.[Ch] (getLabelList): implement new method
15332 * minibuffer.h: comment ouf setTiimer
15334 * minibuffer.C (ExecutingCB): constify res
15335 (peek_event): constify s
15336 (Set): constify ntext
15337 (Init): constify nicename
15339 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15341 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15342 (savePosition): use two params to Minibuffer::Set
15343 (restorePosition): ditto
15345 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15347 * lyx_main.C: include language.h
15349 * Makefile.am (lyx_main.o): add language.h
15351 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15357 * CutAndPaste.C: include gettext.h
15359 * lyxfont.h: remove old hack with ON and OFF.
15362 * lyxfont.h: do not include language.h...
15367 * bufferview_funcs.C:
15373 * paragraph.C: ... but do it here instead
15375 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15377 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15379 * tabular.C: small reformat
15381 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15384 (BreakParagraph): ditto
15385 (SetOnlyLayout): ditto
15388 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15391 * lastfiles.C: removed most using decl, add std:: where needed
15393 * buffer.C: ws changes
15395 * MenuBackend.C (class compare_format): put into anon namespace
15396 (expand): constify label, names, action, action2
15399 * text.C (SingleWidth): constify font
15400 (IsBoundary): constify rtl2
15401 (GetVisibleRow): constify ww
15403 * LaTeX.C (deplog): constify logfile
15405 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15407 (workAreaExpose): constify widthChange, heightChange
15409 * lyxrow.C (par): moved
15412 * lyxrow.h: as inlines here
15414 * lyxfont.h (shape): moved from lyxfont.C
15415 (emph): moved from lyxfont.C
15417 * lyxfont.C (LyXFont): use initialization list for all
15419 (shape): move to lyxfont.h as inline
15420 (emph): move to lyxfont.h as inline
15423 2001-04-04 Juergen Vigna <jug@sad.it>
15425 * vspace.C: had to include stdio.h for use of sscanf
15427 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15430 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15431 independent of xforms.
15433 2001-04-02 Juergen Vigna <jug@sad.it>
15435 * spellchecker.C: fixed namespace placing!
15437 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15439 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15440 the LyXParagraph * is 0.
15442 2001-03-29 Juergen Vigna <jug@sad.it>
15444 * vspace.C: added support for %, c%, p%, l%.
15445 (stringFromUnit): added helper function.
15446 (asLatexString): changed to give right results for the %-values.
15448 * buffer.C: convert the widthp in a width%.
15450 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15452 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15455 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15456 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15458 * lyx_cb.[Ch]: see above.
15460 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15464 * lyx.[Ch]: replaced by figure_form.[Ch].
15468 * lyxfunc.C: changed headers associated with above changes.
15470 2001-03-27 Juergen Vigna <jug@sad.it>
15472 * BufferView_pimpl.C: set the temporary cursor right!
15474 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15476 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15478 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15480 * LString.h: removed "using std::getline"!
15482 * BufferView_pimpl.C (Dispatch): changes due to changes in
15483 InsetInclude::Params.
15485 * buffer.C (tag_name): removed redundant break statements as they were
15486 producing lots of warnings with my compiler.
15488 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15490 * LString.h: add "using std::getline" when using the real <string>.
15492 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15494 * buffer.C: removed bitset usage.
15495 PAR_TAG moved to an anonymous name space.
15496 (tag_name): new funtion, also in the anonymous namespace.
15497 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15498 (makeDocBookFile): clean code. Completed transition from string arrays
15500 (SimpleDocBookOnePar): code clean.
15502 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15504 * tabular.C: add some comments.
15506 2001-03-22 Juergen Vigna <jug@sad.it>
15508 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15509 compatibility read a bit and fixed bug with minipage in different
15512 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15514 * buffer.C (pop_tag): removed.
15515 (push_tag): removed.
15516 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15517 array replaced with vector. Added support for CDATA sections.
15518 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15520 (makeDocBookFile): XML conformant declaration of CDATA section,
15521 fixed bug related to <emphasis> in the first paragraph char.
15522 (sgmlOpenTag): exclude empty tags.
15523 (sgmlCloseTag): ditto.
15525 * buffer.h (pop_tag): removed.
15526 (push_tag): removed.
15528 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15530 * language.h (Languages): added size_type and size().
15532 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15534 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15535 response on compability reading of minipages. One probliem is that
15536 the old usage of minipages was «flertydig»
15538 * several files here and in subdirs: don't use static at file
15539 scope use anon namespaces instead.
15541 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15543 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15544 LaTeX output. This is necessary for Literate document
15547 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15549 * buffer.C: insert hfill when needed.
15551 * tabular.C (l_getline): use string::erase, small whitespace change.
15553 * BufferView_pimpl.C: try the anon namespace.
15554 * WorkArea.C: ditto
15556 2001-03-16 Juergen Vigna <jug@sad.it>
15558 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15559 otherwise it won't open options-dialogs.
15561 * buffer.C: honor pextraWidth(p) on converting minipages.
15563 * tabular.C (l_getline): changed the functions to strip trailing \r.
15565 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15567 * BufferView_pimpl.C:
15568 * minibuffer..C: added "using SigC::slot" declaration.
15570 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15572 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15578 * paragraph.C: ditto
15580 * lyxtext.h: NO_PEXTRA
15582 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15584 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15585 * ParameterStruct.h: ditto
15586 * ParagraphParameters.h: ditto
15587 * lyxparagraph.h: ditto
15589 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15591 * buffer.C: add compability for minipage alignment.
15592 (latexParagraphs): remove unwanted pextra check.
15594 * several files: remove CXX_WORKING_NAMESPACES
15596 * buffer.C (pop_tag): tie is in namespace boost
15598 * BufferView.h: noncopyable is in namespace boost
15600 * lyx_main.h: ditto
15603 * lastfiles.h: ditto
15604 * bufferlist.h: ditto
15605 * ShareContainer.h: ditto
15607 * LyXAction.h: ditto
15610 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15612 * Merging changes from BRANCH_MVC back into HEAD.
15614 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15616 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15618 * BufferView_pimpl.C: change from intl.C
15622 * Makefile.am: move combox.*
15628 * intl.C: remove dialog (covered by prefs)
15630 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15632 * lyxfunc.C (Dispatch): removed redundant break statement.
15634 2001-03-14 Juergen Vigna <jug@sad.it>
15636 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15638 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15640 * buffer.C: add hack to fix compability reading of minipages.
15642 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15644 * buffer.C (getLists): Cleanup.
15646 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15648 * lyxfont.C (update): don't honor toggleall on font size.
15650 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15654 * Makefile.am: moved to frontends/xforms/
15658 * BufferView_pimpl.C: changes for moved mathpanel
15660 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15662 * gettext.h: fix gettext_init() in --disable-nls
15664 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15666 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15668 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15671 * lyx.h: strip external form
15673 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15675 * BufferView_pimpl.C: add comment, destroySplash()
15677 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15679 * BufferView_pimpl.C:
15683 * lyxfunc.C: use re-worked insetinclude
15685 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15687 * buffer.C: add using std::stringstream.
15689 * lyx_cb.C: readd using std::ios.
15691 * buffer.C: add using std::map.
15693 * BufferView_pimpl.C: add using std::vector.
15695 * ShareContainer.h: add std:: to swap.
15697 * buffer.h: add some typedefs
15698 * buffer.C (getLists): use them
15699 (getLists): renamed from getTocList.
15700 add a counter for the different float types and use it in the
15702 (getLists): use the same counter for the NEW_INSETS and the "non"
15705 * lyx_cb.h: remove unused items, includes, using etc.
15707 * ShareContainer.h: remove some commented code, add more comments
15708 and "documentation".
15710 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15712 * buffer.C (getTocList): make the list also when NEW_INSETS is
15715 * buffer.h: remove TocType
15717 * buffer.C (getTocList): change to return a map<string,
15718 vector<TocItem> >, implement for dynamic number of list.
15720 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15721 * text2.C (PasteSelection): adjust
15722 * CutAndPaste.C (pasteSelection): adjust
15724 * FloatList.C (FloatList): update from the new_insets branch.
15725 * Floating.[Ch]: ditto
15726 * LaTeXFeatures.C: ditto
15728 * lyxlex_pimpl.C: ditto
15730 * paragraph.C (Last): remove when NEW_INSETS is defined.
15732 * other file: changes because of the above.
15734 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15736 * lyxparagraph.h: rename next to next_, previous to previous_,
15737 make them private for NEW_INSETS. Rename Next() to next(),
15738 Previous() to previous().
15740 * other files: changes because of the above.
15742 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15745 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15748 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15750 * main.C (main): pass lyx_localedir to gettext_init().
15752 * gettext.h: remove locale_init and gettext_init macros
15754 * gettext.C (locale_init): new function
15755 (gettext_init): new function
15757 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15760 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15762 * Moved credits to frontends:
15763 * credits.[Ch]: removed
15764 * credits_form.[Ch]: removed
15765 * lyx_gui_misc.C: remove credits stuff
15768 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15770 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15772 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15773 unneeded destructor.
15775 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15776 a standalone pointer again.
15778 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15780 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15786 * ToolbarDefaults.C:
15795 * BufferView_pimpl.C: use new file dialog in GUII
15798 * lyx_cb.C: remove LayoutsCB to Toolbar
15800 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15802 * ShareContainer.h (get): add std:: qualifier
15804 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15806 * ShareContainer.h: define a proper ShareContainer::value_type
15807 type (and use typename to please compaq cxx)
15809 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15811 * lyxparagraph.h: move serveral local vars to
15812 ParameterStruct/ParagraphParameters., use ShareContainer in
15813 FontTable., make vars in FontTable private and add getter and
15816 * paragraph.C: changes because of the above.
15818 * lyxfont.h: remove copy constructor and copy assignment. (the
15819 default ones is ok), move number inside FontBits. move inlines to
15822 * lyxfont.C: add number to initializaton of statics, move several
15823 inlines here. constify several local vars. some whitespace
15824 cleanup. Dont hide outerscope variables.
15826 * Spacing.h: add two new constructors to match the set methods.
15828 * ShareContainer.h: new file, will perhaps be moved to support
15830 * ParameterStruct.h: new file
15832 * ParagraphParameters.h: new file
15834 * ParagraphParameters.C: new file
15836 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15837 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15839 * BufferView_pimpl.C: ParagraphParameter changes.
15840 * buffer.C: Likewise.
15841 * bufferview_funcs.C: Likewise.
15842 * text.C: Likewise.
15843 * text2.C: Likewise.
15845 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15847 * lyxfind.C (LyXReplace): do not redefine default argument in
15849 (IsStringInText): ditto
15850 (SearchForward): ditto
15851 (SearchBackward): ditto
15853 2001-03-06 Juergen Vigna <jug@sad.it>
15855 * lyxfind.C (IsStringInText): put parentes around expressions.
15857 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15859 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15861 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15863 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15865 * stl_string_fwd.h: add comment
15867 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15870 * tabular.C: remove unused DocBook methods
15876 killed DO_USE_DEFAULT_LANGUAGE
15878 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15880 * lyx_gui.C: do not include language.h.
15882 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15883 arguments in function implementation.
15885 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15887 * BufferView_pimpl.C: add <ctime>
15889 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15891 * BufferView_pimpl.C: add using std::find_if
15893 2001-02-27 José Matos <jamatos@fep.up.pt>
15895 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15898 2001-02-11 José Matos <jamatos@fep.up.pt>
15900 * buffer.C (makeDocBookFile): command styles now have a parameter as
15901 "title" by default.
15903 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15905 * layout_forms.[Ch]: removed
15906 * lyx_cb.[Ch]: out character
15907 * lyx_gui.C: out character
15908 * lyx_gui_misc.C: out character
15909 * bufferview_funcs.C: : out character,
15910 added toggleall as parameter in ToggleAndShow
15912 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15914 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15916 * text2.C (SetCurrentFont): Disable number property at boundary.
15918 2001-02-26 Juergen Vigna <jug@sad.it>
15920 * lyxfunc.C (getStatus): added a string argument override function so
15921 that this is correctly called from LyXFunc::Dispatch if it contains a
15922 do_not_use_argument which is used!
15923 (Dispatch): added check for "custom" export and call appropriate func.
15925 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15927 * lyxrc.C: Add language_command_local, language_use_babel and
15928 language_global_options.
15930 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15932 * buffer.C (makeLaTeXFile): Use language_use_babel and
15933 language_global_options.
15935 2001-02-23 Juergen Vigna <jug@sad.it>
15937 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15938 which works with LyXText and putted it inside BufferView. Here now we
15939 only call for that part the BufferView::Dispatch() function.
15941 * BufferView.C (Dispatch): added.
15943 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15944 functions which needs to use a LyXText over from LyXFunc.
15945 (MenuInsertLyXFile): added
15946 (getInsetByCode): added
15947 (moveCursorUpdate): added
15948 (static TEXT): added
15950 2001-02-22 Juergen Vigna <jug@sad.it>
15952 * BufferView_pimpl.C (update): call a status update to see if LyXText
15955 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15957 * vc-backend.C (revert): implement for CVS
15958 (getLog): implement for CVS
15960 2001-02-20 Juergen Vigna <jug@sad.it>
15962 * text2.C (ClearSelection): added BufferView param for inset_owner call
15964 * lyxfunc.C (TEXT): added this function and use it instead of
15965 directly owner->view()-text of getLyXText().
15967 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15969 * src/layout_forms.C: out preamble
15970 * src/layout_forms.h: out preamble
15971 * src/lyx_cb.C: out preamble
15972 * src/lyx_cb.h: out preamble
15973 * src/lyx_gui.C: out preamble
15974 * src/lyx_gui_misc.C: out preamble
15975 * src/lyxfunc.C: connect with guii preamble
15977 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15979 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15981 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15983 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15984 whether to run bibtex.
15986 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15988 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15990 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15992 * Makefile.am (lyx_SOURCES): removed bibforms.h
15994 * vspace.h: doxygen
15996 * text.C (GetVisibleRow): make several local vars const
15998 * tabular.C: small cleanup.
16000 * lyxserver.C (callback): use compare instead of strncmp
16002 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16003 inlines to after class or to paragraph.C
16005 * lyxfont.h: remove friend operator!=
16007 * converter.h: move friend bool operator< to non friend and after
16010 * combox.h: small cleanup
16012 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16013 to inlines after class def.
16015 * buffer.C (pop_tag): use string operations instead of strcmp
16017 * bmtable.c: doxygen, small cleanup
16019 * LaTeX.h: remove friend operator==
16021 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16033 * BufferView_pimpl.C:
16034 * BufferView.[Ch]: remove cruft
16036 2001-02-14 Juergen Vigna <jug@sad.it>
16038 * lyxfunc.C: removed #if 0 unused code
16040 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16042 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16044 * text2.C (SetSelection): added a BufferView * parameter
16046 2001-02-13 Juergen Vigna <jug@sad.it>
16048 * lyxfunc.C (Dispatch): fixed protected blank problem.
16049 * BufferView2.C (protectedBlank): added LyxText * parameter.
16051 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16052 (AppendColumn): same as above for column_info.
16054 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16055 (moveCursorUpdate): use a LyXText param for support of InsetText.
16057 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16058 (tripleClick): ditto
16060 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16062 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16064 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16066 * text2.C (SetSelection): set correct update status if inset_owner
16067 (ToggleFree): ditto
16069 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16071 * tabular.C: remove some commented code.
16073 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16075 * BufferView_pimpl.C: call hideSplash()
16077 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16080 * bibforms.h: remove
16083 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16084 add LFUN_CHILD_CREATE
16086 * counters.h: fix tiny typo
16091 * lyx.C: move splash to frontends/xforms/
16093 * lyx_gui_misc.C: move Include and Bibform to frontends
16095 * lyxvc.h: clarify comment
16097 * vspace.C: tiny housekeeping
16099 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16101 * text.C (PrepareToPrint): RTL Fix.
16103 * paragraph.C (GetUChar): New method.
16104 (String): Use GetUChar.
16106 * buffer.C (asciiParagraph): Use GetUChar.
16108 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16110 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16112 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16115 * buffer.C: rename to getLogName(), handle
16116 build log / latex log nicely
16118 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16121 * MenuBackend.h: remove support for reference menuitem type.
16123 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16125 * BufferView_pimpl.C: housekeeping
16126 * BufferView_pimpl.h:
16131 * minibuffer.h: move Timeout GUI-I
16133 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16135 * lyxrc.C (read): Update converters data-structures.
16137 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16139 * LaTeX.h (operator!=): add operator != for Aux_Info
16141 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16143 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16145 * LaTeXLog.C: deleted, useful code moved to Buffer
16148 * buffer.C: new function getLatexLogName()
16154 * lyxfunc.C: use frontends for LaTeX and VC logs
16156 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16158 * LaTeX.h: yet another std:: that Allan forgot.
16160 * Variables.C (set): renamed from isset(), because this clashes
16161 with some HP-UX macros (grr).
16163 2001-02-06 Allan Rae <rae@lyx.org>
16165 * LaTeX.h: Another bug fix. Missing std:: this time.
16167 2001-02-04 Allan Rae <rae@lyx.org>
16169 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16170 floats problem. I've left it commented out because it's not quite
16171 correct. It should also test that the current object is a table or
16172 figure inset. But I haven't gotten around to figuring out how to do
16173 that. I *think* it'll be something like: "table" == inset.type()
16175 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16178 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16180 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16181 all the citation/databases/styles in the auxilary file.
16182 (run): Rerun latex if there was a babel language error.
16184 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16186 * text.C (Backspace): Preserve the font when changing newline char
16188 (BreakParagraph): If the cursor is before a space, delete the space.
16190 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16192 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16194 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16195 new argument (code).
16196 (ChangeCitationsIfUnique): New method.
16198 * paragraph.C (GetPositionOfInset): Handle bibkey.
16200 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16202 * BufferView_pimpl.h: change type of Position::par_pos to
16203 LyXParagraph::size_type.
16205 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16207 * BufferView_pimpl.C (savePosition, restorePosition): Write
16208 messages to minibuffer.
16210 2001-01-28 José Matos <jamatos@fep.up.pt>
16212 * buffer.C (makeDocBookFile): adds support for document language.
16213 A silly restriction on the name of LatexCommand types where removed.
16214 Added support for CDATA sections, allows to chars unescaped, used
16215 among others in code, to avoid escape < and >.
16217 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16219 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16220 saved positions instrad of a stack. Furthermore, a position is
16221 stored using paragraph id/paragraph position.
16223 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16224 Remove LFUN_REF_BACK.
16226 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16228 * converter.C (dvipdfm_options): New method.
16230 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16232 * vspace.C (isValidLength): Fix for empty input string.
16234 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16236 * LyXAction.C (init): change description of LFUN_FIGURE to
16239 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16241 * LaTeX.C: add using directive
16243 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16245 * MenuBackend.C (expand): Fix the sorting of the formats.
16247 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16249 * lyx_main.C: tiny error message fix
16251 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16253 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16254 calling fl_initialize(). This fixes the problem with ',' as
16255 decimal separator in text files.
16257 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16259 * trans.C (process): Fix the keymap bug.
16261 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16263 * LaTeX.C (scanAuxFiles): New method. Provides support for
16264 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16265 (scanLogFile) Scan for "run BibTeX" messages.
16267 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16268 OT1 font encoding. Also, load the aecompl package if the ae
16271 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16273 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16275 * texrow.C (increasePos): turn two error messages into debug
16278 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16280 * LaTeX.C (scanAux): Handle the \@input macro.
16281 (runBibTeX): Use scanAux().
16283 * language.C (latex_options_): New field.
16285 * LaTeXFeatures.C (getMacros): Add language macros.
16287 * buffer.C (makeLaTeXFile): Small fix.
16289 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16291 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16293 * text2.C: add a using directive.
16295 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16300 * lyxfunc.C: kill LyXBell.
16302 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16304 * text.C (IsBoundary): Remove the error message
16306 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16308 * lyxrc.C (setDefaults): Correct initialization value for
16311 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16313 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16316 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16317 and GotoNextNote().
16319 * src/LyXAction.C: Added reference-next.
16321 * text.C (InsertChar): Use contains instead of strchr.
16323 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16325 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16327 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16328 alignment commands (when needed).
16330 * text.C (InsertChar): Add ':' to number separator chars.