1 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * lyxfunc.C (getStatus): when the origin of the request is menu or
4 toolbar, and the LyXView does not have focus, do as if there was
7 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
8 FuncRequest to individual entries of LFUN_SEQUENCE
10 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * output_latex.C (TeXOnePar): override runparams.moving_arg
13 according to the needprotect value of the current paragraph (bug
16 * paragraph.C (simpleTeXOnePar): no need to override
17 runparams.moving_args here
19 2004-11-14 John Spray <spray_john@users.sourceforge.net>
21 * vspace.C: fix off-by-one-error, related to fix #1682
23 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
25 * lengthcommon.C: a more general fix for bug 1682
27 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
29 * text.C (backspace): fix crash
31 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
33 * format.[Ch] (getFormatFromFile): new method
34 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
36 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
38 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
40 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
42 * lyxfunc.C (dispatch): remove the verbose argument
43 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
46 * kbmap.C (defkey): set the origin of func to KEYBOARD
48 * MenuBackend.C (MenuItem):
49 * ToolbarBackend.C (add): set the origin of func to UI
51 * funcrequest.[Ch]: add origin member, which indicates which part
52 of LyX requests an action
54 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
56 * converter.C (move): don't lie in the error message
57 * converter.h (isReachable, move): document
59 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
61 * buffer.C: remove unused using lyx::support::atoi
62 * paragraph_funcs.C: ditto
64 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
66 * bufferlist.C (exists): use bind and equal_to instead of
69 * lyxtextclasslist.C (NumberOfClass): ditto
71 * cursor.C (insert): use for_each instead of explicit for loop
73 * bufferlist.C (getFileNames): use std::transform and
74 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
76 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
79 * buffer.C (changeLanguage): use for_each instead of explicit for
81 (hasParWithID): implement using getParFromID
83 * LaTeXFeatures.C: ws change only
85 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
88 * BufferView_pimpl.C (trackChanges): use for_each instead of
91 2004-11-04 André Pönitz <poenitz@gmx.net>
94 * undo.C (textUndoOrRedo): fix crash when creating undo information.
96 * dociterator.C (asDocIterator): use hard assert again.
98 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
100 * lyxlength.C (asLatexString): rewrite so that it does not use
103 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
105 * text3.C (specialChar, dispatch): make sure cursor moves to the
106 right after inserting an inset
108 2004-11-02 José Matos <jamatos@lyx.org>
110 * output_docbook.C (docbook):
111 * paragraph.C (getID):
112 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
113 garantee that the output is always legal.
115 * tabular.C (docbook):
116 * outputprams.[Ch]: remove mixed contents.
118 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
120 * text2.C (setCounter): prevent endless loop
122 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
124 * exporter.C (copyFile): use the mover instead of support::copy()
125 * exporter.C (Export): pass format and latex name to copyFile()
126 * exporter.h (addExternalFile): document
127 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
129 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
131 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
133 2004-10-30 José Matos <jamatos@lyx.org>
135 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
136 text and no inset or font change. This allows to use CDATA
137 sections just for the whole paragraph.
139 2004-10-30 José Matos <jamatos@lyx.org>
141 * paragraph.C (getFirstWord): remove unused variable.
143 2004-10-30 José Matos <jamatos@lyx.org>
145 * paragraph.C (getFirstWord): the content should always be escaped
147 (simpleDocBookOnePar):
148 * output_docbook.C (makeEnvironment): replace reference to CDATA
151 2004-10-30 José Matos <jamatos@lyx.org>
153 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
155 2004-10-30 José Matos <jamatos@lyx.org>
157 * output_docbook.C (makeParagraphs):
158 * paragraph.[Ch] (emptyTag): for docbook and company, if the
159 standard paragraph has only a given type of content drop the wrapper.
161 2004-10-29 José Matos <jamatos@lyx.org>
163 * output_docbook.C (makeEnvironment):
165 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
167 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
169 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
170 (cleanID): sanitize any id.
172 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
174 * buffer.C, lyxlex_pimpl.C:
175 * lyxlex_pimpl.C (setFile):
176 s/getExtFromContents/getFormatFromContents/
178 2004-10-28 José Matos <jamatos@lyx.org>
180 * output_docbook.C (makeEnvironment): move id to broadest possible
183 * sgml.C (openTag): apply substitution of <> for all attributes.
185 2004-10-28 José Matos <jamatos@lyx.org>
187 * buffer.C (makeLinuxDocFile, makeDocBookFile):
188 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
189 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
191 * sgml.[Ch]: new version for open and closeTag for paragraph and
192 for strings. Now they handle the ids of paragraphs.
194 2004-10-26 Angus Leeming <leeming@lyx.org>
196 * Makefile.am: add mover.[Ch].
198 * converter.C (convert, move): use the new Movers to move external
199 files to the temp directory.
201 * lyx_main.C (init): ensure that the global system_movers data
204 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
207 * mover.[Ch]: new files, defining a Mover as a utility to move an
208 external file between directories and, if necessary, manipulate this
209 file using a helper script.
211 2004-10-25 José Matos <jamatos@lyx.org>
213 * output_docbook.C (makeCommand): merge two if's that tested the
216 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
218 * sgml.C (escapeString): fix warning in a better way
220 2004-10-25 José Matos <jamatos@lyx.org>
222 * sgml.C (escapeString): import the require boosts header file for
223 tie, and avoid a signed unsigned comparison.
225 2004-10-25 José Matos <jamatos@lyx.org>
227 * sgml.h: add #include <string>
229 2004-10-25 José Matos <jamatos@lyx.org>
231 * sgml.[Ch] (escapeString): new function to escape all the string.
233 2004-10-24 José Matos <jamatos@lyx.org>
235 * paragraph.[Ch] (getFirstWord): new function to get the first
236 word. Useful for description.
237 (simpleDocBookOnePar): remove depth argument, add another that
238 says where to start the paragraph.
240 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
241 use the new functions to fix cleanly the support for descriptions.
243 2004-10-24 José Matos <jamatos@lyx.org>
245 * buffer.C (makeLinuxDocFile, makeDocBookFile):
246 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
247 * output_linuxdoc.C (linuxdocParagraphs):
248 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
249 add buffer as argument.
251 2004-10-24 José Matos <jamatos@lyx.org>
253 * output_docbook.C (makeEnvironment, searchEnvironment): place
254 CDATA inside paragraphs and fix scope for listitems.
256 2004-10-24 José Matos <jamatos@lyx.org>
258 * output_docbook.C: remove using statement for stack.
260 2004-10-23 José Matos <jamatos@lyx.org>
262 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
263 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
264 docbook. The new scheme is recursive and makes use of iterators, the
265 same as latex export works.
266 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
267 directly with the paragraph contents. This code was moved up to
268 output_docbook.C (docbookParagraphs).
269 * sgml.C (openTag, closeTag): removed unneeded newlines.
270 (closeEnvTags) removed.
272 2004-10-23 André Pönitz <poenitz@gmx.net>
274 * undo.C (textUndoOrRedo):
275 * dociterator.C (asDocIterator): work around crash
277 * cursor.C (getStatus): replace ASSERT by more verbose error message
278 and manual correction of the problem. Should increase stability
279 while providing more sensible information.
281 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
283 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
285 * bufferlist.C (previous, next): new methods
288 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
290 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
292 * buffer.C (makeDocBookFile): add dsssl stylesheet control
293 entities to preamble.
295 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
297 * messages.C (Pimpl): strip off translation context information
299 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
301 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
302 the cursor is correct (bug 1694)
304 2004-10-13 José Matos <jamatos@lyx.org>
306 * output_docbook.C (docbookParagraphs): fix closing tags in the
309 2004-10-09 José Matos <jamatos@lyx.org>
311 * buffer.C: format up to 237.
312 * bufferparams.C (write): use tostr to convert booleans to strings.
314 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
316 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
318 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
320 * LaTeX.C: implement use of babel language in xindy.
322 2004-10-05 José Matos <jamatos@lyx.org>
324 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
325 Add new translators to help reading and writing the lyx file.
327 2004-10-05 José Matos <jamatos@lyx.org>
329 * ParagraphParameters.C (read):
330 * text.C (readParToken): replace nexToken by more appropriate lex
333 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
335 * LaTeX.C (runMakeIndex):
336 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
337 (usually 'makeindex') configurable.
339 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
340 with a variable rather than with a number.
342 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * output_latex.C (TeXOnePar): make sure font setting is the first
345 thing that gets output (and the last at the end). Should fix bug
348 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
350 * pch.h: use proper signal include
352 * LaTeX.h: Use preferred calling of Boost.Signal
355 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
357 * pch.h: dont include <boost/function/function0.hpp>
359 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
361 * paragraph_pimpl.h: remove usage of ShareContainer
363 * paragraph_pimpl.C: remove initialization of ShareContainer.
365 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * BufferView.C (putSelectionAt): change the semantics when
370 backwards == true: now, this just swaps cursor and anchor wrt the
373 * BufferView.h (putSelectionAt): add some documentation
375 * lyxfind.C (findBackwards): rewrite using while(). In particular,
376 make sure backwardChar is done at least once (to avoid getting
378 (findNextChange): use putSelectionAt in the forward direction
379 (operator()): use Paragraph::isWord
381 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
383 * Spacing.C (set): c_str fix
385 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
387 * lyx_cb.C (Reconfigure): quote the name of configure script in
388 case it contains spaces
390 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
394 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
395 (BOOST_LIBS): use top_buildir when looking for the file
397 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
399 * pch.h: do not use include boost/format.hpp, multiple symbols
400 will result (gcc bug)
403 2004-08-23 José Matos <jamatos@lyx.org>
405 * bufferparams.C (readToken): fix reading of the author field.
407 2004-08-20 José Matos <jamatos@lyx.org>
409 * lyxrc.C: remove support/translator.h inclusion since it is not used.
411 2004-08-20 José Matos <jamatos@lyx.org>
413 * lyxlex.[Ch] (findToken): remove function.
415 * ParagraphParameters.C (findToken):
416 * bufferparams.C (findToken): replace call for previous function
417 with local copy. This local function has one more argument, the
418 read string argument.
420 2004-08-16 José Matos <jamatos@lyx.org>
422 * ParagraphParameters.C (write):
423 * Spacing.C (writeFile):
424 * bufferparams.C (writeLaTeX):
425 * lyx_cb.C (Reconfigure):
426 * paragraph.C (write):
427 * tabular.C (write): remove unnecessary space at end of line.
430 2004-08-16 José Matos <jamatos@lyx.org>
432 * text.C (readParagraph): remove debug message.
434 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
436 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
439 * output_plaintext.C (asciiParagraph): set depth correctly
441 * outputparams.h: add member depth
443 * paragraph_funcs.C (ownerPar): remove.
445 * text2.C (setCounter): remove first_pit; comment out some
446 non-working code that uses ownerPar
448 * BufferView.C (getParentLanguage): remove. Not used anymore, and
451 2004-08-16 José Matos <jamatos@lyx.org>
453 * text.C (readParToken, readParagraph, read): report all unknown tokens.
454 For the same level of importance use the same chanel to report problems.
455 (read): add code to deal with \begin_body and \end_body.
458 2004-08-15 José Matos <jamatos@lyx.org>
460 * lyxlex.C (getString): fix comment, buffer::readBody is now
463 * tex-strings.C (string_papersize): Default -> default,
464 Custom -> custom, for consistency with other options.
466 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
470 * Makefile.am: support pch
472 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
474 * text.C (readParToken): remove the static LyXFont variable and
475 pass it as a parameter instead. This fixes a nasty bug where an
476 inset will be inserted with a bad font in some situations
477 (readParagraph): adapt
479 * text2.C (setCounter): reduce number of calls to pars_[pit]
481 * text.C (singleWidth): add an assert, fix a test
483 * rowpainter.C (paintText): reduce number of calls to singleWidth
485 * paragraph.C (isHfill):
488 2004-08-14 André Pönitz <poenitz@gmx.net>
493 * lyxtext.h (several functions): use a Paragraph & argument
496 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
498 * metricsinfo.h: add a new field ltr_pos to PainterInfo
500 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
502 * text.C (singleWidth): remove useless test
504 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
506 * tabular.h: remove bogus comments
508 * tabular.C (getDescentOfRow):
509 (isPartOfMultiColumn): add assertions
511 * lyxlength.C (inPixels): remove #warning
513 2004-08-14 André Pönitz <poenitz@gmx.net>
515 * paragraph.h: inline getChar()
517 * BufferView.h: remove unused declarations
519 2004-08-14 José Matos <jamatos@lyx.org>
521 * Buffer.[Ch] (readDocument): new name for old readBody.
522 * Buffer.C: new file format, new keywords: \begin_document,
523 \begin_header, \begin_body, \end_body.
525 * bufferparams.C (readToken): replace all calls to lex.nextToken
526 by lex.next(). Do the same to eatLine except where really needed.
528 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
529 line when writing to the lyx file.
531 * output_plaintext.C (asciiParagraph): fix Bibliography style
534 * text.C (read): fix end of file handling.
536 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
538 * MenuBackend.C (Menu::operator[]): new method to access
539 individual menu items
540 (Menu::hasFunc): new method. search for an item that corresponds
542 (MenuBackend::specialMenu): new method
543 (MenuBackend::expand): if a special menu has been set, skip
544 entries whose func() appears in this menu
546 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
548 * text3.C: use Debug::DEBUG a bit more
550 * text.C (leftMargin): try to simplify a tiny bit change var x to
551 l_margin. Dont output the wide margins always.
552 (rightMargin): no margin in inner texts
554 * rowpainter.h (nestMargin): new func
555 (changebarMargin): new func
556 (rightMargin): new func
558 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
562 * factory.C (createInset): modify setDrawFrame
564 * cursor.C: use Debug::DEBUG a bit more
566 2004-08-14 André Pönitz <poenitz@gmx.net>
569 * Makefile.am: new files to accomodate an 'external' (x,y)-position
570 cache for all insets in (at least partially) visible (top-level)
573 * BufferView_pimpl.C: reset external coord cache before every update.
574 This means the coord cache only contains valid entries.
576 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
579 * BufferView_pimpl.C (getInsetByCode): move function out of class
580 and change in to a template in anon namespace. Also fix to do what
583 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
586 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
588 (breakParagraph): rename par to par_offset and use a local
589 reference. Add code to keep the language over a rebreak.
590 (breakParagraphConservative): rename par to par_offset, use a
592 (mergeParagraph): ditto
594 (isFirstInSequence): ditto
595 (outerFont): rename pit to par_offset
597 * paragraph.C: ws change
602 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
604 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
607 * paragraph.C (simpleTeXOnePar): when we have a \item with
608 optional argument, enclose the argument with curly brackets (in
609 case it contains a closing square bracket)
613 * text3.C (checkInsetHit): constify
615 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
617 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
620 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
622 Fix toggling of collapsable insets with the mouse (bug 1558)
624 * lyxfunc.C (dispatch): adapt to LCursor changes
626 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
627 make sure that dispatch is not invoked twice
629 * cursor.C (needsUpdate): new method
630 (dispatch): return void
631 (result): new method, to access the DispatchResult of the cursor.
633 2004-08-13 José Matos <jamatos@lyx.org>
635 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
637 2004-08-13 André Pönitz <poenitz@gmx.net>
639 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
641 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
644 2004-08-12 André Pönitz <poenitz@gmx.net>
646 * text3.C: take out the 'cursor right' form insertInset and only
647 do it in those places when it is really needed. Fixes crash on
650 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
652 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
654 * BufferView_pimpl.C (setBuffer): initialize the current font of
655 the underlying LyXText
657 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
659 * kbsequence.C (print): use UI native formatting for menu
662 * text.C (insertChar): call Paragraph::insertChar with a font
665 * paragraph.C (insertInset, insertChar): the version that takes a
666 LyXFont argument is now a wrapper around the other one (the
667 opposite used to be true).
669 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
670 argument. Font setting is done in Paragraph now.
672 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
674 * outputparams.h: add new members intitle and lang.
676 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
677 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
679 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
681 * text3.C (dispatch): remove special handling of button 4 and 5,
682 it is now taken care of in the frontend code.
684 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
686 * Spacing.h: add <string> (STLPort compile fix)
688 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
690 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
692 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
694 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
697 * converter.C (showMessage): inherit from unary_function, make
700 * buffer.C (writeFile): initialize retval
702 * InsetList.h: rename private variable list to list_
703 * InsetList.[Ch]: adjust accordingly.
705 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
707 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
708 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
709 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
710 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
711 * ParagraphParameters.C, LaTeXFeatures.C: replace
712 "support/std_sstream.h" with <sstream>
714 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
716 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
717 * lyxsocket.C (LyXServerSocket): ditto
718 (serverCallback): ditto
720 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
722 * LaTeXFeatures.C: check release date when loading jurabib.
724 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
726 * lyxserver.C (startPipe): call register_socket_callback
727 (endPipe): call unregister_socket_callback
729 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
731 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
732 (LyXServerSocket): register the callback
733 (LyXServerSocket): unregister the callback
734 (fd): delete function
735 (serverCallback): improve error checking and setup the callbacks.
736 (dataCallback): change arg to fd.
737 (writeln): new func (copied fro the client socket) used for server
739 (LyXDataSocket): simplify
740 (~LyXDataSocket): close ann unregiser callback
741 (server): delete function
742 (fd): delete function
743 (readln): small changes, improve some std::string usage
744 (writeln): constify a bit
746 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
748 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
751 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
753 * BufferView_pimpl.C (setBuffer): set the layout combox value only
754 after it has been populated
756 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
758 * text2.C (insertInset): move cursor when inserting inset.
760 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
762 * kbmap.C (findbindings): a couple of new methods. returns a
763 container of kb_sequence objects. The real work is done by the
764 private recursive version
765 (printbindings): uses findbindings to print out a bracketed list
766 of bindings (renamed from findbinding).
768 * MenuBackend.C (binding): use kb_keymap::findbindings
770 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
772 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
774 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
776 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
778 * paragraph.C (isWord): return true on insets that report
781 * text.C (getWord): use Paragraph::isWord to decide what is in a
782 word and what is not; fix bug 1609.
784 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
786 * tex-strings.C: add "none" to string_paperpackages[], fixes
787 off-by-one-error in the paperpackage selection.
790 * tex-strings.[Ch]: char const * string[n]
791 -> char const * const string[]
793 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
795 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
796 command, return early.
798 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
800 * debug.h: add DEBUG to enum and fix size of ANY.
802 * debug.C: add support for Debug::DEBUG
803 (showTags): cast errorTags.level to unsigned int
805 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
806 (redoCurrentBuffer): ditto
807 (updateScrollbar): ditto
808 * cursor.C (dispatch): ditto
809 * text2.C (setLayout): ditto
811 (updateCounters): ditto
813 (deleteEmptyParagraphMechanism): ditto
815 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
817 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
818 annotations to cleanup the Makefile slightly.
820 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
822 * lyxrc.C: do not set user_email to a default value but use empty
823 instead. The entry used to be translated, which does not work
824 since at the point where lyxrc is constructed there is no
825 translation service available
827 * messages.C (getLocaleDir): remove and use directly
828 lyx_localedir() instead
830 2004-06-02 Angus Leeming <leeming@lyx.org>
832 Fix crash caused by dereferencing null pointer 'exportdata' in
833 OutputParams by creating a new ExportData variable on the heap,
834 storing it in a boost::shared_ptr.
835 The crash was triggered when generating an Instant Preview
836 of an external inset.
838 * Makefile.am: add outputparams.C
840 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
841 (c-tor): allocate memory to it.
843 * exporter.C (c-tor): associated changes.
845 2004-06-01 Angus Leeming <leeming@lyx.org>
847 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
848 contains data before calling isInset(0). (Bug 1513.)
850 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
852 * exporter.C (checkOverwrite): new method
853 * exporter.C (copyFile): new method
854 * exporter.C (Export): copy referenced files to the document dir
855 * exporter.[Ch]: new class ExportedFile
856 * exporter.[Ch]: new class ExportData. Contains currently the
857 names of referenced external files
858 * outputparams.h: add exportdata member.
860 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
862 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
865 2004-05-19 Angus Leeming <leeming@lyx.org>
870 * lyxfunc.C: small changes due to the introduction of namespace
871 lyx::frontend and the moving of namespace biblio to lyx::biblio.
873 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
875 * text3.C (dispatch): supress update when only moving the cursor
876 * cursor.C (selHandle): remove commented code
878 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
880 * paragraph.C (startTeXParParams): correct column count
881 * CutAndPaste.C (pasteSelection): remove const_cast
882 * output_docbook.C (docbookParagraphs): remove const_cast
883 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
884 const_cast and return ParagraphList::const_iterator
885 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
886 * output_plaintext.C (writeFileAscii): remove const_cast
887 * paragraph.[Ch] (simpleTeXOnePar): make const
888 * paragraph_funcs.C (outerPar): use const iterators
889 * paragraph_pimpl.C (validate): use const iterators
890 * text.C (setHeightOfRow): use const iterators
892 2004-05-17 Angus Leeming <leeming@lyx.org>
895 * LyXAction.C (init): new LFUN_INSET_REFRESH.
897 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
898 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
899 if the citation engine has changed.
901 2004-05-14 José Matos <jamatos@lyx.org>
903 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
904 if the textclass does not provide it. Have it different for sgml and
906 support the language of document.
907 * output_docbook.C (docbookParagraphs):
908 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
909 first anchor as the id of the paragraph, remove special case code.
910 * sgml.C (escapeChar): escape only < & >.
912 2004-05-14 Angus Leeming <leeming@lyx.org>
914 * bufferparams.h: move biblio::CiteEngine enum here to minimize
915 dependencies on src/frontends/controllers/biblio.h. Define a
916 CiteEngine_enum wrapper class to enable the enum to be forward
919 2004-05-12 Angus Leeming <leeming@lyx.org>
921 * buffer.C: up LYX_FORMAT to 234.
922 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
923 use_numerical_citations with a single biblio::CiteEngine cite_engine
925 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
927 2004-05-13 José Matos <jamatos@lyx.org>
930 * converter.C (Converter, readFlags): add xml member.
931 * outputparams.h: add XML flavor.
932 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
934 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
936 * lyxfunc.C (dispatch):
937 (getStatus): fix handling of LFUN_SEQUENCE
939 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
941 * debug.C (showLevel): do not forget the end-of-line marker
943 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
945 * kbmap.C (read): do not stop parsing a bind file when an error
948 2004-04-29 Angus Leeming <leeming@lyx.org>
953 * text2.C: wrap a bunch of #warning statements
954 inside #ifdef WITH_WARNINGS blocks.
956 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
958 * buffer.C: increment format to 233.
960 2004-04-28 Angus Leeming <leeming@lyx.org>
962 * BufferView_pimpl.C:
965 s/updateToolbar()/updateToolbars()/
966 s/Toolbar.h/Toolbars.h/
968 2004-04-28 Angus Leeming <leeming@lyx.org>
970 * BufferView.[Ch] (c-tor):
971 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
972 No longer passes these data to the WorkArea generator.
974 2004-04-28 Angus Leeming <leeming@lyx.org>
976 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
978 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
980 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
982 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
984 * output_latex.C (TeXEnvironment): make sure that there is a line
985 break before \end{foo} for the last paragraph of a document
986 (TeXOnePar): if the paragraph is at the end of the document (or
987 inset) and the language has to be reset, then make sure that the
988 line break is _before_ the language command, not after (fixes bug
989 1225); also make sure that the language reset command is the first
990 thing after the paragraph (to ensure proper nesting of
991 environments and thus fix bug 1404)
993 2004-04-21 John Levon <levon@movementarian.org>
996 * ToolbarBackend.C: make "name" be a programmatic name
997 and a gui_name field.
999 * lyxfunc.C: display the minibuffer on M-x
1001 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1003 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1006 2004-04-19 Angus Leeming <leeming@lyx.org>
1008 * BufferView_pimpl.C (setBuffer): changed preview interface.
1010 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1013 2004-04-19 John Levon <levon@movementarian.org>
1015 * BufferView_pimpl.C:
1016 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1018 2004-04-05 Angus Leeming <leeming@lyx.org>
1020 * text.C (redoParagraphs): add call to updateCounters(), thereby
1021 fixing the missing "Figure #:" label from the caption of a
1024 2004-04-13 Angus Leeming <leeming@lyx.org>
1026 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1027 cursor is clicked out of an inset.
1029 2004-04-13 Angus Leeming <leeming@lyx.org>
1031 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1032 than an InsetOld one.
1034 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1036 * format.[Ch]: add editor to Format
1037 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1038 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1040 2004-04-08 André Pönitz <poenitz@gmx.net>
1042 * metricsinfo.h: remove PainterInfo::width member
1044 2004-04-08 Angus Leeming <leeming@lyx.org>
1046 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1047 "\providecommand" rather than "\newcommand", thereby preventing
1048 clashes with packages that define "\boldsymbol" themselves.
1051 2004-04-08 Angus Leeming <leeming@lyx.org>
1053 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1054 thereby squashing an unnecessary warning.
1056 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1058 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1061 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1063 * BufferView.C (setCursor): call redoParagraph (some insets could
1065 (putSelectionAt): remove the 'double update' trick
1067 * BufferView_pimpl.C (fitCursor): call refreshPar
1068 (workAreaDispatch): remove an uneeded update call
1069 (dispatch): remove some manual update calls
1071 * cursor.[Ch]: remove cached_y_, updatePos
1072 (selHandle): set noUpdate when appropriate
1074 * lyxfunc.C (dispatch): track if we need an update
1076 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1078 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1079 (paintSelection): cheap optimization, do not call cursorX when not
1081 (paintPars): change signature
1084 (paintTextInset): adjust
1088 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1090 * lengthcommon.C: compilation fix: remove explicit array size from
1091 unit_name[] and friends
1093 2004-04-05 Angus Leeming <leeming@lyx.org>
1095 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1097 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1098 present only for the preferences dialog.
1099 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1101 2004-04-05 Angus Leeming <leeming@lyx.org>
1103 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1104 to enable the frontends to export changes to lyxrc correctly.
1106 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1108 2004-04-07 André Pönitz <poenitz@gmx.net>
1110 * cursor.[Ch] (selClear, adjust): remove math
1112 * cursor_slice.C: more agressive assert
1115 * BufferView_pimpl.C: rework mouse event dispatch
1122 2004-04-05 André Pönitz <poenitz@gmx.net>
1124 * cursor.[Ch] (valign, halign...): remove unneeded functions
1126 2004-04-05 Angus Leeming <leeming@lyx.org>
1128 * lyxlength.[Ch] (unit_name et al.): const-correct.
1130 2004-04-05 Angus Leeming <leeming@lyx.org>
1132 * BufferView_pimpl.C:
1141 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1143 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1145 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1147 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1149 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1150 * BufferView_pimpl.[Ch] (getStatus)
1151 * BufferView.[Ch] (getStatus): add
1152 * lyxfunc.C (getStatus): move lfuns handled in
1153 BufferView::dispatch to te function above
1154 * Cursor.C (setSelection): set selection() = true
1156 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1158 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1160 2004-03-31 Angus Leeming <leeming@lyx.org>
1162 * lyxfunc.C (dispatch): Fall through to the generic
1163 Dialogs::show("preamble").
1165 2004-03-31 Angus Leeming <leeming@lyx.org>
1167 * lyxfunc.C (dispatch): Fall through to the generic
1168 Dialogs::show("spellchecker").
1170 2004-03-31 Angus Leeming <leeming@lyx.org>
1172 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1175 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1180 * insetiterator.[Ch]:
1185 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1187 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1189 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1190 insets where we are putting the cursor.
1192 2004-03-31 Angus Leeming <leeming@lyx.org>
1195 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1197 * lyxrc.[Ch] (read, write): overloaded member functions taking
1198 a std::[io]stream arguments.
1200 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1202 2004-03-31 Angus Leeming <leeming@lyx.org>
1204 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1205 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1207 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1208 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1210 2004-03-31 Angus Leeming <leeming@lyx.org>
1212 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1213 the LFUN_ALL_INSETS_TOGGLE code.
1215 2004-03-30 Angus Leeming <leeming@lyx.org>
1217 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1218 has died. Fall through to the generic Dialogs::show("document").
1220 2004-03-30 Angus Leeming <leeming@lyx.org>
1223 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1224 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1226 * lyxfunc.C (getStatus, dispatch): define the actions for these
1227 lfuns. Little more than a cut and pste job from ControlDocument.C
1229 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1231 2004-03-30 Angus Leeming <leeming@lyx.org>
1234 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1235 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1237 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1238 open/closed state of ollapsable insets. Usage:
1240 all-inset-toggle <state> <name>, where
1241 <state> == "open" || "closed" || "toggle" and
1242 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1244 * lyxtext.h, text2.C (toggleInset): removed.
1246 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1247 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1248 now passes LFUN_INSET_TOGGLE to the found inset.
1250 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1251 is now invoked as "all-insets-toggle toggle branch".
1253 2004-03-30 Angus Leeming <leeming@lyx.org>
1257 * pariterator.[Ch]: added/corrected header blurb.
1259 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1261 * dociterator.[Ch]: add an inset_ member
1262 (backwardPos): implemented
1263 (backwardPos, forwardPos): use inset_ when the stack is empty.
1264 (doc_iterator_begin, doc_iterator_end): implemented
1265 * pariterator.[Ch]: adjust, add begin, end
1266 * insetiterator.[Ch]: adjust, add begin, end
1270 * BufferView_pimpl.C:
1271 * CutAndPaste.C: adjust
1273 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1275 * buffer.C: increment file format to 232.
1276 * LaTeXFeatures.C: add bibtopic package.
1277 * bufferparams.[Ch]: param \use_bibtopic.
1279 * lyxrc.[Ch]: add lyxrc bibtex_command
1280 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1282 * buffer.C: increment file format to 231.
1284 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1286 * dociterator.C: implement forwardPar
1287 * iterators.[Ch]: remove, replaced by
1288 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1290 * BufferView_pimpl.C:
1293 * bufferview_funcs.C:
1299 * Makefile.am: adjust
1301 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1303 * CutAndPaste.C (pasteSelection): fix 2 crashes
1304 (eraseSelection): fix a crash
1305 * paragraph_funcs.C: remove a warning
1307 2004-03-28 Angus Leeming <leeming@lyx.org>
1310 * LyXAction.C (init): new LFUN_PRINT.
1312 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1314 2004-03-27 Angus Leeming <leeming@lyx.org>
1317 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1319 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1321 2004-03-27 Angus Leeming <leeming@lyx.org>
1323 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1324 insetlist always contains non-null pointers to insets.
1326 2004-03-26 Angus Leeming <leeming@lyx.org>
1328 * src/BufferView_pimpl.C:
1329 * src/CutAndPaste.C:
1332 * src/output_plaintext.C:
1333 * src/outputparams.h:
1334 * src/paragraph_funcs.C:
1338 * src/frontends/controllers/ControlErrorList.C:
1339 * src/frontends/gtk/FileDialogPrivate.C:
1340 * src/frontends/gtk/GPainter.C:
1341 * src/frontends/gtk/GToolbar.C:
1342 * src/frontends/qt2/QRef.C:
1343 * src/mathed/math_scriptinset.C: squash compiler warnings.
1345 2004-03-26 Angus Leeming <leeming@lyx.org>
1347 * ispell.C (LaunchIspell::start):
1348 * lyx_cb.C (AutoSaveBuffer::start):
1349 invoke run(DontWait) rather than runNonBlocking().
1351 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1353 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1355 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1357 * kbsequence.C (print): adjust
1359 * kbmap.C (printKeySym): rename and change signature
1360 (printKey): use LyXKeySym::print()
1362 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1364 * undo.C: add using std::advance to compile for stlport
1366 2004-03-24 Angus Leeming <leeming@lyx.org>
1368 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1369 it leads to a crash when no buffer is present.
1371 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1372 Martin Vermeer <martin.vermeer@hut.fi>
1374 * lyxfunc.C (dispatch):
1375 * bufferparams.C (readToken): use the new LColor::setColor
1377 * LColor.[Ch] (setColor): new version that takes two strings as
1378 argument and creates a new color entry if necessary
1380 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1382 * buffer.C (makeLaTeXFile): if the main latex file that is
1383 processed is usually a subdocument of some master, then pretend
1384 for a while that it is actually the master
1386 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1388 * buffer.C (getLabelList):
1389 (getBibkeyList): use getMasterBuffer()
1390 (getMasterBuffer): new method. Returns the main document in the
1391 case where one is using included documents.
1393 2004-03-25 André Pönitz <poenitz@gmx.net>
1397 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1399 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1401 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1402 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1404 * ParameterStruct.h: merge with ParagraphParameters
1406 * lyxtext.h: remove LyXText::parOffset() and getPar()
1408 * text3.C: Remove all 'manual' update calls. We do now one per user
1409 interaction which is completely sufficient.
1413 * BufferView_pimpl.C:
1414 * FontIterator.[Ch]:
1416 * ParagraphParameters.[Ch]:
1421 * cursor_slice.[Ch]:
1428 * output_docbook.[Ch]:
1429 * output_latex.[Ch]:
1430 * output_linuxdoc.[Ch]:
1431 * output_plaintext.[Ch]:
1433 * paragraph_funcs.[Ch]:
1434 * paragraph_pimpl.[Ch]:
1442 * frontends/controllers/ControlDocument.C:
1443 * frontends/controllers/ControlErrorList.C:
1444 * frontends/controllers/ControlSpellchecker.C:
1447 * insets/insetbase.h:
1448 * insets/insetbibitem.C:
1449 * insets/insetbox.C:
1450 * insets/insetbranch.C:
1451 * insets/insetcaption.C:
1452 * insets/insetcharstyle.C:
1453 * insets/insetcharstyle.h:
1454 * insets/insetcollapsable.C:
1455 * insets/insetcollapsable.h:
1456 * insets/insetert.C:
1457 * insets/insetfloat.C:
1458 * insets/insetfoot.C:
1459 * insets/insetmarginal.C:
1460 * insets/insetnote.C:
1461 * insets/insetoptarg.C:
1462 * insets/insettabular.C:
1463 * insets/insettext.C:
1464 * insets/insettext.h:
1465 * insets/insetwrap.C:
1466 * mathed/math_mboxinset.C:
1467 * mathed/math_nestinset.C:
1468 * mathed/math_scriptinset.C:
1469 * mathed/math_scriptinset.h:
1472 2004-03-24 Angus Leeming <leeming@lyx.org>
1474 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1475 deal with any child processes that have finished but are waiting to
1476 communicate this fact to the rest of LyX.
1478 2004-03-24 Angus Leeming <leeming@lyx.org>
1480 64-bit compile fixes.
1482 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1483 (c-tor): pass lyx::pos_types rather than ints.
1485 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1488 * text.C (Delete): compile fix.
1489 (getPar): ensure that function declaration is the same as that in
1492 2004-03-23 Angus Leeming <leeming@lyx.org>
1494 * ispell.C (LaunchIspell):
1495 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1496 a boost::shred_ptr rather than a std::auto_ptr.
1498 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1500 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1501 handle LFUN_FILE_INSERT_*
1503 * lyxrc.C (setDefaults, getDescription, output, read):
1504 * lyxrc.h: remove ps_command
1506 2004-03-22 Angus Leeming <leeming@lyx.org>
1508 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1509 Ensure that error_handler is processed once only and that all data
1510 is saved before attempting to output any warning messages.
1512 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1514 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1516 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1518 2004-03-19 André Pönitz <poenitz@gmx.net>
1520 * cursor.[Ch] (reset): take main text inset as argument
1522 * BufferView: adjust
1523 * BufferView_pimpl.C: adjust
1525 * paragraph.[Ch]: fix completely broken operator=()
1527 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1529 * LColor.C (getFromLyXName): make sure that the color name is used
1532 2004-03-17 Angus Leeming <leeming@lyx.org>
1535 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1537 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1538 dialog and to kill a forked process.
1540 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1542 * text2.C (setCursorFromCoordinates): fix font problem
1544 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1546 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1547 bogus "rebuild cursor" code
1549 2004-03-11 André Pönitz <poenitz@gmx.net>
1551 * buffer.[Ch]: use InsetText instead of LyXText as container for
1554 * dociterator.[Ch]: drop the BufferView * member which is not needed
1555 anymore after the change to buffer.C
1557 * paragraph_funcs.C:
1561 * BufferView_pimpl.[Ch]:
1563 * cursor_slice.[Ch]: adjust
1565 * text3.C: fix bug in mathDispatch
1567 2004-03-08 André Pönitz <poenitz@gmx.net>
1569 * undo.[Ch]: use 'StableDocumentIterator' as base for
1572 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1575 * bufferparams.[Ch]: add jurabib support and param.
1577 * LaTeX.C: add FIXME/comment.
1579 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1581 * buffer.C: increment file format to 230.
1583 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1585 * cursor.C (dispatch): avoid infinite loops
1587 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1589 * rowpainter.C (paintSelection): fix x coordinates
1591 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1593 * text.C (rowBreakPoint): fix breaking before displayed insets
1595 2004-03-01 André Pönitz <poenitz@gmx.net>
1597 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1599 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1603 * BufferView_pimpl.C:
1611 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1617 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1618 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1620 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1622 * Bidi.[Ch] (computeTables): const correctness
1623 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1624 fill_hfill, fill_label_hfill and x from Row
1625 * lyxtext.h: prepareToPrint returns a RowMetrics
1626 * rowPainter.C: adjust
1627 * text.C (prepareToPrint): use width, not textWidth. adjust
1628 (redoParagraphInternal, cursorX): adjust
1629 * text2.C (getColumnNearX): adjust
1630 (init): put a default value to the top LyXText::width
1632 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1634 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1636 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1638 * lyxtext.h: add FontIterator class
1640 * text.C (FontIterator, operator*, operator->, operator++): add
1641 (rowBreakPoint, setRowWidth): adjust (fixing a
1644 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1646 * BufferView_pimpl.C (workAreaDispatch): allow also
1647 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1649 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1651 * text.C (rowBreakPoint): fix a bug showing with very large insets
1653 2004-02-25 André Pönitz <poenitz@gmx.net>
1656 * cursor.[Ch]: move some mathed specific code to mathed
1658 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1660 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1661 use_tempdir in preferences
1662 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1664 * lyx_main.C: ensure that tempdir is valid
1665 * lyxlex.h: correct typo
1666 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1667 * paragraph.[Ch] (isMultiLingual): make const
1668 * cursor.[Ch] (openable): make const
1670 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1672 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1674 2004-02-20 André Pönitz <poenitz@gmx.net>
1676 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1678 * cursor.[Ch]: prepare for localized getStatus()
1684 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1686 2004-02-20 André Pönitz <poenitz@gmx.net>
1688 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1690 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1692 * text2.C (setCursorFromCoordinates): switch to absolute coords
1694 (cursorDown): adjust
1695 * text3.C (dispatch): adjust
1697 2004-02-16 André Pönitz <poenitz@gmx.net>
1699 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1702 * cursor_slice.[Ch]: remove unneeded acessor function
1704 * lyxtext.h: rename rtl() to isRTL()
1712 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1714 * rowpainter.C (paintSelection): coord fix
1716 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1718 * Spacing.C: compile fix
1720 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1722 * cursor.C (dispatch): restore current_ before returning
1724 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1726 * text2.C (cursorUp, cursorDown): fix coords
1729 2004-02-12 André Pönitz <poenitz@gmx.net>
1734 * text3.C: add LCursor & parameter to most cursor movement functions
1735 remove usage of LyXText::cursorRow() and cursorPar()
1737 * cursor.[Ch]: add textRow() needed members
1740 * BufferView_pimpl.C:
1743 * BufferView_pimpl.C: adjust
1745 2004-02-11 André Pönitz <poenitz@gmx.net>
1749 * BufferView_pimpl.C: shift undo/redo handling
1751 * cursor.[Ch]: fix mathed crash
1754 * lyxtext.h: move selectionAsText to LCursor
1762 * rowpainter.C: fix excessive drawing
1764 2004-02-06 André Pönitz <poenitz@gmx.net>
1767 * BufferView_pimpl.[Ch]:
1768 * text3.C: move some text specific LFUN handling
1770 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1772 * text3.C (checkInsetHit): adjust coords
1773 * text2.C (getColumnNearX): adjust coords
1774 (edit): adjust coords
1775 * text.C (getRowNearY): add two asserts
1777 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1780 * format.C: add using std::distance to compile on gcc 2.95/stlport
1782 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1784 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1786 2004-02-04 André Pönitz <poenitz@gmx.net>
1788 * BufferView.[Ch] (insertInset):
1789 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1794 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1796 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1797 on the default clause of the switch
1798 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1799 wasn't catched by LCursor::dispatch
1801 2004-02-03 André Pönitz <poenitz@gmx.net>
1804 * cursor.[Ch]: some additional asserts
1806 * undo.[Ch]: remove LyXText dependency in interface
1810 * lyxtext.h (firstPar, lastPar): remove dead functions
1815 * paragraph.[Ch]: adjust
1817 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1819 * lyxfind.C (find): fix argument order in call to ::find
1821 2004-02-02 André Pönitz <poenitz@gmx.net>
1823 * cursor.[Ch]: remove direct access to anchor
1825 * text.C: remove findText() hack
1827 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1829 * iterators.[Ch] (lockPath): remove in favour of...
1830 * BufferView.[Ch] (setCursor): this addition
1831 * BufferView.C (putSelectionAt): adjust
1832 * undo.C (performUndoOrRedo): adjust
1833 * lyxfunc.C (dispatch): adjust
1835 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1837 * iterators.C (lockPath): add a missing slice
1838 * undo.C (performUndoOrRedo): remove redundant positioning code
1840 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1842 * vc-backend.C (scanMaster): ";" -> ';'
1844 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1846 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1847 std::binary_function
1849 * lyxtextclass.C (compare_name): rename to...
1850 (LayoutNamesEqual): ...this
1852 * lyxlex_pimpl.C (compare_tags): inherit from
1853 std::binary_function, put back into anon namespace
1855 * lyxfind.C (MatchString): inherig from std::binary_function
1856 (findChange): use empty() istead of !size()
1858 * format.C (FormatNamesEqual): new functor
1865 * converter.C (compare_Converter): rename to...
1866 (ConverterEqual): ...this, and fixup a bit.
1867 (getConverter): use it, and make function const
1868 (getNumber): use it, and make function const
1872 * bufferlist.C: add using boost::bind
1874 * MenuBackend.C (MenuNamesEqual): new functor
1875 (hasMenu): use it, and make function const
1876 (hasSubmenu): use nested bind to get rid of compare_memfun.
1878 2004-01-30 André Pönitz <poenitz@gmx.net>
1880 * BufferView_pimpl.C:
1883 * cursor_slice.[Ch]:
1886 * paragraph_funcs.C:
1887 * paragraph_funcs.h:
1891 * text3.C: move some of the edit(x,y) handling to the insets
1892 some coordinate changes.
1894 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1896 * text.C: add using statements for std::advance and std::distance
1898 * paragraph.C: add using statement for std::distance
1900 * lyxfind.C: add using statement for std::advance
1902 * cursor.C (region): remove std:: from swap
1903 (openable): use nucleus in stead of operator->
1905 * BufferView.C: add using statements for std::distance and std::swap
1907 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1909 * iterators.C: Remove the pimple, move the needed structures to
1910 the header file. Create accessor for the positions stack.
1911 (asPosIterator): remove function
1913 * PosIterator.C (PosIterator): move constructors to top of file
1914 (PosIterator): reimplement the constructor taking a ParIterator in
1916 (setFrom): new function
1917 (operator!=): inline it
1919 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1921 * lyxfind.C (replaceAll): use std::advance
1923 * iterators.h: inherit from std::iterator.
1925 * PosIterator.C (advance, distance): remove
1926 * PosIterator.h: interit from std::iterator.
1928 2004-01-26 André Pönitz <poenitz@gmx.net>
1931 * BufferView_pimpl.[Ch]:
1935 * bufferview_funcs.C:
1945 * output_linuxdoc.C:
1946 * output_plaintext.C:
1948 * paragraph_funcs.[Ch]:
1949 * paragraph_pimpl.[Ch]:
1955 * text3.C: more IU: dumps most of the rest of the mathcursor
1956 implementation into cursor.[Ch]; "globalize" a bit of it.
1958 2004-01-25 Angus Leeming <leeming@lyx.org>
1960 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1962 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1964 * LaTeXFeatures.h: add nice_ and nice() const
1965 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1967 2004-01-20 André Pönitz <poenitz@gmx.net>
1970 * BufferView_pimpl.C:
1972 * bufferview_funcs.C:
1974 * cursor_slice.[Ch]:
1985 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1986 LCursor and mathcursor parts to LCursor and InsetBase.
1988 2004-01-15 André Pönitz <poenitz@gmx.net>
1990 * cursor_slice.[Ch]: add a few covienience functions
1992 * funcrequest.[Ch]: remove BufferView * member
1994 * BufferView_pimpl.C:
2001 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2003 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2005 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2006 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2008 2004-01-13 André Pönitz <poenitz@gmx.net>
2011 * lyxtext.h: hide cursor and selection anchor behind accessor function
2014 * BufferView_pimpl.[Ch]:
2016 * bufferview_funcs.C:
2026 * cursor_slice.[Ch]: some integer type changes for inset unification
2028 * lyxcursor.[hC]: remove, it's CursorSlice now.
2031 * BufferView_pimpl.[Ch]:
2032 * bufferview_funcs.C:
2038 * textcursor.[Ch]: adjust
2040 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2042 * text2.C (undoSpan): add and use
2043 * text.C (breakParagraph): use undoSpan (fix bug 578)
2046 2004-01-08 Angus Leeming <leeming@lyx.org>
2048 * BufferView_pimpl.C (MenuInsertLyXFile):
2049 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2050 * lyxfunc.C (menuNew, open, doImport):
2051 FileFilterList change to the FileDialog open and save functions.
2053 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2055 * ShareContainer.h: make isEqual and isUnique adaptable
2057 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2059 2004-01-07 Angus Leeming <leeming@lyx.org>
2062 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2064 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2066 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2067 functions replacing find, replace and replaceAll.
2069 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2070 LFUN_WORDFIND(FORWARD|BACKWARD).
2072 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2074 * text.C (breakParagraph): remove an outdated #warning
2076 2004-01-07 André Pönitz <poenitz@gmx.net>
2078 * lyxfind.C: somewhat clearer logic
2080 * text.C: prevent crash in cursorX on unitialized row cache
2082 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2084 * lyxcursor.[Ch] (operator>): add
2085 * textcursor.C (selStart, selEnd): use std::min and std::max
2087 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2089 * Chktex.C: include boost/format.hpp
2091 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2093 * InsetList.C: replace functor MathcIt with adaptable functor
2095 (insetIterator): modify accordingly
2097 * BranchList.h: move the BranchNamesEqual functor here from...
2098 * BranchList.C: ... to here
2100 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2102 (add): replace a finding loop with std::find_if.
2104 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2106 * output_docbook.C: moving LatexParam functionality into
2109 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2111 * buffer.C: increment format to 229.
2113 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2116 * lyx_sty.[Ch]: remove minipageindent_def
2122 * text3.C: remove LFUN_INSET_MINIPAGE
2124 2003-12-28 Angus Leeming <leeming@lyx.org>
2126 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2128 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2130 * text2.C (setParagraph): fix off-by-one crash
2132 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2134 * output_docbook.C: header stuff for AGU
2136 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2138 * text2.C (redoCursor): remove
2141 * BufferView_pimpl.C: remove calls to redoCursor and
2142 setCursor(cursor.par(), cursor.pos()) all around
2144 2003-12-15 Angus Leeming <leeming@lyx.org>
2146 * buffer.C: up the format to 228.
2148 2003-12-15 André Pönitz <poenitz@gmx.net>
2150 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2155 * BufferView_pimpl.C:
2164 2003-12-15 Angus Leeming <leeming@lyx.org>
2166 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2167 than getFromGUIName to manipulate the color.
2169 2003-12-14 Angus Leeming <leeming@lyx.org>
2171 * BranchList.[Ch]: minimize the API.
2172 (Branch::getBranch, getColor): now return a 'const &'.
2173 (Branch::setSelected) now returns a bool set to true if the
2174 selection status changes.
2175 (BranchList::clear, size, getColor, setColor, setSelected,
2176 allBranches, allSelected, separator): removed.
2177 (BranchList::find): new functions, returning the Branch with
2179 (BranchList::add, remove): return a bool indicating that
2180 the operation was successful.
2182 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2183 new InsetBranch::isBranchSlected member function.
2185 * LColor.[Ch]: mimimize the API.
2186 (fill): renamed as addColor and made private.
2187 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2188 versions of these functions taking a string arg have been removed.
2190 * bufferparams.C (readToken):
2191 * lyxfunc.C (dispatch):
2192 * lyxrc.C (read): changes due to the altered BranchList and
2195 * factory.C (createInset, readInset): changes due to altered
2198 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2201 * lyxfunc.C: remove insetminipage. "minipage-insert"
2202 now produces a frameless minipage box inset.
2204 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2206 * textcursor.[Ch] (selStart,selEnd): add new methods
2207 remove selection::start, end, use LyXCursor::operator<
2208 * lyxcursor.[Ch] (operator<): add
2209 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2210 * BufferView.[Ch] (unsetXSel): add
2211 * text2.C (clearSelection): use unsetXSel,adjust
2214 * rowpainter.C: adjust
2215 * bufferview_funcs.C (put_selection_at): adjust
2217 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2219 * BufferView_pimpl.C: small coord. correction
2221 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2223 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2224 dragging over the splash screen.
2226 2003-12-11 Angus Leeming <leeming@lyx.org>
2228 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2229 as it is now handled in LyXText::dispatch.
2231 * text3.C (doInsertInset): remove a level of nesting.
2233 2003-12-11 Angus Leeming <leeming@lyx.org>
2235 * factory.C (createInset): changes due to the changed interface to
2236 InsetCommandMailer::string2params.
2238 2003-12-10 Angus Leeming <leeming@lyx.org>
2240 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2241 'dialog-show-new-inset <inset name>'
2243 2003-12-10 Angus Leeming <leeming@lyx.org>
2245 * buffer.C: up the format to 227.
2247 * factory.C: the box inset is now identified simply by 'Box'.
2249 2003-12-10 Angus Leeming <leeming@lyx.org>
2251 * buffer.C: up the format to 226.
2253 * factory.C: the note inset is now identified simply by 'Note'.
2255 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2257 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2258 when a pit is enough. Standarize a couple of loops.
2260 2003-12-05 Angus Leeming <leeming@lyx.org>
2262 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2263 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2264 data to the re-worked "log" dialog.
2266 2003-12-03 André Pönitz <poenitz@gmx.net>
2272 * paragraph_funcs.C:
2274 * text2.C: use Inset::getText instead of Inset::getParagraph
2276 2003-12-03 André Pönitz <poenitz@gmx.net>
2280 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2281 InsetText::read() as LyXText::read()
2283 2003-12-02 Angus Leeming <leeming@lyx.org>
2285 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2286 type. Add a comment in the implementation that the function uses
2287 the stream's bad() function rather than fail() as the std::streams
2290 2003-12-02 André Pönitz <poenitz@gmx.net>
2292 * lyxlex.[Ch]: make interface more similar to std::stream
2294 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2296 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2298 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2300 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2302 * vspace.[Ch]: remove VSpace::NONE
2304 2003-12-01 André Pönitz <poenitz@gmx.net>
2307 * lyxtext.h: move ParagraphList member to LyXText
2308 rename LyXText::ownerParagraphs to LyXText::paragraph
2311 * bufferview_funcs.C:
2321 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2323 * undo.C: fix cursor positioning
2325 2003-12-01 John Levon <levon@movementarian.org>
2327 * BufferView_pimpl.C: fix a crash on exit with
2330 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2332 * BranchList.C: fix setSelected() method.
2334 2003-11-28 André Pönitz <poenitz@gmx.net>
2336 * ParagraphParameters.[Ch]:
2337 * ParameterStruct.h: remove space above/below from Paragraph to
2340 * BufferView_pimpl.C:
2346 * paragraph_funcs.C:
2352 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2354 * factory.C: Syntax change for CharStyles
2356 2003-11-28 André Pönitz <poenitz@gmx.net>
2361 * buffer.[Ch]: move LyXText member
2363 2003-11-28 André Pönitz <poenitz@gmx.net>
2365 * BufferView.[Ch]: make LyXText * text a private member
2367 * BufferView_pimpl.C:
2378 * output_plaintext.C: cleanup
2380 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2383 * lyxtextclass.[Ch]: parametrize SGML document header
2385 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2388 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2391 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2393 * text2.C (setFont): rework using PosIterator (no more recursive)
2394 (setCharFont): no more needed
2395 (setLayout): no more selection cursors fiddling (done by redoCursor)
2396 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2397 destroy remaining ones)
2399 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2401 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2403 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2406 * text3.C: adjust + re-allow multi par depth changes
2407 * textcursor.C: simplify a bit
2409 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2415 * src/output_docbook.C:
2416 * src/output_latex.C:
2421 * src/text2.C: Introducing a number of tags parametrizing various
2422 XML formats that we may want to support
2424 2003-11-25 André Pönitz <poenitz@gmx.net>
2426 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2428 * lyxtext.h (leftMargin/rightMargin): simplify interface
2435 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2437 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2438 master file to any child files. Fixes bug 546.
2440 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2442 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2444 2003-11-24 André Pönitz <poenitz@gmx.net>
2446 * rowpainter.C: simplification
2448 * text2.C (updateCounters): remove call to redoParagraph on
2449 changed labels as this is far too expensive.
2451 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2453 * converter.C (convert): fix a crash: this function gets
2454 called with buffer == 0 from importer code.
2456 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2458 * text3.C (cursorPrevious): make sure that we do not compare
2459 iterators form different containers.
2462 * rowpainter.C (paintSelection): make sure that we do not compare
2463 iterators from different containers.
2465 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2466 iterators from different ParagraphList containers.
2469 * text2.C (LyXText): change order of initialization slightly
2470 (operator=): new function. copy all variables except cache_par_
2471 (moveUp): make sure that we do not compare iterators from
2472 different ParagraphList constainers.
2475 * text.C (firstPar): new function
2476 (lastPar): new function
2477 (endPar): new function
2479 * lyxtext.h: move things around and group public functions, public
2480 variables, private functions, private variables
2482 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2484 * factory.C: change call to InsetERT constructor to avoid
2485 additional invocation of method status
2486 * text2.C (toggleInset): remove redundant update() call
2487 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2488 instead of a Bufferview pointer
2490 2003-11-21 André Pönitz <poenitz@gmx.net>
2492 * rowpainter.C: simplification
2494 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2496 * text3.C (dispatch): make possible to extend a word/row selection
2499 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2501 * lyxtext.h: x0_,y0_ -> xo_,yo_
2502 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2503 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2504 * rowpainter.C (paintRows): paint full paragraphs
2506 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2508 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2511 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2513 * lyxtext.h: add x0_, y0_
2514 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2515 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2517 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2519 * text2.C (setCursorIntern): move the x_target update here *
2520 * text3.C: change some bv() to true/false in calls to
2521 cursorUp/Down/Right/Left
2522 * cursor.C: use helper function.
2524 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2526 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2527 * paragraph_funcs.[Ch]: correct comment
2528 * rowpainter.C: do not paint selections away from bv->cursor()
2529 Fix a long standing selection painting bug.
2530 * text3.C: generalize mouse-selection code to LyXTexts other that
2532 * textcursor.C: do not use y coords if we can use par offsets
2534 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2536 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2537 cursor position after e.g. inset insert)
2539 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2541 * lyxfind.C (replace): adjust to locking removal + some
2544 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2546 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2549 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2552 * output_docbook.C: XML sanitation: new layout
2553 parameters InnerTag and CommandDepth
2555 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2557 * BufferView_pimpl.C:
2559 * text3.C: Fix the insertion and modification of button-style
2562 2003-11-13 André Pönitz <poenitz@gmx.net>
2564 * InsetList.[Ch]: remove deleteLyXText
2566 * paragraph.[Ch]: cache beginOfBody position
2571 * text3.C: remove superfluous update() calls
2575 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2577 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2578 * BufferView.C (fitLockedInsetCursor): remove
2579 * cursor.[Ch] (getDim): add
2580 * text.C (getRowNearY): add faster version
2581 * text3.C: remove some update calls
2583 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2595 * text3.C: The Character Style /XML short element patch.
2597 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2600 * factory.C: Small step to solving 'unable to insert some insets'
2603 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2605 * cursor.[Ch] (updatePos): new function for updating the y
2606 position of the tip inset
2607 * bufferview_funcs.C (put_selection_at):
2608 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2610 2003-11-11 André Pönitz <poenitz@gmx.net>
2612 * text.C: remove big comment on invalid Paragraph pointers as it is
2615 2003-11-11 André Pönitz <poenitz@gmx.net>
2617 * text_funcs.[Ch]: merge with ...
2625 * Makefile.am: remove text_funcs.[Ch]
2627 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2629 * cursor.C (getPos): return absolute cached y coord
2631 * BufferView_pimpl.C (fitCursor): new simplistic code
2632 (workAreaDispatch): add a fitCursor call
2634 2003-11-10 André Pönitz <poenitz@gmx.net>
2637 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2639 2003-11-10 André Pönitz <poenitz@gmx.net>
2641 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2642 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2643 indicate that the cursor needs to leave an inset
2645 * lyxtext.h: remove inset locking
2647 * cursor.[Ch]: re-implement functionality provided by inset locking
2650 * BufferView_pimpl.[Ch]:
2652 * bufferview_funcs.[Ch]:
2664 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2666 * PosIterator.[Ch]: replace the stack with a vector, add inset
2668 * iterators.[C]: adjust
2670 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2672 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2674 * paragraph_funcs.C (readParToken): put the correct id in the
2675 error item, not the id of the top paragraph
2677 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2679 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2680 * bufferview_funcs.C (put_selection_at): use the above
2682 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2684 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2686 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2688 * output_linuxdoc.h:
2689 * output_plaintext.h:
2691 * output_docbook.h: add #include statements
2693 2003-11-05 José Matos <jamatos@lyx.org>
2695 * output_docbook.[Ch]:
2696 * output_latex.[Ch]:
2697 * output_linuxdoc.[Ch]:
2698 * output_plaintext.[Ch]: New files for output formats.
2699 * output.[Ch]: New file for helper functions.
2702 * paragraph_funcs.[Ch]: output functions moved to new files.
2704 * outputparams.h: rename of latexrunparams.h
2712 * paragraph_funcs.[Ch]:
2713 * paragraph_pimpl.[Ch]:
2714 * tabular.[Ch]: rename ascii to plaintext
2715 and LatexRunParams to OutputParams.
2717 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2719 * iterators.[Ch] (text): require bv argument
2720 * undo.C (recordUndo):
2721 * lyxfunc.C (dispatch):
2722 * bufferview_funcs.C (put_selection_at): adjust
2724 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2726 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2728 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2730 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2733 2003-11-04 André Pönitz <poenitz@gmx.net>
2735 * cursor.[Ch]: restructure
2738 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2740 * iterators.[Ch] (asCursor): remove
2742 * lfuns.h: remove LFUN_INSET_EDIT
2748 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2750 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2752 * lyxfind.[Ch]: complete overhaul
2753 * BufferView_pimpl.C:
2755 * paragraph.[Ch] (insert): add
2757 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2761 * text.C: remove dead spellcheck code
2763 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2765 * dispatchresult.h: add a val setter
2767 * cursor.C (dispatch): use a tempvar for data_[i]
2769 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2771 * PosIterator.[Ch]: compile fix
2773 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2775 * text.C (cursorPar): deactivate the cursor cache
2777 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2779 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2781 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2783 * text3.C (dispatch): adjust for new DisptchResult semantics.
2785 * lyxfunc.C (dispatch): handle update when return from
2786 Cursor::dispatch, adjust for new DispatchResult semantics.
2788 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2789 DispatchResult(true) mean to not update. Add class functions for
2790 setting dispatched and update, as well as reading.
2792 * cursor.C (dispatch): don't handle update here
2794 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2796 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2797 * trans_mgr.C: adjust
2799 * paragraph_funcs.C (readParToken): exception safety
2801 * lyxvc.h: store the vcs pointer in a scoped_ptr
2804 * lyxsocket.C (serverCallback): exception safety
2806 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2808 * ispell.C (clone): make it return a auto_ptr
2810 * factory.C (createInset): exception safety
2811 (readInset): exception safety
2813 * bufferlist.C (newBuffer): exception safety
2815 * Thesaurus.C (Thesaurus): use initialization for aik_
2817 * MenuBackend.C (expandToc): exception safety.
2819 2003-11-03 André Pönitz <poenitz@gmx.net>
2823 * bufferview_funcs.C: remove getInsetFromId()
2826 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2832 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2834 * PosIterator.C (distance, advance): new
2835 * bufferview_funcs.[Ch] (put_selection_at): new
2836 * iterators.[Ch] (lockPath): new
2838 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2840 * iterators.[Ch] (asPosIterator): added
2841 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2842 * PosIterator.[Ch]: added
2844 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2848 * cursor.C (dispatch):
2849 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2851 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2852 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2853 contructor, add a class function dispatched. Remove operator>=
2855 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2857 * debug.C: only use the default constructor for debugstream
2860 * main.C (main): include debug.h and setup the lyxerr streambuf
2863 2003-10-31 José Matos <jamatos@lyx.org>
2865 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2867 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2868 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2869 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2870 * paragraph_pimpl.C (simpleTeXSpecialC):
2871 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2872 add LatexRunParams argument.
2874 * exporter.C (Export): change call accordingly.
2876 * latexrunparams.h: add new member to take care of the other backends.
2877 2003-10-30 José Matos <jamatos@lyx.org>
2879 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2880 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2881 factorise code for paragraph output.
2883 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2886 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2888 * text3.C (dispatch):
2889 * lyxfunc.C (dispatch):
2890 * cursor.C (dispatch):
2891 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2893 * dispatchresult.h: make the dispatch_result_t ctor explicit
2895 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2898 * buffer.C: small refactoring of docbook stuff
2900 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2902 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2905 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2907 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2908 operator dispatch_result_t, and operators for == != and >=
2910 * cursor.C (dispatch): adjust for operator dispatch_result_t
2911 removal. comment out call to update
2913 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2915 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2923 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2926 * dispatchresult.h: new file, DispatchResult broken out of
2929 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2931 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2933 * text.C (rowBreakPoint): put a hack inside #if 0
2935 2003-10-28 André Pönitz <poenitz@gmx.net>
2939 * paragraph_funcs.C:
2942 * text2.C: general cleanup (lots of small stuff)
2944 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2946 * text2.C (cursorEnd): simple fix to the "end key goes to one
2947 before the end on last row" bug
2949 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2951 * text.C (backspace): fix the "zombie characters"
2953 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2955 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2957 2003-10-27 André Pönitz <poenitz@gmx.net>
2959 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2961 * factory.C: handle new InsetPagebreak, InsetLine
2963 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2964 and move handling into new InsetPagebreak, InsetLine
2966 * BufferView_pimpl.C:
2968 * ParagraphParameters.C:
2969 * ParameterStruct.h:
2974 * paragraph_funcs.C:
2975 * paragraph_pimpl.C:
2981 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2984 * lyxrow_funcs.[Ch]:
2990 * text3.C: remove lastPos uses in favour of Row::endpos
2992 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2994 * undo.C (performUndoOrRedo): fix two crashes by setting a
2995 cursor by hand and reordering some calls. Use bv->lockInset instead
2996 of inset->edit because the latter loses cursor information
2998 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3000 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3002 (rowBreakPoint): fix width. change point to point + 1.
3003 Add a missing check.
3005 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3008 * lyxfunc.C: fix (at least partly) the problems
3009 with the Nav menu and headers inside branch insets
3012 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3014 * paragraph.C (getChar): add strong asserts
3016 * lyxrow_funcs.C (lastPos): remove hideous hack
3018 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3019 (fill): adjust to that (avoid an infinite loop)
3021 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3023 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3025 2003-10-23 André Pönitz <poenitz@gmx.net>
3027 * RowList_fwd.h: change list<> to vector<> to gain speed
3028 after suggestion from Alfredo
3030 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3032 * lyxtext.h: move the bidi stuff from here...
3035 * Bidi.[Ch]: ... to here
3037 2003-10-23 André Pönitz <poenitz@gmx.net>
3040 * text.C (isLastRow, isFirstRow): new functions
3042 * paragraph.h: new width cache member
3044 * rowpainter.C: replace RowList::iterator with Row & where possible
3046 * lyxfunc.C: replace several view()->text with a single call
3048 * toc.C: fix 'unused' warning
3050 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3052 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3053 when woring with stream::pos_type
3054 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3056 2003-10-22 André Pönitz <poenitz@gmx.net>
3059 * text.C: use Row & instead of RowList::iterator
3061 * lyxrow.h: rename end() to endpos()
3067 2003-10-22 Angus Leeming <leeming@lyx.org>
3069 * buffer.[Ch] (fully_loaded): new member function, returning true
3070 only when the file has been loaded fully.
3071 Used to prevent the premature generation of previews and by the
3072 citation inset to prevent computation of the natbib-style label.
3074 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3075 templates are all set up.
3077 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3079 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3081 * text.C: fixed an "oops" in the "is a bit silly"
3084 2003-10-21 André Pönitz <poenitz@gmx.net>
3086 * FuncStatus.[Ch]: small stuff, whitespace
3088 * lyxfont.[Ch]: operator<<() for debug reasons
3092 * lyxtext.h: whitespace, spelling
3094 * paragraph.C: naming of variables
3097 * text2.C: small stuff
3100 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3102 * text.C: (1) finish off the inset display() work;
3103 (2) fix the "is a bit silly" bug (accessing char
3106 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3108 * text.C: re-introduce display() for insets, fixing the
3109 various bugs (stretch of line above, math inset
3112 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3114 * text.C (rightMargin): remove spurious semicolon
3116 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3119 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3121 * text3.C: fix one crash due to wrong cursor def
3123 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3125 * vc-backend.C (scanMaster): make the regex static
3127 * LaTeX.C (scanAuxFile): make the regexs static
3129 * text3.C (doInsertInset, dispatch, dispatch):
3130 * text2.C (cursorUp, cursorDown):
3131 * text.C (selectNextWordToSpellcheck):
3132 * BufferView_pimpl.C (dispatch):
3133 * lyxfunc.C (dispatch): localDispatch -> dispatch
3135 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3137 * lyxsocket.C: include <cerrno>
3139 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3141 * lyxfunc.C (dispatch): remove textcache stuff
3143 * bufferlist.C (release): remove textcache stuff
3146 * TextCache.C: delete file
3147 * TextCache.h: delete file
3149 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3151 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3152 delete of the bv_->text.
3153 (resizeCurrentBuffer): remove texcache stuff
3154 (workAreaResize): ditto
3156 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3158 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3161 2003-10-16 André Pönitz <poenitz@gmx.net>
3168 * text3.C: speed up by storing y positions per paragraph plus per-row
3169 offset instead of having a 'full' y position in the row.
3171 2003-10-15 André Pönitz <poenitz@gmx.net>
3175 * undo.[Ch]: make undo aware of inner insets
3177 2003-10-14 Angus Leeming <leeming@lyx.org>
3179 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3180 static member functions LyX::ref() and LyX::cref.
3181 (lastfiles): new accessor functions for the new lastfiles_ member var.
3182 (addLyXView, views_): add a new LyXView to the list of views_.
3183 (updateInset): loop over all LyXViews to call their own updateInset
3184 member function, returning a pointer to the Buffer owning the inset.
3186 * BufferView_pimpl.C (loadLyXFile):
3187 * MenuBackend.C (expandLastfiles):
3188 * bufferlist.C (MenuWrite, QuitLyX):
3189 lastfiles is no longer a global variable.
3190 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3192 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3193 static function. Access through LyX::cref().emergencyCleanup().
3195 2003-10-14 André Pönitz <poenitz@gmx.net>
3197 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3199 * undo.[Ch]: restoring part of 'undo in insets'
3202 * undo_funcs.[Ch]: merge with undo.[Ch]
3204 * tabular.C: small cleansing stuff
3206 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3208 * paragraph_funcs.C (readParToken): report unknown insets as error
3209 boxes. Use the outer paragraph as location (also for unknown
3212 * factory.C (readInset): do not abort on reading an unknown inset.
3213 Eat it and return 0.
3215 2003-10-13 Angus Leeming <leeming@lyx.org>
3217 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3219 * lyxrc.C: displayTranslator is now a function,
3220 declared in GraphicsTypes.h.
3222 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3224 * format.C: new placeholder $$a to pass the socket address.
3226 * bufferlist.[Ch]: new function getBufferFromTmp.
3228 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3229 files in the temporary dir.
3231 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3233 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3235 * Makefile.am: add lyxsocket.[Ch].
3237 * lyx_main.C (error_handler): handle SIGPIPE.
3239 2003-10-13 André Pönitz <poenitz@gmx.net>
3241 * BufferView_pimpl.C:
3246 * undo_funcs.[Ch]: use paroffset_type instead of
3247 ParagraphList::iterators to prevent multiple conversion
3248 (and get a more robust interface)
3250 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3252 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3254 * text3.C (dispatch): ditto
3256 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3258 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3259 move the onlyfile, use onlyfile instead of foundfile in a couple
3262 * DepTable.C (update): flush the error stream a bit more
3264 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3266 * lyxserver.C (callback): adjust
3268 * lyxfunc.C (getStatus): add a missing brace in commented code
3269 (ensureBufferClean): reindent
3270 (dispatch): delete version taking a string
3272 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3274 * LaTeX.C (deplog): move found file handlig from here...
3275 (handleFoundFile): .. to new function here.
3276 (deplog): make sure to discover several files mentioned on the
3279 2003-10-10 André Pönitz <poenitz@gmx.net>
3286 * text3.C: fix some of the tabular crashes
3288 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3290 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3292 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3294 2003-10-09 André Pönitz <poenitz@gmx.net>
3296 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3299 * BufferView_pimpl.C:
3300 * bufferview_funcs.C:
3311 * undo_funcs.C: adjust
3313 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3315 * text2.C (incrementItemDepth): new function, use a backtracking
3316 algorithm to discover the correct item depth.
3317 (resetEnumCounterIfNeeded): new function, use a backtracking
3318 algorithm to discover if counter reset is needed.
3319 (setCounter): use them. Simplify a bit. Add different labels for
3320 different item depths for itemize.
3322 * paragraph.C (Paragraph): remove initialization of enumdepth
3325 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3326 enumerate and itemize. Change the type of itemdepth to signed char.
3328 2003-10-08 André Pönitz <poenitz@gmx.net>
3330 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3335 * tabular.[Ch]: fix crash after 'row-insert'
3337 2003-10-08 Angus Leeming <leeming@lyx.org>
3339 Fix doxygen warnings.
3341 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3342 Remove CutAndPaste:: prefix from header file declaration.
3344 * LColor.h (fill): remove LColor:: prefix from declaration.
3346 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3347 use lyx::depth_type rather than Paragraph::depth_type so that
3348 header file and .C file match.
3350 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3352 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3353 * aspell.C: \file aspell_local.C -> \file aspell.C
3354 * gettext.C: \file gettext.C -> \file src/gettext.C
3355 * gettext.h: \file gettext.h -> \file src/gettext.h
3356 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3357 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3358 * text.C: \file text.C -> \file src/text.C
3360 * toc.C: move comment so that doxygen is not confused.
3362 2003-10-07 Angus Leeming <leeming@lyx.org>
3364 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3366 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3369 * aspell_local.h: add forgotten std::string's.
3371 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3378 * text3.C: The Box patch. Fancybox support, minipage, parbox
3380 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3386 * ParagraphParameters.h:
3396 * lyxtextclasslist.h:
3399 * paragraph_pimpl.C:
3400 * textcursor.h: add <string> and other small fixes to make Lars'
3401 std::string patch compile with STLport.
3403 2003-10-06 Angus Leeming <leeming@lyx.org>
3405 * LColor.h: Add missing #include <string>.
3407 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3409 * All most all file in all subdirs: Make <string> be the prefered
3410 way of getting to std::string, add using declarations.
3412 2003-10-06 André Pönitz <poenitz@gmx.net>
3414 * metricsinfo.C: initialize LyXFont before changing attribute.
3415 (fixes the 'math in \emph is upright' bug)
3417 2003-10-06 André Pönitz <poenitz@gmx.net>
3419 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3421 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3424 * paragraph_pimpl.C: Small fixes to build using STLport
3426 2003-10-02 André Pönitz <poenitz@gmx.net>
3429 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3431 2003-10-01 André Pönitz <poenitz@gmx.net>
3433 * factory.C: assert early
3435 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3437 * lyx_main.C: remove the global debug object
3439 * debug.h: adjust for new debugstream
3441 * debug.C: adjust for new debugstream and keep the global debug
3444 2003-09-22 Angus Leeming <leeming@lyx.org>
3446 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3447 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3448 an incomplete class LyXFont.
3450 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3452 * factory.C: bug fix in branches
3454 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3456 * lyxfunc.C (processKeySym): adjust
3458 (dispatch): change arg name from ev to func, adjust
3459 (sendDispatchMessage): ditto
3461 * lyx_main.C (defaultKeyBindings): adjust keybindings
3462 (deadKeyBindings): ditto
3464 * kbsequence.C (addkey): return a FuncRequest
3466 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3468 * kbmap.C (bind): take a FuncRequest as arg, adjust
3471 (defkey): change to take a FuncRequest as arg, adjust
3472 (findbinding): take a FuncRequest as arg, adjust.
3474 * funcrequest.h (operator=): added
3476 * funcrequest.C (FuncRequest): default kb_action changed from
3477 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3479 * buffer.C (dispatch): simplify
3480 (dispatch): adjust to take a FuncRequest as arg, adjust
3482 * boost.C (assertion_failed): change assertion message slightly
3484 * ToolbarBackend.C (read): simplify
3486 * MenuBackend.C (binding): adjust call to findbinding, add a
3487 message if no binding is found.
3489 (expandToc): correct by adding a empty FuncRequest
3491 * LyXAction.C: include <boost/assert.hpp>
3492 (isPseudoAction): delete function
3493 (LookupFunc): change name to...
3494 (lookupFunc): this. change return type to FuncRequest.
3495 (getActionName): take kb_action as arg, simplify
3496 (funcHasFlag): add an assert, simplify.
3498 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3500 * toc.C (action): return a FuncRequest, simplify
3502 * lyxfunc.C (processKeySym): adjust
3503 (getStatus): delete version that takes an int.
3505 (dispatch): delete version that takes action as int
3507 (sendDispatchMessage): simplify and adjust
3509 * funcrequest.C (getArg): take unsigned int as arg
3511 * ToolbarBackend.C (read): adjust
3512 (add): delete version that takes func as a string.
3513 (getIton): take a FuncRequest as arg
3515 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3518 * MenuBackend.C (MenuItem): add a new construct that only takes a
3519 Kind, simplify the constructor use for submenus.
3521 (expandLastfiles): adjust
3522 (expandDocuments): adjust
3523 (expandFormats): adjust
3524 (expandFloatListInsert): adjust
3525 (expandFloatInsert): adjust
3526 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3528 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3529 Remove class variables lyx_pseudo_map and lyx_arg_map
3531 * LyXAction.C (searchActionArg): delete function
3532 (getPseudoAction): delete function
3533 (retrieveActionArg): delete function
3534 (LookupFunc): make it return kb_action, simplify.
3535 (getActionName): simplify
3537 * factory.C (createInset): fix new bug
3539 2003-09-19 Angus Leeming <leeming@lyx.org>
3541 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3542 masterFilename_ parameter in the include inset.
3544 * factory.C (createInset): changes due to the changes to InsetInclude.
3546 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3548 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3550 2003-09-18 Angus Leeming <leeming@lyx.org>
3553 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3554 Inset::fillWithBibKeys.
3555 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3557 2003-09-18 Angus Leeming <leeming@lyx.org>
3559 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3561 (ctor): pass and store a 'Buffer const &'
3562 (buffer): new member function.
3564 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3565 '*this' to the LaTeXFeatures ctor.
3567 2003-09-18 Angus Leeming <leeming@lyx.org>
3573 * text.C: rename EnumLColor as LColor_color.
3575 2003-09-18 Angus Leeming <leeming@lyx.org>
3577 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3578 remove #include "insets/insetbase.h" from cursor.h.
3580 2003-09-18 Angus Leeming <leeming@lyx.org>
3582 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3583 InsetOld_code to remove #include "inset.h".
3585 * iterators.C: add #include "insets/inset.h"
3587 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3589 * BufferView.C: remove more locking stuff that apparently doesn't
3590 do anything sensible.
3592 2003-09-16 André Pönitz <poenitz@gmx.net>
3595 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3598 2003-09-16 Angus Leeming <leeming@lyx.org>
3600 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3602 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3605 * paragraph.h: remove #include "lyxfont.h". Forward declare
3608 2003-09-16 Angus Leeming <leeming@lyx.org>
3610 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3611 of support/textutils.h.
3612 (isWord): move the contents of support/textutils.h's IsWordChar here.
3618 * text2.C: add #include "paragraph.h".
3621 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3623 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3629 * LaTeX.C: use namespace alias for lyx::support::os
3631 2003-09-16 Angus Leeming <leeming@lyx.org>
3634 * bufferview_funcs.C:
3637 * paragraph_pimpl.C:
3639 * text.C: add #include "LColor.h".
3641 2003-09-16 Angus Leeming <leeming@lyx.org>
3643 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3644 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3646 Store the FontBits::color variable as an int rather than as an
3647 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3650 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3651 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3652 string calls together.
3654 * lyxrc.C: add #include "LColor.h".
3656 2003-09-15 Angus Leeming <leeming@lyx.org>
3658 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3661 2003-09-15 Angus Leeming <leeming@lyx.org>
3663 * LColor.h: add an EnumLColor wrapper for LColor::color.
3665 * lyxfont.[Ch] (color, setColor, realColor):
3666 * lyxtext.h, text.C (backgroundColor):
3667 pass EnumLColor args to/from the functions, rather than LColor::color
3671 * lyxtext.h: forward declare EnumLColor.
3673 * lyx_main.C: add #include "LColor.h".
3675 2003-09-15 Angus Leeming <leeming@lyx.org>
3677 * .cvsignore: add lyx-gtk.
3679 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3684 * ParagraphParameters.C
3688 * bufferview_funcs.C
3698 * vc-backend.C: remove usage of STRCONV
3700 2003-09-15 Angus Leeming <leeming@lyx.org>
3702 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3703 explicitly define the color passed to the painter.
3705 2003-09-15 Angus Leeming <leeming@lyx.org>
3707 * bufferparams.C (BufferParams): reorder member initializers to avoid
3710 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3712 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3713 * text.C (updateRowPositions): remove an unusual nop
3715 2003-09-12 André Pönitz <poenitz@gmx.net>
3717 * BufferView_pimpl.C:
3726 * Counters.[Ch]: finish the 'automatic counters' job
3728 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3730 * aspell.C: include <boost/assert.cpp> (compile fix)
3732 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3734 * boost.C (assertion_failed): use lyx::support::abort instead of
3737 2003-09-10 Angus Leeming <leeming@lyx.org>
3739 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3740 with their _fwd progeny.
3742 2003-09-09 Angus Leeming <leeming@lyx.org>
3744 134 files throughtout the source tree: replace 'using namespace abc;'
3745 directives with the appropriate 'using abc::xyz;' declarations.
3747 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3749 * boost.C (emergencyCleanup): moved here from LAssert.c
3750 (assertion_failed): new function, called by BOOST_ASSERT
3752 * several files: change Assert to BOOST_ASSERT
3754 2003-09-09 Angus Leeming <leeming@lyx.org>
3756 * buffer.[Ch]: Add an Impl class and move Buffer's member
3757 variables into it. As a result move several header files out of
3760 Add header files to lots of .C files all over the tree as a result.
3762 2003-09-09 Angus Leeming <leeming@lyx.org>
3764 * buffer.[Ch]: make Buffer's member variables private. Add
3767 Lots of changes all over the tree as a result.
3769 2003-09-08 Angus Leeming <leeming@lyx.org>
3771 * graph.C: #include <config.h>.
3773 2003-09-08 Angus Leeming <leeming@lyx.org>
3777 * BufferView_pimpl.C:
3806 * toc.C: remove redundant using directives.
3808 2003-09-07 Angus Leeming <leeming@lyx.org>
3810 * LaTeXFeatures.h: remove #include "support/types.h".
3811 * ToolbarBackend.h: remove #include <algorithm>.
3812 * changes.h: remove #include <ctime>.
3813 * debug.h: remove #include <iosfwd>.
3814 * graph.h: remove #include "support/std_string.h".
3815 * lyx_main.h: remove #include <csignal>.
3816 * lyxlex_pimpl.h: remove #include <fstream>.
3817 * sgml.h: remove #include <algorithm>, <utility>.
3818 * toc.h: remove #include "support/std_ostream.h".
3819 Add #include <iosfwd>.
3821 2003-09-07 Angus Leeming <leeming@lyx.org>
3823 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3825 * converter.h: forward declare LatexRunParams.
3826 * encoding.h: remove #include "lyxrc.h".
3827 * lyxtext.h: remove #include "LColor.h".
3828 * lyxtextclass.h: remove #include "support/types.h".
3829 * trans.h: remove #include "tex-accent.h".
3830 * trans_mgr.h: remove #include "tex-accent.h".
3831 * insets/inset.h: remove #include "support/types.h", <vector>.
3832 * insets/insetcollapsable.h: remove #include "LColor.h".
3833 * insets/insetinclude.h: remove #include "dimension.h".
3834 * insets/insetlatexaccent.h: remove #include "dimension.h".
3835 * insets/insetoptarg.h:: remove #include "insettext.h".
3836 * insets/insettext.h: remove #include "dimension.h",
3837 <boost/shared_ptr.hpp>
3839 * insets/renderers.h: add #include "dimension.h".
3840 * insets/updatableinset.h: add #include "support/types.h".
3842 * many .C files: Associated changes.
3844 2003-09-06 Angus Leeming <leeming@lyx.org>
3846 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3847 one, inside testInvariant.
3849 * PrinterParams.C: new file.
3850 * PrinterParams.[Ch]: move the function bodies out of line.
3852 2003-09-06 Angus Leeming <leeming@lyx.org>
3854 * ParagraphParameters.h: forward declare ParameterStruct rather than
3855 including its header file.
3856 (depth): moved out-of-line.
3858 2003-09-06 Angus Leeming <leeming@lyx.org>
3860 * BufferView_pimpl.h:
3863 * lyxfunc.h: forward declare LyXKeySym rather than
3864 #include "frontends/LyXKeySym.h".
3866 * BufferView_pimpl.C:
3869 * lyxfunc.C: associated changes.
3871 2003-09-06 Angus Leeming <leeming@lyx.org>
3873 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3874 As a result, can remove the #include "insets/inset.h" from BufferView.h
3876 2003-09-06 Angus Leeming <leeming@lyx.org>
3878 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3879 As a result, can remove the #include "insets/inset.h" from BufferView.h
3881 2003-09-06 Angus Leeming <leeming@lyx.org>
3887 * bufferview_funcs.C:
3888 * BufferView_pimpl.C:
3893 * ParagraphParameters.C:
3898 * frontends/controllers/ControlDocument.C:
3899 * insets/insetcaption.C: rearrange the #includes into some sort of
3902 * buffer.h: remove #includes ErrorList.h, undo.h
3904 2003-09-06 Angus Leeming <leeming@lyx.org>
3906 * support/types.h: add a 'depth_type' typedef, used to store the
3907 nesting depth of a paragraph.
3910 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3911 defining explicitly.
3914 * paragraph_funcs.h:
3915 * ParagraphParameters.h:
3916 * sgml.h: use lyx::depth_type rather than Paragraph or
3917 ParameterStruct's depth_type.
3920 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3923 * BufferView_pimpl.C:
3925 * ParagraphParameters.C:
3928 * bufferview_funcs.C:
3935 * frontends/LyXView.C:
3936 * frontends/controllers/ControlDocument.C:
3937 * frontends/controllers/ControlErrorList.C:
3938 * insets/insetbibitem.C:
3939 * insets/insetbranch.C:
3940 * insets/insetcaption.C:
3941 * insets/insetcollapsable.C:
3942 * insets/insetenv.C:
3943 * insets/insetert.C:
3944 * insets/insetfloat.C:
3945 * insets/insetfoot.C:
3946 * insets/insetfootlike.C:
3947 * insets/insetnewline.C:
3948 * insets/insetquotes.C:
3949 * insets/insettabular.C:
3950 * insets/insettext.C:
3951 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3953 * frontends/controllers/ControlChanges.C: #include "changes.h".
3955 2003-09-06 Angus Leeming <leeming@lyx.org>
3957 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3958 than #including paragraph.h.
3961 * RowList.h: deleted. Superfluous.
3971 * insets/insettext.h: use ParagraphList_fwd.h rather than
3974 * paragraph.h: don't forward declare ParagraphList.
3977 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3978 rather than ParagraphList.h. paragraph.h is still needed for the
3979 Paragraph::depth_type parameters.
3981 * textcursor.h: enable it to compile stand-alone in light of the
3984 * bufferview_funcs.C:
3996 * frontends/controllers/ControlParagraph.C:
3997 * frontends/controllers/ControlTabular.C:
3998 * insets/insetmarginal.C:
3999 * insets/insetminipage.C:
4000 * insets/insetnote.C:
4001 * insets/insetoptarg.C: add header files needed to compile again.
4003 2003-09-06 Angus Leeming <leeming@lyx.org>
4005 * RowList_fwd.h: new file, forward-declaring Row rather than
4006 #including lyxrow.h.
4011 * insets/insettext.h: use it instead of RowList.h
4013 * bufferview_funcs.C:
4020 * text3.C: #include "RowList.h".
4022 2003-09-05 Angus Leeming <leeming@lyx.org>
4024 * factory.C (createInset):
4025 * vspace.C (c-tor): replace sscanf call with an istringstream.
4026 * ispell.C: re-add missing HP/UX headers.
4027 * lyxserver.C: re-add missing os2 headers.
4029 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4038 * text3.C: re-add missing system headers, needed for 2.95.2.
4040 2003-09-05 Angus Leeming <leeming@lyx.org>
4042 Changes most place everywhere due to the removal of using directives
4043 from support/std_sstream.h.
4045 2003-09-05 Angus Leeming <leeming@lyx.org>
4047 Replace LString.h with support/std_string.h,
4048 Lsstream.h with support/std_sstream.h,
4049 support/LIstream.h with support/std_istream.h,
4050 support/LOstream.h with support/std_ostream.h.
4052 Changes resulting throughout the tree.
4054 2003-09-05 Angus Leeming <leeming@lyx.org>
4056 * sgml.h: ensure that the header file can be compiled stand-alone.
4057 * *.C: strip out redundant #includes. (320 in total.)
4059 2003-09-04 Angus Leeming <leeming@lyx.org>
4061 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4062 here (from getPackages).
4064 * debug.[Ch]: add a new EXTERNAL tag.
4066 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4068 * text2.C (cursorEnd): simplify
4070 (getColumnNearX): adjust
4072 * text.C (computeBidiTables): adjust
4075 * rowpainter.C (paintChars): adjust
4076 (paintSelection): adjust
4077 (paintChangeBar): adjust
4080 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4082 (numberOfSeparators): adjust
4084 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4090 * text3.C: Restricts the mouse click functionality
4091 of insets like bibtex, include, toc and floatlist to the visible
4092 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4093 up the dialogs. Cursor has to be in front of the inset (i.e.
4094 start of row) for this to function.
4096 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4098 * bufferview_funcs.C (currentState): output row information
4100 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4102 * bufferview_funcs.C (currentState): output paragraph position
4104 2003-09-04 Angus Leeming <leeming@lyx.org>
4106 * FloatList.h: move out #include "Floating.h".
4107 * LaTeX.h: move out #include "DepTable.h".
4108 * LyXAction.h: move out #include "funcrequest.h".
4109 * buffer.h: move out #include "author.h", "iterators.h".
4110 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4111 * lyx_main.h: move out #include "errorlist.h".
4112 * lyxfunc.h: move out #include "FuncStatus.h".
4113 * lyxtext: move out #include "lyxcursor.h".
4114 * paragraph_pimpl.h: move out #include "counters.h".
4116 2003-09-03 Angus Leeming <leeming@lyx.org>
4118 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4119 preamble_snippets list, enabling us to add snippets to the preamble
4120 only if the snippet was not there already.
4122 2003-09-04 Angus Leeming <leeming@lyx.org>
4124 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4126 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4128 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4131 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4133 * BranchList.C: point fix, earlier forgotten
4135 2003-09-02 Angus Leeming <leeming@lyx.org>
4137 * box.C (contains): renamed from 'contained' after a fantastic
4140 2003-09-02 John Levon <levon@movementarian.org>
4146 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4148 2003-09-02 John Levon <levon@movementarian.org>
4150 * text2.C: simplification of cursorEnd(), including partial
4153 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4155 * buffer.C (readFile): add a space
4157 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4159 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4161 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4163 * buffer.C (readFile): new function, take a filename and a
4164 ParagraphList::iterator
4166 (readFile): adjust, make it private. don't use setStream, make
4167 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4168 always contain the filename.
4170 * BufferView.C (insertLyXFile): simplify and make it work for
4173 2003-08-30 John Levon <levon@movementarian.org>
4175 * Makefile.am: fix dist (from Kayvan)
4177 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4179 * most files: change to use const Buffer refs
4181 2003-08-27 André Pönitz <poenitz@gmx.net>
4183 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4184 on top of ownerPar().
4186 2003-08-27 John Levon <levon@movementarian.org>
4188 * funcrequest.C: properly initialise POD members
4190 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4192 * lyxtext.h (top_y): move top_y from here
4197 * BufferView_pimpl.[Ch]: to here
4198 * frontends/screen.C:
4199 * insets/insettabular.C:
4200 * insets/insettext.C: adjust
4201 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4203 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4206 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4208 2003-08-26 André Pönitz <poenitz@gmx.net>
4210 * paragraph_func.[Ch] (outerPar): new function
4213 * paragraph_funcs.C:
4214 * paragraph_funcs.h:
4215 * paragraph_pimpl.C:
4216 * text2.C: remove Inset::par_owner
4218 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4223 * text2.C: eliminates the needFullRow/display() stuff
4224 altogether, putting the logic in metrics/draw in the insets.
4226 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4228 * text2.C (redoParagraphInternal, redoParagraphs):
4229 * text.C (redoParagraph): add a call to updateRowPositions at the
4230 end of each 'metrics-like' call. Remove all others.
4231 (getRow): remove the 'y-computing' version.
4232 (getRowNearY): do not compute nor return the real y. Solve the
4233 'y < 0' problem and simplify.
4235 2003-08-22 Angus Leeming <leeming@lyx.org>
4237 * *.[Ch]: clean-up of licence and author blurbs.
4238 Also move config.h out of a few .h files and into a few .C files.
4240 2003-08-22 André Pönitz <poenitz@gmx.net>
4242 * lyxrow.[Ch]: add x_ and *fill_ members
4247 * text2.C: adjust/remove prepareToPrint() calls
4249 2003-08-22 André Pönitz <poenitz@gmx.net>
4251 * lyxrow.[Ch]: add end_ member
4253 * lyxrow_funcs.C: use LyXRow::end_
4255 * lyxtext.h (singleWidth): add LyXFont parameter
4258 * text2.C: adjust LyXText::singleWidth() calls
4260 * text.C (redoParagraph): simplify row breaking logic
4263 2003-08-19 André Pönitz <poenitz@gmx.net>
4265 * funcrequest.C: initialize button_ member
4268 * rowpainter.[Ch]: interface consolidation
4270 2003-08-18 André Pönitz <poenitz@gmx.net>
4273 * BufferView_pimpl.C:
4275 * paragraph_funcs.C:
4277 * text3.C: remove LyXScreen::draw() and fitCursor calls
4279 * BranchList.h: remove spurious semicolons
4281 * MenuBackend.C: fix branchlist related crash
4283 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4291 * bufferparams.[Ch]:
4295 * text3.C: implements the 'branch inset'
4296 idea. This allows the output of various versions of a document
4297 from a single source version, selectively outputing or suppressing
4298 output of parts of the text.
4299 This implementation contains a 'branch list editor' in a separate
4300 tab of the document settings dialog. Branches are user definable
4301 and have a "display colour" to distinguish them on-screen.
4303 ColorHandler was somewhat cleaned up.
4304 (1) make possible a dynamically growing LColor list by allowing
4305 the graphic context cache to grow along (vector);
4306 (2) eliminate an IMHO unnecessary step in colour allocation.
4308 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4310 * BufferView_pimpl.C: compile fix
4312 2003-08-15 André Pönitz <poenitz@gmx.net>
4314 * rowpainter.C: remove extra metrics calls
4316 * lyxtext.h: merge the two constructors into a single one,
4317 pass reference to owner's par list
4319 * BufferView_pimpl.C:
4323 2003-08-15 André Pönitz <poenitz@gmx.net>
4325 * lyxrow_funcs.[Ch]:
4328 * paragraph_funcs.C:
4333 * text_funcs.C: split LyXText::rowlist_ into individual
4334 Paragraph::rows_ chunks
4337 * BufferView_pimpl.[Ch]:
4340 * text3.C: remove toggleSelection()
4342 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4344 * bufferlist.C: beautify two alerts (shorter text of buttons)
4345 * buffer.C: Remove redundant ' ' from message
4347 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4348 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4349 rename VALIGN_CENTER to VALIGN_MIDDLE
4351 2003-08-11 André Pönitz <poenitz@gmx.net>
4353 * lyxtext.h (getPar):
4354 * text.C: new function
4356 2003-08-11 André Pönitz <poenitz@gmx.net>
4359 * tracer.[Ch]: remove unneeded files
4361 * InsetList.[Ch]: remove resizeInsetsLyXText()
4366 * text3.C: merge insertParagraphs() and appendParagraph()
4367 remove breakAgain(), update()
4369 * BufferView_pimpl.[Ch]:
4370 * bufferview_funcs.[Ch]:
4374 * tabular.C: adjust after text & InsetList changes.
4376 2003-08-08 André Pönitz <poenitz@gmx.net>
4378 * text.C (insertChar, backspace): replace rowlist fiddling
4379 with rebreak of full par
4382 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4383 checkParagraph, updateInset): removed
4385 2003-08-07 André Pönitz <poenitz@gmx.net>
4388 * text3.C: merge some LFUN handlers, remove dead code
4390 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4392 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4394 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4396 * text2.C (DEPM): fix part of bug 1255 and 1256
4398 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4400 * BufferView_pimpl.C (workAreaDispatch): change to use
4401 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4402 that are no mouse related.
4404 2003-08-05 André Pönitz <poenitz@gmx.net>
4407 * BufferView_pimpl.[Ch]:
4408 * bufferview_funcs.C:
4410 * text3.C: rip out "deep update"
4412 * textcursor.[Ch] (last_sel_cursor): remove unused member
4414 2003-08-04 André Pönitz <poenitz@gmx.net>
4417 * BufferView_pimpl.[Ch]:
4418 * ParagraphParameters.C:
4419 * bufferview_funcs.C:
4425 * text3.C: replace "complicated" BufferView::update(...) calls with
4428 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4430 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4432 * Makefile.am (lyx_SOURCES): add paper.h
4434 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4436 * Makefile.am: move things around so that both lyx-qt and
4437 lyx-xforms can be built (according to --with-frontend). Then lyx
4438 is a symbolic link to lyx-[firstfrontend]
4440 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4442 * Always use std::endl with lyxerr
4444 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4446 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4448 2003-08-01 André Pönitz <poenitz@gmx.net>
4451 * BufferView_pimpl.[Ch]:
4453 * text3.C: merge BufferView::repaint() and BufferView::update()
4455 2003-08-01 José Matos <jamatos@lyx.org>
4457 * buffer.[Ch]: file_format is no longer a buffer data element.
4459 2003-08-01 André Pönitz <poenitz@gmx.net>
4464 * text2.C: make redoParagraph more independent of current cursor
4466 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4468 * text2.C: remove unneeded members
4470 2003-07-30 André Pönitz <poenitz@gmx.net>
4472 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4474 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4475 create a single function...
4477 * paragraph_funcs.C (moveItem): ... here.
4480 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4482 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4484 * LColor.[Ch]: Add comment and greyedout logical colors.
4486 2003-07-30 André Pönitz <poenitz@gmx.net>
4488 * tabular.C: don't use Assert too heavily. This crashes where it
4491 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4493 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4494 is disabled (bug 1232)
4496 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4498 * factory.C: limited 'arg' scope
4500 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4502 * factory.C: fixed Note submenu issues
4504 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4506 * factory.C: submenu for Note/Comment/Greyedout
4508 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4511 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4513 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4516 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4517 greyedout. Patch provided by Jürgen Spitzmüller.
4519 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4521 * kbmap.C (read): fix error message when reading bind files
4523 2003-07-29 Angus Leeming <leeming@lyx.org>
4525 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4526 certainly does not do what it purports to do. I am doing it, and
4527 us, a favour by killing it.
4529 2003-07-28 José Matos <jamatos@lyx.org>
4531 * buffer.C (readBody, do_writeFile):
4532 * paragraph.C(readParagraph): \end_document replaces \the_end.
4534 2003-07-29 André Pönitz <poenitz@gmx.net>
4537 * BufferView_pimpl.[Ch]:
4541 * textcursor.[Ch]: remove toggleToggle & Co
4543 2003-07-28 José Matos <jamatos@fep.up.pt>
4545 * buffer.C (readParagraph):
4546 * params_func (readParToken, readParagraph):
4547 * paragraph.C (write): \layout -> \begin_layout.
4549 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4551 * lyxlex_pimpl.C (setFile): clean up slightly.
4553 * bufferparams.h: add compressed var
4555 * buffer_funcs.C (readFile): adjust for LyXLex change
4556 (newFile): ditto + simplify
4558 * buffer.C (writeFile): handle writing of compressed files
4560 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4561 Check if the file is compressed and set a bufferparm if so.
4563 * Makefile.am (lyx_LDADD): remove explicit -lz
4565 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4567 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4568 makeDocBookFile): put the real LyX version in the first line of
4572 * version.C.in: remove lyx_docversion
4574 * tabular.C (write_attribute): add a template-based version to
4575 write enums properly
4577 2003-07-28 André Pönitz <poenitz@gmx.net>
4582 * text3.C: use doubles again for x-coordinates. They are needed.
4584 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4586 * messages.C (getLocaleDir): use lyx_localedir()
4588 * lyxlex_pimpl.C (setFile): compress stuff
4590 * buffer.C (writeFile): add some compression stuff
4591 (do_writeFile): new func, dont call expliti close... will this
4594 * Makefile.am (lyx_LDADD): add -lz
4596 2003-07-28 José Matos <jamatos@fep.up.pt>
4598 * buffer.C: increment file format.
4599 * paragraph_funcs (readParagraph, readParToken):
4600 * paragraph.C (readParagraph): add \end_layout.
4602 2003-07-27 Angus Leeming <leeming@lyx.org>
4604 * Makefile.am: remove special casing for configure-time setting of
4605 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4607 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4608 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4610 2003-07-26 André Pönitz <poenitz@gmx.net>
4612 * paragraph_func.[Ch]:
4613 * paragraph.C (realizeFont): inline it whereever it is used
4618 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4621 2003-07-26 André Pönitz <poenitz@gmx.net>
4625 * text2.C: get rid of LyXText::need_break_row
4627 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4629 * toc.[Ch]: put namespace toc inside namespace lyx
4631 * MenuBackend.C (expandToc2): adjust for lyx::toc
4634 * lyxfunc.C (dispatch): adjust for lyx::find
4636 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4637 lyx::find instead. Reorganize a bit.
4638 (LyXReplace): rename to replace
4639 (LyXFind): rename to find
4641 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4644 2003-07-26 André Pönitz <poenitz@gmx.net>
4646 * text.C (setHeightOfRow): restrict scope of temporary variable
4648 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4649 code (never has been used?)
4651 2003-07-27 Asger Alstrup <alstrup@local>
4653 * text.C (fill): Optimise algorithm to exploit that we can reuse
4654 the LyXFont for many characters.
4655 (setHeightOfRow): Same thing.
4656 (rowBreakPoint): Same thing.
4658 2003-07-26 Asger Alstrup <alstrup@local>
4660 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4662 * text.C (singleWidth): Spurious font copying in hot-spot
4663 singleWidth avoided. Reorder tests for arabic for efficiency.
4665 * text.C (fill): handle empty paragraphs better.
4667 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4670 * encoding.h: add includes
4672 * lyxrc.C: remove reading of bind files
4674 * lyx_main.C (init): setup bindings and menus only if we have a
4677 * kbmap.C (read): new method. Do the actual reading of bind
4680 * converter.C (dvipdfm_options):
4683 (output): adapt PAPER_* enums.
4685 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4687 * bufferparams.h: remove paper-related enums from there
4689 * paper.h: New file. A trivial header file to hold paper-related
4690 enums. It should later expand to contain many paper-related
4693 * lyxrc.C: declare extern displayTranslator
4695 2003-07-27 José Matos <jamatos@fep.up.pt>
4697 * tabular.[Ch] (linuxdoc): add support for tables and figures
4700 2003-07-27 José Matos <jamatos@fep.up.pt>
4702 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4703 consistency in both functions.
4704 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4706 2003-07-26 Asger Alstrup <alstrup@local>
4708 * rowpainter.C (paintRows): Change algorithm to work directly on
4709 the insets rather than asking every character in the document
4710 whether its an inset.
4712 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4714 * buffer.C (openFileWrite): factorize some code
4716 2003-07-26 Angus Leeming <leeming@lyx.org>
4719 * lyx_main.[Ch]: replace occurances of system_tempdir with
4722 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4724 * rename Inset to InsetOld
4726 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4728 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4729 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4730 which I think is a bit clearer. EDIT is gone, since it was
4731 premature optimisation, and broken for mathed anyway.
4732 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4733 with cursor positioning in insets as well (math insets still do not
4734 work, but that's a different story anyway.) It mysteriously
4735 crashes sometimes with undo in the first paragraph, but I'm fairly
4736 confident that this is a compiler bug.
4738 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * paragraph.C (Paragraph): adjust for new clone return type
4742 (copyIntoMinibuffer): ditto
4744 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4746 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4747 by not having a special case, and always doing a full rebreak of
4748 the document after undo.
4750 2003-07-23 Angus Leeming <leeming@lyx.org>
4752 * factory.C (createInset): InsetExternal::setParams now takes a
4755 2003-07-23 Angus Leeming <leeming@lyx.org>
4757 * factory.C (createInset): changed interface to the external and
4758 graphics mailers' string2params functions.
4760 2003-07-23 Angus Leeming <leeming@lyx.org>
4762 * factory.C (createInset): pass a
4763 Buffer const * parameter to InsetExternalMailer's string2params.
4765 2003-07-22 John Levon <levon@movementarian.org>
4767 * Thesaurus.h: include the right aiksaurus header
4769 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4771 * MenuBackend.C (expand): check menu shortcuts unconditionally
4773 2003-07-21 Angus Leeming <leeming@lyx.org>
4775 * factory.C (createInset): pass a
4776 buffer_path parameter to InsetGraphicsMailer's string2params.
4778 2003-07-21 Angus Leeming <leeming@lyx.org>
4780 * BufferView_pimpl.C (buffer):
4783 * lyxfunc.C (dispatch):
4784 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4785 rather than the grfx shortcut.
4787 2003-07-21 André Pönitz <poenitz@gmx.net>
4789 * rowpainter.C: remove unused variables
4792 * tabular_funcs.h: move to tabular.C
4793 * Makefile.am: adjust
4795 * tabular.[Ch]: basic optical cleaning
4797 * author.h: pass references, not values
4799 2003-07-18 André Pönitz <poenitz@gmx.net>
4807 * text3.C: two-phase drawing for InsetText and InsetTabular
4808 some float -> int changes.
4810 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4812 * lyx_main.C: fix the fix
4814 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4816 * lyx_main.C: fix a crash in batch mode if no files specified
4819 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4821 * format.[Ch] (papersize): moved to BufferParams
4822 * converter.[Ch] (dvips_options): moved to BufferParams
4823 (dvipdfm_options): moved to anon namespace
4824 * bufferparams.[Ch]: added above functions.
4826 2003-07-17 André Pönitz <poenitz@gmx.net>
4830 * text2.C: don't call inset->update() anymore
4832 * metricsinfo.[Ch]: add convenience constructor
4834 2003-07-16 André Pönitz <poenitz@gmx.net>
4839 * text2.C: replace the LyXCursor::irow_ member with
4840 on-demand computation of the value
4842 2003-07-16 John Levon <levon@movementarian.org>
4844 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4846 2003-07-15 André Pönitz <poenitz@gmx.net>
4849 * text2.C: remove no more needed refresh_row
4851 2003-07-15 André Pönitz <poenitz@gmx.net>
4856 * text3.C: refresh_status tristate -> need_update bool
4858 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4860 * lyxtext.h (init): remove reinit argument (act as if always true)
4861 * text2.C: adjust to that
4863 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4865 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4866 * text3.C: use it to delete selections in some cases
4867 (bugs 441, 673, 702, 954).
4869 2003-07-14 André Pönitz <poenitz@gmx.net>
4871 * rowpainter.[Ch]: reduce interface
4873 2003-07-14 André Pönitz <poenitz@gmx.net>
4875 * BufferView_pimpl.C:
4876 * text2.C: adjust after removing unused BufferView * argument
4878 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4880 * text2.C (init): fix a crash fired on resize
4882 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4884 * buffer.[Ch]: added new closing signal
4885 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4886 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4887 BufferView::Pimpl via the closing the signal
4889 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4891 * buffer.[Ch]: take out all bv-related from buffer
4893 * BufferView_pimpl.[Ch]: connect to new signals
4894 * CutAndPaste.C: removed useless asserts
4895 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4898 * lyxfunc.C: moved view-related funciontality from vc here
4899 * paragraph.C: removed outdated comments
4902 2003-07-10 André Pönitz <poenitz@gmx.net>
4904 * BufferView_pimpl.C:
4908 * text2.C: remove InsetText::InnerCache, clean up consequences
4910 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4912 * ispell.C: fix two typos in error messages
4914 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4916 * Extend Note inset to other forms of annotation like Comment
4917 and Greyedout. Right button click gives dialog.
4919 Files modified or added (+):
4923 * ControlNote.[Ch] +
4925 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4926 frontends/controllers
4930 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4932 * aspell.C: add missing namespace lyx::support
4934 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4936 * BufferView.[Ch] (newFile): Add
4937 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4938 * LaTeX.[Ch] (message): added this signal and use it
4939 * buffer.[Ch] (busy, message): added these signals and use them
4940 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4944 * importer.C: use buffer signals instead of direct bv calling
4945 * lyx_cb.[Ch] (ShowMessage): removed
4948 * paragraph_funcs.C:
4949 * text2.C: use buffer signals
4951 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4953 * introduce namespace lyx::graphics
4955 2003-07-02 André Pönitz <poenitz@gmx.net>
4957 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4959 2003-07-01 André Pönitz <poenitz@gmx.net>
4966 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4967 text*.C to text_func.C
4969 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4971 * introduce namespace lyx::support
4973 2003-06-30 André Pönitz <poenitz@gmx.net>
4978 * text.C: re-enable --with-included-string
4980 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4982 * textcursor.C: add <config.h>
4984 * text.C (getWord): remove const from word_location arg
4986 * lyxvc.C (getLogFile): fix const type order
4988 * lyxtext.h: remove const from word_location arg, add arg name
4990 * lyxlayout.h: currect type on labeltype.
4992 * importer.C: correct \file
4994 * converter.C (intToFormat): use std:: on ret val, ws changes
4996 * bufferlist.h: correct \file
4998 * buffer.C (makeLinuxDocFile): fix const type order
4999 (makeDocBookFile): ditto
5000 (fillWithBibKeys): use std:: on stdlib args.
5002 * CutAndPaste.C: fix authors.
5003 (availableSelections): use std:: on return vector
5005 2003-06-27 André Pönitz <poenitz@gmx.net>
5007 * BufferView_pimpl.C:
5008 * bufferview_funcs.C:
5016 * text3.C: remove LyXCursor::row_ member
5019 * text.C: rename fullRebreak() to partialRebreak() and implement
5020 a fullRebreak() that really bereks fully
5022 * textcursor.h: new struct for cursor-related data
5024 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5026 * lyx_main.C (LyX): get full path of document loaded on the
5029 2003-06-26 André Pönitz <poenitz@gmx.net>
5031 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5032 remove unused/broken operator>,<,>=.
5034 * text.C: remove only use of broken operator<= in an Assert().
5036 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5038 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5039 moved errorlist_.clear to showErrorList
5041 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5043 * converter.C (scanLog, runLaTeX):
5044 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5045 move the bv->showErrorList call to the callers
5046 * lyxfunc.C: i.e. here...
5048 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5049 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5050 namespace, the second to...
5051 * buffer_funcs (BufferFormat, parseErrors): added
5052 * errorlist.C (ErrorList(TeXErrors const &)): removed
5054 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5056 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5058 2003-06-24 "Garst R. Reese" <reese@isn.net>
5062 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5064 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5066 * version.C.in: change docversion to 1.4
5068 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5070 * buffer.C: fix a bug just introduced
5072 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5074 * buffer.[Ch]: added the parseError signal and use it, removed
5076 * BufferView.[Ch] (addError): moved to ...
5077 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5078 to the Buffer::parseError signal to catch (guess what) parse errors
5079 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5081 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5083 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5084 ability to create a buffer and to return an existing one from
5085 the list. Moved these functions to...
5086 * buffer_funcs.[Ch]: added
5087 * BufferView.[Ch] (loadLyXFile): added
5088 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5089 job removed from bufferlist::loadLyXFile.
5090 * buffer.C (setReadOnly): make it work without view
5091 (i.e added an if (users))
5093 2003-06-19 Angus Leeming <leeming@lyx.org>
5096 * LyXAction.C (init):
5097 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5098 with LFUN_DIALOG_SHOW <name> <data>.
5100 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5102 * CutAndPaste.C (availableSelections): small compilation fix for
5103 ancient (gcc 2.9x) compilers
5105 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5107 * text3.C (cursorNext): add tmp var
5109 * text2.C (updateCounters): for function calling out of for clause
5110 (replaceSelectionWithString): ditto
5111 (insertStringAsParagraphs): ditto
5112 (getColumnNearX): add tmp var
5113 (setCursorFromCoordinates): add tmp var
5114 (cursorDownParagraph): add tmp var
5115 (deleteEmptyParagraphMechanism): add tmp var
5117 * text.C (insertChar): add tmp var
5119 * rowpainter.C (paintDepthBar): add tmp var
5121 * CutAndPaste.C (availableSelections): potentially check all
5122 paragraphs in a cut to fill the shown strings.
5124 2003-06-18 André Pönitz <poenitz@gmx.net>
5126 * kbmap.[Ch]: use vector<> instead of list<>
5128 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5130 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5131 pasteSelection with index
5133 * text2.C (pasteSelection): modify, call pasteSelection with index
5135 * paragraph.C (asString): reimplement version with no interval to
5136 call the one with interval.
5138 * lyxtext.h: add index arg to pasteSelection
5140 * MenuBackend.C (MenuItem): handle PasteRecent
5141 (Menu::read::Menutags): add md_pasterecent
5143 (expandPasteRecent): new function
5146 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5148 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5150 (availableSelections): new function
5152 2003-06-17 Angus Leeming <leeming@lyx.org>
5154 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5156 2003-06-17 Angus Leeming <leeming@lyx.org>
5159 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5161 * lyxfunc.C (dispatch): invoke it.
5163 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5165 * iterators.C (operator++, ParPosition): reintroduce some
5166 const_cast for the benefit of older compilers.
5168 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5170 * text3.C (dispatch): do not modify clipboard when doing
5171 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5172 LFUN_DELETE_SKIP on a selection selection
5174 2003-06-16 André Pönitz <poenitz@gmx.net>
5180 * tabular.[Ch]: IU of clone() and getLabelList();
5182 2003-06-13 André Pönitz <poenitz@gmx.net>
5184 * tabular.h: compactification
5186 2003-06-12 André Pönitz <poenitz@gmx.net>
5190 * tabular_funcs.h: some renaming plus whitespace
5192 2003-06-12 André Pönitz <poenitz@gmx.net>
5195 * BufferView_pimpl.C:
5201 * toc.C: Return a Paragraph & for ParIterator::operator*()
5203 2003-06-11 John Levon <levon@movementarian.org>
5207 * ToolbarBackend.C: add "Toolbars" section and
5210 2003-06-10 Angus Leeming <leeming@lyx.org>
5213 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5215 * lyxfunc.C (dispatch): invoke it.
5217 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5219 * main.C: protect <ios> with HAVE_IOS
5220 (main): protect sync_with_stdio with HAVE_IOS
5222 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5224 * text2.C (cutSelection): adjust
5225 (pasteSelection): adjust
5227 * messages.C: handle get of empty string
5229 * main.C (main): use sync_with_stdio(false)
5231 * lyxfunc.C (dispatch): adjust
5233 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5234 (WriteAs): remove unneeded BufferView arg.
5236 * bufferparams.h: use correct types on papersize, papersize2 and
5239 * bufferparams.C (readToken): adjust for type
5240 (writeLaTeX): add missing cases to switch.
5242 * bufferlist.C (quitWriteBuffer): adjust
5245 * buffer.C (asciiParagraph): remove some commented code.
5247 * CutAndPaste.C: remove current_view extern variable.
5248 (cutSelection): add BufferParams arg.
5249 (eraseSelection): add BufferParams arg.
5250 (pasteSelection): add Buffer const & arg
5252 2003-06-07 John Levon <levon@movementarian.org>
5255 * paragraph_funcs.C:
5256 * paragraph_pimpl.C:
5260 * paragraph.C: allow InsetERT to freely space lines,
5261 and some consolidation of code
5263 2003-06-06 José Matos <jamatos@fep.up.pt>
5265 * buffer.C (makeDocBookFile): fix bug #821
5267 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5269 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5271 2003-06-04 Angus Leeming <leeming@lyx.org>
5273 * buffer.C: bump format to 224.
5275 2003-06-05 André Pönitz <poenitz@gmx.net>
5277 * text2.C (redoParagraphs): remove two const_cast<>
5279 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5281 * ParagraphList.h: remove last remnants of NO_STD_LIST
5283 2003-06-03 Angus Leeming <leeming@lyx.org>
5285 * factory.C (createInset): small change to the way InsetExternal's params
5288 2003-06-04 André Pönitz <poenitz@gmx.net>
5290 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5292 * paragraph_pimpl.h:
5293 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5295 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5297 * undo_funcs.C: make some simple cases of undo work again
5299 2003-06-03 John Levon <levon@movementarian.org>
5301 * ispell.C: HPUX doesn't have sys/select.h
5304 2003-06-03 John Levon <levon@movementarian.org>
5306 * CutAndPaste.C: update tabular and include inset
5311 * paragraph.C: remove owningBuffer(), don't pass Buffer
5314 * factory.C: insetGraphicsParams changed
5316 2003-06-02 John Levon <levon@movementarian.org>
5322 * text3.C: remove insetparent
5324 2003-06-02 John Levon <levon@movementarian.org>
5327 * buffer.C: fix inset_iterator.end(), move out of line
5330 2003-06-01 John Levon <levon@movementarian.org>
5332 * text3.C: use a proper cut/paste when doing inset
5333 insert (from Jürgen Spitzmüller)
5335 2003-06-01 John Levon <levon@movementarian.org>
5337 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5339 2003-05-30 André Pönitz <poenitz@gmx.net>
5341 * rowpainter.C: unify second drawing phase
5343 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5345 * trans_mgr.C: remove one case of current_view
5347 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5349 * paragraph_funcs.h: remove paragraph.h include
5351 * paragraph.h: delete NO_STD_LIST stuff
5353 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5355 * buffer.h: remove paragraph.h include
5357 * ParagraphList.C: delete file
5359 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5361 * toc.C (getTocList): adjust
5363 * paragraph_pimpl.C (validate): adjust
5365 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5367 * paragraph.C (Paragraph): adjust
5368 (getPositionOfInset): use const_iterator, adjust
5369 (bibitem): use const_iterator, adjust
5370 (setInsetOwner): adjust
5372 * iterators.C (operator++): adjust
5374 * InsetList.[Ch]: Replace selfmade iterator with standard
5375 vector::iterator also introduce const_iterator. Remove getPos,
5376 getInset and setInset from InsetTable. Adjust accordingly.
5378 * BufferView.C (lockInset): adjust
5379 (ChangeInsets): adjust
5381 * tabular.[Ch]: delete commented same_id functions
5383 2003-05-28 John Levon <levon@movementarian.org>
5385 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5387 2003-05-28 André Pönitz <poenitz@gmx.net>
5389 * metricsinfo.[Ch]: remove 'fullredraw' member
5391 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5393 * lyxtextclass.C (operator): remove caching.
5395 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5399 * text2.C (cursorBottom): adjust
5400 (setCounter): use ParagraphList::find, adjust
5402 * text.C (workWidth): use ParagraphList::find, adjust
5404 * lyxcursor.C (LyXCursor): adjust
5406 * buffer.C (inset_iterator): adjust
5408 * ParagraphList.h: make iterator(value_type) private, make
5409 ParagraphList a friend of iterator.
5411 * ParagraphList.C (find): new function
5413 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5415 2003-05-27 André Pönitz <poenitz@gmx.net>
5417 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5419 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5421 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5423 2003-05-26 John Levon <levon@movementarian.org>
5425 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5427 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5429 * remove same_id from function signatures, adjust.
5431 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5433 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5435 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5437 * paragraph.C (Paragraph): get rid of same_ids parameter
5439 * ParagraphList.C (insert): adjust
5442 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5444 * paragraph_funcs.C (breakParagraph): adjust
5445 (breakParagraphConservative): adjust
5447 * buffer.C (readParagraph): adjust
5449 * ParagraphList.C (insert): take a reference instead of a pointer
5452 * paragraph.[Ch] (id): new function
5454 * bufferlist.C (newFile): adjust
5456 * ParagraphList.C (ParagraphList): adjust
5458 (push_back): take a reference instead of a pointer.
5460 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5462 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5465 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5466 set else use old code.
5468 * ParagraphList.C: remove all NO_NEXT code and only compile this
5469 code of NO_STD_LIST is set.
5471 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5473 * BufferView_pimpl.C:
5483 * graphics/GraphicsConverter.C:
5484 * graphics/PreviewLoader.C: header adjustment
5486 2003-05-23 Angus Leeming <leeming@lyx.org>
5488 * LaTeXFeatures.[Ch] (useBabel): new method.
5489 * bufferparams.C (writeLaTeX): use it.
5491 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5493 * ParagraphList.h (set): remove unused function.
5495 2003-05-23 André Pönitz <poenitz@gmx.net>
5498 * BufferView_pimpl.C:
5502 * undo_funcs.C: setUndo reworked
5504 * iterators.[Ch]: add access to topmost ParagraphList
5506 * lyxtext.[Ch] (workWidth): add a const
5508 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5510 * texrow.[Ch] (increasePos): remove function
5511 * exporter.C (export): removed unused var and outdated comment
5513 2003-05-23 Angus Leeming <leeming@lyx.org>
5515 * latexrunparams.h: rename fragile as moving_arg.
5516 * paragraph.C (simpleTeXOnePar): ditto.
5517 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5519 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5521 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5523 (textUndoOrRedo): comment out a currently unused var.
5525 * paragraph.h (NO_NEXT): enable NO_NEXT
5527 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5529 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5531 * exporter.C (Export): adjust for removeAutoInsets removal.
5533 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5535 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5537 * BufferView.[Ch] (removeAutoInsets): delete function
5539 2003-05-22 Angus Leeming <leeming@lyx.org>
5541 * latexrunparams.h: add a free_spacing variable.
5543 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5544 to pass moving_arg, as the data is stored in runparams.fragile.
5546 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5547 to Inset::latexOptional or to simpleTeXOnePar.
5549 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5550 free_spacing arg to Inset::latexOptional.
5552 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5555 2003-05-22 Angus Leeming <leeming@lyx.org>
5557 * latexrunparams.h: add fragile and use_babel variables.
5559 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5560 * buffer.C (makeLaTeXFile): store this returned value in
5561 runparams.use_babel, thus passing it to the inset::latex methods.
5563 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5564 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5566 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5567 longer has a fragile arg, as it is stored in runparams.fragile.
5569 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5570 moving_arg parameter as the data is stored in runparams.fragile.
5572 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5573 a fragile parameter as the data is stored in runparams.fragile.
5575 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5579 2003-05-22 Angus Leeming <leeming@lyx.org>
5581 * latexrunparams.h: add a 'bool nice' which defaults to false.
5583 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5584 now encapsulated within runparams.
5586 * bufferlist.C (updateIncludedTeXfiles):
5587 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5589 2003-05-22 Angus Leeming <leeming@lyx.org>
5591 * latexrunparams.h: new file containing struct LatexRunParams.
5592 * Makefile.am: add new file.
5594 * LaTeX.[Ch] (c-tor, run):
5595 * buffer.[Ch] (makeLaTeXFile):
5596 * bufferlist.[Ch] (updateIncludedTeXfiles):
5597 * converter.C (convert, scanLog):
5598 * converter.[Ch] (runLaTeX):
5599 * exporter.C (Export):
5600 * paragraph.[Ch] (simpleTeXOnePar):
5601 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5602 * paragraph_funcs.[Ch] (latexParagraphs):
5603 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5604 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5605 pass around a LatexRunParams parameter.
5607 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5609 * paragraph.[Ch]: remove unused constructor
5611 * ParagraphList.C (erase): new function, taking two iterators
5613 2003-05-22 André Pönitz <poenitz@gmx.net>
5615 * undo_funcs.C: remove duplicated code
5617 * iterator.[Ch]: operator=
5619 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5621 * tabular.C (SetMultiColumn): ws changes
5623 * rowpainter.C (paintFirst): get rid of a ->previous
5625 * lyx_cb.C (getPossibleLabel): parlist simplification
5627 * BufferView.C (ChangeInsets): simplify slightly.
5629 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5631 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5632 * lfuns.h: new LFUN_SPACE
5633 * lyxfunc.C: protected space has a new lfun
5634 * paragraph_funcs.C: read new space insets
5636 * factory.C: handle new space insets
5638 2003-05-22 André Pönitz <poenitz@gmx.net>
5641 * BufferView_pimpl.C:
5644 * undo_funcs.C: return a ParIterator from getParFromID.
5646 * iterators.[Ch]: add two const's
5648 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5650 * toc.C (getTocList): adjust
5652 * iterators.[Ch]: rework for parlist
5654 * buffer.C (par_iterator_begin): adjust
5655 (par_iterator_end): adjust
5657 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5659 * BufferView.C (removeAutoInsets): adjust
5660 (ChangeInsets): adjust
5662 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5664 * text.C (top_y): fix bug 1110
5666 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5668 * errorlist.[Ch]: added
5671 * BufferView_pimpl.C:
5672 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5675 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5677 * Makefile.am: ensure that lyx is relinked upon changes to the
5678 various "convenience" libs.
5680 2003-05-20 Angus Leeming <leeming@lyx.org>
5682 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5683 files are compiled in alphabetical order again.
5685 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5687 2003-05-19 Angus Leeming <leeming@lyx.org>
5689 * gettext.[Ch]: remove "char const * _(char const *)".
5691 2003-05-19 André Pönitz <poenitz@gmx.net>
5693 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5702 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5704 2003-05-19 André Pönitz <poenitz@gmx.net>
5708 * lyxtextclass.[Ch]:
5710 * paragraph_funcs.[Ch]:
5712 * text3.C: more insetenv work
5714 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5716 * ParagraphParameters.C (params2string): small bug fixed
5718 2003-05-16 André Pönitz <poenitz@gmx.net>
5721 * bufferview_funcs.C: patch from Kornel Benko to prevent
5722 crash when _(...) is called twice in a statement
5724 2003-05-16 André Pönitz <poenitz@gmx.net>
5731 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5733 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5735 * lyx_main.C (init): remove spurious static_cast
5737 2003-05-14 André Pönitz <poenitz@gmx.net>
5739 * BufferView.C: fix format string
5741 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5743 * BufferView.[Ch] (insertErrors): removed
5744 * BufferView.[Ch] (showErrorList): added
5745 * buffer.C (runChkTeX):
5746 * converter.C (scanLog): call showErrorList instead of inserterrors
5748 2003-05-13 André Pönitz <poenitz@gmx.net>
5750 * BufferView_pimpl.C:
5752 * bufferview_func.C:
5759 * tabular_funcs.h: tostr() from its own header
5761 * ParagraphParameters.C:
5766 * text3.C: STRCONV()
5768 2003-05-12 André Pönitz <poenitz@gmx.net>
5771 * BufferView_pimpl.C:
5775 * ParagraphParameters.C:
5779 * bufferview_funcs.C:
5792 * paragraph_funcs.C:
5796 * text3.C: boost::format -> bformat all over the place
5799 2003-05-09 André Pönitz <poenitz@gmx.net>
5801 * LColor.[Ch]: Pimpl the #include <map> away
5803 2003-05-09 John Levon <levon@movementarian.org>
5805 * bufferlist.C: never remove emergency saves
5807 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5809 * Makefile.am: better lib building
5811 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5813 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5815 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5816 (simpleTeXSpecialChars): adjust
5817 (simpleTeXSpecialChars): adjust
5818 * paragraph.C (simpleTeXOnePar): adjust
5819 * buffer.C (makeLaTeXFile): adjust
5821 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5823 * text2.C (changeDepth): parlist cleanup
5824 (getColumnNearX): ditto
5826 * rowpainter.C (getLabelFont): parlist cleanup
5828 * bufferlist.C (newFile): parlist cleanup
5830 * CutAndPaste.C (eraseSelection): parlist cleanup
5832 * BufferView_pimpl.C (trackChanges): parlist cleanup
5835 * BufferView.C (lockInset): parlist cleanup.
5836 (ChangeInsets): ditto
5838 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5840 * CutAndPaste.h: Update file header.
5842 * CutAndPaste.C: Update file header.
5843 Store the parts cut out of the Document in a limited_stack.
5844 (copySelection): adjust
5845 (pasteSelection): new function, takes the index in the limited stack.
5846 (nrOfParagraphs): adjust
5847 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5848 simplify error inset insertion.
5849 (checkPastePossible): adjust
5851 2003-05-06 John Levon <levon@movementarian.org>
5853 * text2.C: don't cast wrap inset to float
5855 2003-05-05 André Pönitz <poenitz@gmx.net>
5858 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5860 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5861 few naked Paragraph *.
5863 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5865 * bufferparams.C: Output warning if a document with missing
5866 TeX document class is loaded
5867 * exporter.C: Disable TeX exports if the document class is missing
5870 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5871 isTeXClassAvailable()
5873 2003-05-03 John Levon <levon@movementarian.org>
5876 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5877 explicit cursor show/hide
5879 * BufferView_pimpl.h:
5880 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5881 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5883 * lyxfunc.C: hide cursor before dispatching.
5888 * text3.C: remove explicit cursor hides
5890 2003-05-02 André Pönitz <poenitz@gmx.net>
5892 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5895 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5898 * text2.C: tiny whitespace
5900 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5902 * undo_funcs.C: almost only ws changes.
5904 * ParagraphList.C (splice): just return if pl is empty.
5906 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5908 * ParagraphList.C (splice): new function.
5910 * CutAndPaste.C (pasteSelection): use it
5912 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5914 * CutAndPaste.C (pasteSelection): remove the last next and
5915 previous from this file.
5917 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5919 * CutAndPaste.C (pasteSelection): more clean up, user proper
5920 ParagraphList functions for pasteing.
5922 * ParagraphList.C (insert): new function, three arg insert
5924 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5926 * ParagraphList.C (insert): new function, three arg insert
5928 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5931 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5933 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5935 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5937 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5939 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5941 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5942 (copySelection): clean up a bit.
5943 (pasteSelection): use make_pair
5945 * ParagraphList.C (ParagraphList): implement copy constructor
5946 (operator=): implement, base on copy constructor.
5949 * paragraph.C (erase): return a bool
5951 * paragraph_pimpl.C (erasePos): remove function, move contents...
5952 (erase): ... here. Return a bool.
5953 (erase): call erase instead of erasePos.
5955 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5957 * ParagraphList.h: define PitPosPair
5958 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5959 ParagraphList, fix a bug on pasting multiple pars
5960 * text2.C: change interface to C&P
5962 2003-04-30 André Pönitz <poenitz@gmx.net>
5964 * undo_func.C: revert part of yesterday's patch 2
5966 2003-04-30 John Levon <levon@movementarian.org>
5968 * LColor.C: s/tabular/table/
5970 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5972 * text3.C (dispatch): do not convert iterator -> pointer
5973 * undo_funcs.C (setCursorParUndo): ditto
5974 * text_funcs.C (transposeChars): ditto
5976 * text2.C (setLayout): ws changes only
5978 * text.C (breakParagraph): do not convert iterator -> pointer
5980 (acceptChange): ditto
5981 (rejectChange): ditto
5986 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5989 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5991 * text3.C (gotoInset): YABG (yet another bad getChar)
5993 2003-04-29 André Pönitz <poenitz@gmx.net>
5995 * paragraph.h: make operator= private unimplemented as long as
5998 * ParagraphList.C: whitespace
6001 * paragraph_pimpl.[Ch]:
6002 * paragraph_funcs.C:
6004 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6007 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6009 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6011 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6012 * paragraph.[Ch] (erase):
6013 * paragraph_pimpl.[Ch] (erase): change return type and value
6014 * text2.C (cutSelection): some rework
6016 2003-04-28 John Levon <levon@movementarian.org>
6018 * bufferlist.C: changes for unsaved changes dialog
6020 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6022 * bufferlist.C (newFile): set language (messages_) for new
6025 * buffer.C (readFile): ws changes only.
6027 2003-04-28 André Pönitz <poenitz@gmx.net>
6032 * BufferView_pimpl.C:
6033 * BufferView.C: getParFromID related ParagraphList::iterator changes
6035 2003-04-28 André Pönitz <poenitz@gmx.net>
6037 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6040 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6042 * messages.C: remove one more localedir class variable.
6044 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6046 * messages.C (getLocaleDir): singleton generation function
6048 (Messages): add a default constructor.
6050 * main.C (main): do not setup localedir here, do not call
6053 * gettext.C (_): use it.
6054 (gettext_init): delete funciton
6056 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6058 * gettext.C (getLyXMessages): new singleton generating function.
6060 * buffer.C (updateDocLang): adjust
6062 * Makefile.am (messages.o): add target
6063 (main.o): remove target
6065 2003-04-27 John Levon <levon@movementarian.org>
6070 * lyxvc.C: specify cancel button in Alert::prompt
6072 2003-04-26 John Levon <levon@movementarian.org>
6077 * LyXAction.C: add LFUN_INSET_SETTINGS
6079 * lyxfunc.C: don't enable tabular-feature when there's
6080 just any locking inset
6082 2003-04-26 John Levon <levon@movementarian.org>
6084 * bufferlist.C: re-add Cancel to buffer close question
6086 * lyxfunc.C: fix import UI a bit
6088 2003-04-25 John Levon <levon@movementarian.org>
6090 * gettext.C: remove the broken asserts for now
6092 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6094 * messages.C: make case where setlocale cannot comply work better.
6096 * buffer.C (updateDocLang): new function
6097 (changeLanguage): use it
6100 * text2.C (setCounter): use B_ a bit.
6102 * lyxlayout.C (Read): be sure to trim the label strings.
6104 * messages.C (Messages): fix typo in comment
6106 * buffer.C (readFile): set message_ after file is loaded.
6107 (makeDocBookFile): remove double return
6108 (changeLanguage): reset message_ upon language change.
6109 (B_): new func, use this to get translated buffer strings.
6111 * main.C: add myself and Jean Marc as authors.
6113 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6115 * messages.[hC]: pimplify Messages, and three different pimpls to be
6116 used in different circumstances.
6118 * gettext.[Ch]: change for use with new message code.
6120 2003-04-24 André Pönitz <poenitz@gmx.net>
6122 * factory.C: support for eqref
6124 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6126 * messages.[Ch]: add missing char
6128 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6130 * messages.[Ch]: New files
6132 2003-04-18 John Levon <levon@movementarian.org>
6136 * BufferView_pimpl.C:
6140 * text2.C: remove layout-copy/paste (bug 778)
6142 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6144 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6146 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6148 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6149 if they succeed. Act accordingly.
6151 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6153 * text2.C (setCharFont): adjust
6154 (setCounter): adjust
6155 (insertStringAsLines): adjust
6157 * text.C (leftMargin): adjust
6158 (setHeightOfRow): adjust
6160 * rowpainter.C (paintFirst): adjust
6163 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6165 (isFirstInSequence): ditto
6166 (getEndLabel): ditto
6169 * paragraph.C (getParLanguage): comment out some hard stuff.
6171 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6173 (simpleDocBookOnePar): ditto
6174 (makeDocBookFile): use ParagraphList::iterator
6176 * CutAndPaste.C (pasteSelection): adjust
6178 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6180 * text2.C (getFont): adjust
6181 (getLayoutFont): adjust
6182 (getLabelFont): adjust
6184 * paragraph_funcs.C (TeXOnePar): adjust
6186 * buffer.C (simpleLinuxDocOnePar): adjust
6187 (simpleDocBookOnePar): adjust
6189 * CutAndPaste.C (pasteSelection): adjust
6191 * BufferView.C (getEncoding): adjust
6193 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6195 2003-04-16 John Levon <levon@movementarian.org>
6197 * lyxfind.C: use parlist stuff for search/changes
6199 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6201 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6203 * text2.C (deleteEmptyParagraphMechanism): adjust
6205 * text2.[Ch] (ownerParagraph): delete func (both of them
6207 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6209 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6211 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * ParagraphList.C: prepare for NO_NEXT
6215 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6217 * text2.C (getFont): adjust
6218 (getLayoutFont): adjust
6219 (getLabelFont): adjust
6221 * paragraph.C (getFont): adjust
6222 (getLabelFont): adjust
6223 (getLayoutFont): adjust
6225 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6227 2003-04-15 John Levon <levon@movementarian.org>
6231 * lyx_main.C: handle Include in .ui files
6233 2003-04-15 John Levon <levon@movementarian.org>
6235 * MenuBackend.C: make the doc files length shorter
6238 * ToolbarBackend.C: handle toolbar placement flags,
6241 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6243 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6246 * paragraph_funcs.C (TeXOnePar): adjust
6248 * paragraph.C (getLabelFont): add outerfont arg, adjust
6249 (getLayoutFont): ditto
6250 (simpleTeXOnePar): adjust
6252 * paragraph_pimpl.C (realizeFont): delete func
6254 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6256 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6257 row argument, constify cur argument.
6259 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6261 * text2.C (getFont): adjust
6262 (getLayoutFont): adjust
6263 (getLabelFont): adjust
6265 * paragraph_funcs.C (TeXOnePar): adjust
6266 (outerFont): new func...
6267 (realizeFont): ...moved out from here, changed this to facilitate
6270 * paragraph.C (getFont): take outerfont as arg, adjust
6271 (simpleTeXOnePar): add outerfont arg, adjust
6273 * buffer.C (simpleLinuxDocOnePar): adjust
6274 (simpleDocBookOnePar): adjust
6276 * CutAndPaste.C (pasteSelection): adjust
6278 * BufferView.C (getEncoding): adjust
6280 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6282 * text2.C (setCharFont): adjust
6283 (setCounter): adjust
6285 * text.C (leftMargin): adjust
6286 (setHeightOfRow): adjust
6288 * rowpainter.C (paintFirst): adjust
6291 * paragraph_pimpl.C (realizeFont): adjust
6293 * paragraph.C (isFirstInSequence): move from here...
6294 * paragraph_funcs.C (isFirstInSequence): ...to here
6296 * paragraph.C (outerHook): move from here...
6297 * paragraph_funcs.C (outerHook): ...to here
6299 * paragraph.C (depthHook): move from here...
6300 * paragraph_funcs.C (depthHook): ...to here
6302 * paragraph.C (getEndLabel): move from here...
6303 * paragraph_funcs.C (getEndLabel): ...to here
6305 * text2.C (realizeFont): move from here...
6306 * paragraph_funcs.C (realizeFont): ...to here
6308 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6310 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6312 2003-04-14 Angus Leeming <leeming@lyx.org>
6314 * LColor.[Ch]: scrap LColor mathcursor.
6316 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6318 * lyxlex.[Ch] (text): delete function
6319 * trans.C (Load): adjust
6320 * paragraph_funcs.C (readParToken): adjust
6322 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6324 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6325 vector<char> instead of a char[].
6327 * lyxlex_pimpl.C (getString): adjust
6329 (lex): use getString
6333 * lyxlex.C (text): use pimpl_->getString()
6337 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6339 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6340 (makeFontEntriesLayoutSpecific): temp var for par.size()
6341 (setLayout): temp var for ownerParagraphs().end()
6342 (fullRebreak): temp var for rows().end()
6343 (selectionAsString): temp var for boost::next(startpit), realize
6344 that the while really is a regular for loop.
6345 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6346 setCursor in one place.
6347 (setParagraph): temp vr for ownerParagraphs().end()
6348 (updateCounters): make the while loop a for loop
6349 (cutSelection): temp var for ownerParagraphs().end()
6350 (updateInset): make the do {} while() a regular for loop
6351 (getCursorX): use temp vars
6352 (setCurrentFont): use temp vars
6353 (getColumnNearX): use temp vars
6355 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6357 * text.C (transformChar): use temp var for getChar
6358 (computeBidiTables): use temp var for row->par()
6359 (fill): move temp vars for row->par() and pit->layout() earlier in
6361 (labelFill): use temp var for row->par()
6362 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6363 asc and desc, realize that pit never changes and that firstpit is
6364 just a duplicate and not needed. Exchange rit->par() with pit in a
6366 (breakAgain): use a temp var for boost::next(rit)
6367 (breakAgainOneRow): ditto
6368 (breakParagraph): use a temp var for rows().begin()
6369 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6370 (cursorRightOneWord): use temp var for cursor.par() and
6371 cursor.pos(), remove usage of tmpcursor.
6372 (cursorLeftOneWord): use temp var for cursor.par() and
6373 cursor.pos() only set cur at end of function.
6375 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6377 * text.C, text2.C: exchange all usage of Paragraph::next with
6378 boost::next(ParagraphList::iterator)
6380 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6382 * text2.C (cursorTop): simplify implementation
6383 (cursorBottom): ditto
6384 (setParagraph): use ParagraphList::iterator
6385 (setCurrentFont): adjust
6386 (getColumnNearX): adjust
6387 (cursorRight): adjust
6388 (cursorLeft): remove usage of Paragraph::previous
6389 (cursorUpParagraph): ditto
6390 (deleteEmptyParagraphMechanism): slight cleanup
6392 * text.C (isBoundary): take a Paragraph const & instead of a
6394 (addressBreakPoint): ditto
6395 (leftMargin): remove usage of Paragraph::previous.
6396 (setHeightOfRow): ditto
6397 (cursorLeftOneWord): ditto
6398 (selectNextWordToSpellcheck): ditto
6401 (breakParagraph): remove one usage of Paragraph::next
6402 (redoParagraph): ditto
6403 (acceptChange): ditto
6404 (insertChar): adjust
6405 (rowBreakPoint): adjust
6407 * bufferview_funcs.C (toggleAndShow): adjust
6409 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6411 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6412 methods to access it.
6414 * text.C: Added updateRowPositions to compute all row positions.
6415 Make top_y and getRowNearY() to use the cached y position
6417 2003-04-11 John Levon <levon@movementarian.org>
6419 * text.C (rowBreakPoint): reintroduce the labelEnd
6420 checks, code copied from the row fill stuff. Deep voodoo.
6422 * text.C (fill): add a comment and debugging for the
6425 2003-04-11 John Levon <levon@movementarian.org>
6427 * text.C: make sure fullrow insets get wrapped to the next line,
6428 even when they're in a manual label
6430 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6432 * text2.C (insertParagraph): make it take ParagraphList::iterator
6434 (setLayout): make it return ParagraphList::iterator
6435 (redoParagraphs): ditto
6437 (checkParagraph): ditto
6439 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6441 * text2.C: adjust several funcs.
6442 (realizeFont): take a ParagraphList::iterator as arg.
6443 (getLayoutFont): ditto
6444 (getLabelFont): ditto
6445 (setCharFont): ditto
6447 * text.C: adjust several funcs.
6449 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6451 * text.C (selectNextWordToSpellcheck): don't accidentally
6454 2003-04-10 John Levon <levon@movementarian.org>
6456 * ToolbarBackend.C (getIcon): special handling for
6459 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6461 * text2.C (cursorRight): a getChar assert fixed
6463 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6465 * text2.C (getFont): change to take a ParagraphList::iterator
6466 instead of Paragraph*
6467 Adjust several functions.
6469 * text.C (transformChar): change to take a ParagraphList::iterator
6470 instead of Paragraph*
6471 (singleWidth): ditto
6472 Adjust several functions.
6474 * rowpainter.C: adjust several functions
6475 * rowpainter.h:store a ParagraphList::iterator and not a
6479 2003-04-09 John Levon <levon@movementarian.org>
6484 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6485 and the "help" bits as well
6487 2003-04-09 John Levon <levon@movementarian.org>
6490 * ToolbarBackend.C: allow multiple toolbars
6492 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6494 * undo_funcs.C (setCursorParUndo): adjust
6496 * text_funcs.C (transposeChars): adjust
6498 * text3.C (gotoNextInset): adjust
6501 * text2.C (setLayout): adjust
6502 (changeDepth): adjust
6504 (redoParagraphs): adjust
6505 (selectionAsString): adjust
6506 (setParagraph): adjust
6507 (insertInset): adjust
6508 (cutSelection): adjust
6509 (copySelection): adjust
6510 (pasteSelection): adjust
6511 (insertStringAsLines): adjust
6512 (updateInset): adjust
6513 (setCursor): change to take a ParagraphList::iterator parameter
6514 (setCursorIntern): change to take a ParagraphList::iterator parameter
6515 (setCurrentFont): adjust
6516 (cursorLeft): adjust
6517 (cursorRight): adjust
6518 (deleteEmptyParagraphMechanism): adjust
6520 * text.C (breakParagraph): adjust
6521 (insertChar): adjust
6522 (acceptChange): adjust
6523 (rejectChange): adjust
6524 (selectNextWordToSpellcheck): adjust
6525 (changeCase): adjust
6529 * lyxfind.C (SearchForward): adjust
6530 (SearchBackward): adjust
6531 (nextChange): adjust
6533 * lyxcursor.C (par): adjust
6535 * lyxcursor.h: store a ParagraphList::iterator instead of a
6538 * lyx_cb.C (getPossibleLabel): adjust
6540 * bufferview_funcs.C (toggleAndShow): adjust
6542 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6545 * BufferView.C (removeAutoInsets): adjust
6546 (lockedInsetStoreUndo): adjust
6548 2003-04-09 John Levon <levon@movementarian.org>
6550 * ToolbarBackend.C: try icon without argument
6551 if with argument fails
6553 2003-04-08 John Levon <levon@movementarian.org>
6556 * ToolbarBackend.C: add getIcon(), handle tooltip,
6557 and change from "Icon" to "Item".
6559 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6561 * BufferView.C (lockInset): another bad getchar crunched
6563 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6565 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6568 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6570 * lyxfind.C (searchForward, searchBackwards): bug 782
6572 2003-04-07 John Levon <levon@movementarian.org>
6574 * paragraph.C: remove dead comment
6576 * text.C: remove troublesome depth-fiddling code
6577 in leftMargin() and rightMargin() (bug 1017)
6579 * text.C: fix breaking of rows in nested lists
6582 * text2.C (updateCounters): fix up depth values
6585 2003-04-07 John Levon <levon@movementarian.org>
6587 * BufferView_pimpl.C: clear message when doc finishes resizing,
6588 and after a mouse event
6590 * lyxfunc.C: clear message after exiting inset
6592 2003-04-07 John Levon <levon@movementarian.org>
6594 * bufferview_funcs.C: show math status not outside
6595 status in the statusbar
6597 2003-04-07 John Levon <levon@movementarian.org>
6599 * lyxfunc.C: note status changed after a depth change
6601 2003-04-04 Angus Leeming <leeming@lyx.org>
6603 * LaTeX.h: move AuxInfo operator==, != out of line.
6604 Remove LaTeX virtual destructor; nothing derives from it.
6605 Move operator()() out of public area and rename it startscript().
6606 Change protected for private.
6608 2003-04-04 Angus Leeming <leeming@lyx.org>
6611 * text2.C: remove unneeded #includes.
6613 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6615 * text2.C (dEPM): fix the heigth of the next row
6617 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6619 * text.C: squashed an invalid getChar requester + some ws changes
6621 2003-04-03 John Levon <levon@movementarian.org>
6623 * bufferview_funcs.h:
6624 * bufferview_funcs.C:
6627 * text2.C: make getStatus work for the env depth lfuns
6629 2003-04-03 John Levon <levon@movementarian.org>
6631 * bufferview_funcs.h:
6632 * bufferview_funcs.C:
6635 * text2.C: parlistize decDepth(), by merging it with incDepth()
6637 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6639 * lyxrow.h: store a ParagraphList::iterator instead of a
6640 Paragraph* and adjust other class functions to suit.
6642 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6645 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6647 * text2.C (setCursor): do not anchor to cursor row for the time being
6649 2003-04-02 John Levon <levon@movementarian.org>
6656 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6658 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6660 * paragraph.h: make ParagraphList and ParagraphList::iterator
6661 friends of Paragraph.
6663 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6665 * ParagraphList.C: Use the private next_ and previous_ from
6668 2003-04-01 John Levon <levon@movementarian.org>
6672 * Makefile.am: rename, remove defaults gunk
6675 * MenuBackend.C: remove defaults gunk
6678 * Languages.C: remove defaults gunk
6681 * lyx_main.C: error out if files couldn't be found.
6683 2003-04-02 John Levon <levon@movementarian.org>
6685 * text2.C: make incDepth() use parlist
6687 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6689 * undo_funcs.C (firstUndoParagraph): adjust
6691 * text3.C (gotoInset): adjust
6692 (dispatch): adjust, and rewrite loop.
6694 * text2.C (init): adjust, and rewrite loop.
6695 (redoParagraphs): adjust
6696 (updateInset): adjust, and rewrite loop.
6697 (deleteEmptyParagraphMechanism): adjust
6699 * tabular.C (LyXTabular): adjust
6700 (SetMultiColumn): adjust
6703 * lyxtext.[Ch] (ownerParagraph): delete function
6704 (ownerParagraphs): new function returns a ParagraphList.
6706 * BufferView.C (removeAutoInsets): adjust
6707 (insertErrors): adjust
6708 (setCursorFromRow): adjust
6710 2003-04-01 Angus Leeming <leeming@lyx.org>
6712 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6715 2003-04-02 John Levon <levon@movementarian.org>
6721 * text_funcs.C: make transposeChars a free function
6723 * lyxrow_funcs.C: remove wrong comment
6725 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6728 * rowpainter.C: adjust
6733 * lyxrow_funcs. [Ch]: new files
6735 * lyxrow.[Ch]: remove next and previous pointers
6736 (next,previous): remove accessor functions
6737 (isParEnd): move to lyxrow_funcs
6738 (lastPos): move to lyxrow_funcs
6739 (nextRowIsAllInset): move to lyxrow_funcs
6740 (lastPrintablePos): move to lyxrow_funcs
6741 (numberOfSeparators): move to lyxrow_funcs
6742 (numberOfHfills): move to lyxrow_funcs
6743 (numberOfLabelHfills): move to lyxrow_funcs
6744 (hfillExpansion): move to lyxrow_funcs
6748 * bufferview_funcs.C (toggleAndShow): adjust
6750 * RowList.h: Remove class RowList from file leave just a
6753 * RowList.C: delete file
6755 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6758 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6760 * text3.C (cursorPrevious): adjust
6761 (cursorNext): adjust
6764 * text2.C (redoHeightOfParagraph): adjust
6765 (redoDrawingOfParagraph): adjust
6768 * text.C (breakParagraph): adjust
6769 (insertChar): adjust
6772 * rowpainter.C (RowPainter): adjust
6773 (leftMargin): simplify and adjust
6774 (most rowpainter functions): adjust.
6776 * rowpainter.h: store the row as RowList::iterator not as Row*
6778 * lyxcursor.C (row): taka RowList::iterator as arg
6781 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6784 2003-04-01 Angus Leeming <leeming@lyx.org>
6786 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6787 stuff like bool Bool.
6789 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6791 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6794 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6796 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6799 * lyxtext.h (rows): drop one version and leve a const variant that
6800 returns a RowList::iterator.
6802 2003-03-31 Angus Leeming <leeming@lyx.org>
6804 * text.C (fill): ensure that the signature is the same as that in the
6807 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6809 * text2.C (redoParagraphs): adjust
6810 (updateCounters): adjust
6811 (checkParagraph): adjust
6812 (getColumnNearX): adjust and reformat a bit.
6814 * text.C (top_y): adjust
6816 (leftMargin): adjust
6817 (prepareToPrint): adjust
6819 (getRowNearY): adjust
6821 * lyxtext.h: make rowlist_ mutable.
6823 * RowList.h: add const_iterator
6824 * RowList.C: adjust for RowList::const_iterator.
6826 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6829 2003-03-31 John Levon <levon@movementarian.org>
6832 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6834 * lyx_main.C: set default fonts from using lyx_gui funcs
6836 * exporter.C: pdf_mode moved from lyxrc
6839 * lyxfunc.C: changes from above
6841 2003-03-31 John Levon <levon@movementarian.org>
6843 * lyx_main.C: fix to the last fix
6845 2003-03-31 John Levon <levon@movementarian.org>
6847 * bufferlist.C: "Load original" -> "Load Original"
6853 * format.C: more Alert cleanups
6855 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * text2.C (removeParagraph): make it take a RowList::iterator as
6859 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6860 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6862 * text.C (anchor_row): make it take a RowList::iterator as arg,
6864 (computeBidiTables): make it take a const reference to Row instead
6865 of Row pointer, adjust.
6866 (leftMargin): make it take a RowList::iterator as arg, adjust.
6867 (rowBreakPoint): adjust
6868 (breakAgainOneRow): make it take a RowList::iterator as arg,
6870 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6872 * bufferview_funcs.C (toggleAndShow): adjust
6874 2003-03-30 John Levon <levon@movementarian.org>
6878 * boost-inst.C: moved to support
6880 * several files: changes as a result
6882 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6884 * text2.C (LyXText): adjust.
6886 (removeRow): make it take a RowList::iterator as arg, adjust.
6887 (fullRebreak): adjust
6888 (deleteEmptyParagraphMechanism): adjust
6889 (clearPaint): adjust
6892 * text.C (top_y): adjust
6893 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6894 (breakAgain): make it take a RowList::iterator as arg, adjust.
6895 (breakParagraph): adjust
6896 (insertChar): adjust
6899 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6900 need_break_row, and refresh_row.
6902 * text3.C (dispatch): adjust
6904 * text2.C (checkParagraph): adjust
6906 (setCursorFromCoordinates): adjust
6908 * text.C (top_y): adjust
6910 (getRow): make it return a RowList::iterator, adjust
6911 (getRowNearY): make it return a RowList::iterator, adjust
6913 * text2.C (init): adjust
6914 (insertRow): remove function
6915 (insertParagraph): adjust
6916 (redoParagraphs): adjust
6917 (fullRebreak): adjust
6918 (updateCounters): adjust
6920 * text.C (top_y): rewrite to use RowList iterators.
6922 (setHeightOfRow): rewrite to sue RowList iterators.
6923 (appendParagraph): adjust
6924 (breakAgain): adjust
6925 (breakAgainOneRow): adjust
6926 (breakParagraph): adjust
6928 (getRowNearY): adjust, and remove commented code.
6930 * lyxtext.h (firstRow): delete function
6931 (lastRow): delete function
6932 (rows): new function (const and non-const versions.)
6933 (insertRow): delete function
6935 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6937 2003-03-29 John Levon <levon@movementarian.org>
6939 * BufferView_pimpl.C: always update scrollbar top
6940 because pasting text when we're anchored could mean we
6941 miss an update altogether
6943 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6945 * text2.C (init): use rowlist_.end() and not 0.
6946 (insertRow): change to take a RowList::iterator as arg, adjust
6948 (insertParagraph): change to take a RowList::iterator as arg,
6950 (redoParagraphs): remove some debug msgs.
6952 * text.C (appendParagraph): change to take a RowList::iterator
6953 arg, adjust for this.
6954 (breakAgain): add an assert
6955 (breakAgainOneRow): ditto
6957 2003-03-29 John Levon <levon@movementarian.org>
6959 * text2.C: do not clear selection after inc/decDepth
6962 2003-03-29 John Levon <levon@movementarian.org>
6965 * buffer.C: fix broken strerrors according to Lars
6967 2003-03-29 John Levon <levon@movementarian.org>
6969 * converters.C: more Alert cleanups
6971 2003-03-29 John Levon <levon@movementarian.org>
6973 * bufferview_funcs.C: remove pointless Alert
6975 * buffer.C: fix confusing error message when
6976 a template is chmoded 000
6978 2003-03-29 John Levon <levon@movementarian.org>
6982 * BufferView_pimpl.C: Alert fixes
6986 * tabular-old.C: remove unused table compat reading
6988 2003-03-29 John Levon <levon@movementarian.org>
6993 * lyx_cb.C: more Alert cleanups
6995 * lyxfunc.C: don't allow chktex if not latex document
6997 2003-03-29 John Levon <levon@movementarian.org>
7001 * buffer.C: warnings pushed down from support/,
7004 2003-03-29 John Levon <levon@movementarian.org>
7006 * lyxfunc.C: safety check for C-r (revert)
7008 2003-03-29 John Levon <levon@movementarian.org>
7011 * bufferlist.C: several UI fixes using Alert::prompt.
7012 Fix the pointless looping quit code. Fix stupid revert
7017 * lyx_cb.C: use Alert::prompt
7019 * lyx_main.C: remove a silly question
7021 * lyxfunc.C: remove a couple of silly questions,
7024 2003-03-28 John Levon <levon@movementarian.org>
7026 * text2.C: fix bug 974 (End on empty par)
7028 2003-03-28 John Levon <levon@movementarian.org>
7030 * BufferView_pimpl.C:
7032 * lfuns.h: remove do-nothing math greek lfuns
7034 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7036 * lyxgluelength.h (isValidGlueLength): add default arg on
7037 parameter 2. Remove default arg from friend in class.
7039 * lyxlength.h (isValidLength): add default arg on parameter 2.
7040 Remove default arg from friend in class.
7042 * text2.C (LyXText): adjust, initialize refresh_row.
7046 (insertParagraph): adjst
7047 (redoParagraphs): adjust
7048 (fullRebreak): adjust
7049 (updateCounters): adjust
7050 (deleteEmptyParagraphMechanism): first attempt at fixing a
7053 * text.C (top_y): adjust
7054 (setHeightOfRow): adjust
7056 (getRowNearY): adjust
7058 * lyxtext.h: include RowList.h
7059 (~LyXText): not needed anymore, deleted.
7060 (firstRow): modify for RowList
7061 (lastRow): new function
7062 Delete firstrow and lastrow class variables, add a Rowlist
7063 rowlist_ class variable.
7065 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7068 * RowList.C (insert): fix case where it == begin().
7070 2003-03-26 Angus Leeming <leeming@lyx.org>
7072 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7073 the thesaurus dialog.
7075 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7077 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7079 * RowList.[Ch]: new files
7081 * ParagraphList.C (erase): handle the case where it == begin
7084 2003-03-25 John Levon <levon@movementarian.org>
7088 * aspell.C: add new aspell support
7091 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7094 2003-03-25 Angus Leeming <leeming@lyx.org>
7097 * LyXAction.C (init): new LFUN_INSET_INSERT.
7099 * BufferView_pimpl.C (dispatch): split out part of the
7100 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7102 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7105 2003-03-25 Angus Leeming <leeming@lyx.org>
7107 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7109 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7112 * text3.C: remove useless row->height(0)
7114 2003-03-25 John Levon <levon@movementarian.org>
7118 * text3.C: rename the refreshing stuff to better names
7120 2003-03-24 John Levon <levon@movementarian.org>
7122 * BufferView_pimpl.h:
7123 * BufferView_pimpl.C: update layout choice on a mouse
7126 2003-03-23 John Levon <levon@movementarian.org>
7128 * Makefile.am: fix commandtags.h reference
7130 2003-03-22 John Levon <levon@movementarian.org>
7132 * BufferView_pimpl.C:
7137 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7139 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7142 * text.C: take the rtl methods out of line
7144 2003-03-21 André Pönitz <poenitz@gmx.net>
7146 * metricsinfo.[Ch]: new files containing structures to be passed around
7147 during the two-phase-drawing...
7149 2003-03-21 André Pönitz <poenitz@gmx.net>
7151 * lyxtextclass.C: read 'environment' tag.
7153 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7155 * text2.C (removeRow): fix bug 964
7157 2003-03-20 John Levon <levon@movementarian.org>
7161 * text2.C: paint cleanups. Inset::update() dropped font
7164 2003-03-19 John Levon <levon@movementarian.org>
7166 * lyxfunc.C: only fitcursor/markDirty if available()
7168 2003-03-19 John Levon <levon@movementarian.org>
7170 * commandtags.h: rename to ...
7172 * lfuns.h: ... this, and renumber / cleanup
7174 2003-03-19 John Levon <levon@movementarian.org>
7176 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7177 fit the cursor after an lfun
7181 * BufferView_pimpl.h:
7182 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7184 * LyXAction.C: layout-character should have ReadOnly
7186 * ParagraphParameters.C:
7188 * bufferview_funcs.C:
7195 * undo_funcs.C: changes from above
7197 2003-03-18 John Levon <levon@movementarian.org>
7199 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7200 remove it from update()
7202 * lyxfunc.C: update layout choice after an lfun
7204 * text3.C: remove extra updateLayoutChoice()s
7206 2003-03-18 John Levon <levon@movementarian.org>
7208 * text.C: top_y change means full repaint, fix
7209 a drawing bug with cursor movement
7211 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7215 * text2.C: anchor row on setCursor
7217 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7219 * lyxtext.h: remove almost all mutable keywords
7222 * text3.C: remove const keywords accordingly
7224 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7226 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7228 (TeXEnvironment): ditto
7231 2003-03-17 John Levon <levon@movementarian.org>
7233 * text.C (rowBreakPoint): remove attempt to fix displayed
7234 math insets inside a manual label
7236 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7238 * lyxtext.h: remove BufferView* as first arg from almost all class
7240 * other files: adjust.
7242 2003-03-17 John Levon <levon@movementarian.org>
7246 * text2.C: more paint cleanups
7248 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7251 * rowpainter.C: remove "smart" background painting code
7253 2003-03-16 John Levon <levon@movementarian.org>
7258 * text3.C: add helper functions for setting refresh_row/y
7260 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7262 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7263 newline inset which *can* get inserted in the pass_thru layouts.
7264 This is primarily for literate documents.
7266 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7268 * buffer.C: increment LYX_FORMAT to 223
7270 2003-03-14 André Pönitz <poenitz@gmx.net>
7272 * textclass.h: prepare for environment handling, ws changes
7273 * lyxlayout.C: read latexheader and latexfooter tags
7275 2003-03-14 John Levon <levon@movementarian.org>
7277 * text2.C: rewrite ::status() a bit
7279 2003-03-13 John Levon <levon@movementarian.org>
7281 * lyxtext.h: add some docs
7283 2003-03-13 John Levon <levon@movementarian.org>
7288 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7290 2003-03-13 John Levon <levon@movementarian.org>
7292 * text3.C: fix appendix redrawing
7294 2003-03-13 John Levon <levon@movementarian.org>
7296 * text.C (setHeightOfRow):
7298 * rowpainter.C: make appendix mark have the text
7299 "Appendix" so the user knows what it is
7302 * LColor.C: s/appendixline/appendix/ from above
7304 2003-03-13 John Levon <levon@movementarian.org>
7306 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7308 * text.C: fix a getChar(pos) bug properly
7310 2003-03-13 Angus Leeming <leeming@lyx.org>
7313 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7314 Probably only temporary. Let's see how things pan out.
7316 * BufferView.C (unlockInset):
7317 * BufferView_pimpl.C (fitCursor):
7318 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7320 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7321 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7323 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7324 new functions that convert ParagraphParameters to and from a string.
7326 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7327 BufferView::Pimpl's dispatch.
7328 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7330 2003-03-13 André Pönitz <poenitz@gmx.net>
7334 * factory.C: make it aware of InsetEnv
7336 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7338 * text2.C (setCursor): never ask for one past last
7339 (setCursor): add some debugging messages.
7341 * text.C (singleWidth): never ask for one past last
7342 (singleWidth): ditto
7344 (rightMargin): ditto
7345 (rowBreakPoint): ditto
7346 (setHeightOfRow): ditto
7347 (prepareToPrint): ditto
7349 * rowpainter.C (paintBackground): never ask for one past last
7350 (paintText): never ask for one past last
7352 * paragraph_pimpl.C (getChar): make the assert stricter, never
7353 allow the one past last pos to be taken
7355 * paragraph.C (getChar): ws changes only
7357 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7358 (numberOfSeparators): ditto
7359 (numberOfHfills): ditto
7361 2003-03-12 John Levon <levon@movementarian.org>
7367 * paragraph_funcs.C: fix per-buffer authorlists
7369 2003-03-12 John Levon <levon@movementarian.org>
7371 * text.C: fix newline in right address
7373 2003-03-12 Angus Leeming <leeming@lyx.org>
7375 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7376 duplicate those in LyXFunc::dispatch.
7380 * ToolbarDefaults.C:
7381 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7382 Add LFUN_FONTFREE_UPDATE.
7384 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7385 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7387 * bufferview_func.[Ch]: several new functions to facilliate
7388 transfer of data to and from the character dialog.
7390 2003-03-12 John Levon <levon@movementarian.org>
7395 * paragraph_funcs.C:
7396 * paragraph_pimpl.C:
7400 * text3.C: remove META_NEWLINE in favour of an inset
7403 * rowpainter.C: remove paintNewline (done by inset)
7405 2003-03-12 John Levon <levon@movementarian.org>
7407 * paragraph_pimpl.C: complain about bad getChar()s
7408 for a while at least
7410 2003-03-12 John Levon <levon@movementarian.org>
7413 * buffer.C: move paragraph read into a separate function,
7414 a little renaming to reflect that.
7417 * bufferparams.C: remove the author_ids map, not necessary now
7420 * factory.C: moved Buffer::readInset to here
7422 * paragraph_funcs.h:
7423 * paragraph_funcs.C: readParagraph free function moved from
7426 * tabular.C: name change
7428 2003-03-12 John Levon <levon@movementarian.org>
7431 * ParagraphParameters.C: move par params input to
7434 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7435 behave like a normal read from the stream wrt reading
7436 a line vs. a \\token
7438 2003-03-12 John Levon <levon@movementarian.org>
7441 * ParagraphParameters.h:
7442 * ParagraphParameters.C: move output code to a
7445 2003-03-12 John Levon <levon@movementarian.org>
7447 * BufferView.C (insertLyXFile):
7450 * tabular.C: use a parlist iterator for creating the
7453 2003-03-12 John Levon <levon@movementarian.org>
7455 * buffer.C: make current_change static local not
7458 2003-03-12 John Levon <levon@movementarian.org>
7460 * buffer.C: fix insertStringAsLines for change tracking
7462 2003-03-12 John Levon <levon@movementarian.org>
7469 * bufferparams.C: move author list into params. Rename some
7470 functions. Move the header reading into a separate token
7471 loop. Move the header token reading into BufferParams.
7473 2003-03-12 John Levon <levon@movementarian.org>
7475 * changes.C: put debug inside lyxerr.debugging() checks
7477 2003-03-11 André Pönitz <poenitz@gmx.net>
7479 * factory.C: make it aware of InsetHFill
7481 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7483 * buffer.C (latexParagraphs): move function from here...
7484 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7487 2003-03-10 Angus Leeming <leeming@lyx.org>
7489 * LyXAction.C (init): fix bug in poplating array with multiple entries
7490 with the same LFUN (spotted by JMarc).
7492 2003-03-10 John Levon <levon@movementarian.org>
7495 * text2.C: move getColumnNearX() near its
7498 2003-03-10 John Levon <levon@movementarian.org>
7500 * text.C: fix break before a minipage
7502 2003-03-10 John Levon <levon@movementarian.org>
7504 * text.C: fix the last commit
7506 2003-03-09 John Levon <levon@movementarian.org>
7510 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7511 bug 365 (don't break before insets unless needed). Don't
7512 return a value > last under any circumstances.
7514 2003-03-09 Angus Leeming <leeming@lyx.org>
7516 * BufferView_pimpl.C (trackChanges, dispatch): call
7517 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7519 2003-03-09 Angus Leeming <leeming@lyx.org>
7521 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7522 than Dialogs::showAboutlyx().
7524 2003-03-09 Angus Leeming <leeming@lyx.org>
7526 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7527 than Dialogs::showTabularCreate().
7529 2003-03-09 John Levon <levon@movementarian.org>
7533 * text2.C: 3rd arg to nextBreakPoint was always the same.
7536 2003-03-08 John Levon <levon@movementarian.org>
7543 * text2.C: Remove the "main" bit from the "main body"
7546 2003-03-08 John Levon <levon@movementarian.org>
7548 * text.C (leftMargin): The left margin of an empty
7549 manual label paragraph should not include the label width
7552 * text.C (prepareToPrint): don't attempt to measure hfills
7553 for empty manual label paragraphs - the answer should be 0
7555 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7557 * CutAndPaste.C: remove commented code and reindent.
7559 2003-03-08 John Levon <levon@movementarian.org>
7562 * lyxfunc.C: move reloadBuffer()
7565 * BufferView.C: to here
7567 * lyxvc.C: add comment
7570 * vc-backend.C: call bv->reload() to avoid
7571 getStatus() check on MENURELOAD
7573 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7575 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7576 to an old format .dep file.
7578 2003-03-07 Angus Leeming <leeming@lyx.org>
7580 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7581 when the LFUN_MOUSE_RELEASE should have been handled by
7582 inset->localDispatch.
7584 2003-03-07 Angus Leeming <leeming@lyx.org>
7586 * BufferView_pimpl.C (dispatch):
7587 * LyXAction.C (init):
7588 * ToolbarDefaults.C (init):
7590 * lyxfunc.C (getStatus):
7591 remove LFUN_INSET_GRAPHICS.
7593 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7595 2003-03-07 Angus Leeming <leeming@lyx.org>
7598 * LyXAction.C (init):
7599 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7601 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7604 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7606 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7607 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7609 2003-03-07 Angus Leeming <leeming@lyx.org>
7611 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7614 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7616 * ParagraphList.C (front): new function
7619 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7621 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7622 and top_row_offset_. removed var first_y.
7624 * text2.C (LyXText, removeRow):
7626 * BufferView_pimpl.C:
7627 use these methods instead of using first_y
7629 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7631 * text2.C (pasteSelection): adjust for checkPastePossible
7633 * CutAndPaste.C: remove Paragraph * buf and replace with
7634 ParagraphList paragraphs.
7635 (DeleteBuffer): delete
7636 (cutSelection): change the tc type to textclass_type
7637 (copySelection): change the tc type to textclass_type
7638 (copySelection): adjust for ParagraphList
7639 (pasteSelection): change the tc type to textclass_type
7640 (pasteSelection): adjust for Paragraphlist
7641 (nrOfParagraphs): simplify for ParagraphList
7642 (checkPastePossible): simplify for ParagraphList
7643 (checkPastePossible): remove unused arg
7645 * ParagraphList.C (insert): handle the case where there are no
7648 * CutAndPaste.h: make CutAndPaste a namespace.
7650 * text3.C (dispatch): adjust
7652 * text.C (breakParagraph): add a ParagraphList as arg
7654 * paragraph_funcs.C (breakParagraph): change to take a
7655 BufferParams and a ParagraphList as args.
7656 (breakParagraphConservative): ditto
7657 (mergeParagraph): ditto
7658 (TeXDeeper): add a ParagraphList arg
7659 (TeXEnvironment): ditto
7662 * buffer.C (readLyXformat2): adjust
7663 (insertStringAsLines): adjust
7664 (latexParagraphs): adjust
7666 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7667 (cutSelection): adjust
7668 (pasteSelection): adjust
7670 * BufferView_pimpl.C (insertInset): adjust
7672 2003-03-05 Angus Leeming <leeming@lyx.org>
7675 * LyXAction.C (init):
7676 * BufferView_pimpl.C (dispatch):
7677 * lyxfunc.C (getStatus):
7678 remove LFUN_CHILD_INSERT.
7680 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7682 2003-03-05 Angus Leeming <leeming@lyx.org>
7685 * LyXAction.C (init):
7686 * src/factory.C (createInset):
7687 * lyxfunc.C (getStatus):
7688 * text3.C (dispatch):
7689 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7691 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7693 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7695 * ParagraphList.C (insert): handle insert right before end()
7696 (erase): fix cases where it can be first or last paragraph.
7698 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7700 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7701 Paragraph::next and Paragraph::previous
7704 * text.C (breakParagraph): adjust
7706 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7707 BufferParams& as arg.
7708 (breakParagraph): use ParagraphList::insert
7709 (breakParagraphConservative): take a Buffer* instead of a
7710 BufferParams& as arg.
7711 (breakParagraphConservative): use ParagraphList::insert.
7713 * buffer.C (insertStringAsLines): un-const it
7714 (insertStringAsLines): adjust
7716 * ParagraphList.C (insert): new function
7718 * CutAndPaste.C (pasteSelection): adjust
7720 * text.C (backspace): adjust
7722 * tabular.C (SetMultiColumn): adjust
7724 * CutAndPaste.C (cutSelection): adjust
7725 (pasteSelection): adjust
7727 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7728 Buffer const * as arg
7730 * ParagraphList.C (erase): new function
7731 * paragraph_funcs.C (mergeParagraph): use it
7732 (mergeParagraph): make it take a Buffer* instead of a
7733 BufferParams* as arg
7735 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7737 (breakParagraphConservative): ditto
7739 * paragraph.h: remove the breakParagraph friend
7741 * paragraph.C (eraseIntern): new function
7742 (setChange): new function
7744 * paragraph_funcs.C (mergeParagraph): make it take a
7745 ParagraphList::iterator instead of a Paragraph *, adjust
7748 * paragraph.h: move an #endif so that the change tracking stuff
7749 also works in the NO_NEXT case.
7751 2003-03-04 Angus Leeming <leeming@lyx.org>
7754 * LyXAction.C: new LFUN_INSET_MODIFY.
7756 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7757 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7759 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7761 * several files: ws changes only
7763 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7764 (TeXEnvironment): ditto
7767 * buffer.C (makeLaTeXFile): adjust
7768 (latexParagraphs): make it take ParagraphList::iterator as args
7770 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7772 * buffer.C (latexParagraphs): adjust
7774 * paragraph.C (TeXOnePar): move function...
7775 (optArgInset): move function...
7776 (TeXEnvironment): move function...
7777 * paragraph_pimpl.C (TeXDeeper): move function...
7778 * paragraph_funcs.C: ...here
7780 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7782 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7784 * buffer.C (readInset): remove compability code for old Figure and
7787 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7789 * buffer.C: ws changes
7792 * BufferView_pimpl.C: ditto
7795 * bufferlist.h: ditto
7799 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7801 * converter.[Ch]: split into itself +
7804 * Makefile.am: += graph.[Ch] + format.[Ch]
7811 * lyxrc.C: added #include "format.h"
7813 2003-02-27 Angus Leeming <leeming@lyx.org>
7815 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7818 * factory.C (createInset): add "label" to the factory.
7820 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7821 string and do no more.
7823 2003-02-27 Angus Leeming <leeming@lyx.org>
7826 * LyXAction.C (init):
7827 * factory.C (createInset):
7828 * BufferView_pimpl.C (dispatch):
7829 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7831 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7833 * lyxfunc.C (dispatch):
7834 * text3.C (dispatch): pass name to params2string.
7836 2003-02-26 Angus Leeming <leeming@lyx.org>
7838 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7840 Rearrange the ~includes. Strip out the unnecessary ones.
7842 * factory.C (createInset): reformat.
7843 create new insets for the various LFUN_XYZ_APPLY lfuns.
7845 2003-02-26 John Levon <levon@movementarian.org>
7848 * lyxrow.C: add isParStart,isParEnd helpers
7850 * paragraph.h: make isInserted/DeletedText take refs
7852 * paragraph_funcs.h:
7853 * paragraph_funcs.C: remove #if 0'd code
7858 * text.C: use lyxrow helpers above.
7859 Move draw and paint routines to RowPainter.
7860 Make several methods use refs not pointers.
7861 Make backgroundColor() const.
7862 Add markChangeInDraw(), isInInset().
7863 Merge changeRegionCase into changeCase.
7864 Make workWidth() shouldn't-happen code into an Assert.
7867 * rowpainter.C: new class for painting a row.
7870 * vspace.C: make inPixels take a ref
7872 2003-02-26 Angus Leeming <leeming@lyx.org>
7874 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7877 2003-02-25 John Levon <levon@movementarian.org>
7879 * ispell.C: give the forked command a more accurate name
7881 2003-02-22 John Levon <levon@movementarian.org>
7884 * toc.C: make TocItem store an id not a Paragraph *
7887 2003-02-21 Angus Leeming <leeming@lyx.org>
7889 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7890 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7891 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7892 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7893 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7894 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7896 * BufferView_pimpl.C (dispatch):
7897 * LyXAction.C (init):
7898 * factory.C (createInset):
7899 * lyxfunc.C (getStatus, dispatch):
7900 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7902 2003-02-21 Angus Leeming <leeming@lyx.org>
7904 * BufferView_pimpl.C (MenuInsertLyXFile):
7905 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7906 * lyxfunc.C (menuNew, open, doImport):
7907 no longer pass a LyXView & to fileDlg.
7909 2003-02-21 Angus Leeming <leeming@lyx.org>
7911 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7912 * LyXAction.C: change, BIBKEY to BIBITEM.
7913 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7914 Change InsetBibKey to InsetBibitem.
7915 Change BIBKEY_CODE to BIBITEM_CODE.
7916 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7917 * factory.C: replace insetbib.h with insetbibitem.h.
7918 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7919 * paragraph.C: replace insetbib.h with insetbibitem.h.
7920 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7921 Change bibkey() to bibitem().
7922 * text.C: remove insetbib.h.
7923 * text2.C: replace insetbib.h with insetbibitem.h.
7924 change bibkey() to bibitem().
7925 * text3.C: remove insetbib.h.
7926 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7928 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7930 * lyxrc.C (output): enclose user email in quotes (in case there are
7933 2003-02-18 John Levon <levon@movementarian.org>
7935 * buffer.h: add std::
7937 2003-02-17 John Levon <levon@movementarian.org>
7943 * pspell.C: reworking. Especially in ispell, a large
7944 number of clean ups and bug fixes.
7946 * lyxfunc.C: fix revert to behave sensibly
7948 2003-02-17 André Pönitz <poenitz@gmx.net>
7951 * commandtags.h: new LFUN_INSERT_BIBKEY
7961 * paragraph_func.C: remove special bibkey handling
7963 2003-02-17 John Levon <levon@movementarian.org>
7965 * text.C (Delete): fix case where delete at the end of
7966 the very first paragraph would not merge the pars
7968 2003-02-17 John Levon <levon@movementarian.org>
7970 * lyxrow.C: fix lastPrintablePos()
7972 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7974 * bufferparams.C (writeLaTeX): add a std:here
7976 * buffer.C: and remove a using directive there
7978 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7980 * buffer.C (makeLaTeXFile): move the code that generates the
7983 * bufferparams.C (writeLaTeX): ... in this new method
7985 * LaTeXFeatures.C (getEncodingSet): make const
7986 (getLanguages): make const
7988 * MenuBackend.C (binding): returns the binding associated to this
7990 (add): sets the status of each item by calling getStatus. Adds
7992 (read): add support for OptSubMenu
7993 (expand): remove extra separator at the end of expanded menu
7995 2003-02-15 John Levon <levon@movementarian.org>
7998 * BufferView_pimpl.C:
8000 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8001 inset code that had no actual effect. Remove unneeded status
8004 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8006 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8009 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8011 * text.C (drawLengthMarker): also draw an arrow marker for
8012 symbolic lengths (medskip...)
8014 2003-02-14 John Levon <levon@movementarian.org>
8017 * tabular.C: better method names
8019 2003-02-14 John Levon <levon@movementarian.org>
8021 * BufferView_pimpl.C:
8026 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8027 it's a more accurate name. Remove some pointless uses.
8029 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8031 * text2.C (LyXText): change order of initilizers to shut off
8034 2003-02-14 John Levon <levon@movementarian.org>
8036 * buffer.C: use ParIterator for getParFromID()
8040 * paragraph_pimpl.h:
8041 * paragraph_pimpl.C: remove unused getParFromID()
8043 2003-02-14 John Levon <levon@movementarian.org>
8045 * buffer.C: remove some very old #if 0'd parse code
8047 2003-02-13 John Levon <levon@movementarian.org>
8051 * text2.C: move hfillExpansion(), numberOfSeparators(),
8052 rowLast(), rowLastPrintable(), numberofHfills(),
8053 numberOfLabelHfills() ...
8056 * lyxrow.C: ... to member functions here.
8061 * text.C: remove LyXText::beginningOfMainBody(), and call
8062 p->beginningOfMainBody() directly. Move the check for
8063 LABEL_MANUAL into the latter.
8070 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8076 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8077 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8079 2003-02-13 John Levon <levon@movementarian.org>
8081 * CutAndPaste.C: remove debug
8083 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8085 * paragraph.C (asString): remove two unused variables
8087 * lyxtextclass.C (readTitleType):
8089 (LyXTextClass): handle new members titletype_ and titlename_
8091 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8093 2003-02-09 John Levon <levon@movementarian.org>
8096 * buffer.C: replace hand-coded list with a map for the dep clean
8098 2003-02-08 John Levon <levon@movementarian.org>
8100 * LaTeX.C: consolidate code into showRunMessage() helper
8102 2003-02-08 John Levon <levon@movementarian.org>
8107 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8108 and pass the size in explicitly
8110 * BufferView_pimpl.h:
8111 * BufferView_pimpl.C:
8113 * BufferView.C: add getCurrentChange()
8115 * BufferView_pimpl.h:
8116 * BufferView_pimpl.C: handle change lfuns
8118 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8119 for changes. Mark pasted paragraphs as new.
8121 * support/lyxtime.h:
8122 * support/lyxtime.C:
8123 * DepTable.C: abstract time_t as lyx::time_type
8126 * LColor.C: add colours for new text, deleted text, changebars
8128 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8129 package use "usenames" option.
8133 * LyXAction.C: add change lfuns
8137 * author.C: author handling
8140 * buffer.C: add a per-buffer author list, with first entry as
8141 current author. Handle new .lyx tokens for change tracking. Output
8142 author list to .lyx file. Output dvipost stuff to .tex preamble.
8143 Bump lyx format to 222.
8146 * bufferlist.C: add setCurrentAuthor() to reset current author details
8150 * bufferparams.C: add param for tracking
8152 * bufferview_funcs.C: output change info in minibuffer
8156 * changes.C: add change-tracking structure
8159 * debug.C: add CHANGES debug flag
8162 * lyxfind.C: add code for finding the next change piece
8165 * lyxrc.C: add user_name and user_email
8168 * lyxrow.C: add a metric for the top of the text line
8171 * text.C: implement accept/rejectChange()
8174 * text.C: paint changebars. Paint new/deleted text in the chosen
8175 colours. Strike through deleted text.
8179 * paragraph_pimpl.h:
8180 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8181 in the current change to the insert functions. Rework erase to
8182 mark text as deleted, adding an eraseIntern() and a range-based
8183 erase(). Implement per-paragraph change lookup and
8186 * paragraph_funcs.C: Fixup paste for change tracking.
8188 * tabular.C: mark added row/columns as new.
8190 * text.C: fix rowLast() to never return -1. Don't allow
8191 spellchecking of deleted text. Track transpose changes. Don't
8192 allow paragraph break or merge where appropriate.
8194 * text2.C: leave cursor at end of selection after a cut.
8196 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8198 * text.C (getLengthMarkerHeight):
8199 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8200 visible on screen too.
8202 2003-02-07 John Levon <levon@movementarian.org>
8204 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8206 2003-02-05 Angus Leeming <leeming@lyx.org>
8208 * lyxserver.C (read_ready): revert my patch of 11 September last year
8209 as it sends PC cpu through the roof. Presumably this means that
8210 the lyxserver will no longer run on an Alpha...
8212 2003-01-30 Angus Leeming <leeming@lyx.org>
8214 * factory.C (createInset): create an InsetCommandParam of type "index"
8215 and use it to 'do the right thing'.
8217 * text2.C (getStringToIndex): ensure that cursor position is always
8218 reset to the reset_cursor position.
8220 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8222 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8225 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8229 * lyxfunc.C: Output messages with identical spelling, punctuation,
8232 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8234 * MenuBackend.C (expandFormats): List only viewable export formats
8237 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8240 * lyxfunc.C (getStatus): Make sure that formats other than
8241 "fax" can also be disabled
8243 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8245 * text3.C (dispatch): put the lfuns that insert insets in 3
8246 groups, and call doInsertInset with appropriate arguments.
8247 (doInsertInset): new function, that creates an inset and inserts
8248 it according to some boolean parameters.
8250 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8252 * buffer.C (readFile): remember to pass on 'par' when calling
8253 readFile recursively.
8255 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8257 * MenuBackend.C (expandFormats): add "..." to import formats.
8259 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8261 * paragraph.C (asString): Remove XForms RTL hacks.
8263 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8264 * buffer.C: fix typo
8266 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8268 * Makefile.am (LIBS): delete var
8269 (lyx_LDADD): add @LIBS@ here instead.
8271 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8273 * Clarify the meaning of "wheel mouse jump"
8275 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8277 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8280 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8282 * importer.C (Loaders): do not preallocate 3 elements in the
8283 vector, since one ends up with 6 elements otherwise
8285 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8287 * DepTable.C (write): write the file name as last element of the
8288 .dep file (because it may contain spaces)
8289 (read): read info in the right order
8291 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8293 * paragraph_pimpl.C (simpleTeXBlanks):
8294 (simpleTeXSpecialChars):
8295 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8297 * tabular.C (latex): add some missing case statements. Reindent.
8299 * MenuBackend.C (expandToc): remove unused variable.
8301 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8310 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8313 2003-01-05 John Levon <levon@movementarian.org>
8316 * BufferView.C: add getEncoding()
8319 * kbsequence.C: do not store last keypress
8322 * lyxfunc.C: store last keypress here instead. Pass encoding
8325 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8327 * lyx_main.C (init): remove annoying error message when following
8328 symbolic links (bug #780)
8330 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8332 * text.C (insertChar):
8333 * lyxrc.C (getDescription): remove extra spaces
8335 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8337 * lyxrc.C (getDescription): remove extra spaces
8339 2002-12-20 John Levon <levon@movementarian.org>
8341 * text3.C: hack fix for page up/down across tall rows
8343 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8345 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8348 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8350 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8351 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8352 thesaurus is not compiled in
8354 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8356 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8358 2002-12-16 Angus Leeming <leeming@lyx.org>
8361 * lyx_main.C (init): remove override_x_deadkeys stuff.
8363 2002-12-12 John Levon <levon@movementarian.org>
8365 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8366 insert. Only remove shift modifier under strict
8369 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8371 * MenuBackend.C (expandToc): fix crash.
8373 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8375 * MenuBackend.C (expandToc): gettext on float names.
8377 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8379 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8380 implement bool empty() [bug 490]
8382 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8384 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8386 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8388 * several files: ws changes
8390 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8392 * text2.C (setCounter): clean up a bit, use boost.format.
8393 (updateCounters): initialize par upon declaration.
8395 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8396 if the layout exists. We do not just store the layout any more.
8397 (SwitchLayoutsBetweenClasses): use boost.format
8399 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8401 * converter.C (convert): if from and to files are the same, use a
8402 temporary files as intermediary
8404 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8407 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8409 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8411 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8413 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8415 * tabular.C (asciiPrintCell): use string(size, char) instead of
8418 * sgml.C (openTag): fix order of arguments to string constructor
8421 * lyxfunc.C (dispatch): use boost.format
8423 * lots of files: change "c" -> 'c'
8425 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8427 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8429 2002-11-25 Angus Leeming <leeming@lyx.org>
8431 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8433 * lyx_main.C (init): compile fix.
8435 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8437 * lyx_cb.C (start): boost.formatify
8438 do not include <iostream>
8440 * lengthcommon.C: ws only
8442 * boost-inst.C,BoostFormat.h: add more explict instantations
8444 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8446 * lots of files: handle USE_BOOST_FORMAT
8448 2002-11-21 John Levon <levon@movementarian.org>
8450 * pspell.C: fix compile
8452 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8454 * lyxfunc.C (dispatch): use boost::format
8458 * lyxfont.C (stateText): use boost::format
8460 * lyx_main.C (LyX): use boost::format
8462 (queryUserLyXDir): ditto
8465 (typedef boost::function): use the recommened syntax.
8467 * importer.C (Import): use boost::format
8469 * debug.C (showLevel): use boost::format
8471 * converter.C (view): use boost::format
8476 * bufferview_funcs.C (currentState): use boost::format
8478 * bufferlist.C (emergencyWrite): use boost::format
8480 * buffer.C (readLyXformat2): use boost::format
8481 (parseSingleLyXformat2Token): ditto
8483 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8485 * LaTeX.C (run): use boost::format
8487 * Chktex.C (scanLogFile): use boost::format
8489 * BufferView_pimpl.C (savePosition): use boost::format
8490 (restorePosition): ditto
8491 (MenuInsertLyXFile): ditto
8493 * BoostFormat.h: help file for explicit instation.
8495 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8497 * tabular.C (latex): Support for block alignment in fixed width
8500 2002-11-17 John Levon <levon@movementarian.org>
8502 * BufferView_pimpl.C:
8504 * lyxfunc.C: split filedialog into open/save
8506 2002-11-08 Juergen Vigna <jug@sad.it>
8508 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8509 by my last patch (hopefully).
8511 2002-11-08 John Levon <levon@movementarian.org>
8520 * toc.C: ParConstIterator, and use it (from Lars)
8522 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8524 * lyxtextclass.[Ch]: revise and add doxygen comments
8526 2002-11-07 John Levon <levon@movementarian.org>
8528 * text.C: fix progress value for spellchecker
8530 * toc.C: fix navigate menu for insetwrap inside minipage
8532 * paragraph_funcs.C: added FIXME for suspect code
8534 2002-11-07 John Levon <levon@movementarian.org>
8536 * BufferView_pimpl.C: fix redrawing of insets
8539 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8541 * text2.C (updateCounters): fix bug 668
8543 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8545 * text3.C (dispatch): Do not make the buffer dirty when moving the
8548 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8550 * vc-backend.C: STRCONV
8553 * text2.C (setCounter): STRCONV
8555 * paragraph.C (asString): STRCONV
8557 * lyxlength.C (asString): STRCONV
8558 (asLatexString): ditto
8560 * lyxgluelength.C (asString): STRCONV
8561 (asLatexString): ditto
8563 * lyxfunc.C (dispatch): STRCONV
8566 * lyxfont.C (stateText): STRCONV
8568 * importer.C (Import): STRCONV
8570 * counters.C (labelItem): STRCONV
8571 (numberLabel): ditto
8572 (numberLabel): remove unused ostringstream o
8577 * bufferview_funcs.C (currentState): STRCONV
8579 * buffer.C (readFile): STRCONV
8580 (asciiParagraph): ditto
8581 (makeLaTeXFile): ditto
8583 * Spacing.C (writeEnvirBegin): STRCONV
8585 * LaTeXFeatures.C (getLanguages): STRCONV
8586 (getPackages): ditto
8588 (getBabelOptions): ditto
8589 (getTClassPreamble): ditto
8590 (getLyXSGMLEntities): ditto
8591 (getIncludedFiles): ditto
8595 (scanAuxFile): ditto
8598 * LString.h: add the STRCONV macros
8600 * BufferView_pimpl.C (savePosition): STRCONV
8601 (restorePosition): ditto
8602 (MenuInsertLyXFile): ditto
8604 * vc-backend.C (scanMaster): change from submatch[...] to
8607 * funcrequest.C: include config.h
8609 * factory.C: include config.h
8611 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8613 * box.C: include config.h
8615 * LaTeX.C (scanAuxFile): change from submatch[...] to
8619 2002-10-25 Angus Leeming <leeming@lyx.org>
8621 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8623 * ispell.[Ch] (setError): new method.
8624 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8625 Use setError() insetead of goto END.
8627 * lyx_cb.C (AutoSave): move out child process into new class
8630 2002-10-30 John Levon <levon@movementarian.org>
8632 * text3.C: make start appendix undoable
8634 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8636 * lyxlength.C (inPixels): Fix returned value.
8638 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8641 2002-10-24 Angus Leeming <leeming@lyx.org>
8643 * lyxgluelength.h: no need to forward declare BufferParams
8644 or BufferView, so don't.
8646 2002-10-21 John Levon <levon@movementarian.org>
8648 * BufferView.C: menuUndo ->undo, redo
8650 * BufferView.h: document, remove dead, make some methods private
8652 * paragraph_funcs.h:
8653 * paragraph_funcs.C:
8654 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8659 * sgml.C: move sgml open/close tag into sgml.C
8661 * bufferview_funcs.h: unused prototype
8664 * lyxfunc.C: remove unused
8667 * text.C: remove unused
8669 2002-10-21 John Levon <levon@movementarian.org>
8673 * BufferView_pimpl.h:
8674 * BufferView_pimpl.C: fix mouse wheel handling based on
8675 patch from Darren Freeman
8677 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8679 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8681 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8683 * lyxlength.C (inPixels): Fix hanfling of negative length.
8684 Fix LyXLength::MU case.
8686 2002-10-16 John Levon <levon@movementarian.org>
8688 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8690 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8692 * converter.C (view): add support for $$i (file name) and $$p
8693 (file path) for the viewer command. If $$i is not specified, then
8694 it is appended to the command (for compatibility with old syntax)
8696 2002-10-14 Juergen Vigna <jug@sad.it>
8698 * undo_funcs.C (textHandleUndo): alter the order in which the
8699 new undopar is added to the LyXText, as we have to set first
8700 the right prev/next and then add it as otherwise the rebuild of
8701 LyXText is not correct. Also reset the cursor to the right paragraph,
8702 with this IMO we could remove the hack in "redoParagraphs()".
8704 2002-10-09 Angus Leeming <leeming@lyx.org>
8706 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8707 to turn off an optimisation if a new inset is to be inserted.
8709 2002-10-11 André Pönitz <poenitz@gmx.net>
8711 * lyxtext.h: make some functions public to allow access
8712 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8714 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8716 * text3.C (dispatch): when changing layout, avoid an infinite loop
8719 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8721 * lyxrc.C (read): treat a viewer or converter command of "none" as
8724 * MenuBackend.C (expandFormats): for an update, also allow the
8725 formats that are not viewable
8727 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8728 script if it is newer than the lyxrc.defaults in user directory
8730 2002-10-07 André Pönitz <poenitz@gmx.net>
8732 * text.C: Vitaly Lipatov's small i18n fix
8734 2002-09-25 Angus Leeming <leeming@lyx.org>
8736 * ispell.h: doxygen fix.
8738 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8740 * buffer.h (readFile): Add a new argument to the method, to allow
8741 reading of old-format templates.
8743 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8745 * toc.C (getTocList): Get TOC from InsetWrap.
8747 2002-09-16 John Levon <levon@movementarian.org>
8749 * lyxfunc.C: check tabular for cut/copy too
8751 2002-09-12 John Levon <levon@movementarian.org>
8756 * factory.C: add header
8758 * paragraph_funcs.h:
8759 * paragraph_funcs.C: cleanup
8761 2002-09-11 John Levon <levon@movementarian.org>
8763 * PrinterParams.h: odd/even default to true
8765 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8767 * PrinterParams.h: update printer parameters for new xforms dialog
8769 2002-09-11 Angus Leeming <leeming@lyx.org>
8771 * lyxserver.C (read_ready): re-write to make it more transparent
8772 and to make it work in coherent fashion under Tru64 Unix.
8774 2002-09-11 André Pönitz <poenitz@gmx.net>
8778 * text3.C: implement LFUN_WORDSEL
8780 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8782 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8783 make floatlist_ a boost::shared_ptr<FloatList>
8785 * lyxtextclass.C: include FloatList.h
8786 (LyXTextClass): initialize floatlist_
8787 (TextClassTags): add TC_NOFLOAT
8788 (Read): match "nofloat" to TC_NOFLOAT and use it.
8789 (readFloat): modify call to floatlist_
8793 * FloatList.[Ch] (FloatList): remove commented out float
8795 (erase): new function
8797 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8799 * MenuBackend.C (expandToc): fix crash when there is no document
8802 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8804 * many files: Add insetwrap.
8806 2002-09-09 John Levon <levon@movementarian.org>
8808 * text2.C: remove confusing and awkward depth wraparound
8810 2002-09-09 John Levon <levon@movementarian.org>
8812 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8815 * buffer.C: remove getIncludeonlyList()
8818 * lyxfunc.C: remove headers
8820 2002-09-09 Juergen Vigna <jug@sad.it>
8822 * text.C (getColumnNearX): fix form Michael this is most
8823 probably a cut&paste bug.
8825 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8827 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8829 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8830 references, ws changes.
8832 * text2.C (init): update counters after init
8833 (insertParagraph): no need to set counter on idividual paragraphs.
8834 (setCounter): access the counters object in the textclass object
8835 on in the buffer object.
8836 (updateCounters): ditto
8838 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8839 shared_ptr<Counters> to avoid loading counters.h in all
8841 (LyXTextClass): initialize ctrs_
8842 (TextClassTags): add TC_COUNTER, and ...
8843 (Read): use it here.
8844 (CounterTags): new tags
8845 (readCounter): new function
8846 (counters): new funtion
8847 (defaultLayoutName): return a const reference
8849 * counters.C (Counters): remove contructor
8850 (newCounter): remove a couple of unneeded statements.
8851 (newCounter): simplify a bit.
8852 (numberLabel): some small formatting changes.
8854 * buffer.[Ch]: remove all traces of counters, move the Counters
8855 object to the LyXTextClass.
8857 2002-09-06 Alain Castera <castera@in2p3.fr>
8859 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8860 package to set the horizontal alignment on fixed width columns.
8863 * lyx_sty.h: added tabularnewline macro def.
8865 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8867 2002-09-06 John Levon <levon@movementarian.org>
8869 * LyXAction.C: tooltips for sub/superscript
8871 * MenuBackend.C: a bit more verbose
8873 * lyxfunc.C: tiny clean
8875 * undo_funcs.C: document undo_frozen
8877 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8879 * counters.C (Counters): add missing algorithm counter.
8881 * text2.C (setCounter): lookup the counter with layouts latexname
8882 instead of by section number.
8883 (setCounter): use a hackish way to lookup the correct enum
8885 a float name->type change
8886 reset enum couners with counter name directly instead of depth value.
8888 * counters.C (Counters): remove the push_backs, change to use the
8889 float type not the float name.
8890 (labelItem): remove unused string, float name->type change
8892 * counters.h: don't include vector, loose the enums and sects vectors
8894 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8896 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8897 (Read): add float->TC_FLOAT to textclassTags
8898 (Read): and handle it in the switch
8899 (readFloat): new function
8901 * FloatList.C (FloatList): comment out the hardcoded float
8904 * lyxlayout.h: ws change.
8906 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8908 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8910 2002-09-03 Angus Leeming <leeming@lyx.org>
8912 * BufferView_pimpl.h: qualified name is not allowed in member
8913 declaration: WorkArea & Pimpl::workarea() const;
8915 * factory.C: added using std::endl directive.
8917 * text3.C: added using std::find and std::vector directives.
8919 2002-08-29 André Pönitz <poenitz@gmx.net>
8922 * text2.C: remove unused member number_of_rows
8925 * BufferView2.C: remove file, move contents to...
8926 * BufferView.C: ... here
8928 * BufferView_pimpl.C:
8929 * factory.C: move more inset creation to factory
8931 * vspace.C: avoid direct usage of LyXText, ws changes
8934 don't provide direct access to WorkArea, use two simple
8935 acessors haveSelction() and workHeight() instead
8938 2002-08-29 John Levon <levon@movementarian.org>
8940 * BufferView_pimpl.C (dispatch): do not continue when
8943 2002-08-28 André Pönitz <poenitz@gmx.net>
8945 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8948 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8950 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8952 * buffer.C: increment LYX_FORMAT to 221
8954 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8955 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8957 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8959 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8961 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8963 * factory.C (createInset): use LyXTextClass::floats
8965 * MenuBackend.C (expandFloatListInsert):
8966 (expandFloatInsert):
8969 * text2.C (setCounter):
8971 * LaTeXFeatures.C (useFloat):
8972 (getFloatDefinitions):
8974 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8976 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8977 floatlist_, with accessor floats().
8979 * FloatList.h: remove global FloatList
8981 2002-08-26 André Pönitz <poenitz@gmx.net>
8983 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8987 * BufferView_pimpl.C:
8988 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8990 2002-08-25 John Levon <levon@movementarian.org>
8992 * LyXAction.C: fix margin note description
8994 2002-08-24 John Levon <levon@movementarian.org>
8998 * bufferview_funcs.C:
9000 * undo_funcs.C: cleanups
9002 * lyxfunc.C: disable CUT/COPY when no selection
9004 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9006 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9007 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9009 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9010 Add backward compatibility to "mono", "gray" and "no".
9012 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9014 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9015 (and file_format >= 200).
9017 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9019 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9021 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9023 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9025 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9027 * BufferView_pimpl.C:
9034 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9035 inset and code to make it work with the paragraph code. The inset
9036 can be anywhere in the paragraph, but will only do the expected
9037 thing in LaTeX if the layout file contains the parameter line
9039 (or more generally, a nonzero value) for that layout.
9041 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9043 * paragraph.h: remove the declaration of undefined counters class
9046 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9048 * text2.C (setCounter): fixed enumeration mis-count as reported by
9049 Dr. Richard Hawkins.
9051 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9053 * paragraph_funcs.h: remove some unneeded includes
9055 * text.C (backspace): pasteParagraph now in global scipe
9057 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9058 (pasteSelection): ditto
9060 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9061 * paragraph_funcs.C (pasteParagraph): ... here
9063 2002-08-20 André Pönitz <poenitz@gmx.net>
9065 * commandtags.h: new LFUNs for swapping/copying table row/colums
9068 * lyxfunc.C: support for new lfuns
9070 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9073 * buffer.[Ch]: remove NO_COMPABILITY stuff
9075 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9077 * boost.C (throw_exception): new file, with helper function for
9078 boost compiled without exceptions.
9083 * ParameterStruct.h:
9084 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9086 * bufferlist.C (emergencyWriteAll): use boost bind
9088 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9090 * text.C: include paragraph_funcs.h
9091 (breakParagraph): breakParagraph is now in global scope
9093 * paragraph_funcs.[Ch]: new files
9095 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9098 * buffer.C: include paragraph_funcs.h
9099 (insertStringAsLines): breakParagraph is now in global scope
9101 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9104 * CutAndPaste.C: include paragraph_funcs.h
9105 (cutSelection): breakParagraphConservative is now in global scope
9106 (pasteSelection): ditto
9108 * buffer.h: declare oprator== and operator!= for
9109 Buffer::inset_iterator
9111 * bufferlist.C (emergencyWrite): don't use fmt(...)
9113 * text3.C: add using std::endl
9115 * BufferView.C (moveCursorUpdate): remove default arg
9117 2002-08-20 André Pönitz <poenitz@gmx.net>
9119 * buffer.[Ch]: move inline functions to .C
9122 * BufferView_pimpl.C:
9124 * buffer.[Ch]: use improved inset_iterator
9127 * paragraph.[Ch]: write one paragraph at a time
9129 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9131 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9132 style if style is not specified.
9134 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9136 * text2.C (setCounter): when searching for right label for a
9137 caption, make sure to recurse to parent insets (so that a caption
9138 in a minipage in a figure float works) (bug #568)
9140 2002-08-20 André Pönitz <poenitz@gmx.net>
9142 * text3.C: new file for LyXText::dispatch() and helpers
9144 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9146 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9148 2002-08-19 André Pönitz <poenitz@gmx.net>
9151 * text.C: new LyXText::dispatch()
9153 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9155 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9157 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9159 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9162 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9164 * Makefile.am: use $(variables) instead of @substitutions@
9166 2002-08-15 André Pönitz <poenitz@gmx.net>
9169 * BufferView_pimpl.C: streamlining mathed <-> outer world
9173 * LyXAction.C: remove unused LFUN_MATH
9175 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9177 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9179 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9181 * paragraph.C (Paragraph): reformat a bit
9182 (cutIntoMinibuffer): use builtin InsetList function instad of
9186 * buffer.C: include boost/bind.hpp, add using std::for_each
9187 (writeFileAscii): use ParagraphList iterators
9188 (validate): use for_each for validate traversal of paragraphs
9189 (getBibkeyList): use ParagraphList iterators
9190 (resizeInsets): use for_each to resizeInsetsLyXText for all
9192 (getParFromID): use ParagraphList iterators
9194 * BufferView2.C (lockInset): use paragraph list and iterators
9196 2002-08-14 John Levon <levon@movementarian.org>
9198 * lyxserver.C: remove spurious xforms include
9200 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9202 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9204 2002-08-13 André Pönitz <poenitz@gmx.net>
9207 * lyxfunc.C: further cleaning
9209 2002-08-13 André Pönitz <poenitz@gmx.net>
9211 * funcrequest.h: new constructor
9213 * funcrequest.C: move stuff here from .h
9216 * BufferView_pimpl.C:
9219 * lyxfunc.C: subsequent changes
9221 * lyxfunc.h: new view() member function
9223 * lyxfunc.C: subsequent changes
9225 2002-08-13 Angus Leeming <leeming@lyx.org>
9228 * BufferView_pimpl.C:
9236 changes due to the changed LyXView interface that now returns references
9237 to member variables not pointers.
9239 2002-08-13 Angus Leeming <leeming@lyx.org>
9241 * WordLangTuple (word, lang_code): return references to strings,
9246 * lyxtext.h: forward-declare WordLangTuple.
9251 * text.C: #include "WordLangTuple.h".
9254 * text.C: (selectNextWordToSpellcheck): constify return type.
9256 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9262 * paragraph_pimpl.h:
9265 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9267 Made updateCounter always count from start of buffer, and removed
9268 second argument (par).
9269 Reverted floats number display to '#'. Perhaps I'll try again when the
9270 code base is sanitized a bit.
9272 2002-08-12 Angus Leeming <leeming@lyx.org>
9274 * buffer.[Ch] (getLabelList): constify.
9276 2002-08-07 André Pönitz <poenitz@gmx.net>
9278 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9280 * funcrequest.h: extension to keep mouse (x,y) position
9282 2002-08-12 Juergen Vigna <jug@sad.it>
9284 * BufferView2.C (insertErrors): forbid undo when inserting error
9287 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9289 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9291 * ParagraphList.[Ch]: new files
9293 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9295 * BufferView2.C (lockInset): ParagraphList changes
9298 * bufferlist.C: ditto
9302 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9304 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9305 unused class variable counter_,
9307 * paragraph.[Ch] (getFirstCounter): delete unused function
9309 * counters.C: include LAssert.h
9310 (reset): add a new function with no arg, change other version to
9311 not have def. arg and to not allow empty arg.
9313 * text2.C (setCounter): remove empty arg from call to Counters::reset
9315 2002-08-11 John Levon <levon@movementarian.org>
9317 * Makefile.am: add WordLangTuple.h
9319 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9321 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9322 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9324 * insets/insettext.C: InsetList changes
9326 * graphics/GraphicsSupport.C (operator()): InsetList changes
9328 * toc.C (getTocList): InsetList changes
9330 * paragraph_pimpl.[Ch]: InsetList changes
9332 * paragraph.[Ch]: InsetList changes
9334 * buffer.C (inset_iterator): InsetList changes
9335 (setParagraph): ditto
9336 * buffer.h (inset_iterator): ditto
9337 * iterators.C (operator++): ditto
9338 * iterators.h: ditto
9340 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9342 * InsetList.[Ch]: new files, most InsetList handling moved out of
9345 * BufferView2.C (removeAutoInsets): InsetList changes
9347 (ChangeInsets): ditto
9349 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9351 * paragraph_pimpl.h (empty): new function
9353 * paragraph.[Ch] (empty): new function
9355 * other files: use the new Paragraph::empty function
9357 2002-08-09 John Levon <levon@movementarian.org>
9359 * lyxtext.h: remove unused refresh_height
9361 2002-08-09 John Levon <levon@movementarian.org>
9368 * paragraph.C: move sgml char escaping out of paragraph
9371 * paragraph.C: remove id setter
9375 * paragraph_pimpl.C: remove dead tex_code_break_column
9377 * bufferview_funcs.C: small cleanup
9379 * lyxfunc.C: remove dead proto
9381 * lyxtext.h: make some stuff private. Remove some dead stuff.
9383 * lyxgluelength.C: make as[LyX]String() readable
9385 2002-08-08 John Levon <levon@movementarian.org>
9390 * ToolbarDefaults.C:
9393 * toc.C: lyxaction cleanup
9395 2002-08-08 John Levon <levon@movementarian.org>
9397 * BufferView2.C: small cleanup
9400 * lyxfind.C: move unnecessary header into the .C
9402 2002-08-08 John Levon <levon@movementarian.org>
9404 * funcrequest.h: just tedious nonsense
9407 * lyx_main.C: cleanups
9410 * vspace.C: remove dead header lyx_main.h
9412 2002-08-07 Angus Leeming <leeming@lyx.org>
9415 * paragraph_pimpl.h:
9416 Forward declare class Counters in paragraph.h by moving the ctrs member
9417 variable into Paragraph::Pimpl.
9418 (counters): new method, returning a reference to pimpl_->ctrs.
9420 * text2.C: ensuing changes.
9422 2002-08-07 John Levon <levon@movementarian.org>
9424 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9426 * BufferView_pimpl.C: announce X selection on double/triple
9429 * lyx_main.C: use correct bool in batch dispatch
9431 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9433 2002-08-07 André Pönitz <poenitz@gmx.net>
9435 * funcrequest.h: new class to wrap a kb_action and its argument
9438 * BufferView_pimpl[Ch]:
9442 * lyxrc.C: subsequent changes
9445 2002-08-07 John Levon <levon@movementarian.org>
9447 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9448 document options change.
9450 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9455 * makefile.am: move counters functionality over from
9456 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9458 2002-08-06 John Levon <levon@movementarian.org>
9460 * WordLangTuple.h: new file for word + language code tuple
9471 * BufferView2.C: use WordLangTuple
9474 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9476 2002-08-06 John Levon <levon@movementarian.org>
9478 * lyx_main.C: fix cmdline batch handling
9480 2002-08-06 André Pönitz <poenitz@gmx.net>
9482 * lyxrc.C: set default for show_banner to true
9484 2002-08-06 John Levon <levon@movementarian.org>
9486 * pspell.C: fix a crash, and allow new aspell to work
9488 2002-08-06 John Levon <levon@movementarian.org>
9491 * kbmap.C: small cleanup
9494 * vspace.C: add const
9496 2002-08-05 John Levon <levon@movementarian.org>
9498 * LyXAction.C: back to tabular-insert
9500 2002-08-04 John Levon <levon@movementarian.org>
9503 * BufferView.C: cosmetic change
9505 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9515 * BufferView2.C: purge all "Lyx" not "LyX" strings
9518 * lyxcursor.C: attempt to add some documentation
9523 * ToolbarDefaults.C:
9524 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9525 merge with LFUN_TABULAR_INSERT
9532 * pspell.C: split up i/pspell implementations into separate
9533 files, many cleanups
9535 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9537 * text2.C: some cleanup
9539 * lyxfunc.C: don't check for isp_command == "none" any more, it
9540 didn't make any sense
9542 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9547 * makefile.am: move counters functionality over
9548 from text2.C/paragraph.[Ch] to counters.[Ch], and
9550 2002-08-02 John Levon <levon@movementarian.org>
9552 * buffer.C: s/lyxconvert/lyx2lyx/
9554 2002-08-02 Angus Leeming <leeming@lyx.org>
9556 * lyxlex.C: revert John's change as it breaks reading of the user
9559 2002-08-02 Angus Leeming <leeming@lyx.org>
9561 * importer.C (Import):
9562 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9563 changes due to LyXView::view() now returning a boost::shared_ptr.
9565 2002-08-02 John Levon <levon@movementarian.org>
9567 * lyxlex.C: small cleanup
9569 2002-08-02 John Levon <levon@movementarian.org>
9571 * text2.C (status): small cleanup, no logic change
9573 2002-08-01 John Levon <levon@movementarian.org>
9576 * buffer.C (writeFile): don't output alerts, caller
9580 * lyx_cb.C: from above
9582 * lyxfunc.C: allow to open non-existent files
9584 2002-07-31 John Levon <levon@movementarian.org>
9586 * lyxserver.C: don't let incidental errors get
9589 2002-07-30 John Levon <levon@movementarian.org>
9591 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9593 2002-07-30 John Levon <levon@movementarian.org>
9596 * lyxserver.C: remove I/O callback too
9598 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9600 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9603 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9605 * many files: strip,frontStrip -> trim,ltrim,rtrim
9607 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9609 * PrinterParams.h: remove extern containsOnly, and include
9610 support/lstrings.h instead.
9612 * LaTeX.C (scanAuxFile): modify because of strip changes
9614 * buffer.C (makeLaTeXFile): ditto
9615 * bufferparams.C (writeFile): ditt
9616 * lyxfont.C (stateText): ditto
9617 * lyxserver.C (read_ready): ditto
9618 * vc-backend.C (scanMaster): ditto
9620 * BufferView_pimpl.h: ws changes
9622 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9624 2002-07-26 André Pönitz <poenitz@gmx.net>
9626 * kb_sequence.C: remove unnedred usings
9628 2002-07-26 Juergen Vigna <jug@sad.it>
9630 * lyxfind.C (LyXReplace): we have to check better if the returned
9631 text is not of theLockingInset()->getLockingInset().
9633 2002-07-25 Juergen Vigna <jug@sad.it>
9635 * lyxfind.C (LyXReplace): don't replace if we don't get the
9638 * undo_funcs.C (createUndo): remove debugging code.
9640 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9642 * buffer.C (parseSingleLyXformat2Token): Use default placement
9643 when reading old floats.
9645 * FloatList.C (FloatList): Change the default placement of figure
9646 and tables to "tbp".
9648 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9650 * MenuBackend.C: using std::max
9652 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9654 * MenuBackend.C (expandToc):
9655 (expandToc2): code moved from xforms menu frontend. It is now
9656 generic and TOCs are transparent to menu frontends.
9658 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9660 * toc.C (getTocList): protect against buf=0
9662 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9663 Menu as first parameter. Now, this calls itself recursively to
9664 expand a whole tree (this will be useful for TOC handling)
9665 (expandFloatInsert): remove 'wide' version of floats
9667 * MenuBackend.h (submenuname): returns the name of the submenu.
9668 (submenu): returns the submenu itself, provided it has been
9669 created by MenuBackend::expand
9671 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9673 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9674 insets which have noFontChange == true. (bug #172)
9676 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9678 * BufferView_pimpl.C: add connection objects and use them...
9681 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9683 * MenuBackend.C (expandLastfiles):
9686 (expandFloatListInsert):
9687 (expandFloatInsert):
9688 (expand): split expand in parts
9690 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9692 * lyx_gui.C: use lyx_gui::exit()
9694 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9696 * LyXAction.C: show the failing pseudo action
9698 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9700 * buffer.C (readFile): Run the lyxconvert script in order to read
9703 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9707 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9709 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9713 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9715 2002-07-22 Herbert Voss <voss@lyx.org>
9718 * lyxlength.[Ch]: add support for the vertical lengths
9720 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9722 * toc.[Ch]: std:: fixes
9724 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9726 * lyxrc.C: do not include lyx_main.h
9728 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9734 * BufferView2.C: include "lyxlex.h"
9737 * bufferparams.h: do not #include "lyxlex.h"
9739 * lyxtextclasslist.C (Add): remove method
9740 (classlist): renamed to classlist_
9742 * paragraph_pimpl.C:
9746 * bufferview_funcs.C:
9751 * toc.C (getTocList): use BufferParams::getLyXTextClass
9753 * toc.C (getTocList): use InsetFloat::addToToc
9755 * toc.[Ch]: new files, containing helper functions to handle table
9758 * lyxfunc.C (dispatch): no need to remove spaces around command
9760 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9761 first command of the sequence; it is not very clever, but I do not
9762 have a better idea, actually
9764 * LyXAction.C (LookupFunc): make sure to remove space at the
9765 beginning and end of the command
9767 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9769 * MenuBackend.C (getMenubar): new method: return the menubar of
9771 (read): treat differently reading of menu and menubar (in
9772 particular, the menubar has no name now)
9773 (Menu::menubar): remove
9775 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9778 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9780 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9781 a bibitem inset in a RTL paragraph.
9783 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9785 * paragraph_pimpl.C: constify
9787 * BufferView_pimpl.C:
9789 * lyxfunc.C: fix dispatch in a nicer way
9791 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9793 * lyxfunc.C (dispatch):
9794 * BufferView_pimpl.C:
9795 * BufferView_pimpl.h:
9797 * BufferView.h: rename Dispatch() to dispatch()
9799 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9801 * lyxlayout.C (Read): honor DependsOn tag
9803 * lyxlayout.[Ch] (depends_on): new method
9805 * version.C.in: update lyx_docversion
9807 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9809 * paragraph.C (validate): remove from here...
9810 * paragraph_pimpl.C (validate): ... and move here
9811 (isTextAt): make it const
9813 * buffer.C (getLists): ws cleanup
9815 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9817 * language.C (read): Use iso8859-1 encoding in latex_lang
9818 (this prevents LyX from crashing when using iso10646-1 encoding).
9820 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9822 * text2.C (toggleInset): if cursor is inside an inset, close the
9823 inset and leave cursor _after_ it
9825 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9827 * lyxfunc.C: move minibuffer completion handling out of here
9829 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9831 * BufferView_pimpl.C:
9832 * LaTeX.C: fix dispatch calls
9834 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9836 * text.C (drawChars): Fix Arabic text rendering.
9838 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9842 * lyxfunc.C: remove message-push/pop
9846 * lyxfunc.C: rationalise some code by removing verboseDispatch
9847 in favour of a bool argument to dispatch()
9849 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9851 * lyx_main.C (init): make sure to read symlinks as absolute paths
9853 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9856 * lyxfunc.C: no need for commandshortcut to be a member
9858 2002-07-15 André Pönitz <poenitz@gmx.net>
9860 * converter.C: add support for $$s (scripts from lib/scripts dir)
9861 * lyx_main.C: white space
9863 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9867 * lyxrc.C: remove second exit confirmation
9869 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9874 * BufferView_pimpl.h:
9875 * BufferView_pimpl.C:
9876 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9878 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9880 * MenuBackend.C (expand): add numeric shortcuts to document menu
9882 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9884 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9886 * lyxfont.C (setLyXFamily):
9893 * buffer.C (asciiParagraph): use ascii_lowercase
9895 2002-07-15 Mike Fabian <mfabian@suse.de>
9897 * lyxlex_pimpl.C (search_kw):
9898 * lyxlex.C (getLongString):
9899 * converter.h (operator<):
9900 * converter.C (operator<):
9901 * buffer.C (parseSingleLyXformat2Token):
9903 * ToolbarDefaults.C (read):
9904 * MenuBackend.C (checkShortcuts):
9906 * LColor.C (getFromGUIName):
9907 (getFromLyXName): use the compare_ascii_no_case instead of
9908 compare_no_case, because in turkish, 'i' is not the lowercase
9909 version of 'I', and thus turkish locale breaks parsing of tags.
9911 2002-07-16 Angus Leeming <leeming@lyx.org>
9913 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9914 now takes a Buffer const & argument.
9916 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9918 * BufferView.C (resize): check there's a buffer to resize
9920 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9922 * lyxfunc.C: remove dead code
9925 * lyxserver.C: use lyx_guii::set_read_callback
9927 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9929 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9930 an inset in a RTL paragraph.
9932 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9934 * lyxfunc.C: repaint after a font size update
9936 2002-07-15 André Pönitz <poenitz@gmx.net>
9938 * lyxlength.C: inBP should be able to return negative values
9940 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9942 * lyxfunc.C: use lyx_gui::update_fonts()
9944 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9946 * lyxfunc.C: use lyx_gui::update_color()
9948 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9954 * lyxrc.C: remove file->new asks for name option, and let
9955 buffer-new take an argument
9957 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9959 * BufferView_pimpl.C: remove unneeded extra repaint()
9961 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9963 * LyXAction.C: allow command-sequence with NoBuffer
9965 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9967 2002-07-10 Angus Leeming <leeming@lyx.org>
9969 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9971 2002-07-09 Angus Leeming <leeming@lyx.org>
9973 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9975 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9977 * lengthcommon.h: whitespace
9979 * lyxfunc.C: update scrollbar after goto paragraph
9981 * lyxtext.h: factor out page break drawing, and fix it so
9982 page break/added space paints as selected nicely
9984 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9986 * BufferView_pimpl.C: add FIXMEs, clean up a little
9988 2002-07-09 André Pönitz <poenitz@gmx.net>
9990 * lyxfont.[Ch]: support for wasy symbols
9992 2002-07-08 André Pönitz <poenitz@gmx.net>
9994 * BufferView_pimpl.C: apply John's patch for #93.
9996 2002-07-05 Angus Leeming <leeming@lyx.org>
9998 * BufferView_pimpl.C (buffer): generate previews if desired.
10000 * LColor.h: add "preview" to the color enum.
10002 * LColor.C (LColor): add a corresponding entry to the items array.
10004 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10007 2002-07-05 Angus Leeming <leeming@lyx.org>
10009 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10010 The body of the code is now in the method that is passed an ostream &
10011 rather than a file name.
10012 Pass an additional only_preamble parameter, useful for the forthcoming
10015 2002-07-03 André Pönitz <poenitz@gmx.net>
10017 * lyxfunc.C: simplify getStatus() a bit for math stuff
10019 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10021 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10023 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10025 * text.C (changeRegionCase): do not change case of all the
10026 document when region ends at paragraph end (bug #461)
10028 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10030 * paragraph.C (startTeXParParams):
10031 (endTeXParParams): add \protect when necessary
10033 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10035 * BufferView_pimpl.C (workAreaExpose): remove warning
10037 2002-06-27 Angus Leeming <leeming@lyx.org>
10039 * Makefile.am: add lyxlayout_ptr_fwd.h.
10041 2002-06-26 André Pönitz <poenitz@gmx.net>
10043 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10045 2002-06-25 Angus Leeming <leeming@lyx.org>
10047 * lyxfunc.C (dispatch): Comment out the call to
10048 grfx::GCache::changeDisplay. The method no longer exists now that the
10049 pixmap generation part of the graphics loader has been moved into
10052 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10054 * text2.C: layout as layout
10056 * text.C: layout as layout
10058 * tabular.C (OldFormatRead): layout as layout
10060 * paragraph_pimpl.C (TeXDeeper): layout as layout
10061 (realizeFont): layout as layout
10063 * paragraph.C (writeFile): layout as layout
10064 (validate): layout as layout
10065 (getFont): layout as layout
10066 (getLabelFont): layout as layout
10067 (getLayoutFont): layout as layout
10068 (breakParagraph): layout as layout
10069 (stripLeadingSpaces): layout as layout
10070 (getEndLabel): layout as layout
10071 (getMaxDepthAfter): layout as layout
10072 (applyLayout): layout as layout
10073 (TeXOnePar): layout as layout
10074 (simpleTeXOnePar): layout as layout
10075 (TeXEnvironment): layout as layout
10076 (layout): layout as layout
10077 (layout): layout as layout
10079 * lyxtextclass.C (compare_name): new functor to work with
10080 shared_ptr, layout as layout
10081 (Read): layout as layout
10082 (hasLayout): layout as layout
10083 (operator): layout as layout
10084 (delete_layout): layout as layout
10085 (defaultLayout): layout as layout
10087 * lyxlayout_ptr_fwd.h: new file
10089 * lyxlayout.C (Read): layout as layout
10091 * lyx_cb.C (MenuInsertLabel): layout as layout
10093 * bufferlist.C (newFile): layout as layout
10095 * buffer.C (readLyXformat2): layout as layout
10096 (parseSingleLyXformat2Token): layout as layout
10097 (insertStringAsLines): layout as layout
10098 (asciiParagraph): layout as layout
10099 (latexParagraphs): layout as layout
10100 (makeLinuxDocFile): layout as layout
10101 (simpleLinuxDocOnePar): layout as layout
10102 (makeDocBookFile): layout as layout
10103 (simpleDocBookOnePar): layout as layout
10104 (getLists): layout as layout
10106 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10108 * CutAndPaste.C (cutSelection): layout as layout
10109 (pasteSelection): layout as layout
10110 (SwitchLayoutsBetweenClasses): layout as layout
10112 * BufferView_pimpl.C (Dispatch): layout as layout
10113 (smartQuote): layout as layout
10115 * BufferView2.C (unlockInset): layout as layout
10117 2002-06-24 André Pönitz <poenitz@gmx.net>
10119 * lyxfunc.C: fix #487
10121 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10125 * lyxfunc.C: remove display_shortcuts, show_banner
10127 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10129 * Buffer_pimpl.C: oops, update on resize
10131 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10138 * BufferView.C: use repaint()
10140 * BufferView_pimpl.h:
10141 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10142 as it's a clearer description. Remove superfluous
10145 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10147 * text.C: fix bug 488. Not ideal, but getting
10148 getWord() to work properly for the insets that
10149 matter is more difficult ...
10151 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10153 * BufferView_pimpl.C:
10156 * lyxfunc.C: remove the six million index lyxfuncs to just
10157 one, and DTRT (bug 458)
10159 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10163 * BufferView_pimpl.h:
10164 * BufferView_pimpl.C: clean up resize() stuff,
10165 and unnecessary updateScreen()s
10167 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10171 * BufferView_pimpl.h:
10172 * BufferView_pimpl.C:
10175 * minibuffer.C: remove focus management of workarea,
10176 not needed. Use screen's greyOut()
10178 2002-06-17 Herbert Voss <voss@lyx.org>
10180 * converter.C: (convert) do not post a message, when converting
10181 fails, let the calling function decide what to do in this case
10183 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10185 * lyxfunc.C: tidy up a little
10187 2002-06-16 <alstrup@diku.dk>
10189 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10190 Got rid of FORMS_H_LOCATION include. Now we are
10193 2002-06-15 LyX Development team <lyx@rilke>
10195 * buffer.[Ch] (sgmlOpenTag):
10196 (sgmlCloseTag): Added support for avoiding pernicious mixed
10197 content. Return number of lines written.
10199 (makeLinuxDocFile):
10200 (makeDocBookFile): Fixed calls to sgml*Tag.
10201 Simple white space clean.
10203 (simpleDocBookOnePar): Simple white space clean.
10205 * tabular.[Ch] (docBook): Renamed to docbook and got another
10206 argument to related with the pernicious mixed content.
10208 (docbookRow): Fixed calls for docbook inset method.
10210 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10212 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10213 so it's X11 independent.
10217 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10219 2002-06-15 Lyx Development team <lyx@electronia>
10221 * intl.h: Renamed getTrans to getTransManager.
10223 2002-06-14 Angus Leeming <leeming@lyx.org>
10225 * Makefile.am: nuke forgotten stl_string_fwd.h.
10227 2002-06-12 Angus Leeming <leeming@lyx.org>
10229 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10231 2002-06-13 Angus Leeming <leeming@lyx.org>
10234 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10236 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10238 * kbmap.C (getiso): add support for cyrillic and greek
10240 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10244 * BufferView_pimpl.h:
10245 * BufferView_pimpl.C: move bogus scrolling logic
10248 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10251 * BufferView_pimpl.C: view->resize() change
10253 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10255 * BufferView_pimpl.C: topCursorVisible
10258 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10262 * lyx_gui.C: move to frontends/
10266 * lyx_main.C: changes from above
10268 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10275 * lyx_main.C: minor tidy
10277 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10279 * BufferView_pimpl.h:
10280 * BufferView_pimpl.C:
10282 * BufferView.C: make painter() const,
10285 * BufferView2.C: use screen() accessor
10288 * lyx_main.C: some minor cleanup
10290 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10292 * BufferView_pimpl.h:
10293 * BufferView_pimpl.C: remove enter/leaveView,
10296 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10301 * BufferView_pimpl.h:
10302 * BufferView_pimpl.C: only construct screen once,
10305 * lyxrc.C: remove pointless comment
10307 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10310 * BufferView.C: remove active() and belowMouse()
10312 * BufferView_pimpl.h:
10313 * BufferView_pimpl.C: use workarea() not workarea_,
10314 and make it use a scoped_ptr instead
10316 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10318 * lyx_gui.C: add debug message on BadWindow
10320 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10322 * sp_spell.C: fdopen is not part of the C++ standard.
10324 * paragraph.C (InsetIterator): use >= instead of ==
10326 2002-06-07 Angus Leeming <leeming@lyx.org>
10328 Fixes needed to compile with Compaq cxx 6.5.
10329 * BufferView_pimpl.C:
10336 * lyxtextclasslist.C:
10341 all c-library variables have been moved into namespace std. Wrap
10342 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10347 Add a using std::abs declaration.
10349 * kbmap.h (modifier_pair):
10350 * paragraph.h (InsetTable, InsetList):
10351 * lyxfont.h (FontBits):
10352 type definition made public.
10354 * bufferlist.C (emergencyWriteAll): the compiler complains that
10355 there is more than one possible lyx::class_fun template to choose from.
10356 I re-named the void specialisation as lyx::void_class_fun.
10358 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10360 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10361 the compiler is is unable to find tostr in write_attribute.
10363 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10365 * buffer.C (sgmlError): hide #warning
10367 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10369 * xtl/*: get rid of xtl, which is not in use anyway
10371 * LyXAction.C (init):
10372 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10373 were unimplemented xtl experimentation
10375 2002-06-04 André Pönitz <poenitz@gmx.net>
10377 * lyxfunc.C: disable array operation on simple formulae
10379 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10381 * converter.C: constify a bit
10383 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10385 * lyx_gui.C: check xforms version correctly
10387 2002-04-30 Herbert Voss <voss@lyx.org>
10389 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10392 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10394 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10395 attempt to register it with a VCS)
10397 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10399 * lyx_main.C (init): honor variables LYX_DIR_13x and
10402 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10406 * lyx_main.C: fix a crash on bad command line,
10407 and give a useful exit status on error
10409 * lyxfunc.C (doImport): allow -i lyx to work
10411 2002-03-30 André Pönitz <poenitz@gmx.net>
10413 * lyxfunc.C: mathed font changes
10415 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10430 * trans_mgr.h: srcdocs, and some minor cleanups
10432 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10434 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10435 call getFont all the time)
10437 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10439 * switch from SigC signals to boost::signals
10441 2002-05-29 André Pönitz <poenitz@gmx.net>
10443 * paragraph_pimpl.C (getChar): don't call size() too often...
10445 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10447 * paragraph_pimpl.C (insertChar): do not try to update tables when
10448 appending (pos == size())
10450 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10451 in order to reduce drastically the number of comparisons needed to
10452 parse a large document
10454 2002-05-29 André Pönitz <poenitz@gmx.net>
10460 * textclasslist.[Ch]:
10461 * sp_ispell.h: whitespace change
10463 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10465 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10466 lyxaction directly now.
10468 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10472 * lyxvc.C: remove unused headers
10474 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10481 * undo_funcs.C: some cleanups. Use shared_ptr
10482 and a template for the undo stacks.
10484 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10486 * BufferView_pimpl.h:
10487 * BufferView_pimpl.C:
10494 * text2.C: use key_state/mouse_state
10496 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10498 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10501 * chset.C: change include order
10502 (loadFile): use boost regex and get rid of LRegex and LSubstring
10504 * Makefile.am (BOOST_LIBS): new variable
10505 (lyx_LDADD): use it
10507 * LaTeX.C: change include order.
10508 (scanAuxFile): use boost regex and get rid of LRegex and
10512 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10517 * FontInfo.C: moved to frontends/xforms/
10520 * FontLoader.C: moved into frontends for GUIIzation
10525 * lyxfunc.C: changes from above
10527 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10529 * LColor.C: remove spurious X include
10531 * BufferView_pimpl.C:
10536 * text2.C: move font metrics to frontends/
10538 2002-05-24 Juergen Vigna <jug@sad.it>
10540 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10541 setting the undo_cursor.
10543 * ParagraphParameters.h: include local includes first.
10545 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10547 * BufferView_pimpl.C:
10548 * BufferView_pimpl.h:
10552 * screen.C: move WorkArea into frontends/
10558 * BufferView2.C: move LyXScreen into frontends/
10562 * lyx_gui.C: move lyxlookup into frontends/xforms/
10564 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10567 * BufferView_pimpl.C:
10577 * bufferview_funcs.C:
10590 * vc-backend.C: move LyX/XFormsView into frontends/
10592 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10604 * text2.C: move Painter to frontends/
10606 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10608 * buffer.C: comment out some some code that depend upon lyx_format
10611 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10612 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10614 * buffer.h (NO_COMPABILITY): turn off compability
10616 * ColorHandler.C: include scoped_array.hpp
10618 * font.C: Use more specific smart_ptr header.
10621 * ShareContainer.h: ditto
10622 * lyx_main.h: ditto
10624 * FontInfo.h: ditto
10625 * BufferView_pimpl.h: ditto
10626 * ColorHandler.h: ditto
10628 * kbmap.C (defkey): change call to shared_ptr::reset
10630 2002-05-21 Juergen Vigna <jug@sad.it>
10632 * buffer.C (insertErtContents): fix to insert ert asis if it is
10633 non empty. Skip it completely if it contains only whitespaces.
10635 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10637 * BufferView_pimpl.C:
10638 * BufferView2.C: clear selection on paste (bug 393)
10640 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10642 * DepTable.C: include ctime
10644 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10646 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10648 2002-05-14 Juergen Vigna <jug@sad.it>
10650 * text.C (breakParagraph): fixed function to honor the keepempty
10651 layout in the right maner and also to permit the right breaking
10652 algorithm on empty or non empyt keepempty paragraphs.
10654 * paragraph.C (breakParagraph): we have to check also if the par
10655 is really empty (!size()) for isempty otherwise we do the wrong
10658 2002-05-10 Juergen Vigna <jug@sad.it>
10660 * buffer.[Ch] : The following are only changes to the ert
10661 compatibility read reading old LaTeX layout and font stuff and
10662 convert it to ERTInsets.
10664 * buffer.h: added isErtInset().
10666 * buffer.C (struct ErtComp): add a fromlayout bool to check
10667 if we're inside a LaTeX layout.
10668 (isErtInset): new helper function.
10669 (insertErtContents): look for other ert insets before this one
10670 and insert the contents there, so that we don't have subsequent
10671 ERT insets with nothing between them. This way we create only one
10672 inset with multiple paragraphs. Also check if we don't insert only
10673 spaces ' ' as they are ignored anyway afterwards in the .tex file
10674 so if we have only spaces we will ignore this latex part in the
10676 (parseSingleLyXformat2Token \\layout): better compatibility when
10677 reading layout-latex stuff.
10678 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10680 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10681 stuff after reading the inset only get the information back from
10684 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10686 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10688 * LaTeXFeatures.C (getBabelOptions): New method.
10690 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10692 * BufferView_pimpl.C (Dispatch): work around missing argument for
10695 2002-05-08 Juergen Vigna <jug@sad.it>
10697 * text.C (leftMargin): handle paragraph leftindent.
10699 * paragraph.C (writeFile): write the new \\leftindent tag.
10700 (validate): handle leftindent code.
10701 (TeXEnvironment): handle paragraphleftindent code again.
10703 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10705 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10706 for paragrap_extra indent code and new token \\leftindent.
10707 (latexParagraphs): handle the leftindent as environment.
10709 * ParameterStruct.h: added leftindent support.
10711 * ParagraphParameters.C (leftIndent): added support functions for
10712 the paragraph left indent.
10714 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10717 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10719 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10722 * text.C (computeBidiTables): No bidi in insetERT.
10724 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10727 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10729 * version.C.in: pre 5
10731 2002-05-02 José Matos <jamatos@fep.up.pt>
10732 * buffer.C (makeDocBookFile): white space changes, add newline to
10734 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10736 * tabular.C (docBook): fix typo.
10738 2002-05-03 Juergen Vigna <jug@sad.it>
10740 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10741 change in LyXText as we can not be sure it was not freed.
10742 (drawOneRow): remove unused code.
10744 * text.C (drawInset): redo the calculation of the need_break_row as
10745 it could have a row which was already freed.
10746 (draw): look at the return value of drawInset and return false if
10747 it also returned false.
10748 (paintRowText): look at the return value of draw and return false if
10749 it also returned false.
10751 * lyxtext.h: added bool return type to drawInset() and draw() so that
10752 if we have a change in the row so that the rowbreak has to be redone
10753 we abort drawing as it will be called again.
10755 2002-05-02 Juergen Vigna <jug@sad.it>
10757 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10758 a change in the maintext also if we're inside an inset.
10759 (Dispatch): set the cursor again after a break line and after the
10760 screen has been updated as it could be we're in a different row.
10762 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10763 to set the cursor behind the pargraph with > size().
10764 (setCursor): check also for the same paragraph when checking where
10765 to put the cursor if we have a NFR inset.
10767 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10768 parts of layout read further up as it still was in the wrong
10771 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10773 * screen.C (drawFromTo): change sine fullRebreak always return
10776 * buffer.C (parseSingleLyXformat2Token): reindent some
10778 * BufferView_pimpl.C (update): change since fullRebreak always
10780 (Dispatch): git rid of the last hardcoded "Standard"s.
10782 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10784 * text2.[Ch] (fullRebreak): make it return void now that we always
10787 2002-04-30 Juergen Vigna <jug@sad.it>
10789 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10790 ert compatibility check for "latex" layout.
10792 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10794 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10795 minipages: use col% instead of p%, and also use the current font.
10796 (makeLaTeXFile): Fix use babel condition.
10797 (parseSingleLyXformat2Token): Correct font when reading old floats.
10799 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10801 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10802 inserting list of floats.
10804 2002-04-25 Herbert Voss <voss@lyx.org>
10806 * MenuBackend.C (expand): don't add the graphics extensions to the
10809 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10811 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10812 non-existing layout, do not complain if it was the default layout
10813 of the original class (bug #342)
10815 2002-04-24 Juergen Vigna <jug@sad.it>
10817 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10818 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10820 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10822 * buffer.C (getBibkeyList): If using \bibliography, return the
10823 option field with the reference itself. Enables us to provide natbib
10824 support when using \bibliography.
10826 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10828 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10830 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10831 natbib is provided by the LaTeX class.
10833 2002-04-23 Juergen Vigna <jug@sad.it>
10835 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10838 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10840 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10842 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10844 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10845 ensuremath around textordmasculine, textordfeminine and
10848 2002-04-19 Juergen Vigna <jug@sad.it>
10850 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10851 reinitializing the buffer otherwise row-dimensions may be wrong.
10852 (update): reset also the selection cursors if they do exits otherwise
10853 their x/y positions may be wrong.
10855 * text2.C (cursorDown): don't enter the inset if we came from a row
10856 above and are one row over the inset.
10858 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10859 really leaving an inset.
10861 2002-04-18 Juergen Vigna <jug@sad.it>
10863 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10864 of the selected paragraph does not have the selected layout also if
10867 * text2.C (setLayout): fixed bug which did not change last selected
10870 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10871 changed the read and substituted \\end_float with \\end_inset!
10873 * BufferView_pimpl.C (cursorPrevious):
10874 (cursorNext): fixed to make it work with rows heigher than the work
10875 area without moving the cursor only the draw of the row.
10876 (workAreaMotionNotify): fix jumping over high rows.
10878 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10880 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10883 2002-04-16 Juergen Vigna <jug@sad.it>
10885 * text2.C (setCursor): set also the irow().
10886 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10888 (cursorDown): support for locking an inset if the x_fix value goes
10889 inside it. That way I can transverse insets too with cursor up/down.
10891 * lyxrow.h: added irow helper function same as other (i) functions.
10893 * BufferView_pimpl.C (cursorPrevious):
10894 (cursorNext): fixed for insets!
10896 2002-04-15 Juergen Vigna <jug@sad.it>
10898 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10899 position otherwise it is wrong in some cases.
10901 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10902 inside the inset before the call.
10904 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10906 * buffer.[Ch] (getBibkeyList): make it const.
10908 2002-04-12 Juergen Vigna <jug@sad.it>
10910 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10912 * text2.C (getCursorX): new helper function
10913 (setCursor): compute also ix_
10914 (setCursorFromCoordinates): set also ix.
10916 * lyxcursor.h: added ix_ and helper functions.
10918 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10920 * buffer.C (insertStringAsLines): dont break paragraph if the this
10921 paragraph is inside an inset which does not permit it!
10923 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10924 also with no chars on this paragraph.
10925 (paintRowText): only paint stuff if it's inside the workarea!
10927 * paragraph.C (breakParagraph): honor keepempty flag and break the
10928 paragraph always below not above.
10930 * BufferView2.C (unlockInset): update the paragraph layout on inset
10931 unlock as we changed paragraph in such a case.
10933 * lyxfind.C (LyXFind): clear the former selection if not found!
10935 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10936 again called in insertChar().
10938 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10939 an inset which uses the whole row!
10940 (rightMargin): ditto.
10941 (insertChar): force a rebreak if we inserted an inset!
10943 2002-03-28 Herbert Voss <voss@lyx.org>
10945 * lyxlength.[Ch]: add inBP() to get the right PS-point
10946 units (BigPoint). With inPixels we have rounding errors
10948 2002-04-11 Juergen Vigna <jug@sad.it>
10950 * text2.C (setCursorFromCoordinates): set iy to the right value.
10951 (setCursor): add check if row->previous exists!
10953 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10954 an old float_type as this was the case in the old code!
10956 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10958 * BufferView2.C (showLockedInsetCursor): use iy
10959 (fitLockedInsetCursor): ditto
10961 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10962 locked insets as there we have the right value now.
10964 * lyxcursor.C: added iy_ variable and iy functions to set to the
10965 baseline of cursor-y of the locked inset.
10967 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10968 (setCursor): fixed for insets which need a full row.
10970 * text.C (rowLastPrintable): don't ignore the last space when before
10971 an inset which needs a full row.
10972 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10973 as last character of a row when before a inset which needs a full row.
10975 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10977 * version.C.in: update date
10979 * text2.C (fullRebreak): try to always return true and see what
10982 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10984 * MenuBackend.C (expand): use Floating::listName
10986 * FloatList.C (FloatList): add listName argument to the built-in
10989 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10990 text associated with the float.
10992 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10994 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10996 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10998 * ShareContainer.h: add a couple of missing typenames.
11000 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11002 * lyxrc.C (getDescription): use _() correctly rather than N_().
11004 2002-03-28 Herbert Voss <voss@lyx.org>
11006 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11007 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11009 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11011 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11012 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11014 2002-03-29 Juergen Vigna <jug@sad.it>
11016 * lyxfunc.C (dispatch): add a missing fitCursor call.
11018 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11019 it was scrolled by a cursor move, so return the bool status.
11021 * BufferView.C (fitCursor): return the bool flag also to the outside
11022 world as this is needed.
11024 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11026 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11027 call the edit() as it is not needed (and wrong) IMO.
11028 (workAreaButtonPress): set the screen_first variable before evt.
11029 unlock the inset as this may change screen_first and then we have
11030 a wrong y position for the click!
11032 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11034 * MenuBackend.C (expand): another translation that I missed
11036 2002-03-28 Juergen Vigna <jug@sad.it>
11038 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11040 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11042 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11044 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11046 * MenuBackend.C (expand): fix export/view/update when there is no
11049 2002-03-27 Herbert Voss <voss@lyx.org>
11051 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11054 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11056 * bufferview_funcs.C (currentState): only show paragraph number
11057 for is DEVEL_VERSION is set.
11059 * lyxfunc.C (dispatch): put warning in INFO channel
11061 * MenuBackend.C (expand): translate the name of floats
11063 * FloatList.C (FloatList): mark the float names for translation
11065 * converter.C (convert): use LibScriptSearch
11067 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11069 * MenuBackend.C (defaults): fix default menu (we might as well get
11072 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11074 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11077 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11079 * lyxvc.C: reorder includes.
11081 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11083 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11086 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11088 * CutAndPaste.C: change layouts earlier on paste
11089 to avoid crashing when calling getFont()
11091 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11093 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11096 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11098 * WorkArea.C: remove 'Pending' debug message.
11100 * most files: ws cleanup
11102 * buffer.[Ch]: ws changes
11104 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11106 2002-03-21 Juergen Vigna <jug@sad.it>
11108 * tabular.C (SetMultiColumn): collapse also the contents of the
11109 cells and set the last border right. Added a Buffer const * param.
11111 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11113 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11116 2002-03-19 Juergen Vigna <jug@sad.it>
11118 * text2.C (clearSelection): reset also xsel_cache.
11120 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11121 where it needs to be called (John tells us to do so too :)
11122 (selectionLost): reset sel_cache.
11124 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11126 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11128 * text2.C (setCursorIntern): put debuging code in INSETS channel
11130 2002-03-19 André Pönitz <poenitz@gmx.net>
11132 * lyxfunc.C: tiny whitespace change
11134 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11136 * ToolbarDefaults.C (init):
11137 * LyXAction.C (init):
11139 * BufferView_pimpl.C (Dispatch):
11140 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11142 2002-03-19 Allan Rae <rae@lyx.org>
11144 * exporter.C (Export): removeAutoInsets before doing anything else.
11145 While I've just introduced a dependency on BufferView this really is
11146 the best place to clean the buffer otherwise you need to cleanup in
11147 a dozen places before calling export or cleanup in a dozen functions
11150 * converter.C (runLaTeX):
11151 (scanLog): Better handling of removeAutoInsets and screen updates.
11153 * lyxfunc.C (dispatch): small whitespace changes
11155 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11157 * WorkArea.C (C_WorkAreaEvent): return a value.
11158 (event_cb): return 1 if we handled the event, 0 otherwise.
11160 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11162 2002-03-18 Juergen Vigna <jug@sad.it>
11164 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11165 (GetAdditionalWidth): ditto.
11166 (RightLine): ditto.
11169 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11170 inset if we're there actually (probably not used right now but this
11171 is the direction to go for unifying code).
11172 (paste): disable code to clear the selection.
11174 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11175 inside an InsetText and move the check further up as it is in the
11178 * text2.C (pasteSelection): set a selection over the pasted text.
11180 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11182 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11183 and libgraphics to build on Cygwin.
11185 2002-03-15 Juergen Vigna <jug@sad.it>
11187 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11188 inserting an Inset into the paragraph. I know this is not the best
11189 fix but we already use current_view in CutAndPaste so we will remove
11190 all of it's using at the same time.
11192 * buffer.C (sgmlError): deactivated function till it is rewritten in
11193 the right mode, now it can create problems.
11195 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11196 before accessing it.
11198 2002-03-14 Juergen Vigna <jug@sad.it>
11200 * undo_funcs.C (textHandleUndo): do the right thing when updating
11201 the inset after the undo/redo.
11203 * text2.C (setCursor): just some testcode for #44 not ready yet.
11205 * undo_funcs.C (textHandleUndo): set the next() and previous()
11206 pointers of the paragraph to 0 before deleting otherwise we have
11207 problems with the Paragraph::[destructor].
11209 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11210 on a paragraph insertion.
11212 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11214 * buffer.C (asciiParagraph): use += operator for char append to
11217 * paragraph.C (getFontSettings): compare >= not just >
11218 (highestFontInRange): ditto
11221 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11223 * paragraph.C: change several algorithm to be more appripriate for
11224 the problem domain. This is lookip in FontList and in the InsetList.
11226 2002-03-13 André Pönitz <poenitz@gmx.net>
11229 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11231 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11236 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11238 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11240 * Painter.C (display): anon helper function, adjust code for this
11242 (pixmap): remove function.
11244 * Painter.h: remove private display variable.
11246 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11248 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11250 * WorkArea.[Ch]: remove figinset_canvas cruft.
11252 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11254 * lyxtextclass.C (operator): add one item cache optimization.
11256 * bufferlist.h: doxy changes
11258 * bufferlist.C: ws changes
11260 * DepTable.[Ch] (ext_exist): place const in the right spot.
11262 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11264 (workAreaExpose): call resizeInsets when the with BufferView changes.
11265 (Dispatch): adjust for protectedBlank removal
11266 (specialChar): call updateInset if the insert went ok.
11268 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11269 specialChar instead.
11271 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11273 * BufferView.h: doxy change
11275 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11277 * lyxtextclass.C (operator[]): remove non-const version
11278 (defaultLayout): remove non-const version
11280 2002-03-12 Juergen Vigna <jug@sad.it>
11282 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11283 did resize the LyXText too.
11285 * buffer.C (readLyXformat2): set layout information on newly allocated
11288 * tabular.C (OldFormatRead): set layout information on the paragraph.
11290 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11292 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11294 2002-03-11 Juergen Vigna <jug@sad.it>
11296 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11298 (resizeCurrentBuffer): force also the insets to resize themselfes.
11299 (moveCursorUpdate): fixed up for InsetText.
11301 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11304 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11305 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11306 value of Dialogs::tooltipsEnabled().
11307 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11309 2002-03-08 Juergen Vigna <jug@sad.it>
11311 * BufferView_pimpl.C (updateInset): update inset inside inset also
11312 if it isn't inside theLockingInset().
11314 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11316 * buffer.C (asciiParagraph): redo some of the word and line length
11318 (getLists): look for Caption instead of caption.
11320 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11322 * buffer.C (Buffer): initialize niceFile to true
11324 (makeLinuxDocFile):
11325 (makeDocBookFile): make sure niceFile is true on exit
11327 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11329 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11331 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11333 * LyXSendto.C: remove.
11334 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11335 * lyx_gui.C: remove now-redundant comment.
11336 * ColorHandler.h: remove forward declaration of class WorkArea.
11337 * lyxfunc.C: remove #include "WorkArea.h".
11339 2002-03-07 Juergen Vigna <jug@sad.it>
11341 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11342 got moved away with the DEPM and also set the inset_owner always
11343 right which before could have been omitted.
11345 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11347 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11348 wanted layout is not found.
11350 2002-03-07 Juergen Vigna <jug@sad.it>
11352 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11354 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11356 * paragraph.C (breakParagraph): use default layout not layout of
11358 (Paragraph): clear ParagraphParameters.
11360 2002-03-06 Juergen Vigna <jug@sad.it>
11362 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11363 otherwise it would not be a valid lenght. Fixed a special case in
11364 the minipage compatibility read where we end the document with a
11367 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11368 was set as it could be 0 for InsetTexts first entry.
11370 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11372 * paragraph.C (writeFile): if layout is empty write out
11373 defaultLayoutName().
11375 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11376 file without named layout we set layout to defaultLayoutName().
11378 2002-03-06 Juergen Vigna <jug@sad.it>
11380 * CutAndPaste.C (copySelection): set layout for new paragraph.
11382 * text.C (prepareToPrint): leave ERT inset left aligned
11383 (leftMargin): don't indent paragraphs inside ERT insets
11385 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11387 * paragraph.C (breakParagraph): dont call clear do the work manually
11389 * paragraph.[Ch] (clear): remove function
11391 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11393 * paragraph.C (Paragraph): dont call clear, the work has already
11396 * lyxtextclass.C (operator): assert if n is empty
11398 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11399 work manually instead.
11401 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11403 * BufferView_pimpl.C: protect selectionLost against text == 0
11405 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11407 * text.C (breakParagraph): fix a setting layout to '0' problem.
11409 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11411 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11412 final location of file, for the included files, and graphics.
11414 2002-03-05 Juergen Vigna <jug@sad.it>
11416 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11418 2002-03-04 Juergen Vigna <jug@sad.it>
11420 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11422 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11423 last column of multicolumn cells.
11424 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11426 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11428 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11429 file if it doesn't go to a temporary file.
11431 * buffer.C (sgmlOpenTag):
11432 (sgmlCloseTag): remove extra newline insertion.
11434 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11436 * text.C (getRowNearY): comment out debug msg
11438 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11440 * text2.C: first -> first_y
11442 * text.C (getRowNearY): add some attemts at a possible
11443 optimization, not working.
11445 * tabular.[Ch]: add BufferParams to several function so that newly
11446 created paragraph can be initialized to he default layotu for the
11449 * tabular-old.C (ReadOld): add buf->params to call of Init
11451 * screen.C: rename text->first to text->first_y
11453 * paragraph.C (breakParagraph): always set layout in the broken
11456 * lyxtextclass.C (Read): remove lowercase
11459 (delete_layout): ditto
11461 * lyxtext.h: rename first -> first_y
11463 * lyxlayout.C (Read): remove lowercase
11466 (obsoleted_by): ditto
11468 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11470 * buffer.C (insertErtContents): add params are to InsetERT
11471 (parseSingleLyXformat2Token): add code to check if a paragraphs
11472 layout really exist.
11473 (parseSingleLyXformat2Token): add params to several inset
11475 (asciiParagraph): remove lowercase, do the layout comparisons with
11478 * BufferView_pimpl.C (cursorNext): first -> first_y
11479 (resizeCurrentBuffer): first -> first_y
11480 (updateScrollbar): first -> first_y
11481 (scrollCB): first -> first_y
11482 (workAreaMotionNotify): first -> first_y
11483 (workAreaButtonPress): first -> first_y
11484 (checkInsetHit): first -> first_y
11485 (cursorPrevious): first -> first_y
11486 (cursorNext): first -> first_y
11487 (Dispatch): add buffer_->params to severl inset contructors
11489 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11491 * lyxlayout.C (Read): remove some debug info that I forgot.
11493 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11494 clean up the code slightly.
11495 (makeLinuxDocFile): ditto
11496 (makeDocBookFile): ditto
11498 * text2.C: layout as string
11500 * text.C: layout as string
11502 * paragraph_pimpl.C: layout as string
11504 * paragraph.[Ch]: layout as string
11506 * lyxtextclasslist.[Ch]: layout as string
11508 * lyxtextclass.[Ch]: layout as string
11510 * lyxtext.h: layout as string
11512 * lyxlayout.[Ch]: layout as string
11514 * lyx_cb.C: layout as string
11516 * bufferview_funcs.C: layout as string
11518 * bufferparams.C: layout as string
11520 * buffer.C: layout as string
11522 * LyXView.[Ch]: layout as string
11524 * LaTeXFeatures.[Ch]: layout as string
11526 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11528 * BufferView_pimpl.C: change current_layout to string, remove
11533 (workAreaButtonRelease): layout as string
11535 * BufferView2.C (unlockInset): adjust
11537 * vspace.C (asLatexCommand): use an explict temp variable.
11539 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11541 * Makefile.am: use FRONTEND_*
11543 2002-03-01 Juergen Vigna <jug@sad.it>
11545 * tabular.C (SetWidthOfMulticolCell): changed to something better
11546 I hope but still work in progress.
11547 (recalculateMulticolumnsOfColumn): renamed function from
11548 recalculateMulticolCells as it is more appropriate now.
11549 (SetWidthOfCell): calculate multicols better.
11551 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11553 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11555 * lyxfunc.C (processKeySym): print sequence also if it is
11556 `deleted' (complete)
11558 * kbsequence.C (print): print sequence even if it is deleted
11559 (complete would be a better word, actually).
11561 * lyxfunc.C (dispatch): print complete options after a prefix key
11563 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11565 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11567 * text2.C (setCharFont): eliminate setCharFont code duplication.
11569 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11571 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11572 LFUN_TABULAR_FEATURE (bug #177)
11574 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11576 * Makefile.am: remove figure.h
11578 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11580 * Bufferview_pimpl.C:
11592 * text2.C: remove #include "lyx_gui_misc.h".
11594 * LaTeX.C: added #include <cstdio>
11596 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11598 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11599 that the paragraph following this one can have.
11601 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11603 * vspace.C (asLatexCommand): fix bogus gcc warning
11605 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11607 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11609 * text2.C (setLayout): get rid of redundant code
11611 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11613 * text2.C (incDepth): make sure depth cannot be increased beyond
11616 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11618 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11619 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11621 * PainterBase.h (image):
11622 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11623 a LyXImage const *.
11625 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11629 * BufferView_pimpl.C:
11630 * BufferView_pimpl.h:
11650 * sp_spell.C: remove fig inset, and the crap house of
11651 cards that follows it
11653 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11658 * os2_errortable.h:
11659 * nt_defines.h: move .h into support/
11661 * vms_defines.h: remove
11663 * WorkArea.C: add space in debug output
11667 * buffer.C: add WITH_WARNINGS
11671 * bufferlist.C: s/retrive/retrieve/, add docs
11680 * chset.C: add docs
11682 * lyxgui.C: add ID to X error handler
11684 * lyxtestclass.c: fix typo
11686 2002-02-26 Juergen Vigna <jug@sad.it>
11688 * tabular_funcs.C (write_attribute): changed so that some default
11689 attributes are not written at all.
11690 (getTokenValue): set default values before trying to read the
11691 value so we have the return value always set as default if we don't
11692 find the token we search for.
11694 * tabular.C (Write): write bools as bools not as strings!
11696 2002-02-22 Juergen Vigna <jug@sad.it>
11698 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11699 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11701 * text.C (leftMargin): don't add an indent for paragraphs inside
11702 tabular cells (fix #208).
11704 2002-02-21 José Matos <jamatos@fep.up.pt>
11706 * tabular.C (docBook): fixed support for long tables.
11708 2002-02-20 Juergen Vigna <jug@sad.it>
11710 * text2.C (getFont): get the drawing font of the Inset if this
11711 paragraph is inside an inset (only important for InsetERT for now).
11713 * buffer.C (insertErtContents): use new lanugage params in ERT
11716 * CutAndPaste.C: commenting out seemingly uneeded code.
11718 2002-02-19 Allan Rae <rae@lyx.org>
11720 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11721 Iterators might be simple to use but they also get invalidated.
11722 (removeAutoInsets): renamed saved cursor tracking variables and added
11723 some comments to clarify what everything does.
11725 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11732 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11733 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11736 * vc-backend.h: remove #include "support/syscall.h"
11740 * converter.C: rearrange #includes in Lars' approved fashion.
11742 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11743 forward declare class Timeout in the header file.
11745 * XFormsView.C: changes due to the above.
11747 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11748 similar to LyXView.
11750 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11751 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11753 2002-02-18 José Matos <jamatos@fep.up.pt>
11755 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11758 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11760 * a lot of small ws changes
11761 * add a lot of using std::XXX
11762 * use std construcs some places where approp.
11763 * use some exisint stuff from lyxfunctional where approp.
11764 * Make file changes to use partial linking (lets test this now...)
11766 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11770 remove #include "support/syscontr.h" as it's redundant. Always has been.
11778 change Systemcalls::System to Systemcalls::Wait and
11779 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11780 No change of functionality, just reflects the stripped down Systemcalls
11783 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11785 * debug.[Ch]: add a GRAPHICS type to the enum.
11787 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11789 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11791 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11794 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11796 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11797 match the changes below.
11799 * text2.C (toggleInset): if there is not editable inset at cursor
11800 position, try to see if cursor is _inside_ a collapsable inset
11803 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11805 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11806 document menu has a nice checkbox
11808 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11810 * lyxlength.C (asLatexString): change PW to output as percent of
11813 * lengthcommon.C: change '%' to 't%'
11815 * lyxfunc.C (dispatch): a few comments from Martin
11817 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11821 * BufferView_pimpl.h:
11822 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11825 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11827 * vspace.C (inPixels): fix compiler warning
11829 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11831 * lyxfunc.C (getStatus): fix status message for disabled commands.
11833 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11835 * BufferView_pimpl.C: fix crash on close buffer
11836 during selection (#227)
11838 2002-01-27 Herbert Voss <voss@lyx.org>
11840 * buffer.C: link old Figure to new graphic inset
11842 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11844 * FontLoader.C (getFontinfo): Change the latex font names in order
11845 to match the names of type1inst.
11847 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11849 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11851 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11852 (extchanged): ditto
11854 (remove_files_with_extension): ditto
11855 (remove_file): ditto
11858 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11859 document is smaller than the work area height. Do not initialize
11860 static variables to 0.
11862 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11864 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11866 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11867 LFUN_LAYOUT_PARAGRAPHS.
11869 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11870 tabular. It is possible to provide a possible cell, which will
11871 typically be the actcell from the corresponding insettabular
11873 * lyxfunc.C (getStatus): small cleanup; disable
11874 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11877 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11879 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11881 * paragraph.C (startTeXParParams):
11882 (endTeXParParams): new methods. The LaTeX code to
11883 start/end paragraph formatting
11884 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11885 empty (fixes bug #200)
11887 * vspace.C (inPixels): adapt to the change below
11888 (inPixels): [later] more cleanups (remove unused variables)
11890 * lyxlength.C (inPixels): change to use a width and a height as
11893 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11895 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11896 Replaced with \paperwidth
11898 * DepTable.C (insert): add std:: qualifier
11900 2002-01-18 Allan Rae <rae@lyx.org>
11902 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11905 * text.C (drawInset): Turned out I didn't know enough about how
11906 rebreaking worked. This fixes most of the redraw problems. I see
11907 an occasional cursor trail when a line is broken now and the cursor
11908 placement can seem out by a few pixels also after a rebreak.
11910 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11912 * buffer.C (parseSingleLyXformat2Token): update because minipage
11913 width is now a LyXLength
11915 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11917 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11920 2002-01-17 Juergen Vigna <jug@sad.it>
11922 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11924 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11925 is set correctly and the inset is updated correctly.
11927 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11929 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11930 the beginning of the loop.
11932 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11934 * lyxrc.C: improve help for use_scalable_fonts
11936 2002-01-17 Allan Rae <rae@lyx.org>
11938 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11940 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11942 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11943 make sure to set their inset_owner to the right value (bug #171)
11945 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11948 * DepTable.C: Implement mtime checking to reduce time spent doing
11951 2002-01-16 Juergen Vigna <jug@sad.it>
11953 * tabular.C (GetAdditionalHeight): one of error fixed.
11955 * lyxrc.C (output): small fix in writing use_pspell.
11957 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11959 * sp_base.h: #include LString.h
11961 2002-01-16 Allan Rae <rae@lyx.org>
11963 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11964 Can someone check this please?
11966 * text.C (drawInset): It was possible that p.row would be removed by
11967 breakAgainOneRow upsetting a few other settings. There may be another
11968 small tweak possible by setting need_break_row = 0 when p.row has been
11969 removed but I don't know enough about the logic here.
11971 2002-01-15 Allan Rae <rae@lyx.org>
11973 * text.C (insertChar): removed conditional truism.
11975 * BufferView2.C (removeAutoInsets): More tweaks.
11976 cur_par_prev could be a stray pointer. Check for trailing empty line
11977 in case last line was cur_par and only had an error inset on it.
11979 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11981 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11984 * vc-backend.C (most methods):
11985 * exporter.C (Export):
11986 * converter.C (convert):
11988 * LyXSendto.C (SendtoApplyCB):
11989 * lyxfunc.C (dispatch):
11993 * lyx_cb.C (AutoSave):
11995 * BufferView_pimpl.C (MenuInsertLyXFile):
11996 * buffer.C (runChktex): use Buffer::filePath().
11998 * buffer.h: rename filename to filename_; rename filepath to
11999 filepath_ and make it private
12000 (filePath): new method
12002 * buffer.C (writeFile): use fileName()
12005 * lyx_main.C (init): fix starting of LyX when the binary is a
12006 link from so,ewhere else.
12008 * minibuffer.C: include <cctype> for isprint
12010 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12012 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12013 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12014 name clash with InsetCollapsable's width function.
12016 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12018 * lastfiles.C: include <iterator>
12020 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12022 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12025 * buffer.C (makeLaTeXFile): ditto.
12026 Also make loop operation more transparent.
12028 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12030 * ToolbarDefaults.C: remove trailing comma closing namespace.
12032 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12034 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12037 * trans.C (Load): comment out unused variable, allowed.
12039 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12041 * minibuffer.[Ch] (append_char): new method to recieve input from the
12042 drop-down completion browser. If a key was pressed, then recieve this
12043 char and append it to the existing string.
12044 (peek_event): modify the positioning data passed to the completion
12045 browser so that it can be placed above the minibuffer rather than below.
12046 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12048 * LyXAction.C (init): alloe error-next for readonly documents.
12050 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12053 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12055 * bufferlist.C (readFile): create the buffer _after_ checking that
12058 * lyxfunc.C (verboseDispatch): fix handling of arguments
12060 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12062 * lyxrc.C: use string::erase() instead of initializing to "".
12065 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12067 * BufferView_pimpl.h:
12068 * BufferView_pimpl.C:
12071 * text2.C: tell X when we have made a selection for copying
12073 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12075 * BufferView_pimpl.C (MenuInsertLyXFile):
12076 * lyxfunc.C (menuNew):
12078 (doImport): add shortcuts to directory buttons
12080 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12083 * lyxfunc.C (setStatusMessage):
12084 (getStatusMessage): new methods
12085 (getStatus):use setStatusMessage instead of setErrorMessage
12086 (dispatch): when function is disabled, set error message here
12087 [instead of in getStatus previously]
12089 * BufferView_pimpl.C (workAreaButtonRelease): update
12090 toolbar/menubar here too.
12092 2002-01-13 Allan Rae <rae@lyx.org>
12094 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12095 Now seems indestructible. Remaining task is to audit all other
12096 code affected by deleteEmptyParagraphMechanism. One small quirk
12097 left is that an empty document with an error in the preamble can
12098 be made to report an error but no error box appears. I don't know
12100 (removeAutoInsets): Improved comments.
12102 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12105 * Thesaurus.C: update for Aiksaurus 0.14
12107 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12109 * text2.C (firstParagraph): removed member function, all uses
12110 replaces with ownerParagraph
12111 (redoParagraphs): here
12112 (updateInset): here
12113 (toggleAppendix): here
12114 * BufferView2.C (insertErrors): here
12115 (setCursorFromRow): here
12117 2002-01-13 Allan Rae <rae@lyx.org>
12119 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12120 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12121 There is still a way to segfault this although you may have to do this
12122 multiple times: Have an InsetERT with an unknown command in it.
12123 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12124 <down-arrow>, <Enter> again, View->DVI, BANG!
12126 * text2.C (setCursor):
12127 (deleteEmptyParagraphMechanism):
12128 * lyxtext.h (setCursor):
12129 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12130 Making use of the return value may help fix other bugs.
12132 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12134 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12136 * LyXView.C (updateMenubar): call MenuBar::update here
12137 (updateToolbar): but not here
12138 (showState): do not update toolbar/menubar
12140 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12141 should need to care about that.
12143 * lyxfunc.C (verboseDispatch): simplify a bit
12144 (getStatus): have a version which takes a pseudoaction, and
12145 another which requires a (kb_action,string).
12147 * LyXAction.C (retrieveActionArg): make it work also when action
12148 is not a pseudo-action.
12149 (getActionName): simplify a bit
12152 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12154 * lyxfunc.C (verboseDispatch): new families of methods with
12155 several ways to specify a command and a bool to indicate whether
12156 the command name and shortcut should be displayed in minibuffer
12157 (eventually, we could extend that to a finer bitmask like
12158 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12159 (dispatch): the pristine dispatch command which just, well,
12160 dispatchs! Note it still sets its result to minibuffer; I'm not
12163 * lyxfunc.h: remove setHintMessage
12165 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12167 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12169 * BufferView_pimpl.C (specialChar): delete new inset if we have
12170 not been able to insert it.
12172 * kbmap.C: revert to using int instead of kb_action, since all we
12173 are dealing with is pseudo-actions.
12175 * LyXAction.C (searchActionArg): change to return int instead of
12176 kb_action, since the result is a pseudoaction.
12178 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12180 * buffer.C (insertErtContents): Fix (partially) the font bug.
12182 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12184 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12185 as the other one is broken on my machine!
12187 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12190 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12192 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12194 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12195 reflect their actual use. Provide compatibility code for older lyxrc
12198 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12200 change names of popup font variables in line with the changes to lyxrc.C
12202 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12204 * buffer.C (asciiParagraph): avoid outputing a word twice after
12207 * lyxrc.C (getDescription): document that document_path and
12208 template_path can be empty.
12210 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12212 * LaTeXFeatures.C (getMacros):
12213 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12215 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12217 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12219 (getPackages): rename feature "floats" to "float". Use an array to
12220 iterate over 'simple' features (i.e. just a \usepackage). Add
12221 handling of "amsmath" (renamed from "amsstyle").
12223 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12225 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12228 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12230 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12231 FuncStaus::FuncStatus & FuncStaus::some_method().
12233 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12235 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12236 of the func_satus stuff. Edited and massaged in various ways by
12239 * lyxfunc.C (getStatus): use FuncStatus
12241 2002-01-08 Juergen Vigna <jug@sad.it>
12243 * text.C (nextBreakPoint): use function Inset::isChar().
12245 * paragraph.C (TeXOnePar): use function
12246 Inset::forceDefaultParagraphs.
12248 * buffer.C (latexParagraphs): use function
12249 Inset::forceDefaultParagraphs.
12251 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12253 * lyx_gui.C (init): set the style of the menu popups to
12254 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12256 2002-01-07 Juergen Vigna <jug@sad.it>
12258 * text.C (setHeightOfRow): small fix
12259 (prepareToPrint): don't look at alignment if we don't have the place
12262 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12264 * box.C: New file. Move the Box methods and functions out of box.h,
12265 following Lars' suggestion.
12267 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12269 * box.h: #include "support/LOstream.h", needed for inlined function.
12272 * lyxtextclasslist.C: added some using std declarations.
12274 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12276 * box.h: make signed dimensions to allow insets wider than
12277 the screen (bug #162)
12279 * BufferView_pimpl.C: add some insetHit debug
12281 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12283 * vc-backend.C: add FIXME
12285 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12287 * lyxfunc.C (getStatus): enable code for showing math font status
12290 2002-01-07 Juergen Vigna <jug@sad.it>
12292 * text.C (nextBreakPoint): removed debug output not needed anymore.
12294 2002-01-06 Juergen Vigna <jug@sad.it>
12296 * text.C (nextBreakPoint): fixed up this function we had this bug
12297 since ever but now hopefully we break row better.
12298 (insertChar): we have to check if an inset is the next char as it
12299 could now happen that a large inset is causing a break.
12301 2002-01-05 Juergen Vigna <jug@sad.it>
12303 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12304 if it doesn't like to be drawed.
12306 2002-01-04 Juergen Vigna <jug@sad.it>
12308 * BufferView2.C (lockInset): forgot to set a cursor.
12310 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12312 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12314 * FormMathsPanel.C:
12317 * form_maths_panel.C:
12318 * form_maths_panel.h:
12319 * form_maths_panel.fd: implemented sub- and super- buttons in math
12322 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12323 (or ^ space) to be used as in TeX (req'd by André).
12325 * lyxfunc.C: Allow ^ and _ again to be used both as
12326 super/subscript (mathed) and as themselves (in text).
12328 2002-01-03 Allan Rae <rae@lyx.org>
12330 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12331 "LyX" or the filename of the current buffer if it has one. This is a
12332 modified form of John Levon's patch.
12334 * XFormsView.C (setWindowTitle): also set icon title.
12336 * LyXView.h (setWindowTitle): signature changed.
12337 * XFormsView.h (setWindowTitle): ditto.
12339 2002-01-02 Juergen Vigna <jug@sad.it>
12341 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12343 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12345 * screen.C (topCursorVisible): introduce a temp var for
12346 text->cursor.row(), handle the case where this row is null. (kindo
12349 * text2.C (setCursor): add a couple of asserts.
12351 * paragraph.h (inset_iterator): add -> operator
12353 * paragraph.[Ch] (autoDeleteInsets): remove member function
12355 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12356 cursor pos correctly and handle inset deletion by itself.
12357 (insertErrors): move iterator declaration out of for expression
12359 * lyxtextclass.C: add <algorithm>
12361 * Makefile.am: added the new files to sources, removed layout.C
12363 * layout.C: removed file
12365 * layout.h: remove LYX_DUMMY_LAYOUT
12367 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12371 * lyxtextclass.[Ch]:
12372 * lyxtextclasslist.[Ch]: new files
12374 * include order changes to a lot of files, also changes because of
12377 2001-12-27 Juergen Vigna <jug@sad.it>
12379 * buffer.C (asciiParagraph): more fixes.
12381 * tabular.C (ascii): make ascii export support export of only the
12382 data separated by a column-delimiter.
12383 (ascii): better support for ascii export.
12385 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12387 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12389 * tabular_funcs.C: use a "using std::getline" instead of the
12390 previous fix from Angus (necessary for cxx + lyxstring)
12392 2001-12-24 Juergen Vigna <jug@sad.it>
12394 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12396 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12397 problems. First check a minipage also if we have some ert-contents
12398 (not only on par->size(), second set the right depth of the paragraph
12399 on the relink to the root-paragraph-list!
12401 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12402 which then did not anymore update the main paragraphs on undo/redo!
12404 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12406 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12407 code. Support all font-changing funcs (even those which are not in
12408 menu currently). Support for reporting font settings in
12409 mathed (disabled until Andre provides a function on mathed's side).
12411 * func_status.h (toggle): small helper function to set toggle
12414 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12416 * tabular_funcs.C: getline -> std::getline
12418 2001-12-21 Juergen Vigna <jug@sad.it>
12420 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12421 accessed and could be 0 (I couldn't generate this but it seems
12424 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12426 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12427 * tabular_funcs.h: here and include iosfwd
12429 2001-12-20 Juergen Vigna <jug@sad.it>
12431 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12432 inside inset but undo_par was.
12434 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12436 * Thesaurus.C: always include <config.h> in sources.
12440 * box.h: do not include <config.h> in header files
12442 * text.C (paintLastRow): remove unused variable
12444 * text.C (transformChar):
12446 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12448 * Painter.C (text):
12449 * font.C (width): rewrite to use uppercase() instead of
12452 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12454 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12456 * lyxfind.C: clean up of find failure position change
12458 2001-12-20 Juergen Vigna <jug@sad.it>
12460 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12462 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12463 (TeXRow): added to LaTeX a single tabular row.
12464 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12465 (Latex): simplified and finally good LT-h/f support.
12466 (various_functions): just small adaptions for LT-h/f support.
12468 * tabular_funcs.[hC]: added and moved here all not classfunctions
12471 2001-12-19 Juergen Vigna <jug@sad.it>
12473 * tabular.[Ch]: better support for longtabular options (not finished
12476 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12478 * text.C (paintLastRow): use the label font instead of the font of
12479 the last character to compute the size of *_BOX. This makes more
12480 sense and avoids a crash with empty paragraphs.
12481 Use Painter::rectangle to draw EMPTY_BOX.
12483 2001-12-19 Juergen Vigna <jug@sad.it>
12485 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12486 the paragraphs if the replaced paragraph is not the first one!
12487 Tried to delete not used paragraphs but does not work yet so for
12488 now it's inside #ifdef's and by default off!
12490 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12492 * MenuBackend.C: include "lyx_main.h" instead of declaring
12493 lastfiles (actually was declared as LastFiles* instead of a
12496 2001-12-17 Juergen Vigna <jug@sad.it>
12498 * tabular.C (AppendColumn): applied John's fix
12500 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12504 * BufferView_pimpl.h:
12505 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12508 * box.h: new start of class for above
12510 * lyxfunc.C: ignore space-only minibuffer dispatches.
12511 Show the command name when it doesn't exist
12513 * minibuffer.C: don't add empty lines to the history
12515 * minibuffer.C: add a space on dropdown completion
12517 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12519 * text.C: fix line above/below drawing in insets
12521 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12523 * lyxlength.C (LyXLength): Initialize private variables.
12525 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12527 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12528 when inserting error insets.
12530 2001-12-13 Juergen Vigna <jug@sad.it>
12532 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12533 actually sometimes the before-paragraph.
12534 (setUndo): don't clear the redostack if we're not actually undoing!
12536 2001-12-06 Juergen Vigna <jug@sad.it>
12538 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12539 and fixed redoing of main paragraph, so we can use it now ;)
12541 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12543 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12545 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12548 2001-12-13 André Pönitz <poenitz@gmx.net>
12551 * undo_func.C: minor cleanup
12553 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12555 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12556 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12557 font in urw-fonts package which is marked as -urw-fontspecific and
12558 does not work (incidentally, changing the encoding in the
12559 fonts.dir of this package to -adobe-fontspecific fixes the
12562 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12563 is a crash when undoing first paragraph (Juergen, please take a
12564 look). THis does not mean the undo fix is wrong, just that it
12567 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12568 the (Paragraph*) version when needed instead of duplicating the
12571 * text.C (workWidth): use Inset::parOwner to find out where the
12572 inset has been inserted. This is a huge performance gain for large
12573 documents with lots of insets. If Inset::parOwner is not set, fall
12574 back on the brute force method
12576 * paragraph_pimpl.C (insertInset):
12577 * paragraph.C (Paragraph):
12578 (cutIntoMinibuffer): set parOwner of insets when
12579 inserting/removing them
12581 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12583 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12589 * mathed/formulabase.C:
12590 * mathed/math_cursor.[Ch]:
12591 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12594 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12596 * lyxlength.[Ch] (operator!=): new function
12598 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12600 * text.C (workWidth): use Inset::parOwner to find out where the
12601 inset has been inserted. This is a huge performance gain for large
12602 documents with lots of insets. If Inset::parOwner is not set, fall
12603 back on the brute force method
12605 * paragraph_pimpl.C (insertInset):
12606 * paragraph.C (Paragraph):
12607 (cutIntoMinibuffer): set parOwner of insets when
12608 inserting/removing them
12610 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12612 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12614 * tabular-old.C (getTokenValue):
12615 * tabular.C (getTokenValue):
12616 (write_attribute): new versions for LyXLength
12617 (everywhere): adjust the use of widths
12619 * tabular.h: change the type of widths from string to LyXLength
12621 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12623 * paragraph.C: fixed missing line number count when exporting
12624 Environments to LaTeX file
12626 * buffer.C: added informational message for checking line numbers.
12628 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12630 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12631 paragraph, do the 'double space' part, but not the 'empty
12634 * text.C (workWidth): small optimization
12635 (getLengthMarkerHeight): use minimal size for negative lengths.
12637 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12639 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12641 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12643 2001-12-11 André Pönitz <poenitz@gmx.net>
12646 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12648 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12650 * text2.C: keep selection on a setFont()
12652 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12654 * lyx_cb.C: another bv->text misuse, from insert label
12656 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12659 * kbsequence.C: re-instate nmodifier mask
12661 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12663 * lyx_main.h: make lyxGUI private.
12665 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12667 * lyxfind.C: place the cursor correctly on failed search
12669 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12671 * text.C (getLengthMarkerHeight): for small heights, the arrows
12672 are not always on top/bottom of the text
12673 (drawLengthMarker): smaller arrows; take the left margin in
12674 account; draw also vfills.
12676 (paintLastRow): remove special code for vfill and standard spaces,
12677 since everything is handled in drawLengthMarker now.
12679 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12681 * buffer.C (insertErtContents): try to handle font and language
12682 interaction a bit better.g
12684 * ColorHandler.C (updateColor): change the hash to cover the whole
12685 LColor enum, ws cleanup
12686 (getGCLinepars): ditto
12687 (getGCLinepars): only lookup in the linecache once.
12689 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12691 * iterators.C (operator++): Make the iterator more robust
12693 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12695 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12697 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12700 * text.C: better added space drawing
12702 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12705 * BufferView2.C: fix layout combo update on inset unlock
12707 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12709 * Makefile.am: don't compile unused files
12711 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12715 * LyXAction.C: remove old LFUN_LAYOUTNO
12717 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12719 * paragraph_pimpl.h:
12720 * paragraph_pimpl.C: isTextAt() doesn't need font param
12722 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12725 * lyxlex.C: little cleanup
12727 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12729 * BufferView_pimpl.C: fix insertAscii for insets
12731 2001-12-05 Juergen Vigna <jug@sad.it>
12733 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12734 set the right font on the "multi" paragraph paste!
12736 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12742 * lyxlength.C: remove out-commented code.
12744 * BufferView_pimpl:
12758 * vc-backend.C: change "while(" to "while ("
12760 * lyxlength.[Ch]: add zero function to check if length is zero or
12762 * lyxgluelength.C: use it
12764 2001-12-05 Allan Rae <rae@lyx.org>
12766 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12767 Works for 2.95.3, from what I understand of Garst's reports this should
12768 work for other g++ versions. We're screwed if the abs(int) definition
12769 changed between bugfix releases of gcc.
12771 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12773 * text.C: fix chapter label offset !
12775 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12778 * text.C: fix hfill at end of line, clean up
12780 2001-12-04 Juergen Vigna <jug@sad.it>
12782 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12783 that we force an update of the inset and it's owners if neccessary.
12785 2001-12-03 Juergen Vigna <jug@sad.it>
12787 * text.C (rowLast): simplified code
12789 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12791 * lyxfunc.C: fix show options on timeout
12793 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12795 * screen.C (topCursorVisible): scroll half a page when the cursor
12796 reached top of bottom of screen
12798 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12800 * minibuffer.C: deactivate on loss of focus
12802 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12804 * vspace.[Ch] (operator!=): add operator.
12806 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12808 * BufferView_pimpl.C: refuse to open an inset when
12809 there's a selection.
12811 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12813 * BufferView_pimpl.C: allow to click on RHS of full row insets
12815 2001-11-30 Juergen Vigna <jug@sad.it>
12817 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12818 insets for undo reasons.
12820 2001-11-28 André Pönitz <poenitz@gmx.net>
12822 * vspace.[Ch]: cosmetical changes
12824 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12834 * kbsequence.C: part re-write of old kb code
12837 * WorkArea.C: remove Lgb_bug_find_hack
12839 2001-11-30 José Matos <jamatos@fep.up.pt>
12841 * buffer.C (makeDocBookFile): add a comment to point a hack.
12842 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12843 Fixed a double write of labels.
12845 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12848 * LaTeX.h Fixed bug in LaTeX class where it would not
12849 re-run latex if no depfiles were changed, but the .dvi was removed.
12851 2001-11-28 André Pönitz <poenitz@gmx.net>
12853 * all the files from the change on 2001/11/26:
12854 use lyx::layout_type instead of LyXTextClass::size_type
12855 use lyx::textclass_type instead of LyXTextClassList::size_type
12857 2001-11-29 Juergen Vigna <jug@sad.it>
12859 * text.C: added support for paragraph::isFreeSpacing()
12861 * buffer.C: same as above
12863 * paragraph.h: inserted isFreeSpacing() function to enable
12864 FreeSpacing inside InsetERT.
12866 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12867 of the paragraph's in the cut/copy buffer to 0!
12869 * text2.C (removeRow): remove the assert as it can!
12871 * lyxtext.h: added helper function firstRow returning firstrow and
12872 made firstrow private again.
12874 * BufferView2.C (lockInset): don't relock if we're already locked!
12876 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12877 the only paragraph.
12878 (removeRow): added Assert::(firstrow)
12880 * debug.C: forgot to add INSETTEXT here.
12882 2001-11-28 Juergen Vigna <jug@sad.it>
12884 * sp_spell.C (initialize): changed error text to more general
12885 spellchecker command use (not only ispell!)
12887 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12889 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12891 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12893 * vspace.C: initialise lyxgluelength on failure
12895 2001-11-28 Allan Rae <rae@lyx.org>
12897 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12898 declaration & definition that looks like a function declaration.
12900 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12902 * BufferView2.C (copy):
12903 (copyEnvironment): do not clear the selection when doing a copy.
12905 * text.C (paintFirstRow): compilation fix
12907 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12909 * tabular.C (Latex): correct line count when writing latex.
12911 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12913 * paragraph_pimpl.h:
12914 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12917 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12921 * LColor.C: change vfillline->added_space
12923 * text.C: add markers and text for added space
12925 * vspace.C: fix comment
12927 2001-11-28 André Pönitz <poenitz@gmx.net>
12929 * paragraph.C: whitespace changes
12930 * all the other files from the change on 2001/11/26:
12931 change *::pos_type into lyx::pos_type
12933 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12935 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12936 language of the document when inserting error insets.
12938 2001-11-26 André Pönitz <poenitz@gmx.net>
12940 * BufferView_pimpl.[Ch]:
12948 * paragraph_pimpl.[Ch]:
12951 * text2.C: reduce header dependencies, introduce type for positions
12953 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12955 * <various>: change to use Alert.h
12957 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12959 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12960 when encountering an unknown token.
12961 (readLyXformat2): Show an error message if there were unknown tokens.
12963 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12966 * BufferView_pimpl.C:
12970 * text2.C: use par->isInset()
12972 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12974 * paragraph_pimpl.h:
12975 * paragraph_pimpl.C: cleanup
12977 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12979 * text2.C (removeRow):
12980 * text.C (setHeightOfRow): remove useless (and costly) call to
12983 2001-11-20 Allan Rae <rae@lyx.org>
12985 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12986 Now need Inset*::checkInsertChar() to return true for appropriate
12987 cases so that the characters in the minibuffer will actually be
12990 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12992 * text.C: change the order of the includes.
12993 (workWidth): initialize it at once.
12994 (workWidth): make maxw unsigned
12995 (setHeightOfRow): remove unused variable (inset)
12996 (selectSelectedWord): remove unused variable (inset)
12997 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12999 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13001 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13002 server is not running.
13004 (closeConnection): add debug info when server is disabled.
13006 * ColorHandler.C (getGCForeground): send debug message to GUI
13009 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13011 * kbmap.C (bind): modify because return conventions of
13012 kb_sequence::parse have changed.
13014 * kbsequence.C (parse): only ignore spaces and not any stupid
13015 control character. This avoids tests like s[i] <= ' ', which are
13016 guaranteed to fail with 8bit characters and signed chars.
13017 Change return code to string::npos when there have been no error
13018 (0 was a bad idea when error is at first character)
13020 2001-11-14 José Matos <jamatos@fep.up.pt>
13023 * buffer.C (simpleDocBookOnePar): removed unused argument.
13025 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13027 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13028 insets which are part of a word. Paragraph::isLetter takes care of
13029 that now. Use Paragraph::isInset to identify insets.
13030 (selectSelectedWord): do not test for hyphenation break.
13032 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13033 that protected spaces are considered as spaces.
13035 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13038 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13041 * lyxserver.C: fix it. and small cleanup.
13043 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13045 * BufferView_pimpl.C: use inline helpers
13048 * LaTeXFeatures.C: fix typos
13051 * Spacing.C: move spacing_string into class
13053 * ToolbarDefaults.C: move stuff into namespace anon
13055 * layout.h: update enum
13057 * lyxfunc.C: use better debug
13059 * minibuffer.h: fix typo
13063 * WorkArea.C: add and use Debug::WORKAREA
13067 * text2.C: code re-organisation, inline helpers
13069 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13071 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13072 std::vector.empty().
13074 2001-11-09 Allan Rae <rae@lyx.org>
13076 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13077 '\n's after tables. Tabular and ERT inset work now makes this no
13080 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13083 * minibuffer.C: fix crash, improve drop-down completion
13085 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13088 * lyxserver.C: invalidate fd's when doing endPipe()
13090 2001-11-08 José Matos <jamatos@fep.up.pt>
13092 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13093 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13096 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13098 2001-11-07 José Matos <jamatos@fep.up.pt>
13101 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13104 * buffer.C (sgmlOpenTag):
13105 * buffer.C (sgmlCloseTag): removed debug info.
13107 * buffer.h (sgmlOpenTag):
13108 * buffer.h (sgmlCloseTag): made public.
13110 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13112 * buffer.C (saveParamsAsDefaults):
13113 * lyx_cb.C (MenuLayoutSave): remove
13115 * LyXAction.C (init):
13117 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13119 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13121 * buffer.C (setPaperStuff): removed from here...
13123 * bufferparams.C (setPaperStuff): ... and moved there.
13125 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13129 * XFormsView.C: add support for drop-down completion
13131 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13133 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13136 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13138 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13141 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13143 * lyx_main.C: change ref to known bugs
13145 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13147 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13148 to work around older babel problems.
13150 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13152 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13154 2001-10-24 Juergen Vigna <jug@sad.it>
13156 * tabular-old.C (ReadOld): below variable changes reflected.
13158 * tabular.[Ch]: added ltType struct for longtable header/footer
13159 defines and changed all instances where they are used. Added
13160 future support for double top/bottom rows.
13162 2001-10-24 José Matos <jamatos@fep.up.pt>
13164 * buffer.h (docbookHandleCaption):
13165 * buffer.C (docbookHandleCaption): removed unused function.
13166 (makeDocBookFile): moved docbook supported version to v4.1.
13168 2001-10-24 José Matos <jamatos@fep.up.pt>
13171 * tabular.C (docbookRow): new function to export docbook code of a row.
13172 (DocBook): now honors the longtable flags.
13174 2001-10-23 José Matos <jamatos@fep.up.pt>
13177 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13178 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13180 * buffer.C (makeLinuxDocFile):
13181 (makeDocBookFile): reworked the preamble, more clean, and with
13182 support for lyx defined entities. Changed the document declaration
13183 to be more XML friendly.
13185 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13186 if we need to output XML that should be done with a filter.
13188 2001-10-22 Juergen Vigna <jug@sad.it>
13190 * sp_pspell.h (class PSpell): add alive function needed in the
13191 controller to see if the spellchecker could be started.
13193 2001-10-22 Juergen Vigna <jug@sad.it>
13195 * buffer.C (insertStringAsLines): modify the font for inserting
13196 chars in certain conditions by calling checkInsertChar(font).
13198 2001-10-19 Juergen Vigna <jug@sad.it>
13200 * text.C (workWidth): use getRow instead of wrong algorithm.
13201 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13203 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13208 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13210 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13212 * text.C (workWidth): do not search for the exact row when
13213 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13214 optimization for big documents.
13216 2001-10-18 Juergen Vigna <jug@sad.it>
13218 * text.C (workWidth): new function with added Inset * parameter.
13220 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13222 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13224 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13225 change return type of getColumnNearX.
13228 * text.C (changeRegionCase): use uppercase/lowercase instead of
13231 (rightMargin): simplify code by factoring out the uses of
13236 (appendParagraph): use Paragraph::size_type
13238 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13240 * vspace.C (asLatexString): add a missing break
13242 2001-10-15 Herbert Voss <voss@perce.de>
13244 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13246 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13248 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13251 2001-10-10 André Pönitz <poenitz@gmx.net>
13253 * lyxfunc.C: removed greek_kb_flag.
13255 2001-10-10 Herbert Voss <voss@perce.de>
13257 * lyx_main.C: delete global string help_lyxdir.
13259 2001-10-09 Herbert Voss <voss@perce.de>
13261 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13263 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13265 * lyx_main.C: added global string help_lyxdir.
13267 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13269 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13271 * lyxrc.C (set_font_norm_type): support iso8859-4
13273 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13275 * LaTeX.C (deplog): add another regex for MikTeX
13277 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13279 * lyxrc.C (set_font_norm_type): support iso8859-3
13281 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13283 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13285 * LaTeXFeatures.C: remove special case of french and index
13287 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13288 before \begin{document}). This solves several incompatibilities.
13290 2001-10-03 Garst Reese <reese@isn.net>
13292 * lyx_cb.C: change CheckTex error msg.
13294 2001-10-03 José Matos <jamatos@fep.up.pt>
13296 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13298 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13300 * .cvsignore: update
13302 * lyx_main.C (commandLineVersionInfo): use new style version info.
13304 * buffer.C (writeFile):
13306 (makeLinuxDocFile):
13307 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13309 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13311 * version.h: update to use stuff in version.C
13313 * version.C.in: new file. Contains version information determined
13314 at compile time. This is a merging of version.h and
13317 2001-10-03 Juergen Vigna <jug@sad.it>
13319 * BufferView_pimpl.C (update): don't change "dirty" status in
13322 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13324 * WorkArea.C (c-tor): re-position version string slightly.
13326 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13328 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13329 revert to previous code.
13331 WorkArea.[Ch]: (show, destroySplash): methods removed.
13333 WorkArea.C: rework code so that it's an amalgam of the codes before and
13334 after the splash screen was moved to WorkArea.
13336 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13339 * vspace.C (inPixels):
13342 * buffer.C (insertStringAsLines):
13343 (asciiParagraph): fix types to be large enough
13345 * lyxlex_pimpl.h: change member status from short to int
13347 * layout.h: fix type of endlabeltype
13350 * kbsequence.C (parse): change return type to string::size_type
13352 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13355 * Bullet.C (bulletSize):
13356 (bulletEntry): do not use short ints as parameters
13358 * BufferView2.C (insertLyXFile): change a char to an int.
13360 * WorkArea.C (WorkArea): remove unneeded floats in computation
13362 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13364 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13366 * paragraph.C (asString): Do not ignore newline/hfill chars when
13367 copying to the clipboard.
13369 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13371 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13372 after a multi-line inset.
13374 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13376 * paragraph.C (validate): Set NeedLyXFootnoteCode
13378 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13380 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13381 and decrease-error to decrease.
13383 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13385 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13386 it more readable (should be equivalent)
13388 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13390 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13392 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13394 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13395 of a cursor (row, etc.) after a character has been deleted
13396 (deleteEmptyParagraphMechanism): call the method above on _all_
13397 cursors held by the LyXText when a double space has been
13400 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13402 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13404 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13406 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13407 background. Use greyOut() and the new show() methods to toggle between
13408 the foreground and background. Add code to remove the splash after
13409 its initial showing.
13411 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13412 (create_forms): no longer call Dialogs::showSplash.
13414 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13416 * .cvsignore: add version_info.h
13418 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13420 * version_info.h.in: new file
13422 * Makefile.am: add version_info.h.in
13424 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13425 version_info.h instead of VERSION_INFO
13427 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13429 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13430 The ERT inset now returns string().
13432 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13434 * lyxtext.h, text.C (selectNextWord): renamed as
13435 selectNextWordToSpellcheck.
13437 * text.C (selectNextWordToSpellcheck): Modified to not select
13438 words inside an ERT inset.
13440 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13442 * lyx_cb.C (MenuLayoutSave): change a bit the question
13444 * sp_base.h: include <sys/types.h>
13446 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13448 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13450 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13452 * several files: fix typos in user-visible strings
13454 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13456 * text2.C (pasteSelection): do not set the selection, since it
13457 will be cleared later. Actually, the intent was to fix the way the
13458 selection was set, but I figured rmoving the code was just as good.
13460 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13462 * FontLoader.C (available): Check if font is available without
13465 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13467 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13469 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13471 * lyxrc.[Ch]: added display_graphics variable and associated code.
13473 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13475 * bufferparams.C (hasClassDefaults): new method. Returns true if
13476 the buffer parameters correspond to known class defaults
13478 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13480 * XFormsView.C (show): set minimum size to the main window.
13482 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13484 * text2.C (copySelection):
13486 * lyxfind.C (LyXReplace):
13487 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13488 LyXText::selectionAsString.
13490 * paragraph.C (asString): add "label" argument to the second form
13492 * text2.C (selectionAsString): add "label" argument and pass it to
13493 Paragraph::asString.
13495 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13497 * lyx_main.C (commandLineHelp): remove version information
13499 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13501 * lyx_main.C: add -version commandline option
13503 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13505 * paragraph.h: make the optional constructor arg required instead.
13506 some modifications to other files because of this.
13508 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13510 * lyxserver.C (C_LyXComm_callback): make it static
13512 * lyx_main.C (error_handler): make it static
13514 * lyx_gui.C (LyX_XErrHandler): make it static
13516 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13518 * WorkArea.C: make the extern "C" methods static.
13520 * Makefile.am (lyx_LDADD): simplify
13522 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13524 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13525 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13527 * LyXAction.C (init):
13528 * lyxfunc.C (dispatch): associated code removal.
13530 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13532 * lyxfont.h (isSymbolFont): shut off warning
13534 * text.C (setHeightOfRow):
13535 (getVisibleRow): fix crash with empty paragraphs which have a
13538 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13540 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13543 2001-09-04 José Matos <jamatos@fep.up.pt>
13546 * tabular.C (docbook): rename docBook method to docbook.
13548 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13550 * Makefile.am: add dependencies to main.o.
13552 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13554 * FontLoader.C (available): Return false if !lyxrc.use_gui
13556 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13558 * FontInfo.C (query):
13559 * converter.C (view):
13560 * importer.C (Import):
13561 * exporter.C (Export): Can not -> cannot.
13563 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13565 * BufferView_pimpl.C: allow to create index inset even if
13568 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13570 * buffer.C (getLists): replace boost::tie code with an explicit pair
13571 as boost::tie can break some compilers.
13573 * iterators.h: Added a std:: declaration to the return type of
13576 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13578 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13581 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13583 * iterators.[Ch]: New files. Provide paragraph iterators.
13585 * buffer.C (changeLanguage): Use paragraph iterators.
13586 (isMultiLingual): ditto
13588 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13590 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13592 * FontLoader.C: Support for cmr font.
13594 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13596 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13597 (available): New method.
13599 * FontInfo.C (getFontname): Use scalable fonts even when
13600 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13603 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13605 * converter.C (Formats::view): reverted! Incorrect fix.
13607 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13609 * converter.C (Formats::view): only output the -paper option
13610 if the dvi viewer is xdvi, thereby fixing bug #233429.
13612 2001-08-23 Herbert Voss <voss@perce>
13614 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13616 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13618 * Spacing.h (Spacing): Set space to Default on in the default
13621 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13623 * vc-backend.h (RCS::versionString): add RCS to version
13624 (CVS::versionString): add CVS to version
13626 * vc-backend.C (scanMaster): do not add CVS to version.
13627 (scanMaster): do not add RCS to version
13629 * lyxvc.C (versionString): new method
13631 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13633 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13635 * Spacing.C (set): initialize fval
13637 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13639 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13642 2001-08-16 Juergen Vigna <jug@sad.it>
13644 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13646 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13648 * BufferView_pimpl.C:
13651 * text2.C: setParagraph takes linespacing now
13653 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13655 * LyxAction.C: add internal LFUN_CITATION_INSERT
13657 * LyXView.C: actually apply fix
13659 * bufferlist.C: fix open non-existent file
13661 * lyxfind.C: fix indentation
13663 * lyxfunc.C: remove unneeded assert, fix typo
13665 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13667 * MenuBackend.C: use "Floatname List"
13669 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13671 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13672 when converting LaTeX layout to insetERT.
13673 Generate a non-collapsed float when reading old float
13675 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13677 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13680 2001-08-13 Juergen Vigna <jug@sad.it>
13682 * text.C (fill): return 0 instead of 20 as this seems to be the more
13685 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13687 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13690 2001-08-13 Juergen Vigna <jug@sad.it>
13692 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13694 (SearchBackward): comment out the unlocking of the inset_owner this
13695 should not be needed!
13697 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13699 * Many files: Remove inherit_language, and add latex_language
13701 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13702 collapsible insets.
13704 2001-08-10 Juergen Vigna <jug@sad.it>
13706 * text.C (prepareToPrint): fixed hfill-width in draw!
13708 * BufferView2.C (selectLastWord): save the selection cursor as this
13709 now is cleared in the function LyXText::clearSelection!
13711 2001-08-08 Juergen Vigna <jug@sad.it>
13713 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13714 BACKSPACE type functions.
13716 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13717 is only cutted from the document but not put in the cut-buffer, where
13718 still the old stuff should be.
13720 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13722 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13724 * tabular.C (SetWidthOfCell): fixed special case where the width
13726 (LeftLine): handle '|' in align_special.
13728 (LeftAlreadyDrawed): ditto
13729 (SetWidthOfCell): ditto
13731 2001-08-07 Juergen Vigna <jug@sad.it>
13733 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13735 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13737 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13738 * lyxlex.[hC]: ditto
13740 2001-08-06 Juergen Vigna <jug@sad.it>
13742 * text.C (getVisibleRow): fix up row clearing a bit.
13744 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13746 * minibuffer.C: make sure the X server sees the changes in the input.
13748 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13750 * paragraph.C (getFont): split into...
13751 (getLabelFont): this
13752 (getLayoutFont): and this
13753 * paragraph_pimpl.C (realizeFont): calling this
13755 * text2.C (getFont): split into...
13756 (getLayoutFont): this
13757 (getLabelFont): and this
13758 (realizeFont): all three calling this
13760 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13763 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13765 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13767 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13769 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13770 layouts from the Quote inset insertion.
13772 2001-08-03 Juergen Vigna <jug@sad.it>
13774 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13776 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13777 only if status not is already CHANGED_IN_DRAW (second level).
13779 * text.C (draw): don't set the need_break_row when inside an
13782 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13784 * buffer.C (parseSingleLyXformat2Token): handle more latex
13787 * bufferview_funcs.[hC]: change function names to
13788 begin with small char, adjust other files.
13790 2001-08-02 André Pönitz <poenitz@gmx.net>
13793 BufferView_pimpl.C: remove broken special code for math-greek
13795 2001-08-02 Juergen Vigna <jug@sad.it>
13797 * BufferView_pimpl.C (update): redone this function so that we
13798 update the text again if there was a CHANGE_IN_DRAW.
13800 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13801 (drawFromTo): added a new internal bool which is used by draw() and
13803 (general): some cursor drawing problems fixed.
13805 2001-08-01 Juergen Vigna <jug@sad.it>
13807 * lyxfind.C (LyXFind): fixed
13808 (SearchForward): ditto
13809 (SearchBackward): ditto
13811 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13812 spurius drawing of the cursor in the main area.
13814 * text2.C (status): small fix which could lead to a segfault!
13815 (clearSelection): remove unneeded BufferView param.
13817 2001-08-01 André Pönitz <poenitz@gmx.net>
13819 * lyxfunc.C: small change due to changed mathed interface
13821 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13823 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13825 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13827 * lyxfunc.c: fail gracefully if file doesn't exist
13832 * BufferView_pimpl.C: IsDirWriteable() proto changed
13834 * LyXView.C: fix updateWindowTitle() to store the last title
13836 2001-07-31 Juergen Vigna <jug@sad.it>
13838 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13839 the font (wrong since using of Paragraph::highestFontInRange).
13841 * paragraph.C (highestFontInRange): added a default_size parameter.
13843 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13844 (setHeightOfRow): reformat
13846 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13848 * converter.[hC] + affected files: move to (inital-char)lowercase
13851 * ParagraphParameters.C (ParagraphParameters): remove commented code
13853 * PainterBase.[Ch]: remove commented code
13855 * LaTeXFeatures.h: add "bool floats" for float.sty
13857 * LaTeXFeatures.C (LaTeXFeatures): init floats
13858 (require): handle float
13859 (getPackages): do it with floats
13861 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13863 * BufferView_pimpl.C (Dispatch): improve handling of
13864 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13866 * commandtags.h: #include lyxfont.h here temporarily to avoid
13869 * bufferlist.h: include LString.h here.
13871 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13873 * text2.C (getStringToIndex): new method.
13875 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13877 * *: Reduced header file dependencies all over.
13879 2001-07-30 Baruch Even <baruch@lyx.org>
13881 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13883 2001-07-29 Baruch Even <baruch@lyx.org>
13885 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13887 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13889 * ParameterStruct.h (endif): add a default constructor to make
13890 sure that all variables is initialized.
13892 * ParagraphParameters.C (ParagraphParameters): adjust
13894 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13896 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13897 index; also, check that there is something to index, and that it
13898 does not span over several paragraphs.
13899 (doubleClick): use WHOLE_WORD_STRICT for double click.
13901 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13903 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13906 2001-07-26 Baruch Even <baruch@lyx.org>
13908 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13909 an InsetFig figure, backwards compatible reading of old figure code.
13911 2001-07-27 Juergen Vigna <jug@sad.it>
13913 * text2.C: font.realize function adaption.
13915 * text.C (draw): add a warnings lyxerr text if needed.
13917 * layout.C: font.realize function adaption.
13919 * language.C: add inherit_language and implement it's handlings
13921 * bufferview_funcs.C (StyleReset): remove language parameter from
13922 font creation (should be language_inherit now).
13924 * bufferparams.C (writeFile): handle ignore_language.
13926 * paragraph.C (getFontSettings): the language has to be resolved
13927 otherwise we have problems in LyXFont!
13929 * lyxfont.C (lyxWriteChanges): added document_language parameter
13930 (update): removed unneeded language parameter
13932 * paragraph.C (validate): fixed wrong output of color-package when
13933 using interface colors for certain fonts in certain environments,
13934 which should not seen as that on the final output.
13936 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13938 * BufferView_pimpl.C:
13943 * LyXAction.C: add thesaurus support
13946 * lyxfind.C: add "once" parameter, for thesaurus, to not
13947 move to the next match
13949 2001-07-26 Juergen Vigna <jug@sad.it>
13951 * lyxfont.C (realize): honor ignore_language too!
13954 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13956 * text.C (draw): one place more for ignore_language to not draw
13959 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13961 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13963 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13965 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13966 the minipage conversion problem.
13968 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13970 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13973 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13975 * BufferView.h: don't forward declare WorkArea
13977 * BufferView.C: don't include WorkArea.h
13979 2001-07-25 André Pönitz <poenitz@gmx.net>
13983 * lyxfunc.C: new LFUN 'math-space'
13985 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13987 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13989 * text2.C (toggleInset): call open/close
13991 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13993 * lyxfunc.C (dispatch): add debug for the disabled case
13995 * font.C (buttonText): make similar to rectText
13997 * buffer.C (readInset): comment out parsing of insetlist and
14000 * PainterBase.C (rectText): small correction
14002 * BufferView_pimpl.C: comment out insettheorem and insetlist
14003 * LyXAction.C: ditto
14004 * commandtags.h: ditto
14006 2001-07-24 Juergen Vigna <jug@sad.it>
14008 * text.C (draw): honor the ignore_language.
14010 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14012 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14014 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14017 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14019 * lyxtext.h: remove unused (and unimplemented) methods
14021 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14023 * text.C (getVisibleRow): honor background color
14026 * Painter.h: remove default color argument for fillRectangle
14028 * text.C (backgroundColor): new method
14030 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14032 * text.C (getVisibleRow): adjust
14034 * font.[Ch] (rectText): new method, metrics
14035 (buttonText): new method, metrics
14037 * PainterBase.[hC]: make rectText and buttonText always draw and take
14040 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14042 * ToolbarDefaults.C (read):
14043 * MenuBackend.C (read): allow escaping in all strings
14045 * BufferView_pimpl.C (insertAndEditInset): new method.
14046 (Dispatch): use insertAndEditInset whenever appropriate.
14048 * BufferView_pimpl.C (insertNote): removed
14050 * BufferView_pimpl.C (smartQuote): new method, moved from
14051 BufferView; if an insetquote cannot be inserted, insert a '"'
14054 * BufferView2.C: remove insertCorrectQuote();
14056 * lyxfunc.C (getStatus): Add support for all remaingin
14057 inset-insert lfuns.
14059 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14061 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14062 command (necessary to pass " as parameter of self-insert.
14064 * text.C (selectWordWhenUnderCursor):
14065 (selectWord): add word_location parameter
14066 (selectWordWhenUnderCursor): same + remove special code for word
14068 (selectNextWord): use kind() to guess type of insetspecialchar,
14071 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14072 (insertErtContents): create ert insets as collapsed.
14073 (readInset): better compatibility code for Info inset.
14075 2001-07-20 Juergen Vigna <jug@sad.it>
14077 * lyxfunc.C (dispatch): use always LyXFind now!
14079 * text2.C (init): add a reinit flag so that the LyXText can be
14080 reinited instead of deleted and reallocated (used in InsetText).
14082 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14088 2001-07-18 Juergen Vigna <jug@sad.it>
14090 * text.C (selectNextWord): handle insets inside inset by calling
14091 always the bv->text functions so that we can go up the_locking_inset!
14093 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14094 in strange locations when inside an inset!
14096 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14097 handling to include insets.
14099 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14101 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14103 * LyXAction.C (init):
14105 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14106 LIGATURE_BREAK, since the name is so stupid.
14108 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14110 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14113 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14115 * sp_form.[Ch]: remove.
14117 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14119 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14122 * src/buffer.C (readInset): ditto.
14124 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14126 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14127 menuSeparator(), endOfSentenceDot(), ldots() and
14128 hyphenationPoint(), which are therefore removed.
14129 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14131 * LyXAction.C (init):
14132 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14134 * paragraph.C (getWord): removed.
14136 * BufferView_pimpl.C (Dispatch): use last word or selection for
14137 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14139 * lyx_main.C (queryUserLyXDir): do not ask before creating
14140 user_dir, except if it has been named explicitely.
14142 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14144 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14145 a document of zero size.
14147 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14149 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14150 approriately in the c-tor and in require().
14151 (getPackages): output the appropriate LaTeX for natbib support.
14153 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14154 variables "use_natbib" and "use_numerical_citations" when reading the
14156 (readInset): read the various natbib cite commands.
14157 (validate): white-space change.
14159 * bufferparams.[Ch]: new variables "bool use_natbib" and
14160 "bool use_numerical_citations".
14161 (writeFile): output them in the LyX file.
14163 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14165 * lyxfunc.C (getStatus): add support for all the inset insertion
14168 * text2.C (insertInset):
14169 * paragraph.C (insetAllowed):
14170 * BufferView_pimpl.C (insertInset): update to take in account the
14171 renaming of insertInsetAllowed
14173 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14175 * text2.C (getInset): new method. returns inset at cursor position.
14177 * BufferView_pimpl.C (Dispatch): changes because of this.
14179 * LyXAction.C (init): rename open-stuff to inset-toggle.
14181 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14183 * text2.C (toggleInset): renamed from openStuff; use
14186 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14188 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14190 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14192 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14194 * buffer.C (readLyXformat2): Add filename to the error dialog
14196 2001-07-18 Juergen Vigna <jug@sad.it>
14198 * tabular.C (GetCellNumber): put an assert here instead of the check!
14200 2001-07-17 Juergen Vigna <jug@sad.it>
14202 * BufferView_pimpl.C (toggleSelection): adapted too.
14204 * text.C (selectNextWord): adapted for use with insets.
14205 (selectSelectedWord): ditto
14207 2001-07-17 Juergen Vigna <jug@sad.it>
14209 * sp_spell.C (PSpell): fix initialitation order.
14211 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14213 * paragraph.C: spacing
14215 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14217 * sp_spell.C: repair language selection for pspell
14219 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14221 * lyxfunc.h: change more methods to begin with lower char.
14223 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14225 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14226 for unknown layouts.
14228 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14230 * buffer.C (readLyXformat2): Generate an error dialog if there are
14233 2001-07-16 Juergen Vigna <jug@sad.it>
14235 * sp_spell.C: always compile ISpell part.
14237 * lyxrc.C: added use_pspell entry and it's handling.
14239 2001-07-13 Juergen Vigna <jug@sad.it>
14241 * sp_spell.C: removed double includes.
14243 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14245 Consistent use of Lsstream.h:
14246 * Lsstream.h: added using std::stringstream for consistencies sake.
14248 * buffer.C: removed using std::stringstream
14250 * lyxfont.C (stateText):
14251 * paragraph.C (asString):
14252 * text.C (selectNextWord, selectSelectedWord):
14253 * text2.C (setCounter):
14254 * vspace.C (asString, asLatexString):
14255 std::ostringstream -> ostringstream.
14257 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14259 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14260 * commandtags.h: add LFUN_HELP_ABOUTLYX
14261 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14263 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14265 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14267 * lyx_gui_misc.C: remove spellchecker
14268 * lyxfunc.C: showSpellchecker
14270 * sp_ispell.h: added
14271 * sp_pspell.h: added
14272 * sp_spell.C: added
14273 * sp_form.[Ch]: removed
14274 * spellchecker.[Ch]: removed
14276 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14278 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14280 (simpleTeXSpecialChars): Simply print the input character without
14281 any special translation if pass_thru is set.
14283 * layout.h: Added bool pass_thru to layout class for being able to
14284 implement pass through of a paragraph for Literate Programming.
14286 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14287 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14288 * layout.C (Read): add "passthru" to list of layout tags and add
14289 code to set the pass_thru boolean when it is read.
14291 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14293 * trans_decl.h: remove allowed from KmodInfo
14295 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14296 remove allowed code
14299 * paragraph_pimpl.C (erase): use boost::prior
14301 * Painter.C (text): use data() instead of c_str() when length is
14303 * WorkArea.C (putClipboard): ditto
14304 * font.h (width): ditto
14306 * BufferView2.C: use it-> instead of (*it). for iterators
14308 * paragraph_pimpl.C: ditto
14309 * paragraph.C: ditto
14310 * minibuffer.C: ditto
14311 * language.C: ditto
14313 * encoding.C: ditto
14314 * counters.C: ditto
14315 * converter.C: ditto
14317 * Variables.C: ditto
14318 * TextCache.C: ditto
14319 * MenuBackend.C: ditto
14320 * LyXAction.C: ditto
14322 * FloatList.C: ditto
14323 * DepTable.C: ditto
14324 * ColorHandler.C (LyXColorHandler): ditto
14326 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14328 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14330 * text2.C (openStuff): reintroduce this method (which had been
14331 nuked in NEW_INSETS frenzy).
14333 * lyxfunc.C (Dispatch): when an action has not been handled, use
14334 its name in the error message, not its number.
14336 * paragraph.C (inInset): change method name to begin with lowercase.
14339 * text2.C: updates because of this.
14341 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14343 * ToolbarDefaults.C (add): add spaces in error message
14345 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14347 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14348 (readLyXformat2): rename return_par to first_par, use lyxlex's
14349 pushToken and remove the manual push handling.
14350 (parseSingleLyXformat2Token): add another ert comp. variable:
14351 in_tabular, rename return_par to first_par. handle newlines better
14353 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14355 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14357 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14359 * text2.C (getParFromID): removed
14361 * buffer.C (getParFromID): new method moved form lyxtext.
14362 * BufferView2.C (insertErrors): adjust
14363 (setCursorFromRow): adjust
14364 * BufferView_pimpl.C (restorePosition): adjust
14365 * lyxfunc.C (Dispatch): adjust
14366 * undo_funcs.C (textUndo): adjust
14368 (textHandleUndo): adjust
14369 (textHandleUndo): adjust
14371 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14373 * buffer.C: up' the LYX_FORMAT
14375 * lyxfont.h: turn NO_LATEX on as default
14377 * buffer.C (insertErtContents): new methods of tex style compability.
14378 (parseSingleLyXformat2Token): use it several places.
14379 * tabular.C (OldFormatRead): and here
14381 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14383 * text2.C: remove some commented code.
14386 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14387 * trans.C: changes because of the above.
14389 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14391 * text2.C (setCounter): Fix counters bug with bibliography layout.
14393 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14395 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14396 own member functions
14397 (simpleTeXSpecialChars): ditto
14399 2001-07-06 Juergen Vigna <jug@sad.it>
14401 * a lot of files: changed the access to LyXText::status and the
14402 call of undo-functions.
14404 * undo.[Ch]: added a inset_id to the undo informations.
14406 * undo_funcs.[Ch]: added and moved here all undo functions.
14408 * lyxtext.h: give the status enum a weight, made status_ a private
14409 variable and made accessor functions for it, removed the whole bunch
14410 of undo-functions as they are now in their own file, make some
14411 functions publically available. Added function ownerParagraph with
14414 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14415 made InInset() a const function, added getParFromID() function.
14417 * buffer.[Ch]: added const version for inset_iterator functions,
14418 added getInsetFromID() function.
14420 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14421 changed undo functions for new version.
14423 2001-07-05 Juergen Vigna <jug@sad.it>
14425 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14426 unknow mechanism does not call the proper constructor but only this
14427 one also if I request the other!?
14429 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14431 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14433 * text2.C (LyXText): use initialization lists.
14435 * lyxtext.h (Selection): initialize set_ and mark_
14436 (init): remove method
14438 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14440 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14442 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14444 * screen.[Ch]: change method names to begin with lowercase
14446 * BufferView_pimpl.C (updateScrollbar): simplify further and
14447 hopefully make it a bit faster.
14449 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14451 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14452 calling directly xforms functions.
14454 * Painter.C (Painter):
14455 * lyx_cb.C (MenuWrite):
14456 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14459 * lyx_gui.C: remove bogus guiruntime extern declaration.
14461 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14463 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14465 (redoDrawingOfParagraph): ditto
14466 (redoParagraphs): ditto
14467 (cutSelection): don't create a object for CutAndPaste use the
14468 static method directly
14469 (pasteSelection): ditto
14471 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14474 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14476 * modifications to some other files because of this.
14478 * Makefile.am (lyx_SOURCES): add XFormsView
14480 * XFormsView.[Ch]: new files
14482 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14483 the main window. Move the gui dependent stuff to XFormsView
14485 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14487 * tabular.C (GetCellInset): update cur_cell also in the row/col
14488 version of this function.
14490 * lyxfunc.C: no need to include figure_form.h here.
14496 * lyxvc.C: no need to include forms.h here.
14498 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14500 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14502 * lyxfunc.C (Dispatch):
14504 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14505 constructor argument.
14507 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14509 * paragraph.C (Paragraph): dont't clear, and just set layout.
14510 (makeSameLayout): use params's copy contructor.
14512 * ParagraphParameters.[Ch] (makeSame): delete method
14514 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14516 * Variables.[Ch]: fix indentation, rename set to isSet
14518 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14520 * lyxfunc.C (Dispatch): fix typo
14522 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14524 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14527 * bufferlist.C: include assert.h for emergencyWrite().
14529 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14531 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14532 give up at last (bug #425202) !
14534 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14540 * spellchecker.C: strip spellchecker options and bring up
14541 preferences tab instead
14543 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14545 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14546 the istringstream constructor
14548 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14550 * paragraph.C (getLayout): fix return value
14552 * paragraph.h: do not declare getLayout as inline.
14554 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14556 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14558 * lyxcursor.h (operator<): new func
14559 (operator>): new func
14560 (operator>=): new func
14561 (operator<=): new func
14563 * text.C (changeCase): use selection.start and selection.end
14564 (changeRegionCase): require from to be <= to. Require par to be a
14567 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14569 2001-06-27 Juergen Vigna <jug@sad.it>
14571 * text.C (cursorLeftOneWord): changed to return the cursor and added
14572 overlay with BufferView * parameter which calls this one.
14574 (selectWord): use new getWord function.
14575 (changeCase): renamed from changeWordCase as and extended to work
14576 also on selections.
14578 * lyxtext.h: added enum word_location
14580 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14581 changeCase as this operates now also on selections.
14583 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14585 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14587 * many files: send debug output to Debug::INFO instead of
14590 * converter.C (View):
14592 (Move): send debug output to Debug::FILES instead of console.
14594 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14596 * lyxfunc.C (getStatus): use func_status
14598 * func_status.h: new header, describing the results of
14599 LyXFunc::getStatus;
14601 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14604 2001-06-25 The LyX Project <jug@sad.it>
14606 * buffer.C (sgmlOpenTag):
14608 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14610 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14612 * text2.C: remove some dead code
14614 * tabular.C (GetCellInset): store the last cell checked (gotten)
14616 * tabular.h: add the helper for the speedup
14618 * lyxtext.h: remove some dead code
14620 2001-06-26 The LyX Project <Asger>
14622 * paragraph.C: Change export to LaTeX of alignment to
14623 \begin{center} and family for better roundtrip work with reLyX.
14625 * Tune the math drawing a bit.
14627 2001-06-25 The LyX Project <Asger>
14629 * LColor.C (LColor): New color for math background. New color
14632 2001-06-25 The LyX Project <jug@sad.it>
14634 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14636 * lyxfunc.C (Open):
14637 * bufferlist.C (newFile): do not restrict to files ending with
14640 * BufferView_pimpl.C (MenuInsertLyXFile):
14642 2001-06-24 The LyX Project <jug@sad.it>
14644 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14647 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14649 * lyxtext.h: rename most methods to begin with a small char.
14650 Lots of changes because of this.
14652 * paragraph.C (Paragraph): do not call fitToSize
14653 (erase): call Pimpl::erase
14654 (insertChar): call Pimpl::insertChar
14655 (insertInset): call Pipl::insertInset
14656 (breakParagraph): do not call fitToSize
14657 (breakParagraphConservative): do not call fitToSize
14658 (fitToSize): remove method
14660 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14662 2001-06-24 The LyX Project <Asger>
14664 * Fix Qt compilation^2
14666 2001-06-24 The LyX Project <jug@sad.it>
14668 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14669 depthHook(getDepth()-1).
14672 * ParagraphParameters.h:
14673 * ParameterStruct.h: change type of depth to unsigned int ==
14674 depth_type. Many adaptations to other files before of that.
14676 2001-06-24 The LyX Project <Asger>
14678 * Fix Qt compilation.
14680 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14682 * paragraph.h: renamed several methods to begin with small letter.
14683 several changes to many parts of the code because of this.
14685 2001-06-23 The LyX Project <jug@sad.it>
14687 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14688 rewritten to discard all double spaces when KeepEmpty is off
14689 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14690 to only handle newlines but not fiddle with spaces and friends.
14692 * lyxfunc.C (MenuNew): when doing 'new from template', use
14693 template_path as default directory
14695 2001-06-23 The LyX Project <Asger>
14697 * Clean-up of header file includes all over
14698 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14700 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14702 * paragraph.h: renamed from lyxparagraph.h
14704 2001-06-23 Asger <lyx@violet.home.sad.it>
14706 * Buffer.h: Removed Buffer::resize
14707 * BufferList.h: Removed BufferList::resize
14708 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14709 the document lazily when we change the width, or the font settings.
14711 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14713 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14715 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14717 * buffer.h: remove out of date comment
14719 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14722 * screen.C: fix "theoretical" GC leak
14724 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14726 * LaTeX.C (scanAuxFile):
14727 (deplog): remove trailing \r when reading stream (useful under
14730 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14732 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14733 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14734 and BufferView::theLockingInset(Inset*), so should use them and not
14735 access bv_->text->the_locking_inset directly.
14737 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14739 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14742 * tex-defs.h: remove old unused file
14744 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14746 * BufferView_pimpl.C: fix typo, remove minibuffer message
14747 when buffer has loaded
14749 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14751 * lyxfunc.C (Dispatch): use stringstream
14752 (MenuNew): use stringstream
14753 (Open): use stringstream
14755 * importer.C (Import): use stringstream
14757 * bufferview_funcs.C (CurrentState): use stringstream
14759 * LaTeX.C (run): use stringstream
14761 * BufferView_pimpl.C (savePosition): use stringstream
14762 (restorePosition): use stringstream
14763 (MenuInsertLyXFile): use stringstream
14765 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14778 * vspace.C: removed // -*- C++ -*- as first line.
14781 * version.h: added // -*- C++ -*- as first line.
14783 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14785 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14787 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14790 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14792 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14795 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14797 * gettext.C: include LString.h even when --disable-nls is on.
14799 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14801 * converter.h (Get): changed argument type from int to
14802 FormatList::size_type to avoid unnecessary conversion.
14804 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14807 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14809 * gettext.h: include LString.h even when --disable-nls is on.
14811 2001-06-07 Juergen Vigna <jug@sad.it>
14813 * text.C (BreakAgain): subst spaces with tabs.
14815 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14816 (resizeInsetsLyXText): set force on resizeLyXText.
14818 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14820 * gettext.h (gettext_init):
14821 (locale_init): use a real definition instead of a macro
14823 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14825 * Bufferview_pimpl.C:
14827 * LColor.C: further lcolor tidies
14829 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14831 * BufferView_pimpl.C (updateScrollbar): simplify.
14833 * BufferView2.C: don't include insets/insetinfo.h, change
14834 prototype for insertInset and call the Pimpl version. let
14835 updateInset call Pimpl version.
14837 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14838 gotoInset to BufferView::Pimpl
14840 2001-06-01 Juergen Vigna <jug@sad.it>
14842 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14843 inside a LockingInset (is the update needed at all?).
14845 2001-05-31 Juergen Vigna <jug@sad.it>
14847 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14848 here not the old one otherwise how should we compare it afterwards
14851 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14856 * FontInfo.C: bring C functions into global namespace when
14859 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14861 * LString.h: make sure config.h has been loaded before LString.h.
14863 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14864 (one for each char read by EatLine!).
14866 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14869 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14871 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14872 to the same as the par we break from
14874 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14876 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14878 * MenuBackend.C (expand): also create menu entries for wide
14879 versions of the floats.
14881 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14883 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14885 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14886 frontends/Makefile.am
14892 * tabular.C (getTokenValue): add std::
14894 * tabular-old.C (getTokenValue): add std::
14895 (getTokenValue): ditto
14896 (getTokenValue): ditto
14898 * screen.C (ToggleSelection): adjust
14900 * lyxtext.h: put selection cursors inside a Selection struct.
14902 * lyxfunc.C (moveCursorUpdate): adjust
14904 * lyxfont.C (latexWriteStartChanges): add std::
14906 * lyxfind.C: adjust
14908 * font.h: delete with(char const *, LyXFont const &)
14910 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14912 * FontInfo.C (getFontname): add std::
14914 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14915 (workAreaButtonPress): adjust
14916 (tripleClick): adjust
14918 (moveCursorUpdate): adjust
14921 * BufferView2.C (gotoInset): adjust
14923 2001-05-30 Juergen Vigna <jug@sad.it>
14925 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14926 to check pspell I add this as default as I now have new pspell
14927 libraries and they seem to use this.
14929 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14931 * text2.C (CutSelection): make the cursor valid before the call to
14934 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14936 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14937 relied on 0 terminated strings and other horrors. Bug found due to
14938 the new assert in lyxstring!
14940 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14943 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14945 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14948 * lyxfunc.C (processKeySym): change method of getting to the
14951 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14952 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14953 * BufferView_pimpl.[Ch]: here as private methods.
14955 2001-05-28 Juergen Vigna <jug@sad.it>
14957 * text.C (SetHeightOfRow): added the update() call again as it is
14958 needed to initialize inset dimensions!
14960 2001-05-16 Juergen Vigna <jug@sad.it>
14962 * text2.C (SetCharFont): Add new function with BufferView * and
14963 bool toggleall parameters for setting insets internal fonts.
14964 (SetFont): Freeze the undo as we may change fonts in Insets and
14965 all this change should be inside only one Undo!
14967 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14968 setting font's in insets as for them we have the SetFont function!
14970 2001-05-15 Juergen Vigna <jug@sad.it>
14972 * text2.C (ClearSelection): to be sure we REALLY don't have any
14975 * tabular.C (TeXCellPreamble): fixed the left border problem for
14978 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14980 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14983 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14985 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14986 LFUN_BREAKPARAGRAPH.
14988 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14989 help test to "internal only", similar for LFUN_INSERT_URL
14991 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14992 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14993 auto_region_delete and deadkeys.
14995 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14998 * LColor.C: remove some dead entries, tidy a little
15000 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15002 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15004 (Dispatch): implement LFUN_ESCAPE
15006 * commandtags.h: add LFUN_ESCAPE
15008 * LyXAction.C (init): add entry for LFUN_ESCAPE
15010 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15011 Remove commented code.
15012 (insertNote): moved here
15013 (open_new_inset): moved here
15015 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15018 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15020 * kbmap.C (findbinding): clean it up and make it work correctly.
15022 * lyx_main.C (init): do not pass argc and argv as parameters
15024 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15026 * buffer.C: fix path for OS/2 & Win32
15030 * lyx_main.C: Added os:: class.
15032 * os2_defines.h: update
15034 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15036 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15037 better by trying again with reduced state.
15039 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15041 * lyxrc.C (read): print error about invalid key sequence only when
15042 debugging (because not all latinX keysyms are known to some X
15045 * kbsequence.C (getiso): add a few std:: qualifiers
15046 (getiso): comment out extra return statement.
15048 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15050 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15052 (Dispatch): enhance the accent inset a bit. (not perfect)
15054 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15056 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15058 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15060 * bufferlist.C (emergencyWrite): fix assert() call
15062 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15064 * text.C (InsertChar): Added trivial patch to only send the "you
15065 can not do multiple spaces this way" message once during a
15068 2001-05-08 Baruch Even <baruch@lyx.org>
15070 * Makefile.am: Changed order of libraries to get LyX to link properly
15071 with the gnome frontend.
15073 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15075 * LaTeXFeatures.h: add a std:: qualifier
15077 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15079 * paragraph.C (String): use stringstream
15081 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15083 * paragraph.C (writeFile): remove footflag arg
15085 * buffer.C (makeLaTeXFile): use stringstream
15086 (latexParagraphs): remove footnot gurba
15088 * LaTeXFeatures.C (getPackages): use stringstream
15089 (getMacros): likewise
15090 (getTClassPreamble): likewise
15091 (getFloatDefinitions): new method
15093 * paragraph.C (writeFile): reindent
15096 * WorkArea.h: revert the xpos + etc changes.
15098 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15100 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15102 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15103 (pasteSelection): likewise
15104 * text2.C (CreateUndo): likewise
15106 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15108 * minibuffer.C (peek_event): temporarily reduce the functionality
15109 of the minibuffer (to allow args on lfuns)
15111 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15112 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15114 * buffer.C (readInset): add compability reading of old float
15115 lists, add reading of new style float list.
15116 (readInset): avoid reevaluation of inscmd.getCmdName()
15117 (getLists): reindent
15119 * MenuBackend.C (MenuItem): implement parsing of
15120 md_floatlistinsert and md_floatinsert.
15121 (expand::LastFiles): move initalizaton of iterators out of loop,
15122 avoid reevaluation.
15123 (expand::Documents): introduce typdedef vector<string> Strings,
15125 (expand::ExportFormats): introduce typedef vector<Format const *>
15126 Formats, and use it.
15127 (expand): implement FloatListInsert and FloatInsert.
15129 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15130 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15131 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15133 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15135 (Dispatch::LFUN_FLOAT_LIST): implement
15137 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15139 * LaTeX.C (run): Fix problem with --export code.
15141 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15143 * BufferView.[Ch] (workarea): removed.
15144 (getClipboard) new method; wrapper for workarea()->getClipboard()
15146 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15149 * WorkArea.h (width, height, xpos, ypos): These methods all
15150 returned the dimensions of the work_area sub-area of WorkArea,
15151 resulting in a position error if the WorkArea were resized. Now
15152 return the dimensions of the entire WorkArea.
15154 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15156 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15158 * LaTeX.C (deplog): correct the syntax of regex reg1
15160 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15162 * undo.C: remove !NEW_INSETS cruft
15164 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15166 * text2.C: remove !NEW_INSETS cruft
15168 * text.C: remove !NEW_INSETS cruft
15170 * tabular.C: remove !NEW_INSETS cruft
15172 * spellchecker.C: remove !NEW_INSETS cruft
15174 * lyxtext.h: remove !NEW_INSETS cruft
15176 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15178 * lyxfunc.C: remove !NEW_INSETS cruft
15180 * lyxfind.C: remove !NEW_INSETS cruft
15182 * lyx_cb.C: remove !NEW_INSETS cruft
15184 * figureForm.C: remove !NEW_INSETS cruft
15186 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15188 * buffer.[Ch]: remove !NEW_INSETS cruft
15190 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15192 * CutAndPaste.C: remove !NEW_INSETS cruft
15194 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15196 * BufferView2.C: remove !NEW_INSETS cruft
15198 * BufferView.h: remove !NEW_INSETS cruft
15200 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15202 * Lsstream.h: include LString.h before the sstream headers to
15203 fix problem with gcc 2.95.3 and lyxstring
15205 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15207 * lyx_main.C: add using directives when needed for C functions
15208 declared in std:: namespace.
15210 2001-04-27 Juergen Vigna <jug@sad.it>
15212 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15213 (SetHeightOfRow): comment out the update call should not be needed!
15215 2001-04-13 Juergen Vigna <jug@sad.it>
15217 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15218 (LyXTabular): tried to minimize operator= operations (and realized
15219 hopfully Lars wish).
15221 2001-04-27 Juergen Vigna <jug@sad.it>
15223 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15225 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15227 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15229 * buffer.C (readInset): hack to make listof algorithm work
15231 * BufferView_pimpl.C: hack to make listof algorithm work
15233 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15235 * LyXAction.C: removed all !NEW_INSETS cruft
15236 (init): moved lfun_item in method
15238 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15240 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15242 * BufferView2.C (theLockingInset): white space.
15244 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15246 * minibuffer.C: include <iostream>
15248 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15250 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15252 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15254 * text.[Ch] (TransposeChars): new method
15256 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15258 * call message directly through LyXView instead of through LyXFunc
15259 * BufferView2.C: adjust
15260 * BufferView_pimpl.C: adjust
15261 * FontLoader.C: adjust
15263 * bufferview_funcs.C: adjust
15264 * converter.C: adjust
15265 * figureForm.C: adjust
15266 * importer.C: adjust
15268 * lyx_gui_misc.C: adjust
15269 * lyxfunc.C: adjust
15272 + more files in subdirs
15274 * lyxparagraph.h (size): move up int file
15277 * adjust all uses of Assert to lyx::Assert.
15279 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15280 lyxfunctional in namespace lyx
15281 * layout.C (hasLayout): ditto
15284 (delete_layout): ditto
15285 (NumberOfClass): ditto
15286 * converter.C (GetFormat): ditto
15291 * bufferlist.C (getFileNames): ditto
15292 (emergencyWriteAll): ditto
15295 * MenuBackend.C (hasSubmenu): ditto
15298 * BufferView_pimpl.C (getInsetByCode): ditto
15300 2001-04-18 Juergen Vigna <jug@sad.it>
15302 * vspace.C (asLatexString): fixed the 100% problem.
15304 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15306 * lyxfunc.C (Dispatch):
15308 * minibuffer.h: add a few std:: qualifiers
15310 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15312 * minibuffer.[Ch]: reimplement so that commands is initiated and
15313 run from lyxfunc, simplified som handling, and made the completion
15314 and history code for complete. wip.
15316 * lyxfunc.C (processKeySym): call message
15317 (miniDispatch): new temporary method
15318 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15319 (LFUN_MESSAGE): implement
15320 (LFUN_MESSAGE_PUSH): implement
15321 (LFUN_MESSAGE_POP): implement
15322 (initMiniBuffer): the initial/defualt minibuffer message.
15324 * lyxfont.[Ch]: inline some more getters
15326 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15328 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15330 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15331 (AutoSave): use LFUN_MESSAGE
15332 (Reconfigure): ditto
15334 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15336 * figureForm.C: use LFUN_MESSAGE
15338 * converter.C (runLaTeX): use LFUN_MESSAGE
15340 * bufferview_funcs.C: use LFUN_MESSAGE
15342 (changeDepth): ditto
15344 * bufferparams.h: use boost::
15346 * bufferlist.h: inherit privately from noncopyable
15348 * bufferlist.C (loadLyXFile): remove some commented code.
15350 * buffer.C (runChktex): use LFUN_MESSAGE
15352 * ShareContainer.h: inherit privately from noncopyable
15354 * ParagraphParameters.[hC] (depth): inline it.
15356 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15358 (message): new method
15359 (messagePush): ditto
15360 (messagePop): ditto
15361 (show): init minibuffer
15362 (showState): direct call
15364 * LaTeX.[Ch]: inherit privately from noncopyable
15365 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15366 instead of WriteStatus.
15368 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15370 * BufferView_pimpl.C (buffer): don't init minibuffer
15371 (workAreaButtonPress): use LFUN_MESSAGE
15372 (workAreaButtonRelease): ditto
15373 (savePosition): ditto
15374 (restorePosition): ditto
15375 (MenuInsertLyXFile): ditto
15376 (workAreaExpose): don't init minibuffer
15377 (update): remove commented code, simplify
15379 * BufferView2.C (openStuff): use LFUN_MESSAGE
15380 (toggleFloat): ditto
15383 (copyEnvironment): ditto
15384 (pasteEnvironment): ditto
15389 (updateInset): remove some commented code
15391 * lastfiles.h: inherit privately from noncopyable
15394 * lyx_main.h: ditto
15396 * lyxlex_pimpl.h: ditto
15398 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15399 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15400 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15402 * LyXAction.h: inherit privately from noncopyable, add methods
15403 func_begin, func_end, returning iterators to the func map.
15405 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15406 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15407 (func_begin): new method
15408 (func_end): new method
15410 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15412 (copySelection): ditto
15413 (pasteSelection): ditto
15415 * BufferView.C: whitespace change
15416 * BufferView.h: inherit privately from noncopyable
15418 2001-04-16 Allan Rae <rae@lyx.org>
15420 * tabular-old.C (l_getline):
15421 * spellchecker.C (sc_check_word):
15422 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15423 an unrecognised preprocessor directive. So ensure they're wrapped.
15425 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15427 * src/exporter.C (Export): Give an error message when path to file
15430 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15432 * LaTeX.C (deplog): Always check that foundfile exists.
15434 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15437 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15439 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15441 * tabular.[Ch] (getLabelList): implement new method
15443 * minibuffer.h: comment ouf setTiimer
15445 * minibuffer.C (ExecutingCB): constify res
15446 (peek_event): constify s
15447 (Set): constify ntext
15448 (Init): constify nicename
15450 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15452 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15453 (savePosition): use two params to Minibuffer::Set
15454 (restorePosition): ditto
15456 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15458 * lyx_main.C: include language.h
15460 * Makefile.am (lyx_main.o): add language.h
15462 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15468 * CutAndPaste.C: include gettext.h
15470 * lyxfont.h: remove old hack with ON and OFF.
15473 * lyxfont.h: do not include language.h...
15478 * bufferview_funcs.C:
15484 * paragraph.C: ... but do it here instead
15486 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15488 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15490 * tabular.C: small reformat
15492 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15495 (BreakParagraph): ditto
15496 (SetOnlyLayout): ditto
15499 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15502 * lastfiles.C: removed most using decl, add std:: where needed
15504 * buffer.C: ws changes
15506 * MenuBackend.C (class compare_format): put into anon namespace
15507 (expand): constify label, names, action, action2
15510 * text.C (SingleWidth): constify font
15511 (IsBoundary): constify rtl2
15512 (GetVisibleRow): constify ww
15514 * LaTeX.C (deplog): constify logfile
15516 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15518 (workAreaExpose): constify widthChange, heightChange
15520 * lyxrow.C (par): moved
15523 * lyxrow.h: as inlines here
15525 * lyxfont.h (shape): moved from lyxfont.C
15526 (emph): moved from lyxfont.C
15528 * lyxfont.C (LyXFont): use initialization list for all
15530 (shape): move to lyxfont.h as inline
15531 (emph): move to lyxfont.h as inline
15534 2001-04-04 Juergen Vigna <jug@sad.it>
15536 * vspace.C: had to include stdio.h for use of sscanf
15538 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15541 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15542 independent of xforms.
15544 2001-04-02 Juergen Vigna <jug@sad.it>
15546 * spellchecker.C: fixed namespace placing!
15548 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15550 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15551 the LyXParagraph * is 0.
15553 2001-03-29 Juergen Vigna <jug@sad.it>
15555 * vspace.C: added support for %, c%, p%, l%.
15556 (stringFromUnit): added helper function.
15557 (asLatexString): changed to give right results for the %-values.
15559 * buffer.C: convert the widthp in a width%.
15561 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15563 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15566 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15567 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15569 * lyx_cb.[Ch]: see above.
15571 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15575 * lyx.[Ch]: replaced by figure_form.[Ch].
15579 * lyxfunc.C: changed headers associated with above changes.
15581 2001-03-27 Juergen Vigna <jug@sad.it>
15583 * BufferView_pimpl.C: set the temporary cursor right!
15585 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15587 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15589 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15591 * LString.h: removed "using std::getline"!
15593 * BufferView_pimpl.C (Dispatch): changes due to changes in
15594 InsetInclude::Params.
15596 * buffer.C (tag_name): removed redundant break statements as they were
15597 producing lots of warnings with my compiler.
15599 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15601 * LString.h: add "using std::getline" when using the real <string>.
15603 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15605 * buffer.C: removed bitset usage.
15606 PAR_TAG moved to an anonymous name space.
15607 (tag_name): new funtion, also in the anonymous namespace.
15608 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15609 (makeDocBookFile): clean code. Completed transition from string arrays
15611 (SimpleDocBookOnePar): code clean.
15613 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15615 * tabular.C: add some comments.
15617 2001-03-22 Juergen Vigna <jug@sad.it>
15619 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15620 compatibility read a bit and fixed bug with minipage in different
15623 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15625 * buffer.C (pop_tag): removed.
15626 (push_tag): removed.
15627 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15628 array replaced with vector. Added support for CDATA sections.
15629 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15631 (makeDocBookFile): XML conformant declaration of CDATA section,
15632 fixed bug related to <emphasis> in the first paragraph char.
15633 (sgmlOpenTag): exclude empty tags.
15634 (sgmlCloseTag): ditto.
15636 * buffer.h (pop_tag): removed.
15637 (push_tag): removed.
15639 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15641 * language.h (Languages): added size_type and size().
15643 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15645 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15646 response on compability reading of minipages. One probliem is that
15647 the old usage of minipages was «flertydig»
15649 * several files here and in subdirs: don't use static at file
15650 scope use anon namespaces instead.
15652 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15654 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15655 LaTeX output. This is necessary for Literate document
15658 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15660 * buffer.C: insert hfill when needed.
15662 * tabular.C (l_getline): use string::erase, small whitespace change.
15664 * BufferView_pimpl.C: try the anon namespace.
15665 * WorkArea.C: ditto
15667 2001-03-16 Juergen Vigna <jug@sad.it>
15669 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15670 otherwise it won't open options-dialogs.
15672 * buffer.C: honor pextraWidth(p) on converting minipages.
15674 * tabular.C (l_getline): changed the functions to strip trailing \r.
15676 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15678 * BufferView_pimpl.C:
15679 * minibuffer..C: added "using SigC::slot" declaration.
15681 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15683 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15689 * paragraph.C: ditto
15691 * lyxtext.h: NO_PEXTRA
15693 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15695 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15696 * ParameterStruct.h: ditto
15697 * ParagraphParameters.h: ditto
15698 * lyxparagraph.h: ditto
15700 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15702 * buffer.C: add compability for minipage alignment.
15703 (latexParagraphs): remove unwanted pextra check.
15705 * several files: remove CXX_WORKING_NAMESPACES
15707 * buffer.C (pop_tag): tie is in namespace boost
15709 * BufferView.h: noncopyable is in namespace boost
15711 * lyx_main.h: ditto
15714 * lastfiles.h: ditto
15715 * bufferlist.h: ditto
15716 * ShareContainer.h: ditto
15718 * LyXAction.h: ditto
15721 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15723 * Merging changes from BRANCH_MVC back into HEAD.
15725 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15727 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15729 * BufferView_pimpl.C: change from intl.C
15733 * Makefile.am: move combox.*
15739 * intl.C: remove dialog (covered by prefs)
15741 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15743 * lyxfunc.C (Dispatch): removed redundant break statement.
15745 2001-03-14 Juergen Vigna <jug@sad.it>
15747 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15749 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15751 * buffer.C: add hack to fix compability reading of minipages.
15753 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15755 * buffer.C (getLists): Cleanup.
15757 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15759 * lyxfont.C (update): don't honor toggleall on font size.
15761 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15765 * Makefile.am: moved to frontends/xforms/
15769 * BufferView_pimpl.C: changes for moved mathpanel
15771 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15773 * gettext.h: fix gettext_init() in --disable-nls
15775 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15777 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15779 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15782 * lyx.h: strip external form
15784 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15786 * BufferView_pimpl.C: add comment, destroySplash()
15788 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15790 * BufferView_pimpl.C:
15794 * lyxfunc.C: use re-worked insetinclude
15796 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15798 * buffer.C: add using std::stringstream.
15800 * lyx_cb.C: readd using std::ios.
15802 * buffer.C: add using std::map.
15804 * BufferView_pimpl.C: add using std::vector.
15806 * ShareContainer.h: add std:: to swap.
15808 * buffer.h: add some typedefs
15809 * buffer.C (getLists): use them
15810 (getLists): renamed from getTocList.
15811 add a counter for the different float types and use it in the
15813 (getLists): use the same counter for the NEW_INSETS and the "non"
15816 * lyx_cb.h: remove unused items, includes, using etc.
15818 * ShareContainer.h: remove some commented code, add more comments
15819 and "documentation".
15821 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15823 * buffer.C (getTocList): make the list also when NEW_INSETS is
15826 * buffer.h: remove TocType
15828 * buffer.C (getTocList): change to return a map<string,
15829 vector<TocItem> >, implement for dynamic number of list.
15831 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15832 * text2.C (PasteSelection): adjust
15833 * CutAndPaste.C (pasteSelection): adjust
15835 * FloatList.C (FloatList): update from the new_insets branch.
15836 * Floating.[Ch]: ditto
15837 * LaTeXFeatures.C: ditto
15839 * lyxlex_pimpl.C: ditto
15841 * paragraph.C (Last): remove when NEW_INSETS is defined.
15843 * other file: changes because of the above.
15845 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15847 * lyxparagraph.h: rename next to next_, previous to previous_,
15848 make them private for NEW_INSETS. Rename Next() to next(),
15849 Previous() to previous().
15851 * other files: changes because of the above.
15853 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15856 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15859 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15861 * main.C (main): pass lyx_localedir to gettext_init().
15863 * gettext.h: remove locale_init and gettext_init macros
15865 * gettext.C (locale_init): new function
15866 (gettext_init): new function
15868 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15871 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15873 * Moved credits to frontends:
15874 * credits.[Ch]: removed
15875 * credits_form.[Ch]: removed
15876 * lyx_gui_misc.C: remove credits stuff
15879 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15881 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15883 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15884 unneeded destructor.
15886 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15887 a standalone pointer again.
15889 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15891 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15897 * ToolbarDefaults.C:
15906 * BufferView_pimpl.C: use new file dialog in GUII
15909 * lyx_cb.C: remove LayoutsCB to Toolbar
15911 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15913 * ShareContainer.h (get): add std:: qualifier
15915 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15917 * ShareContainer.h: define a proper ShareContainer::value_type
15918 type (and use typename to please compaq cxx)
15920 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15922 * lyxparagraph.h: move serveral local vars to
15923 ParameterStruct/ParagraphParameters., use ShareContainer in
15924 FontTable., make vars in FontTable private and add getter and
15927 * paragraph.C: changes because of the above.
15929 * lyxfont.h: remove copy constructor and copy assignment. (the
15930 default ones is ok), move number inside FontBits. move inlines to
15933 * lyxfont.C: add number to initializaton of statics, move several
15934 inlines here. constify several local vars. some whitespace
15935 cleanup. Dont hide outerscope variables.
15937 * Spacing.h: add two new constructors to match the set methods.
15939 * ShareContainer.h: new file, will perhaps be moved to support
15941 * ParameterStruct.h: new file
15943 * ParagraphParameters.h: new file
15945 * ParagraphParameters.C: new file
15947 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15948 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15950 * BufferView_pimpl.C: ParagraphParameter changes.
15951 * buffer.C: Likewise.
15952 * bufferview_funcs.C: Likewise.
15953 * text.C: Likewise.
15954 * text2.C: Likewise.
15956 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15958 * lyxfind.C (LyXReplace): do not redefine default argument in
15960 (IsStringInText): ditto
15961 (SearchForward): ditto
15962 (SearchBackward): ditto
15964 2001-03-06 Juergen Vigna <jug@sad.it>
15966 * lyxfind.C (IsStringInText): put parentes around expressions.
15968 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15970 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15972 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15974 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15976 * stl_string_fwd.h: add comment
15978 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15981 * tabular.C: remove unused DocBook methods
15987 killed DO_USE_DEFAULT_LANGUAGE
15989 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15991 * lyx_gui.C: do not include language.h.
15993 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15994 arguments in function implementation.
15996 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15998 * BufferView_pimpl.C: add <ctime>
16000 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16002 * BufferView_pimpl.C: add using std::find_if
16004 2001-02-27 José Matos <jamatos@fep.up.pt>
16006 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16009 2001-02-11 José Matos <jamatos@fep.up.pt>
16011 * buffer.C (makeDocBookFile): command styles now have a parameter as
16012 "title" by default.
16014 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16016 * layout_forms.[Ch]: removed
16017 * lyx_cb.[Ch]: out character
16018 * lyx_gui.C: out character
16019 * lyx_gui_misc.C: out character
16020 * bufferview_funcs.C: : out character,
16021 added toggleall as parameter in ToggleAndShow
16023 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16025 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16027 * text2.C (SetCurrentFont): Disable number property at boundary.
16029 2001-02-26 Juergen Vigna <jug@sad.it>
16031 * lyxfunc.C (getStatus): added a string argument override function so
16032 that this is correctly called from LyXFunc::Dispatch if it contains a
16033 do_not_use_argument which is used!
16034 (Dispatch): added check for "custom" export and call appropriate func.
16036 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16038 * lyxrc.C: Add language_command_local, language_use_babel and
16039 language_global_options.
16041 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16043 * buffer.C (makeLaTeXFile): Use language_use_babel and
16044 language_global_options.
16046 2001-02-23 Juergen Vigna <jug@sad.it>
16048 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16049 which works with LyXText and putted it inside BufferView. Here now we
16050 only call for that part the BufferView::Dispatch() function.
16052 * BufferView.C (Dispatch): added.
16054 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16055 functions which needs to use a LyXText over from LyXFunc.
16056 (MenuInsertLyXFile): added
16057 (getInsetByCode): added
16058 (moveCursorUpdate): added
16059 (static TEXT): added
16061 2001-02-22 Juergen Vigna <jug@sad.it>
16063 * BufferView_pimpl.C (update): call a status update to see if LyXText
16066 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16068 * vc-backend.C (revert): implement for CVS
16069 (getLog): implement for CVS
16071 2001-02-20 Juergen Vigna <jug@sad.it>
16073 * text2.C (ClearSelection): added BufferView param for inset_owner call
16075 * lyxfunc.C (TEXT): added this function and use it instead of
16076 directly owner->view()-text of getLyXText().
16078 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16080 * src/layout_forms.C: out preamble
16081 * src/layout_forms.h: out preamble
16082 * src/lyx_cb.C: out preamble
16083 * src/lyx_cb.h: out preamble
16084 * src/lyx_gui.C: out preamble
16085 * src/lyx_gui_misc.C: out preamble
16086 * src/lyxfunc.C: connect with guii preamble
16088 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16090 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16092 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16094 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16095 whether to run bibtex.
16097 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16099 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16101 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16103 * Makefile.am (lyx_SOURCES): removed bibforms.h
16105 * vspace.h: doxygen
16107 * text.C (GetVisibleRow): make several local vars const
16109 * tabular.C: small cleanup.
16111 * lyxserver.C (callback): use compare instead of strncmp
16113 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16114 inlines to after class or to paragraph.C
16116 * lyxfont.h: remove friend operator!=
16118 * converter.h: move friend bool operator< to non friend and after
16121 * combox.h: small cleanup
16123 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16124 to inlines after class def.
16126 * buffer.C (pop_tag): use string operations instead of strcmp
16128 * bmtable.c: doxygen, small cleanup
16130 * LaTeX.h: remove friend operator==
16132 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16144 * BufferView_pimpl.C:
16145 * BufferView.[Ch]: remove cruft
16147 2001-02-14 Juergen Vigna <jug@sad.it>
16149 * lyxfunc.C: removed #if 0 unused code
16151 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16153 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16155 * text2.C (SetSelection): added a BufferView * parameter
16157 2001-02-13 Juergen Vigna <jug@sad.it>
16159 * lyxfunc.C (Dispatch): fixed protected blank problem.
16160 * BufferView2.C (protectedBlank): added LyxText * parameter.
16162 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16163 (AppendColumn): same as above for column_info.
16165 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16166 (moveCursorUpdate): use a LyXText param for support of InsetText.
16168 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16169 (tripleClick): ditto
16171 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16173 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16175 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16177 * text2.C (SetSelection): set correct update status if inset_owner
16178 (ToggleFree): ditto
16180 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16182 * tabular.C: remove some commented code.
16184 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16186 * BufferView_pimpl.C: call hideSplash()
16188 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16191 * bibforms.h: remove
16194 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16195 add LFUN_CHILD_CREATE
16197 * counters.h: fix tiny typo
16202 * lyx.C: move splash to frontends/xforms/
16204 * lyx_gui_misc.C: move Include and Bibform to frontends
16206 * lyxvc.h: clarify comment
16208 * vspace.C: tiny housekeeping
16210 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16212 * text.C (PrepareToPrint): RTL Fix.
16214 * paragraph.C (GetUChar): New method.
16215 (String): Use GetUChar.
16217 * buffer.C (asciiParagraph): Use GetUChar.
16219 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16221 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16223 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16226 * buffer.C: rename to getLogName(), handle
16227 build log / latex log nicely
16229 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16232 * MenuBackend.h: remove support for reference menuitem type.
16234 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16236 * BufferView_pimpl.C: housekeeping
16237 * BufferView_pimpl.h:
16242 * minibuffer.h: move Timeout GUI-I
16244 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16246 * lyxrc.C (read): Update converters data-structures.
16248 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16250 * LaTeX.h (operator!=): add operator != for Aux_Info
16252 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16254 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16256 * LaTeXLog.C: deleted, useful code moved to Buffer
16259 * buffer.C: new function getLatexLogName()
16265 * lyxfunc.C: use frontends for LaTeX and VC logs
16267 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16269 * LaTeX.h: yet another std:: that Allan forgot.
16271 * Variables.C (set): renamed from isset(), because this clashes
16272 with some HP-UX macros (grr).
16274 2001-02-06 Allan Rae <rae@lyx.org>
16276 * LaTeX.h: Another bug fix. Missing std:: this time.
16278 2001-02-04 Allan Rae <rae@lyx.org>
16280 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16281 floats problem. I've left it commented out because it's not quite
16282 correct. It should also test that the current object is a table or
16283 figure inset. But I haven't gotten around to figuring out how to do
16284 that. I *think* it'll be something like: "table" == inset.type()
16286 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16289 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16291 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16292 all the citation/databases/styles in the auxilary file.
16293 (run): Rerun latex if there was a babel language error.
16295 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16297 * text.C (Backspace): Preserve the font when changing newline char
16299 (BreakParagraph): If the cursor is before a space, delete the space.
16301 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16303 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16305 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16306 new argument (code).
16307 (ChangeCitationsIfUnique): New method.
16309 * paragraph.C (GetPositionOfInset): Handle bibkey.
16311 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16313 * BufferView_pimpl.h: change type of Position::par_pos to
16314 LyXParagraph::size_type.
16316 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16318 * BufferView_pimpl.C (savePosition, restorePosition): Write
16319 messages to minibuffer.
16321 2001-01-28 José Matos <jamatos@fep.up.pt>
16323 * buffer.C (makeDocBookFile): adds support for document language.
16324 A silly restriction on the name of LatexCommand types where removed.
16325 Added support for CDATA sections, allows to chars unescaped, used
16326 among others in code, to avoid escape < and >.
16328 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16330 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16331 saved positions instrad of a stack. Furthermore, a position is
16332 stored using paragraph id/paragraph position.
16334 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16335 Remove LFUN_REF_BACK.
16337 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16339 * converter.C (dvipdfm_options): New method.
16341 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16343 * vspace.C (isValidLength): Fix for empty input string.
16345 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16347 * LyXAction.C (init): change description of LFUN_FIGURE to
16350 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16352 * LaTeX.C: add using directive
16354 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16356 * MenuBackend.C (expand): Fix the sorting of the formats.
16358 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16360 * lyx_main.C: tiny error message fix
16362 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16364 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16365 calling fl_initialize(). This fixes the problem with ',' as
16366 decimal separator in text files.
16368 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16370 * trans.C (process): Fix the keymap bug.
16372 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16374 * LaTeX.C (scanAuxFiles): New method. Provides support for
16375 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16376 (scanLogFile) Scan for "run BibTeX" messages.
16378 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16379 OT1 font encoding. Also, load the aecompl package if the ae
16382 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16384 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16386 * texrow.C (increasePos): turn two error messages into debug
16389 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16391 * LaTeX.C (scanAux): Handle the \@input macro.
16392 (runBibTeX): Use scanAux().
16394 * language.C (latex_options_): New field.
16396 * LaTeXFeatures.C (getMacros): Add language macros.
16398 * buffer.C (makeLaTeXFile): Small fix.
16400 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16402 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16404 * text2.C: add a using directive.
16406 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16411 * lyxfunc.C: kill LyXBell.
16413 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16415 * text.C (IsBoundary): Remove the error message
16417 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16419 * lyxrc.C (setDefaults): Correct initialization value for
16422 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16424 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16427 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16428 and GotoNextNote().
16430 * src/LyXAction.C: Added reference-next.
16432 * text.C (InsertChar): Use contains instead of strchr.
16434 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16436 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16438 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16439 alignment commands (when needed).
16441 * text.C (InsertChar): Add ':' to number separator chars.