1 2004-11-14 John Spray <spray_john@users.sourceforge.net>
3 * vspace.C: fix off-by-one-error, related to fix #1682
5 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7 * lengthcommon.C: a more general fix for bug 1682
9 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
11 * text.C (backspace): fix crash
13 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
15 * format.[Ch] (getFormatFromFile): new method
16 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
18 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
22 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * lyxfunc.C (dispatch): remove the verbose argument
25 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
28 * kbmap.C (defkey): set the origin of func to KEYBOARD
30 * MenuBackend.C (MenuItem):
31 * ToolbarBackend.C (add): set the origin of func to UI
33 * funcrequest.[Ch]: add origin member, which indicates which part
34 of LyX requests an action
36 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
38 * converter.C (move): don't lie in the error message
39 * converter.h (isReachable, move): document
41 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
43 * buffer.C: remove unused using lyx::support::atoi
44 * paragraph_funcs.C: ditto
46 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
48 * bufferlist.C (exists): use bind and equal_to instead of
51 * lyxtextclasslist.C (NumberOfClass): ditto
53 * cursor.C (insert): use for_each instead of explicit for loop
55 * bufferlist.C (getFileNames): use std::transform and
56 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
58 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
61 * buffer.C (changeLanguage): use for_each instead of explicit for
63 (hasParWithID): implement using getParFromID
65 * LaTeXFeatures.C: ws change only
67 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
70 * BufferView_pimpl.C (trackChanges): use for_each instead of
73 2004-11-04 André Pönitz <poenitz@gmx.net>
76 * undo.C (textUndoOrRedo): fix crash when creating undo information.
78 * dociterator.C (asDocIterator): use hard assert again.
80 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
82 * lyxlength.C (asLatexString): rewrite so that it does not use
85 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
87 * text3.C (specialChar, dispatch): make sure cursor moves to the
88 right after inserting an inset
90 2004-11-02 José Matos <jamatos@lyx.org>
92 * output_docbook.C (docbook):
93 * paragraph.C (getID):
94 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
95 garantee that the output is always legal.
97 * tabular.C (docbook):
98 * outputprams.[Ch]: remove mixed contents.
100 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
102 * text2.C (setCounter): prevent endless loop
104 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
106 * exporter.C (copyFile): use the mover instead of support::copy()
107 * exporter.C (Export): pass format and latex name to copyFile()
108 * exporter.h (addExternalFile): document
109 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
111 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
113 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
115 2004-10-30 José Matos <jamatos@lyx.org>
117 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
118 text and no inset or font change. This allows to use CDATA
119 sections just for the whole paragraph.
121 2004-10-30 José Matos <jamatos@lyx.org>
123 * paragraph.C (getFirstWord): remove unused variable.
125 2004-10-30 José Matos <jamatos@lyx.org>
127 * paragraph.C (getFirstWord): the content should always be escaped
129 (simpleDocBookOnePar):
130 * output_docbook.C (makeEnvironment): replace reference to CDATA
133 2004-10-30 José Matos <jamatos@lyx.org>
135 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
137 2004-10-30 José Matos <jamatos@lyx.org>
139 * output_docbook.C (makeParagraphs):
140 * paragraph.[Ch] (emptyTag): for docbook and company, if the
141 standard paragraph has only a given type of content drop the wrapper.
143 2004-10-29 José Matos <jamatos@lyx.org>
145 * output_docbook.C (makeEnvironment):
147 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
149 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
151 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
152 (cleanID): sanitize any id.
154 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
156 * buffer.C, lyxlex_pimpl.C:
157 * lyxlex_pimpl.C (setFile):
158 s/getExtFromContents/getFormatFromContents/
160 2004-10-28 José Matos <jamatos@lyx.org>
162 * output_docbook.C (makeEnvironment): move id to broadest possible
165 * sgml.C (openTag): apply substitution of <> for all attributes.
167 2004-10-28 José Matos <jamatos@lyx.org>
169 * buffer.C (makeLinuxDocFile, makeDocBookFile):
170 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
171 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
173 * sgml.[Ch]: new version for open and closeTag for paragraph and
174 for strings. Now they handle the ids of paragraphs.
176 2004-10-26 Angus Leeming <leeming@lyx.org>
178 * Makefile.am: add mover.[Ch].
180 * converter.C (convert, move): use the new Movers to move external
181 files to the temp directory.
183 * lyx_main.C (init): ensure that the global system_movers data
186 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
189 * mover.[Ch]: new files, defining a Mover as a utility to move an
190 external file between directories and, if necessary, manipulate this
191 file using a helper script.
193 2004-10-25 José Matos <jamatos@lyx.org>
195 * output_docbook.C (makeCommand): merge two if's that tested the
198 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
200 * sgml.C (escapeString): fix warning in a better way
202 2004-10-25 José Matos <jamatos@lyx.org>
204 * sgml.C (escapeString): import the require boosts header file for
205 tie, and avoid a signed unsigned comparison.
207 2004-10-25 José Matos <jamatos@lyx.org>
209 * sgml.h: add #include <string>
211 2004-10-25 José Matos <jamatos@lyx.org>
213 * sgml.[Ch] (escapeString): new function to escape all the string.
215 2004-10-24 José Matos <jamatos@lyx.org>
217 * paragraph.[Ch] (getFirstWord): new function to get the first
218 word. Useful for description.
219 (simpleDocBookOnePar): remove depth argument, add another that
220 says where to start the paragraph.
222 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
223 use the new functions to fix cleanly the support for descriptions.
225 2004-10-24 José Matos <jamatos@lyx.org>
227 * buffer.C (makeLinuxDocFile, makeDocBookFile):
228 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
229 * output_linuxdoc.C (linuxdocParagraphs):
230 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
231 add buffer as argument.
233 2004-10-24 José Matos <jamatos@lyx.org>
235 * output_docbook.C (makeEnvironment, searchEnvironment): place
236 CDATA inside paragraphs and fix scope for listitems.
238 2004-10-24 José Matos <jamatos@lyx.org>
240 * output_docbook.C: remove using statement for stack.
242 2004-10-23 José Matos <jamatos@lyx.org>
244 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
245 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
246 docbook. The new scheme is recursive and makes use of iterators, the
247 same as latex export works.
248 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
249 directly with the paragraph contents. This code was moved up to
250 output_docbook.C (docbookParagraphs).
251 * sgml.C (openTag, closeTag): removed unneeded newlines.
252 (closeEnvTags) removed.
254 2004-10-23 André Pönitz <poenitz@gmx.net>
256 * undo.C (textUndoOrRedo):
257 * dociterator.C (asDocIterator): work around crash
259 * cursor.C (getStatus): replace ASSERT by more verbose error message
260 and manual correction of the problem. Should increase stability
261 while providing more sensible information.
263 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
265 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
267 * bufferlist.C (previous, next): new methods
270 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
272 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
274 * buffer.C (makeDocBookFile): add dsssl stylesheet control
275 entities to preamble.
277 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
279 * messages.C (Pimpl): strip off translation context information
281 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
283 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
284 the cursor is correct (bug 1694)
286 2004-10-13 José Matos <jamatos@lyx.org>
288 * output_docbook.C (docbookParagraphs): fix closing tags in the
291 2004-10-09 José Matos <jamatos@lyx.org>
293 * buffer.C: format up to 237.
294 * bufferparams.C (write): use tostr to convert booleans to strings.
296 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
298 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
300 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
302 * LaTeX.C: implement use of babel language in xindy.
304 2004-10-05 José Matos <jamatos@lyx.org>
306 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
307 Add new translators to help reading and writing the lyx file.
309 2004-10-05 José Matos <jamatos@lyx.org>
311 * ParagraphParameters.C (read):
312 * text.C (readParToken): replace nexToken by more appropriate lex
315 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
317 * LaTeX.C (runMakeIndex):
318 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
319 (usually 'makeindex') configurable.
321 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
322 with a variable rather than with a number.
324 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
326 * output_latex.C (TeXOnePar): make sure font setting is the first
327 thing that gets output (and the last at the end). Should fix bug
330 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
332 * pch.h: use proper signal include
334 * LaTeX.h: Use preferred calling of Boost.Signal
337 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
339 * pch.h: dont include <boost/function/function0.hpp>
341 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
343 * paragraph_pimpl.h: remove usage of ShareContainer
345 * paragraph_pimpl.C: remove initialization of ShareContainer.
347 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
351 * BufferView.C (putSelectionAt): change the semantics when
352 backwards == true: now, this just swaps cursor and anchor wrt the
355 * BufferView.h (putSelectionAt): add some documentation
357 * lyxfind.C (findBackwards): rewrite using while(). In particular,
358 make sure backwardChar is done at least once (to avoid getting
360 (findNextChange): use putSelectionAt in the forward direction
361 (operator()): use Paragraph::isWord
363 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
365 * Spacing.C (set): c_str fix
367 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * lyx_cb.C (Reconfigure): quote the name of configure script in
370 case it contains spaces
372 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
376 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
377 (BOOST_LIBS): use top_buildir when looking for the file
379 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
381 * pch.h: do not use include boost/format.hpp, multiple symbols
382 will result (gcc bug)
385 2004-08-23 José Matos <jamatos@lyx.org>
387 * bufferparams.C (readToken): fix reading of the author field.
389 2004-08-20 José Matos <jamatos@lyx.org>
391 * lyxrc.C: remove support/translator.h inclusion since it is not used.
393 2004-08-20 José Matos <jamatos@lyx.org>
395 * lyxlex.[Ch] (findToken): remove function.
397 * ParagraphParameters.C (findToken):
398 * bufferparams.C (findToken): replace call for previous function
399 with local copy. This local function has one more argument, the
400 read string argument.
402 2004-08-16 José Matos <jamatos@lyx.org>
404 * ParagraphParameters.C (write):
405 * Spacing.C (writeFile):
406 * bufferparams.C (writeLaTeX):
407 * lyx_cb.C (Reconfigure):
408 * paragraph.C (write):
409 * tabular.C (write): remove unnecessary space at end of line.
412 2004-08-16 José Matos <jamatos@lyx.org>
414 * text.C (readParagraph): remove debug message.
416 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
418 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
421 * output_plaintext.C (asciiParagraph): set depth correctly
423 * outputparams.h: add member depth
425 * paragraph_funcs.C (ownerPar): remove.
427 * text2.C (setCounter): remove first_pit; comment out some
428 non-working code that uses ownerPar
430 * BufferView.C (getParentLanguage): remove. Not used anymore, and
433 2004-08-16 José Matos <jamatos@lyx.org>
435 * text.C (readParToken, readParagraph, read): report all unknown tokens.
436 For the same level of importance use the same chanel to report problems.
437 (read): add code to deal with \begin_body and \end_body.
440 2004-08-15 José Matos <jamatos@lyx.org>
442 * lyxlex.C (getString): fix comment, buffer::readBody is now
445 * tex-strings.C (string_papersize): Default -> default,
446 Custom -> custom, for consistency with other options.
448 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
452 * Makefile.am: support pch
454 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
456 * text.C (readParToken): remove the static LyXFont variable and
457 pass it as a parameter instead. This fixes a nasty bug where an
458 inset will be inserted with a bad font in some situations
459 (readParagraph): adapt
461 * text2.C (setCounter): reduce number of calls to pars_[pit]
463 * text.C (singleWidth): add an assert, fix a test
465 * rowpainter.C (paintText): reduce number of calls to singleWidth
467 * paragraph.C (isHfill):
470 2004-08-14 André Pönitz <poenitz@gmx.net>
475 * lyxtext.h (several functions): use a Paragraph & argument
478 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * metricsinfo.h: add a new field ltr_pos to PainterInfo
482 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
484 * text.C (singleWidth): remove useless test
486 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
488 * tabular.h: remove bogus comments
490 * tabular.C (getDescentOfRow):
491 (isPartOfMultiColumn): add assertions
493 * lyxlength.C (inPixels): remove #warning
495 2004-08-14 André Pönitz <poenitz@gmx.net>
497 * paragraph.h: inline getChar()
499 * BufferView.h: remove unused declarations
501 2004-08-14 José Matos <jamatos@lyx.org>
503 * Buffer.[Ch] (readDocument): new name for old readBody.
504 * Buffer.C: new file format, new keywords: \begin_document,
505 \begin_header, \begin_body, \end_body.
507 * bufferparams.C (readToken): replace all calls to lex.nextToken
508 by lex.next(). Do the same to eatLine except where really needed.
510 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
511 line when writing to the lyx file.
513 * output_plaintext.C (asciiParagraph): fix Bibliography style
516 * text.C (read): fix end of file handling.
518 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
520 * MenuBackend.C (Menu::operator[]): new method to access
521 individual menu items
522 (Menu::hasFunc): new method. search for an item that corresponds
524 (MenuBackend::specialMenu): new method
525 (MenuBackend::expand): if a special menu has been set, skip
526 entries whose func() appears in this menu
528 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
530 * text3.C: use Debug::DEBUG a bit more
532 * text.C (leftMargin): try to simplify a tiny bit change var x to
533 l_margin. Dont output the wide margins always.
534 (rightMargin): no margin in inner texts
536 * rowpainter.h (nestMargin): new func
537 (changebarMargin): new func
538 (rightMargin): new func
540 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
544 * factory.C (createInset): modify setDrawFrame
546 * cursor.C: use Debug::DEBUG a bit more
548 2004-08-14 André Pönitz <poenitz@gmx.net>
551 * Makefile.am: new files to accomodate an 'external' (x,y)-position
552 cache for all insets in (at least partially) visible (top-level)
555 * BufferView_pimpl.C: reset external coord cache before every update.
556 This means the coord cache only contains valid entries.
558 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
561 * BufferView_pimpl.C (getInsetByCode): move function out of class
562 and change in to a template in anon namespace. Also fix to do what
565 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
568 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
570 (breakParagraph): rename par to par_offset and use a local
571 reference. Add code to keep the language over a rebreak.
572 (breakParagraphConservative): rename par to par_offset, use a
574 (mergeParagraph): ditto
576 (isFirstInSequence): ditto
577 (outerFont): rename pit to par_offset
579 * paragraph.C: ws change
584 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
586 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
589 * paragraph.C (simpleTeXOnePar): when we have a \item with
590 optional argument, enclose the argument with curly brackets (in
591 case it contains a closing square bracket)
595 * text3.C (checkInsetHit): constify
597 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
599 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
602 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
604 Fix toggling of collapsable insets with the mouse (bug 1558)
606 * lyxfunc.C (dispatch): adapt to LCursor changes
608 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
609 make sure that dispatch is not invoked twice
611 * cursor.C (needsUpdate): new method
612 (dispatch): return void
613 (result): new method, to access the DispatchResult of the cursor.
615 2004-08-13 José Matos <jamatos@lyx.org>
617 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
619 2004-08-13 André Pönitz <poenitz@gmx.net>
621 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
623 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
626 2004-08-12 André Pönitz <poenitz@gmx.net>
628 * text3.C: take out the 'cursor right' form insertInset and only
629 do it in those places when it is really needed. Fixes crash on
632 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
634 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
636 * BufferView_pimpl.C (setBuffer): initialize the current font of
637 the underlying LyXText
639 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * kbsequence.C (print): use UI native formatting for menu
644 * text.C (insertChar): call Paragraph::insertChar with a font
647 * paragraph.C (insertInset, insertChar): the version that takes a
648 LyXFont argument is now a wrapper around the other one (the
649 opposite used to be true).
651 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
652 argument. Font setting is done in Paragraph now.
654 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
656 * outputparams.h: add new members intitle and lang.
658 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
659 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
661 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
663 * text3.C (dispatch): remove special handling of button 4 and 5,
664 it is now taken care of in the frontend code.
666 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
668 * Spacing.h: add <string> (STLPort compile fix)
670 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
672 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
674 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
676 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
679 * converter.C (showMessage): inherit from unary_function, make
682 * buffer.C (writeFile): initialize retval
684 * InsetList.h: rename private variable list to list_
685 * InsetList.[Ch]: adjust accordingly.
687 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
689 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
690 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
691 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
692 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
693 * ParagraphParameters.C, LaTeXFeatures.C: replace
694 "support/std_sstream.h" with <sstream>
696 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
698 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
699 * lyxsocket.C (LyXServerSocket): ditto
700 (serverCallback): ditto
702 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
704 * LaTeXFeatures.C: check release date when loading jurabib.
706 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
708 * lyxserver.C (startPipe): call register_socket_callback
709 (endPipe): call unregister_socket_callback
711 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
713 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
714 (LyXServerSocket): register the callback
715 (LyXServerSocket): unregister the callback
716 (fd): delete function
717 (serverCallback): improve error checking and setup the callbacks.
718 (dataCallback): change arg to fd.
719 (writeln): new func (copied fro the client socket) used for server
721 (LyXDataSocket): simplify
722 (~LyXDataSocket): close ann unregiser callback
723 (server): delete function
724 (fd): delete function
725 (readln): small changes, improve some std::string usage
726 (writeln): constify a bit
728 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
730 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
733 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
735 * BufferView_pimpl.C (setBuffer): set the layout combox value only
736 after it has been populated
738 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
740 * text2.C (insertInset): move cursor when inserting inset.
742 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
744 * kbmap.C (findbindings): a couple of new methods. returns a
745 container of kb_sequence objects. The real work is done by the
746 private recursive version
747 (printbindings): uses findbindings to print out a bracketed list
748 of bindings (renamed from findbinding).
750 * MenuBackend.C (binding): use kb_keymap::findbindings
752 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
754 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
756 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
758 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
760 * paragraph.C (isWord): return true on insets that report
763 * text.C (getWord): use Paragraph::isWord to decide what is in a
764 word and what is not; fix bug 1609.
766 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
768 * tex-strings.C: add "none" to string_paperpackages[], fixes
769 off-by-one-error in the paperpackage selection.
772 * tex-strings.[Ch]: char const * string[n]
773 -> char const * const string[]
775 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
777 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
778 command, return early.
780 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
782 * debug.h: add DEBUG to enum and fix size of ANY.
784 * debug.C: add support for Debug::DEBUG
785 (showTags): cast errorTags.level to unsigned int
787 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
788 (redoCurrentBuffer): ditto
789 (updateScrollbar): ditto
790 * cursor.C (dispatch): ditto
791 * text2.C (setLayout): ditto
793 (updateCounters): ditto
795 (deleteEmptyParagraphMechanism): ditto
797 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
799 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
800 annotations to cleanup the Makefile slightly.
802 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
804 * lyxrc.C: do not set user_email to a default value but use empty
805 instead. The entry used to be translated, which does not work
806 since at the point where lyxrc is constructed there is no
807 translation service available
809 * messages.C (getLocaleDir): remove and use directly
810 lyx_localedir() instead
812 2004-06-02 Angus Leeming <leeming@lyx.org>
814 Fix crash caused by dereferencing null pointer 'exportdata' in
815 OutputParams by creating a new ExportData variable on the heap,
816 storing it in a boost::shared_ptr.
817 The crash was triggered when generating an Instant Preview
818 of an external inset.
820 * Makefile.am: add outputparams.C
822 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
823 (c-tor): allocate memory to it.
825 * exporter.C (c-tor): associated changes.
827 2004-06-01 Angus Leeming <leeming@lyx.org>
829 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
830 contains data before calling isInset(0). (Bug 1513.)
832 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
834 * exporter.C (checkOverwrite): new method
835 * exporter.C (copyFile): new method
836 * exporter.C (Export): copy referenced files to the document dir
837 * exporter.[Ch]: new class ExportedFile
838 * exporter.[Ch]: new class ExportData. Contains currently the
839 names of referenced external files
840 * outputparams.h: add exportdata member.
842 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
844 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
847 2004-05-19 Angus Leeming <leeming@lyx.org>
852 * lyxfunc.C: small changes due to the introduction of namespace
853 lyx::frontend and the moving of namespace biblio to lyx::biblio.
855 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
857 * text3.C (dispatch): supress update when only moving the cursor
858 * cursor.C (selHandle): remove commented code
860 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
862 * paragraph.C (startTeXParParams): correct column count
863 * CutAndPaste.C (pasteSelection): remove const_cast
864 * output_docbook.C (docbookParagraphs): remove const_cast
865 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
866 const_cast and return ParagraphList::const_iterator
867 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
868 * output_plaintext.C (writeFileAscii): remove const_cast
869 * paragraph.[Ch] (simpleTeXOnePar): make const
870 * paragraph_funcs.C (outerPar): use const iterators
871 * paragraph_pimpl.C (validate): use const iterators
872 * text.C (setHeightOfRow): use const iterators
874 2004-05-17 Angus Leeming <leeming@lyx.org>
877 * LyXAction.C (init): new LFUN_INSET_REFRESH.
879 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
880 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
881 if the citation engine has changed.
883 2004-05-14 José Matos <jamatos@lyx.org>
885 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
886 if the textclass does not provide it. Have it different for sgml and
888 support the language of document.
889 * output_docbook.C (docbookParagraphs):
890 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
891 first anchor as the id of the paragraph, remove special case code.
892 * sgml.C (escapeChar): escape only < & >.
894 2004-05-14 Angus Leeming <leeming@lyx.org>
896 * bufferparams.h: move biblio::CiteEngine enum here to minimize
897 dependencies on src/frontends/controllers/biblio.h. Define a
898 CiteEngine_enum wrapper class to enable the enum to be forward
901 2004-05-12 Angus Leeming <leeming@lyx.org>
903 * buffer.C: up LYX_FORMAT to 234.
904 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
905 use_numerical_citations with a single biblio::CiteEngine cite_engine
907 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
909 2004-05-13 José Matos <jamatos@lyx.org>
912 * converter.C (Converter, readFlags): add xml member.
913 * outputparams.h: add XML flavor.
914 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
916 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
918 * lyxfunc.C (dispatch):
919 (getStatus): fix handling of LFUN_SEQUENCE
921 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
923 * debug.C (showLevel): do not forget the end-of-line marker
925 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
927 * kbmap.C (read): do not stop parsing a bind file when an error
930 2004-04-29 Angus Leeming <leeming@lyx.org>
935 * text2.C: wrap a bunch of #warning statements
936 inside #ifdef WITH_WARNINGS blocks.
938 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
940 * buffer.C: increment format to 233.
942 2004-04-28 Angus Leeming <leeming@lyx.org>
944 * BufferView_pimpl.C:
947 s/updateToolbar()/updateToolbars()/
948 s/Toolbar.h/Toolbars.h/
950 2004-04-28 Angus Leeming <leeming@lyx.org>
952 * BufferView.[Ch] (c-tor):
953 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
954 No longer passes these data to the WorkArea generator.
956 2004-04-28 Angus Leeming <leeming@lyx.org>
958 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
960 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
962 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
964 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
966 * output_latex.C (TeXEnvironment): make sure that there is a line
967 break before \end{foo} for the last paragraph of a document
968 (TeXOnePar): if the paragraph is at the end of the document (or
969 inset) and the language has to be reset, then make sure that the
970 line break is _before_ the language command, not after (fixes bug
971 1225); also make sure that the language reset command is the first
972 thing after the paragraph (to ensure proper nesting of
973 environments and thus fix bug 1404)
975 2004-04-21 John Levon <levon@movementarian.org>
978 * ToolbarBackend.C: make "name" be a programmatic name
979 and a gui_name field.
981 * lyxfunc.C: display the minibuffer on M-x
983 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
985 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
988 2004-04-19 Angus Leeming <leeming@lyx.org>
990 * BufferView_pimpl.C (setBuffer): changed preview interface.
992 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
995 2004-04-19 John Levon <levon@movementarian.org>
997 * BufferView_pimpl.C:
998 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1000 2004-04-05 Angus Leeming <leeming@lyx.org>
1002 * text.C (redoParagraphs): add call to updateCounters(), thereby
1003 fixing the missing "Figure #:" label from the caption of a
1006 2004-04-13 Angus Leeming <leeming@lyx.org>
1008 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1009 cursor is clicked out of an inset.
1011 2004-04-13 Angus Leeming <leeming@lyx.org>
1013 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1014 than an InsetOld one.
1016 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1018 * format.[Ch]: add editor to Format
1019 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1020 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1022 2004-04-08 André Pönitz <poenitz@gmx.net>
1024 * metricsinfo.h: remove PainterInfo::width member
1026 2004-04-08 Angus Leeming <leeming@lyx.org>
1028 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1029 "\providecommand" rather than "\newcommand", thereby preventing
1030 clashes with packages that define "\boldsymbol" themselves.
1033 2004-04-08 Angus Leeming <leeming@lyx.org>
1035 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1036 thereby squashing an unnecessary warning.
1038 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1040 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1043 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1045 * BufferView.C (setCursor): call redoParagraph (some insets could
1047 (putSelectionAt): remove the 'double update' trick
1049 * BufferView_pimpl.C (fitCursor): call refreshPar
1050 (workAreaDispatch): remove an uneeded update call
1051 (dispatch): remove some manual update calls
1053 * cursor.[Ch]: remove cached_y_, updatePos
1054 (selHandle): set noUpdate when appropriate
1056 * lyxfunc.C (dispatch): track if we need an update
1058 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1060 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1061 (paintSelection): cheap optimization, do not call cursorX when not
1063 (paintPars): change signature
1066 (paintTextInset): adjust
1070 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1072 * lengthcommon.C: compilation fix: remove explicit array size from
1073 unit_name[] and friends
1075 2004-04-05 Angus Leeming <leeming@lyx.org>
1077 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1079 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1080 present only for the preferences dialog.
1081 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1083 2004-04-05 Angus Leeming <leeming@lyx.org>
1085 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1086 to enable the frontends to export changes to lyxrc correctly.
1088 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1090 2004-04-07 André Pönitz <poenitz@gmx.net>
1092 * cursor.[Ch] (selClear, adjust): remove math
1094 * cursor_slice.C: more agressive assert
1097 * BufferView_pimpl.C: rework mouse event dispatch
1104 2004-04-05 André Pönitz <poenitz@gmx.net>
1106 * cursor.[Ch] (valign, halign...): remove unneeded functions
1108 2004-04-05 Angus Leeming <leeming@lyx.org>
1110 * lyxlength.[Ch] (unit_name et al.): const-correct.
1112 2004-04-05 Angus Leeming <leeming@lyx.org>
1114 * BufferView_pimpl.C:
1123 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1125 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1127 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1129 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1131 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1132 * BufferView_pimpl.[Ch] (getStatus)
1133 * BufferView.[Ch] (getStatus): add
1134 * lyxfunc.C (getStatus): move lfuns handled in
1135 BufferView::dispatch to te function above
1136 * Cursor.C (setSelection): set selection() = true
1138 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1140 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1142 2004-03-31 Angus Leeming <leeming@lyx.org>
1144 * lyxfunc.C (dispatch): Fall through to the generic
1145 Dialogs::show("preamble").
1147 2004-03-31 Angus Leeming <leeming@lyx.org>
1149 * lyxfunc.C (dispatch): Fall through to the generic
1150 Dialogs::show("spellchecker").
1152 2004-03-31 Angus Leeming <leeming@lyx.org>
1154 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1157 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1162 * insetiterator.[Ch]:
1167 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1169 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1171 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1172 insets where we are putting the cursor.
1174 2004-03-31 Angus Leeming <leeming@lyx.org>
1177 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1179 * lyxrc.[Ch] (read, write): overloaded member functions taking
1180 a std::[io]stream arguments.
1182 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1184 2004-03-31 Angus Leeming <leeming@lyx.org>
1186 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1187 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1189 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1190 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1192 2004-03-31 Angus Leeming <leeming@lyx.org>
1194 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1195 the LFUN_ALL_INSETS_TOGGLE code.
1197 2004-03-30 Angus Leeming <leeming@lyx.org>
1199 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1200 has died. Fall through to the generic Dialogs::show("document").
1202 2004-03-30 Angus Leeming <leeming@lyx.org>
1205 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1206 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1208 * lyxfunc.C (getStatus, dispatch): define the actions for these
1209 lfuns. Little more than a cut and pste job from ControlDocument.C
1211 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1213 2004-03-30 Angus Leeming <leeming@lyx.org>
1216 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1217 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1219 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1220 open/closed state of ollapsable insets. Usage:
1222 all-inset-toggle <state> <name>, where
1223 <state> == "open" || "closed" || "toggle" and
1224 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1226 * lyxtext.h, text2.C (toggleInset): removed.
1228 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1229 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1230 now passes LFUN_INSET_TOGGLE to the found inset.
1232 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1233 is now invoked as "all-insets-toggle toggle branch".
1235 2004-03-30 Angus Leeming <leeming@lyx.org>
1239 * pariterator.[Ch]: added/corrected header blurb.
1241 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1243 * dociterator.[Ch]: add an inset_ member
1244 (backwardPos): implemented
1245 (backwardPos, forwardPos): use inset_ when the stack is empty.
1246 (doc_iterator_begin, doc_iterator_end): implemented
1247 * pariterator.[Ch]: adjust, add begin, end
1248 * insetiterator.[Ch]: adjust, add begin, end
1252 * BufferView_pimpl.C:
1253 * CutAndPaste.C: adjust
1255 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1257 * buffer.C: increment file format to 232.
1258 * LaTeXFeatures.C: add bibtopic package.
1259 * bufferparams.[Ch]: param \use_bibtopic.
1261 * lyxrc.[Ch]: add lyxrc bibtex_command
1262 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1264 * buffer.C: increment file format to 231.
1266 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1268 * dociterator.C: implement forwardPar
1269 * iterators.[Ch]: remove, replaced by
1270 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1272 * BufferView_pimpl.C:
1275 * bufferview_funcs.C:
1281 * Makefile.am: adjust
1283 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1285 * CutAndPaste.C (pasteSelection): fix 2 crashes
1286 (eraseSelection): fix a crash
1287 * paragraph_funcs.C: remove a warning
1289 2004-03-28 Angus Leeming <leeming@lyx.org>
1292 * LyXAction.C (init): new LFUN_PRINT.
1294 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1296 2004-03-27 Angus Leeming <leeming@lyx.org>
1299 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1301 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1303 2004-03-27 Angus Leeming <leeming@lyx.org>
1305 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1306 insetlist always contains non-null pointers to insets.
1308 2004-03-26 Angus Leeming <leeming@lyx.org>
1310 * src/BufferView_pimpl.C:
1311 * src/CutAndPaste.C:
1314 * src/output_plaintext.C:
1315 * src/outputparams.h:
1316 * src/paragraph_funcs.C:
1320 * src/frontends/controllers/ControlErrorList.C:
1321 * src/frontends/gtk/FileDialogPrivate.C:
1322 * src/frontends/gtk/GPainter.C:
1323 * src/frontends/gtk/GToolbar.C:
1324 * src/frontends/qt2/QRef.C:
1325 * src/mathed/math_scriptinset.C: squash compiler warnings.
1327 2004-03-26 Angus Leeming <leeming@lyx.org>
1329 * ispell.C (LaunchIspell::start):
1330 * lyx_cb.C (AutoSaveBuffer::start):
1331 invoke run(DontWait) rather than runNonBlocking().
1333 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1335 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1337 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1339 * kbsequence.C (print): adjust
1341 * kbmap.C (printKeySym): rename and change signature
1342 (printKey): use LyXKeySym::print()
1344 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1346 * undo.C: add using std::advance to compile for stlport
1348 2004-03-24 Angus Leeming <leeming@lyx.org>
1350 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1351 it leads to a crash when no buffer is present.
1353 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1354 Martin Vermeer <martin.vermeer@hut.fi>
1356 * lyxfunc.C (dispatch):
1357 * bufferparams.C (readToken): use the new LColor::setColor
1359 * LColor.[Ch] (setColor): new version that takes two strings as
1360 argument and creates a new color entry if necessary
1362 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1364 * buffer.C (makeLaTeXFile): if the main latex file that is
1365 processed is usually a subdocument of some master, then pretend
1366 for a while that it is actually the master
1368 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1370 * buffer.C (getLabelList):
1371 (getBibkeyList): use getMasterBuffer()
1372 (getMasterBuffer): new method. Returns the main document in the
1373 case where one is using included documents.
1375 2004-03-25 André Pönitz <poenitz@gmx.net>
1379 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1381 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1383 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1384 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1386 * ParameterStruct.h: merge with ParagraphParameters
1388 * lyxtext.h: remove LyXText::parOffset() and getPar()
1390 * text3.C: Remove all 'manual' update calls. We do now one per user
1391 interaction which is completely sufficient.
1395 * BufferView_pimpl.C:
1396 * FontIterator.[Ch]:
1398 * ParagraphParameters.[Ch]:
1403 * cursor_slice.[Ch]:
1410 * output_docbook.[Ch]:
1411 * output_latex.[Ch]:
1412 * output_linuxdoc.[Ch]:
1413 * output_plaintext.[Ch]:
1415 * paragraph_funcs.[Ch]:
1416 * paragraph_pimpl.[Ch]:
1424 * frontends/controllers/ControlDocument.C:
1425 * frontends/controllers/ControlErrorList.C:
1426 * frontends/controllers/ControlSpellchecker.C:
1429 * insets/insetbase.h:
1430 * insets/insetbibitem.C:
1431 * insets/insetbox.C:
1432 * insets/insetbranch.C:
1433 * insets/insetcaption.C:
1434 * insets/insetcharstyle.C:
1435 * insets/insetcharstyle.h:
1436 * insets/insetcollapsable.C:
1437 * insets/insetcollapsable.h:
1438 * insets/insetert.C:
1439 * insets/insetfloat.C:
1440 * insets/insetfoot.C:
1441 * insets/insetmarginal.C:
1442 * insets/insetnote.C:
1443 * insets/insetoptarg.C:
1444 * insets/insettabular.C:
1445 * insets/insettext.C:
1446 * insets/insettext.h:
1447 * insets/insetwrap.C:
1448 * mathed/math_mboxinset.C:
1449 * mathed/math_nestinset.C:
1450 * mathed/math_scriptinset.C:
1451 * mathed/math_scriptinset.h:
1454 2004-03-24 Angus Leeming <leeming@lyx.org>
1456 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1457 deal with any child processes that have finished but are waiting to
1458 communicate this fact to the rest of LyX.
1460 2004-03-24 Angus Leeming <leeming@lyx.org>
1462 64-bit compile fixes.
1464 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1465 (c-tor): pass lyx::pos_types rather than ints.
1467 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1470 * text.C (Delete): compile fix.
1471 (getPar): ensure that function declaration is the same as that in
1474 2004-03-23 Angus Leeming <leeming@lyx.org>
1476 * ispell.C (LaunchIspell):
1477 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1478 a boost::shred_ptr rather than a std::auto_ptr.
1480 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1482 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1483 handle LFUN_FILE_INSERT_*
1485 * lyxrc.C (setDefaults, getDescription, output, read):
1486 * lyxrc.h: remove ps_command
1488 2004-03-22 Angus Leeming <leeming@lyx.org>
1490 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1491 Ensure that error_handler is processed once only and that all data
1492 is saved before attempting to output any warning messages.
1494 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1496 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1498 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1500 2004-03-19 André Pönitz <poenitz@gmx.net>
1502 * cursor.[Ch] (reset): take main text inset as argument
1504 * BufferView: adjust
1505 * BufferView_pimpl.C: adjust
1507 * paragraph.[Ch]: fix completely broken operator=()
1509 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1511 * LColor.C (getFromLyXName): make sure that the color name is used
1514 2004-03-17 Angus Leeming <leeming@lyx.org>
1517 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1519 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1520 dialog and to kill a forked process.
1522 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1524 * text2.C (setCursorFromCoordinates): fix font problem
1526 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1528 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1529 bogus "rebuild cursor" code
1531 2004-03-11 André Pönitz <poenitz@gmx.net>
1533 * buffer.[Ch]: use InsetText instead of LyXText as container for
1536 * dociterator.[Ch]: drop the BufferView * member which is not needed
1537 anymore after the change to buffer.C
1539 * paragraph_funcs.C:
1543 * BufferView_pimpl.[Ch]:
1545 * cursor_slice.[Ch]: adjust
1547 * text3.C: fix bug in mathDispatch
1549 2004-03-08 André Pönitz <poenitz@gmx.net>
1551 * undo.[Ch]: use 'StableDocumentIterator' as base for
1554 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1557 * bufferparams.[Ch]: add jurabib support and param.
1559 * LaTeX.C: add FIXME/comment.
1561 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1563 * buffer.C: increment file format to 230.
1565 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1567 * cursor.C (dispatch): avoid infinite loops
1569 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1571 * rowpainter.C (paintSelection): fix x coordinates
1573 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1575 * text.C (rowBreakPoint): fix breaking before displayed insets
1577 2004-03-01 André Pönitz <poenitz@gmx.net>
1579 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1581 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1585 * BufferView_pimpl.C:
1593 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1599 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1600 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1602 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1604 * Bidi.[Ch] (computeTables): const correctness
1605 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1606 fill_hfill, fill_label_hfill and x from Row
1607 * lyxtext.h: prepareToPrint returns a RowMetrics
1608 * rowPainter.C: adjust
1609 * text.C (prepareToPrint): use width, not textWidth. adjust
1610 (redoParagraphInternal, cursorX): adjust
1611 * text2.C (getColumnNearX): adjust
1612 (init): put a default value to the top LyXText::width
1614 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1616 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1618 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1620 * lyxtext.h: add FontIterator class
1622 * text.C (FontIterator, operator*, operator->, operator++): add
1623 (rowBreakPoint, setRowWidth): adjust (fixing a
1626 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1628 * BufferView_pimpl.C (workAreaDispatch): allow also
1629 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1631 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1633 * text.C (rowBreakPoint): fix a bug showing with very large insets
1635 2004-02-25 André Pönitz <poenitz@gmx.net>
1638 * cursor.[Ch]: move some mathed specific code to mathed
1640 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1642 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1643 use_tempdir in preferences
1644 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1646 * lyx_main.C: ensure that tempdir is valid
1647 * lyxlex.h: correct typo
1648 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1649 * paragraph.[Ch] (isMultiLingual): make const
1650 * cursor.[Ch] (openable): make const
1652 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1654 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1656 2004-02-20 André Pönitz <poenitz@gmx.net>
1658 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1660 * cursor.[Ch]: prepare for localized getStatus()
1666 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1668 2004-02-20 André Pönitz <poenitz@gmx.net>
1670 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1672 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1674 * text2.C (setCursorFromCoordinates): switch to absolute coords
1676 (cursorDown): adjust
1677 * text3.C (dispatch): adjust
1679 2004-02-16 André Pönitz <poenitz@gmx.net>
1681 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1684 * cursor_slice.[Ch]: remove unneeded acessor function
1686 * lyxtext.h: rename rtl() to isRTL()
1694 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1696 * rowpainter.C (paintSelection): coord fix
1698 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1700 * Spacing.C: compile fix
1702 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1704 * cursor.C (dispatch): restore current_ before returning
1706 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1708 * text2.C (cursorUp, cursorDown): fix coords
1711 2004-02-12 André Pönitz <poenitz@gmx.net>
1716 * text3.C: add LCursor & parameter to most cursor movement functions
1717 remove usage of LyXText::cursorRow() and cursorPar()
1719 * cursor.[Ch]: add textRow() needed members
1722 * BufferView_pimpl.C:
1725 * BufferView_pimpl.C: adjust
1727 2004-02-11 André Pönitz <poenitz@gmx.net>
1731 * BufferView_pimpl.C: shift undo/redo handling
1733 * cursor.[Ch]: fix mathed crash
1736 * lyxtext.h: move selectionAsText to LCursor
1744 * rowpainter.C: fix excessive drawing
1746 2004-02-06 André Pönitz <poenitz@gmx.net>
1749 * BufferView_pimpl.[Ch]:
1750 * text3.C: move some text specific LFUN handling
1752 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1754 * text3.C (checkInsetHit): adjust coords
1755 * text2.C (getColumnNearX): adjust coords
1756 (edit): adjust coords
1757 * text.C (getRowNearY): add two asserts
1759 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1762 * format.C: add using std::distance to compile on gcc 2.95/stlport
1764 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1766 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1768 2004-02-04 André Pönitz <poenitz@gmx.net>
1770 * BufferView.[Ch] (insertInset):
1771 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1776 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1778 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1779 on the default clause of the switch
1780 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1781 wasn't catched by LCursor::dispatch
1783 2004-02-03 André Pönitz <poenitz@gmx.net>
1786 * cursor.[Ch]: some additional asserts
1788 * undo.[Ch]: remove LyXText dependency in interface
1792 * lyxtext.h (firstPar, lastPar): remove dead functions
1797 * paragraph.[Ch]: adjust
1799 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1801 * lyxfind.C (find): fix argument order in call to ::find
1803 2004-02-02 André Pönitz <poenitz@gmx.net>
1805 * cursor.[Ch]: remove direct access to anchor
1807 * text.C: remove findText() hack
1809 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1811 * iterators.[Ch] (lockPath): remove in favour of...
1812 * BufferView.[Ch] (setCursor): this addition
1813 * BufferView.C (putSelectionAt): adjust
1814 * undo.C (performUndoOrRedo): adjust
1815 * lyxfunc.C (dispatch): adjust
1817 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1819 * iterators.C (lockPath): add a missing slice
1820 * undo.C (performUndoOrRedo): remove redundant positioning code
1822 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1824 * vc-backend.C (scanMaster): ";" -> ';'
1826 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1828 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1829 std::binary_function
1831 * lyxtextclass.C (compare_name): rename to...
1832 (LayoutNamesEqual): ...this
1834 * lyxlex_pimpl.C (compare_tags): inherit from
1835 std::binary_function, put back into anon namespace
1837 * lyxfind.C (MatchString): inherig from std::binary_function
1838 (findChange): use empty() istead of !size()
1840 * format.C (FormatNamesEqual): new functor
1847 * converter.C (compare_Converter): rename to...
1848 (ConverterEqual): ...this, and fixup a bit.
1849 (getConverter): use it, and make function const
1850 (getNumber): use it, and make function const
1854 * bufferlist.C: add using boost::bind
1856 * MenuBackend.C (MenuNamesEqual): new functor
1857 (hasMenu): use it, and make function const
1858 (hasSubmenu): use nested bind to get rid of compare_memfun.
1860 2004-01-30 André Pönitz <poenitz@gmx.net>
1862 * BufferView_pimpl.C:
1865 * cursor_slice.[Ch]:
1868 * paragraph_funcs.C:
1869 * paragraph_funcs.h:
1873 * text3.C: move some of the edit(x,y) handling to the insets
1874 some coordinate changes.
1876 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1878 * text.C: add using statements for std::advance and std::distance
1880 * paragraph.C: add using statement for std::distance
1882 * lyxfind.C: add using statement for std::advance
1884 * cursor.C (region): remove std:: from swap
1885 (openable): use nucleus in stead of operator->
1887 * BufferView.C: add using statements for std::distance and std::swap
1889 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1891 * iterators.C: Remove the pimple, move the needed structures to
1892 the header file. Create accessor for the positions stack.
1893 (asPosIterator): remove function
1895 * PosIterator.C (PosIterator): move constructors to top of file
1896 (PosIterator): reimplement the constructor taking a ParIterator in
1898 (setFrom): new function
1899 (operator!=): inline it
1901 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1903 * lyxfind.C (replaceAll): use std::advance
1905 * iterators.h: inherit from std::iterator.
1907 * PosIterator.C (advance, distance): remove
1908 * PosIterator.h: interit from std::iterator.
1910 2004-01-26 André Pönitz <poenitz@gmx.net>
1913 * BufferView_pimpl.[Ch]:
1917 * bufferview_funcs.C:
1927 * output_linuxdoc.C:
1928 * output_plaintext.C:
1930 * paragraph_funcs.[Ch]:
1931 * paragraph_pimpl.[Ch]:
1937 * text3.C: more IU: dumps most of the rest of the mathcursor
1938 implementation into cursor.[Ch]; "globalize" a bit of it.
1940 2004-01-25 Angus Leeming <leeming@lyx.org>
1942 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1944 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1946 * LaTeXFeatures.h: add nice_ and nice() const
1947 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1949 2004-01-20 André Pönitz <poenitz@gmx.net>
1952 * BufferView_pimpl.C:
1954 * bufferview_funcs.C:
1956 * cursor_slice.[Ch]:
1967 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1968 LCursor and mathcursor parts to LCursor and InsetBase.
1970 2004-01-15 André Pönitz <poenitz@gmx.net>
1972 * cursor_slice.[Ch]: add a few covienience functions
1974 * funcrequest.[Ch]: remove BufferView * member
1976 * BufferView_pimpl.C:
1983 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1985 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1987 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1988 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1990 2004-01-13 André Pönitz <poenitz@gmx.net>
1993 * lyxtext.h: hide cursor and selection anchor behind accessor function
1996 * BufferView_pimpl.[Ch]:
1998 * bufferview_funcs.C:
2008 * cursor_slice.[Ch]: some integer type changes for inset unification
2010 * lyxcursor.[hC]: remove, it's CursorSlice now.
2013 * BufferView_pimpl.[Ch]:
2014 * bufferview_funcs.C:
2020 * textcursor.[Ch]: adjust
2022 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2024 * text2.C (undoSpan): add and use
2025 * text.C (breakParagraph): use undoSpan (fix bug 578)
2028 2004-01-08 Angus Leeming <leeming@lyx.org>
2030 * BufferView_pimpl.C (MenuInsertLyXFile):
2031 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2032 * lyxfunc.C (menuNew, open, doImport):
2033 FileFilterList change to the FileDialog open and save functions.
2035 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2037 * ShareContainer.h: make isEqual and isUnique adaptable
2039 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2041 2004-01-07 Angus Leeming <leeming@lyx.org>
2044 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2046 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2048 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2049 functions replacing find, replace and replaceAll.
2051 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2052 LFUN_WORDFIND(FORWARD|BACKWARD).
2054 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2056 * text.C (breakParagraph): remove an outdated #warning
2058 2004-01-07 André Pönitz <poenitz@gmx.net>
2060 * lyxfind.C: somewhat clearer logic
2062 * text.C: prevent crash in cursorX on unitialized row cache
2064 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2066 * lyxcursor.[Ch] (operator>): add
2067 * textcursor.C (selStart, selEnd): use std::min and std::max
2069 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2071 * Chktex.C: include boost/format.hpp
2073 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2075 * InsetList.C: replace functor MathcIt with adaptable functor
2077 (insetIterator): modify accordingly
2079 * BranchList.h: move the BranchNamesEqual functor here from...
2080 * BranchList.C: ... to here
2082 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2084 (add): replace a finding loop with std::find_if.
2086 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2088 * output_docbook.C: moving LatexParam functionality into
2091 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2093 * buffer.C: increment format to 229.
2095 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2098 * lyx_sty.[Ch]: remove minipageindent_def
2104 * text3.C: remove LFUN_INSET_MINIPAGE
2106 2003-12-28 Angus Leeming <leeming@lyx.org>
2108 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2110 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2112 * text2.C (setParagraph): fix off-by-one crash
2114 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2116 * output_docbook.C: header stuff for AGU
2118 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2120 * text2.C (redoCursor): remove
2123 * BufferView_pimpl.C: remove calls to redoCursor and
2124 setCursor(cursor.par(), cursor.pos()) all around
2126 2003-12-15 Angus Leeming <leeming@lyx.org>
2128 * buffer.C: up the format to 228.
2130 2003-12-15 André Pönitz <poenitz@gmx.net>
2132 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2137 * BufferView_pimpl.C:
2146 2003-12-15 Angus Leeming <leeming@lyx.org>
2148 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2149 than getFromGUIName to manipulate the color.
2151 2003-12-14 Angus Leeming <leeming@lyx.org>
2153 * BranchList.[Ch]: minimize the API.
2154 (Branch::getBranch, getColor): now return a 'const &'.
2155 (Branch::setSelected) now returns a bool set to true if the
2156 selection status changes.
2157 (BranchList::clear, size, getColor, setColor, setSelected,
2158 allBranches, allSelected, separator): removed.
2159 (BranchList::find): new functions, returning the Branch with
2161 (BranchList::add, remove): return a bool indicating that
2162 the operation was successful.
2164 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2165 new InsetBranch::isBranchSlected member function.
2167 * LColor.[Ch]: mimimize the API.
2168 (fill): renamed as addColor and made private.
2169 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2170 versions of these functions taking a string arg have been removed.
2172 * bufferparams.C (readToken):
2173 * lyxfunc.C (dispatch):
2174 * lyxrc.C (read): changes due to the altered BranchList and
2177 * factory.C (createInset, readInset): changes due to altered
2180 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2183 * lyxfunc.C: remove insetminipage. "minipage-insert"
2184 now produces a frameless minipage box inset.
2186 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2188 * textcursor.[Ch] (selStart,selEnd): add new methods
2189 remove selection::start, end, use LyXCursor::operator<
2190 * lyxcursor.[Ch] (operator<): add
2191 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2192 * BufferView.[Ch] (unsetXSel): add
2193 * text2.C (clearSelection): use unsetXSel,adjust
2196 * rowpainter.C: adjust
2197 * bufferview_funcs.C (put_selection_at): adjust
2199 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2201 * BufferView_pimpl.C: small coord. correction
2203 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2205 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2206 dragging over the splash screen.
2208 2003-12-11 Angus Leeming <leeming@lyx.org>
2210 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2211 as it is now handled in LyXText::dispatch.
2213 * text3.C (doInsertInset): remove a level of nesting.
2215 2003-12-11 Angus Leeming <leeming@lyx.org>
2217 * factory.C (createInset): changes due to the changed interface to
2218 InsetCommandMailer::string2params.
2220 2003-12-10 Angus Leeming <leeming@lyx.org>
2222 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2223 'dialog-show-new-inset <inset name>'
2225 2003-12-10 Angus Leeming <leeming@lyx.org>
2227 * buffer.C: up the format to 227.
2229 * factory.C: the box inset is now identified simply by 'Box'.
2231 2003-12-10 Angus Leeming <leeming@lyx.org>
2233 * buffer.C: up the format to 226.
2235 * factory.C: the note inset is now identified simply by 'Note'.
2237 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2239 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2240 when a pit is enough. Standarize a couple of loops.
2242 2003-12-05 Angus Leeming <leeming@lyx.org>
2244 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2245 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2246 data to the re-worked "log" dialog.
2248 2003-12-03 André Pönitz <poenitz@gmx.net>
2254 * paragraph_funcs.C:
2256 * text2.C: use Inset::getText instead of Inset::getParagraph
2258 2003-12-03 André Pönitz <poenitz@gmx.net>
2262 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2263 InsetText::read() as LyXText::read()
2265 2003-12-02 Angus Leeming <leeming@lyx.org>
2267 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2268 type. Add a comment in the implementation that the function uses
2269 the stream's bad() function rather than fail() as the std::streams
2272 2003-12-02 André Pönitz <poenitz@gmx.net>
2274 * lyxlex.[Ch]: make interface more similar to std::stream
2276 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2278 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2280 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2282 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2284 * vspace.[Ch]: remove VSpace::NONE
2286 2003-12-01 André Pönitz <poenitz@gmx.net>
2289 * lyxtext.h: move ParagraphList member to LyXText
2290 rename LyXText::ownerParagraphs to LyXText::paragraph
2293 * bufferview_funcs.C:
2303 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2305 * undo.C: fix cursor positioning
2307 2003-12-01 John Levon <levon@movementarian.org>
2309 * BufferView_pimpl.C: fix a crash on exit with
2312 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2314 * BranchList.C: fix setSelected() method.
2316 2003-11-28 André Pönitz <poenitz@gmx.net>
2318 * ParagraphParameters.[Ch]:
2319 * ParameterStruct.h: remove space above/below from Paragraph to
2322 * BufferView_pimpl.C:
2328 * paragraph_funcs.C:
2334 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2336 * factory.C: Syntax change for CharStyles
2338 2003-11-28 André Pönitz <poenitz@gmx.net>
2343 * buffer.[Ch]: move LyXText member
2345 2003-11-28 André Pönitz <poenitz@gmx.net>
2347 * BufferView.[Ch]: make LyXText * text a private member
2349 * BufferView_pimpl.C:
2360 * output_plaintext.C: cleanup
2362 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2365 * lyxtextclass.[Ch]: parametrize SGML document header
2367 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2370 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2373 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2375 * text2.C (setFont): rework using PosIterator (no more recursive)
2376 (setCharFont): no more needed
2377 (setLayout): no more selection cursors fiddling (done by redoCursor)
2378 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2379 destroy remaining ones)
2381 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2383 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2385 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2388 * text3.C: adjust + re-allow multi par depth changes
2389 * textcursor.C: simplify a bit
2391 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2397 * src/output_docbook.C:
2398 * src/output_latex.C:
2403 * src/text2.C: Introducing a number of tags parametrizing various
2404 XML formats that we may want to support
2406 2003-11-25 André Pönitz <poenitz@gmx.net>
2408 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2410 * lyxtext.h (leftMargin/rightMargin): simplify interface
2417 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2419 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2420 master file to any child files. Fixes bug 546.
2422 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2424 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2426 2003-11-24 André Pönitz <poenitz@gmx.net>
2428 * rowpainter.C: simplification
2430 * text2.C (updateCounters): remove call to redoParagraph on
2431 changed labels as this is far too expensive.
2433 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2435 * converter.C (convert): fix a crash: this function gets
2436 called with buffer == 0 from importer code.
2438 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2440 * text3.C (cursorPrevious): make sure that we do not compare
2441 iterators form different containers.
2444 * rowpainter.C (paintSelection): make sure that we do not compare
2445 iterators from different containers.
2447 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2448 iterators from different ParagraphList containers.
2451 * text2.C (LyXText): change order of initialization slightly
2452 (operator=): new function. copy all variables except cache_par_
2453 (moveUp): make sure that we do not compare iterators from
2454 different ParagraphList constainers.
2457 * text.C (firstPar): new function
2458 (lastPar): new function
2459 (endPar): new function
2461 * lyxtext.h: move things around and group public functions, public
2462 variables, private functions, private variables
2464 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2466 * factory.C: change call to InsetERT constructor to avoid
2467 additional invocation of method status
2468 * text2.C (toggleInset): remove redundant update() call
2469 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2470 instead of a Bufferview pointer
2472 2003-11-21 André Pönitz <poenitz@gmx.net>
2474 * rowpainter.C: simplification
2476 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2478 * text3.C (dispatch): make possible to extend a word/row selection
2481 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2483 * lyxtext.h: x0_,y0_ -> xo_,yo_
2484 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2485 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2486 * rowpainter.C (paintRows): paint full paragraphs
2488 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2490 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2493 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2495 * lyxtext.h: add x0_, y0_
2496 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2497 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2499 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2501 * text2.C (setCursorIntern): move the x_target update here *
2502 * text3.C: change some bv() to true/false in calls to
2503 cursorUp/Down/Right/Left
2504 * cursor.C: use helper function.
2506 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2508 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2509 * paragraph_funcs.[Ch]: correct comment
2510 * rowpainter.C: do not paint selections away from bv->cursor()
2511 Fix a long standing selection painting bug.
2512 * text3.C: generalize mouse-selection code to LyXTexts other that
2514 * textcursor.C: do not use y coords if we can use par offsets
2516 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2518 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2519 cursor position after e.g. inset insert)
2521 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2523 * lyxfind.C (replace): adjust to locking removal + some
2526 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2528 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2531 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2534 * output_docbook.C: XML sanitation: new layout
2535 parameters InnerTag and CommandDepth
2537 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2539 * BufferView_pimpl.C:
2541 * text3.C: Fix the insertion and modification of button-style
2544 2003-11-13 André Pönitz <poenitz@gmx.net>
2546 * InsetList.[Ch]: remove deleteLyXText
2548 * paragraph.[Ch]: cache beginOfBody position
2553 * text3.C: remove superfluous update() calls
2557 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2559 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2560 * BufferView.C (fitLockedInsetCursor): remove
2561 * cursor.[Ch] (getDim): add
2562 * text.C (getRowNearY): add faster version
2563 * text3.C: remove some update calls
2565 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2577 * text3.C: The Character Style /XML short element patch.
2579 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2582 * factory.C: Small step to solving 'unable to insert some insets'
2585 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2587 * cursor.[Ch] (updatePos): new function for updating the y
2588 position of the tip inset
2589 * bufferview_funcs.C (put_selection_at):
2590 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2592 2003-11-11 André Pönitz <poenitz@gmx.net>
2594 * text.C: remove big comment on invalid Paragraph pointers as it is
2597 2003-11-11 André Pönitz <poenitz@gmx.net>
2599 * text_funcs.[Ch]: merge with ...
2607 * Makefile.am: remove text_funcs.[Ch]
2609 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2611 * cursor.C (getPos): return absolute cached y coord
2613 * BufferView_pimpl.C (fitCursor): new simplistic code
2614 (workAreaDispatch): add a fitCursor call
2616 2003-11-10 André Pönitz <poenitz@gmx.net>
2619 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2621 2003-11-10 André Pönitz <poenitz@gmx.net>
2623 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2624 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2625 indicate that the cursor needs to leave an inset
2627 * lyxtext.h: remove inset locking
2629 * cursor.[Ch]: re-implement functionality provided by inset locking
2632 * BufferView_pimpl.[Ch]:
2634 * bufferview_funcs.[Ch]:
2646 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2648 * PosIterator.[Ch]: replace the stack with a vector, add inset
2650 * iterators.[C]: adjust
2652 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2654 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2656 * paragraph_funcs.C (readParToken): put the correct id in the
2657 error item, not the id of the top paragraph
2659 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2661 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2662 * bufferview_funcs.C (put_selection_at): use the above
2664 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2666 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2668 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2670 * output_linuxdoc.h:
2671 * output_plaintext.h:
2673 * output_docbook.h: add #include statements
2675 2003-11-05 José Matos <jamatos@lyx.org>
2677 * output_docbook.[Ch]:
2678 * output_latex.[Ch]:
2679 * output_linuxdoc.[Ch]:
2680 * output_plaintext.[Ch]: New files for output formats.
2681 * output.[Ch]: New file for helper functions.
2684 * paragraph_funcs.[Ch]: output functions moved to new files.
2686 * outputparams.h: rename of latexrunparams.h
2694 * paragraph_funcs.[Ch]:
2695 * paragraph_pimpl.[Ch]:
2696 * tabular.[Ch]: rename ascii to plaintext
2697 and LatexRunParams to OutputParams.
2699 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2701 * iterators.[Ch] (text): require bv argument
2702 * undo.C (recordUndo):
2703 * lyxfunc.C (dispatch):
2704 * bufferview_funcs.C (put_selection_at): adjust
2706 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2708 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2710 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2712 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2715 2003-11-04 André Pönitz <poenitz@gmx.net>
2717 * cursor.[Ch]: restructure
2720 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2722 * iterators.[Ch] (asCursor): remove
2724 * lfuns.h: remove LFUN_INSET_EDIT
2730 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2732 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2734 * lyxfind.[Ch]: complete overhaul
2735 * BufferView_pimpl.C:
2737 * paragraph.[Ch] (insert): add
2739 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2743 * text.C: remove dead spellcheck code
2745 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2747 * dispatchresult.h: add a val setter
2749 * cursor.C (dispatch): use a tempvar for data_[i]
2751 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2753 * PosIterator.[Ch]: compile fix
2755 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2757 * text.C (cursorPar): deactivate the cursor cache
2759 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2761 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2763 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2765 * text3.C (dispatch): adjust for new DisptchResult semantics.
2767 * lyxfunc.C (dispatch): handle update when return from
2768 Cursor::dispatch, adjust for new DispatchResult semantics.
2770 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2771 DispatchResult(true) mean to not update. Add class functions for
2772 setting dispatched and update, as well as reading.
2774 * cursor.C (dispatch): don't handle update here
2776 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2778 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2779 * trans_mgr.C: adjust
2781 * paragraph_funcs.C (readParToken): exception safety
2783 * lyxvc.h: store the vcs pointer in a scoped_ptr
2786 * lyxsocket.C (serverCallback): exception safety
2788 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2790 * ispell.C (clone): make it return a auto_ptr
2792 * factory.C (createInset): exception safety
2793 (readInset): exception safety
2795 * bufferlist.C (newBuffer): exception safety
2797 * Thesaurus.C (Thesaurus): use initialization for aik_
2799 * MenuBackend.C (expandToc): exception safety.
2801 2003-11-03 André Pönitz <poenitz@gmx.net>
2805 * bufferview_funcs.C: remove getInsetFromId()
2808 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2814 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2816 * PosIterator.C (distance, advance): new
2817 * bufferview_funcs.[Ch] (put_selection_at): new
2818 * iterators.[Ch] (lockPath): new
2820 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2822 * iterators.[Ch] (asPosIterator): added
2823 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2824 * PosIterator.[Ch]: added
2826 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2830 * cursor.C (dispatch):
2831 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2833 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2834 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2835 contructor, add a class function dispatched. Remove operator>=
2837 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2839 * debug.C: only use the default constructor for debugstream
2842 * main.C (main): include debug.h and setup the lyxerr streambuf
2845 2003-10-31 José Matos <jamatos@lyx.org>
2847 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2849 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2850 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2851 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2852 * paragraph_pimpl.C (simpleTeXSpecialC):
2853 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2854 add LatexRunParams argument.
2856 * exporter.C (Export): change call accordingly.
2858 * latexrunparams.h: add new member to take care of the other backends.
2859 2003-10-30 José Matos <jamatos@lyx.org>
2861 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2862 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2863 factorise code for paragraph output.
2865 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2868 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2870 * text3.C (dispatch):
2871 * lyxfunc.C (dispatch):
2872 * cursor.C (dispatch):
2873 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2875 * dispatchresult.h: make the dispatch_result_t ctor explicit
2877 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2880 * buffer.C: small refactoring of docbook stuff
2882 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2884 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2887 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2889 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2890 operator dispatch_result_t, and operators for == != and >=
2892 * cursor.C (dispatch): adjust for operator dispatch_result_t
2893 removal. comment out call to update
2895 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2897 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2905 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2908 * dispatchresult.h: new file, DispatchResult broken out of
2911 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2913 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2915 * text.C (rowBreakPoint): put a hack inside #if 0
2917 2003-10-28 André Pönitz <poenitz@gmx.net>
2921 * paragraph_funcs.C:
2924 * text2.C: general cleanup (lots of small stuff)
2926 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2928 * text2.C (cursorEnd): simple fix to the "end key goes to one
2929 before the end on last row" bug
2931 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2933 * text.C (backspace): fix the "zombie characters"
2935 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2937 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2939 2003-10-27 André Pönitz <poenitz@gmx.net>
2941 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2943 * factory.C: handle new InsetPagebreak, InsetLine
2945 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2946 and move handling into new InsetPagebreak, InsetLine
2948 * BufferView_pimpl.C:
2950 * ParagraphParameters.C:
2951 * ParameterStruct.h:
2956 * paragraph_funcs.C:
2957 * paragraph_pimpl.C:
2963 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2966 * lyxrow_funcs.[Ch]:
2972 * text3.C: remove lastPos uses in favour of Row::endpos
2974 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2976 * undo.C (performUndoOrRedo): fix two crashes by setting a
2977 cursor by hand and reordering some calls. Use bv->lockInset instead
2978 of inset->edit because the latter loses cursor information
2980 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2982 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2984 (rowBreakPoint): fix width. change point to point + 1.
2985 Add a missing check.
2987 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2990 * lyxfunc.C: fix (at least partly) the problems
2991 with the Nav menu and headers inside branch insets
2994 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2996 * paragraph.C (getChar): add strong asserts
2998 * lyxrow_funcs.C (lastPos): remove hideous hack
3000 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3001 (fill): adjust to that (avoid an infinite loop)
3003 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3005 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3007 2003-10-23 André Pönitz <poenitz@gmx.net>
3009 * RowList_fwd.h: change list<> to vector<> to gain speed
3010 after suggestion from Alfredo
3012 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3014 * lyxtext.h: move the bidi stuff from here...
3017 * Bidi.[Ch]: ... to here
3019 2003-10-23 André Pönitz <poenitz@gmx.net>
3022 * text.C (isLastRow, isFirstRow): new functions
3024 * paragraph.h: new width cache member
3026 * rowpainter.C: replace RowList::iterator with Row & where possible
3028 * lyxfunc.C: replace several view()->text with a single call
3030 * toc.C: fix 'unused' warning
3032 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3034 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3035 when woring with stream::pos_type
3036 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3038 2003-10-22 André Pönitz <poenitz@gmx.net>
3041 * text.C: use Row & instead of RowList::iterator
3043 * lyxrow.h: rename end() to endpos()
3049 2003-10-22 Angus Leeming <leeming@lyx.org>
3051 * buffer.[Ch] (fully_loaded): new member function, returning true
3052 only when the file has been loaded fully.
3053 Used to prevent the premature generation of previews and by the
3054 citation inset to prevent computation of the natbib-style label.
3056 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3057 templates are all set up.
3059 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3061 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3063 * text.C: fixed an "oops" in the "is a bit silly"
3066 2003-10-21 André Pönitz <poenitz@gmx.net>
3068 * FuncStatus.[Ch]: small stuff, whitespace
3070 * lyxfont.[Ch]: operator<<() for debug reasons
3074 * lyxtext.h: whitespace, spelling
3076 * paragraph.C: naming of variables
3079 * text2.C: small stuff
3082 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3084 * text.C: (1) finish off the inset display() work;
3085 (2) fix the "is a bit silly" bug (accessing char
3088 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3090 * text.C: re-introduce display() for insets, fixing the
3091 various bugs (stretch of line above, math inset
3094 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3096 * text.C (rightMargin): remove spurious semicolon
3098 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3101 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3103 * text3.C: fix one crash due to wrong cursor def
3105 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3107 * vc-backend.C (scanMaster): make the regex static
3109 * LaTeX.C (scanAuxFile): make the regexs static
3111 * text3.C (doInsertInset, dispatch, dispatch):
3112 * text2.C (cursorUp, cursorDown):
3113 * text.C (selectNextWordToSpellcheck):
3114 * BufferView_pimpl.C (dispatch):
3115 * lyxfunc.C (dispatch): localDispatch -> dispatch
3117 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3119 * lyxsocket.C: include <cerrno>
3121 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3123 * lyxfunc.C (dispatch): remove textcache stuff
3125 * bufferlist.C (release): remove textcache stuff
3128 * TextCache.C: delete file
3129 * TextCache.h: delete file
3131 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3133 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3134 delete of the bv_->text.
3135 (resizeCurrentBuffer): remove texcache stuff
3136 (workAreaResize): ditto
3138 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3140 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3143 2003-10-16 André Pönitz <poenitz@gmx.net>
3150 * text3.C: speed up by storing y positions per paragraph plus per-row
3151 offset instead of having a 'full' y position in the row.
3153 2003-10-15 André Pönitz <poenitz@gmx.net>
3157 * undo.[Ch]: make undo aware of inner insets
3159 2003-10-14 Angus Leeming <leeming@lyx.org>
3161 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3162 static member functions LyX::ref() and LyX::cref.
3163 (lastfiles): new accessor functions for the new lastfiles_ member var.
3164 (addLyXView, views_): add a new LyXView to the list of views_.
3165 (updateInset): loop over all LyXViews to call their own updateInset
3166 member function, returning a pointer to the Buffer owning the inset.
3168 * BufferView_pimpl.C (loadLyXFile):
3169 * MenuBackend.C (expandLastfiles):
3170 * bufferlist.C (MenuWrite, QuitLyX):
3171 lastfiles is no longer a global variable.
3172 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3174 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3175 static function. Access through LyX::cref().emergencyCleanup().
3177 2003-10-14 André Pönitz <poenitz@gmx.net>
3179 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3181 * undo.[Ch]: restoring part of 'undo in insets'
3184 * undo_funcs.[Ch]: merge with undo.[Ch]
3186 * tabular.C: small cleansing stuff
3188 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3190 * paragraph_funcs.C (readParToken): report unknown insets as error
3191 boxes. Use the outer paragraph as location (also for unknown
3194 * factory.C (readInset): do not abort on reading an unknown inset.
3195 Eat it and return 0.
3197 2003-10-13 Angus Leeming <leeming@lyx.org>
3199 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3201 * lyxrc.C: displayTranslator is now a function,
3202 declared in GraphicsTypes.h.
3204 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3206 * format.C: new placeholder $$a to pass the socket address.
3208 * bufferlist.[Ch]: new function getBufferFromTmp.
3210 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3211 files in the temporary dir.
3213 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3215 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3217 * Makefile.am: add lyxsocket.[Ch].
3219 * lyx_main.C (error_handler): handle SIGPIPE.
3221 2003-10-13 André Pönitz <poenitz@gmx.net>
3223 * BufferView_pimpl.C:
3228 * undo_funcs.[Ch]: use paroffset_type instead of
3229 ParagraphList::iterators to prevent multiple conversion
3230 (and get a more robust interface)
3232 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3234 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3236 * text3.C (dispatch): ditto
3238 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3240 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3241 move the onlyfile, use onlyfile instead of foundfile in a couple
3244 * DepTable.C (update): flush the error stream a bit more
3246 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3248 * lyxserver.C (callback): adjust
3250 * lyxfunc.C (getStatus): add a missing brace in commented code
3251 (ensureBufferClean): reindent
3252 (dispatch): delete version taking a string
3254 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3256 * LaTeX.C (deplog): move found file handlig from here...
3257 (handleFoundFile): .. to new function here.
3258 (deplog): make sure to discover several files mentioned on the
3261 2003-10-10 André Pönitz <poenitz@gmx.net>
3268 * text3.C: fix some of the tabular crashes
3270 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3272 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3274 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3276 2003-10-09 André Pönitz <poenitz@gmx.net>
3278 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3281 * BufferView_pimpl.C:
3282 * bufferview_funcs.C:
3293 * undo_funcs.C: adjust
3295 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3297 * text2.C (incrementItemDepth): new function, use a backtracking
3298 algorithm to discover the correct item depth.
3299 (resetEnumCounterIfNeeded): new function, use a backtracking
3300 algorithm to discover if counter reset is needed.
3301 (setCounter): use them. Simplify a bit. Add different labels for
3302 different item depths for itemize.
3304 * paragraph.C (Paragraph): remove initialization of enumdepth
3307 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3308 enumerate and itemize. Change the type of itemdepth to signed char.
3310 2003-10-08 André Pönitz <poenitz@gmx.net>
3312 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3317 * tabular.[Ch]: fix crash after 'row-insert'
3319 2003-10-08 Angus Leeming <leeming@lyx.org>
3321 Fix doxygen warnings.
3323 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3324 Remove CutAndPaste:: prefix from header file declaration.
3326 * LColor.h (fill): remove LColor:: prefix from declaration.
3328 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3329 use lyx::depth_type rather than Paragraph::depth_type so that
3330 header file and .C file match.
3332 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3334 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3335 * aspell.C: \file aspell_local.C -> \file aspell.C
3336 * gettext.C: \file gettext.C -> \file src/gettext.C
3337 * gettext.h: \file gettext.h -> \file src/gettext.h
3338 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3339 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3340 * text.C: \file text.C -> \file src/text.C
3342 * toc.C: move comment so that doxygen is not confused.
3344 2003-10-07 Angus Leeming <leeming@lyx.org>
3346 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3348 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3351 * aspell_local.h: add forgotten std::string's.
3353 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3360 * text3.C: The Box patch. Fancybox support, minipage, parbox
3362 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3368 * ParagraphParameters.h:
3378 * lyxtextclasslist.h:
3381 * paragraph_pimpl.C:
3382 * textcursor.h: add <string> and other small fixes to make Lars'
3383 std::string patch compile with STLport.
3385 2003-10-06 Angus Leeming <leeming@lyx.org>
3387 * LColor.h: Add missing #include <string>.
3389 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3391 * All most all file in all subdirs: Make <string> be the prefered
3392 way of getting to std::string, add using declarations.
3394 2003-10-06 André Pönitz <poenitz@gmx.net>
3396 * metricsinfo.C: initialize LyXFont before changing attribute.
3397 (fixes the 'math in \emph is upright' bug)
3399 2003-10-06 André Pönitz <poenitz@gmx.net>
3401 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3403 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3406 * paragraph_pimpl.C: Small fixes to build using STLport
3408 2003-10-02 André Pönitz <poenitz@gmx.net>
3411 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3413 2003-10-01 André Pönitz <poenitz@gmx.net>
3415 * factory.C: assert early
3417 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3419 * lyx_main.C: remove the global debug object
3421 * debug.h: adjust for new debugstream
3423 * debug.C: adjust for new debugstream and keep the global debug
3426 2003-09-22 Angus Leeming <leeming@lyx.org>
3428 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3429 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3430 an incomplete class LyXFont.
3432 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3434 * factory.C: bug fix in branches
3436 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3438 * lyxfunc.C (processKeySym): adjust
3440 (dispatch): change arg name from ev to func, adjust
3441 (sendDispatchMessage): ditto
3443 * lyx_main.C (defaultKeyBindings): adjust keybindings
3444 (deadKeyBindings): ditto
3446 * kbsequence.C (addkey): return a FuncRequest
3448 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3450 * kbmap.C (bind): take a FuncRequest as arg, adjust
3453 (defkey): change to take a FuncRequest as arg, adjust
3454 (findbinding): take a FuncRequest as arg, adjust.
3456 * funcrequest.h (operator=): added
3458 * funcrequest.C (FuncRequest): default kb_action changed from
3459 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3461 * buffer.C (dispatch): simplify
3462 (dispatch): adjust to take a FuncRequest as arg, adjust
3464 * boost.C (assertion_failed): change assertion message slightly
3466 * ToolbarBackend.C (read): simplify
3468 * MenuBackend.C (binding): adjust call to findbinding, add a
3469 message if no binding is found.
3471 (expandToc): correct by adding a empty FuncRequest
3473 * LyXAction.C: include <boost/assert.hpp>
3474 (isPseudoAction): delete function
3475 (LookupFunc): change name to...
3476 (lookupFunc): this. change return type to FuncRequest.
3477 (getActionName): take kb_action as arg, simplify
3478 (funcHasFlag): add an assert, simplify.
3480 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3482 * toc.C (action): return a FuncRequest, simplify
3484 * lyxfunc.C (processKeySym): adjust
3485 (getStatus): delete version that takes an int.
3487 (dispatch): delete version that takes action as int
3489 (sendDispatchMessage): simplify and adjust
3491 * funcrequest.C (getArg): take unsigned int as arg
3493 * ToolbarBackend.C (read): adjust
3494 (add): delete version that takes func as a string.
3495 (getIton): take a FuncRequest as arg
3497 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3500 * MenuBackend.C (MenuItem): add a new construct that only takes a
3501 Kind, simplify the constructor use for submenus.
3503 (expandLastfiles): adjust
3504 (expandDocuments): adjust
3505 (expandFormats): adjust
3506 (expandFloatListInsert): adjust
3507 (expandFloatInsert): adjust
3508 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3510 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3511 Remove class variables lyx_pseudo_map and lyx_arg_map
3513 * LyXAction.C (searchActionArg): delete function
3514 (getPseudoAction): delete function
3515 (retrieveActionArg): delete function
3516 (LookupFunc): make it return kb_action, simplify.
3517 (getActionName): simplify
3519 * factory.C (createInset): fix new bug
3521 2003-09-19 Angus Leeming <leeming@lyx.org>
3523 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3524 masterFilename_ parameter in the include inset.
3526 * factory.C (createInset): changes due to the changes to InsetInclude.
3528 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3530 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3532 2003-09-18 Angus Leeming <leeming@lyx.org>
3535 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3536 Inset::fillWithBibKeys.
3537 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3539 2003-09-18 Angus Leeming <leeming@lyx.org>
3541 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3543 (ctor): pass and store a 'Buffer const &'
3544 (buffer): new member function.
3546 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3547 '*this' to the LaTeXFeatures ctor.
3549 2003-09-18 Angus Leeming <leeming@lyx.org>
3555 * text.C: rename EnumLColor as LColor_color.
3557 2003-09-18 Angus Leeming <leeming@lyx.org>
3559 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3560 remove #include "insets/insetbase.h" from cursor.h.
3562 2003-09-18 Angus Leeming <leeming@lyx.org>
3564 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3565 InsetOld_code to remove #include "inset.h".
3567 * iterators.C: add #include "insets/inset.h"
3569 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3571 * BufferView.C: remove more locking stuff that apparently doesn't
3572 do anything sensible.
3574 2003-09-16 André Pönitz <poenitz@gmx.net>
3577 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3580 2003-09-16 Angus Leeming <leeming@lyx.org>
3582 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3584 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3587 * paragraph.h: remove #include "lyxfont.h". Forward declare
3590 2003-09-16 Angus Leeming <leeming@lyx.org>
3592 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3593 of support/textutils.h.
3594 (isWord): move the contents of support/textutils.h's IsWordChar here.
3600 * text2.C: add #include "paragraph.h".
3603 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3605 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3611 * LaTeX.C: use namespace alias for lyx::support::os
3613 2003-09-16 Angus Leeming <leeming@lyx.org>
3616 * bufferview_funcs.C:
3619 * paragraph_pimpl.C:
3621 * text.C: add #include "LColor.h".
3623 2003-09-16 Angus Leeming <leeming@lyx.org>
3625 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3626 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3628 Store the FontBits::color variable as an int rather than as an
3629 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3632 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3633 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3634 string calls together.
3636 * lyxrc.C: add #include "LColor.h".
3638 2003-09-15 Angus Leeming <leeming@lyx.org>
3640 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3643 2003-09-15 Angus Leeming <leeming@lyx.org>
3645 * LColor.h: add an EnumLColor wrapper for LColor::color.
3647 * lyxfont.[Ch] (color, setColor, realColor):
3648 * lyxtext.h, text.C (backgroundColor):
3649 pass EnumLColor args to/from the functions, rather than LColor::color
3653 * lyxtext.h: forward declare EnumLColor.
3655 * lyx_main.C: add #include "LColor.h".
3657 2003-09-15 Angus Leeming <leeming@lyx.org>
3659 * .cvsignore: add lyx-gtk.
3661 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3666 * ParagraphParameters.C
3670 * bufferview_funcs.C
3680 * vc-backend.C: remove usage of STRCONV
3682 2003-09-15 Angus Leeming <leeming@lyx.org>
3684 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3685 explicitly define the color passed to the painter.
3687 2003-09-15 Angus Leeming <leeming@lyx.org>
3689 * bufferparams.C (BufferParams): reorder member initializers to avoid
3692 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3694 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3695 * text.C (updateRowPositions): remove an unusual nop
3697 2003-09-12 André Pönitz <poenitz@gmx.net>
3699 * BufferView_pimpl.C:
3708 * Counters.[Ch]: finish the 'automatic counters' job
3710 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3712 * aspell.C: include <boost/assert.cpp> (compile fix)
3714 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3716 * boost.C (assertion_failed): use lyx::support::abort instead of
3719 2003-09-10 Angus Leeming <leeming@lyx.org>
3721 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3722 with their _fwd progeny.
3724 2003-09-09 Angus Leeming <leeming@lyx.org>
3726 134 files throughtout the source tree: replace 'using namespace abc;'
3727 directives with the appropriate 'using abc::xyz;' declarations.
3729 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3731 * boost.C (emergencyCleanup): moved here from LAssert.c
3732 (assertion_failed): new function, called by BOOST_ASSERT
3734 * several files: change Assert to BOOST_ASSERT
3736 2003-09-09 Angus Leeming <leeming@lyx.org>
3738 * buffer.[Ch]: Add an Impl class and move Buffer's member
3739 variables into it. As a result move several header files out of
3742 Add header files to lots of .C files all over the tree as a result.
3744 2003-09-09 Angus Leeming <leeming@lyx.org>
3746 * buffer.[Ch]: make Buffer's member variables private. Add
3749 Lots of changes all over the tree as a result.
3751 2003-09-08 Angus Leeming <leeming@lyx.org>
3753 * graph.C: #include <config.h>.
3755 2003-09-08 Angus Leeming <leeming@lyx.org>
3759 * BufferView_pimpl.C:
3788 * toc.C: remove redundant using directives.
3790 2003-09-07 Angus Leeming <leeming@lyx.org>
3792 * LaTeXFeatures.h: remove #include "support/types.h".
3793 * ToolbarBackend.h: remove #include <algorithm>.
3794 * changes.h: remove #include <ctime>.
3795 * debug.h: remove #include <iosfwd>.
3796 * graph.h: remove #include "support/std_string.h".
3797 * lyx_main.h: remove #include <csignal>.
3798 * lyxlex_pimpl.h: remove #include <fstream>.
3799 * sgml.h: remove #include <algorithm>, <utility>.
3800 * toc.h: remove #include "support/std_ostream.h".
3801 Add #include <iosfwd>.
3803 2003-09-07 Angus Leeming <leeming@lyx.org>
3805 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3807 * converter.h: forward declare LatexRunParams.
3808 * encoding.h: remove #include "lyxrc.h".
3809 * lyxtext.h: remove #include "LColor.h".
3810 * lyxtextclass.h: remove #include "support/types.h".
3811 * trans.h: remove #include "tex-accent.h".
3812 * trans_mgr.h: remove #include "tex-accent.h".
3813 * insets/inset.h: remove #include "support/types.h", <vector>.
3814 * insets/insetcollapsable.h: remove #include "LColor.h".
3815 * insets/insetinclude.h: remove #include "dimension.h".
3816 * insets/insetlatexaccent.h: remove #include "dimension.h".
3817 * insets/insetoptarg.h:: remove #include "insettext.h".
3818 * insets/insettext.h: remove #include "dimension.h",
3819 <boost/shared_ptr.hpp>
3821 * insets/renderers.h: add #include "dimension.h".
3822 * insets/updatableinset.h: add #include "support/types.h".
3824 * many .C files: Associated changes.
3826 2003-09-06 Angus Leeming <leeming@lyx.org>
3828 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3829 one, inside testInvariant.
3831 * PrinterParams.C: new file.
3832 * PrinterParams.[Ch]: move the function bodies out of line.
3834 2003-09-06 Angus Leeming <leeming@lyx.org>
3836 * ParagraphParameters.h: forward declare ParameterStruct rather than
3837 including its header file.
3838 (depth): moved out-of-line.
3840 2003-09-06 Angus Leeming <leeming@lyx.org>
3842 * BufferView_pimpl.h:
3845 * lyxfunc.h: forward declare LyXKeySym rather than
3846 #include "frontends/LyXKeySym.h".
3848 * BufferView_pimpl.C:
3851 * lyxfunc.C: associated changes.
3853 2003-09-06 Angus Leeming <leeming@lyx.org>
3855 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3856 As a result, can remove the #include "insets/inset.h" from BufferView.h
3858 2003-09-06 Angus Leeming <leeming@lyx.org>
3860 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3861 As a result, can remove the #include "insets/inset.h" from BufferView.h
3863 2003-09-06 Angus Leeming <leeming@lyx.org>
3869 * bufferview_funcs.C:
3870 * BufferView_pimpl.C:
3875 * ParagraphParameters.C:
3880 * frontends/controllers/ControlDocument.C:
3881 * insets/insetcaption.C: rearrange the #includes into some sort of
3884 * buffer.h: remove #includes ErrorList.h, undo.h
3886 2003-09-06 Angus Leeming <leeming@lyx.org>
3888 * support/types.h: add a 'depth_type' typedef, used to store the
3889 nesting depth of a paragraph.
3892 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3893 defining explicitly.
3896 * paragraph_funcs.h:
3897 * ParagraphParameters.h:
3898 * sgml.h: use lyx::depth_type rather than Paragraph or
3899 ParameterStruct's depth_type.
3902 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3905 * BufferView_pimpl.C:
3907 * ParagraphParameters.C:
3910 * bufferview_funcs.C:
3917 * frontends/LyXView.C:
3918 * frontends/controllers/ControlDocument.C:
3919 * frontends/controllers/ControlErrorList.C:
3920 * insets/insetbibitem.C:
3921 * insets/insetbranch.C:
3922 * insets/insetcaption.C:
3923 * insets/insetcollapsable.C:
3924 * insets/insetenv.C:
3925 * insets/insetert.C:
3926 * insets/insetfloat.C:
3927 * insets/insetfoot.C:
3928 * insets/insetfootlike.C:
3929 * insets/insetnewline.C:
3930 * insets/insetquotes.C:
3931 * insets/insettabular.C:
3932 * insets/insettext.C:
3933 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3935 * frontends/controllers/ControlChanges.C: #include "changes.h".
3937 2003-09-06 Angus Leeming <leeming@lyx.org>
3939 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3940 than #including paragraph.h.
3943 * RowList.h: deleted. Superfluous.
3953 * insets/insettext.h: use ParagraphList_fwd.h rather than
3956 * paragraph.h: don't forward declare ParagraphList.
3959 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3960 rather than ParagraphList.h. paragraph.h is still needed for the
3961 Paragraph::depth_type parameters.
3963 * textcursor.h: enable it to compile stand-alone in light of the
3966 * bufferview_funcs.C:
3978 * frontends/controllers/ControlParagraph.C:
3979 * frontends/controllers/ControlTabular.C:
3980 * insets/insetmarginal.C:
3981 * insets/insetminipage.C:
3982 * insets/insetnote.C:
3983 * insets/insetoptarg.C: add header files needed to compile again.
3985 2003-09-06 Angus Leeming <leeming@lyx.org>
3987 * RowList_fwd.h: new file, forward-declaring Row rather than
3988 #including lyxrow.h.
3993 * insets/insettext.h: use it instead of RowList.h
3995 * bufferview_funcs.C:
4002 * text3.C: #include "RowList.h".
4004 2003-09-05 Angus Leeming <leeming@lyx.org>
4006 * factory.C (createInset):
4007 * vspace.C (c-tor): replace sscanf call with an istringstream.
4008 * ispell.C: re-add missing HP/UX headers.
4009 * lyxserver.C: re-add missing os2 headers.
4011 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4020 * text3.C: re-add missing system headers, needed for 2.95.2.
4022 2003-09-05 Angus Leeming <leeming@lyx.org>
4024 Changes most place everywhere due to the removal of using directives
4025 from support/std_sstream.h.
4027 2003-09-05 Angus Leeming <leeming@lyx.org>
4029 Replace LString.h with support/std_string.h,
4030 Lsstream.h with support/std_sstream.h,
4031 support/LIstream.h with support/std_istream.h,
4032 support/LOstream.h with support/std_ostream.h.
4034 Changes resulting throughout the tree.
4036 2003-09-05 Angus Leeming <leeming@lyx.org>
4038 * sgml.h: ensure that the header file can be compiled stand-alone.
4039 * *.C: strip out redundant #includes. (320 in total.)
4041 2003-09-04 Angus Leeming <leeming@lyx.org>
4043 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4044 here (from getPackages).
4046 * debug.[Ch]: add a new EXTERNAL tag.
4048 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4050 * text2.C (cursorEnd): simplify
4052 (getColumnNearX): adjust
4054 * text.C (computeBidiTables): adjust
4057 * rowpainter.C (paintChars): adjust
4058 (paintSelection): adjust
4059 (paintChangeBar): adjust
4062 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4064 (numberOfSeparators): adjust
4066 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4072 * text3.C: Restricts the mouse click functionality
4073 of insets like bibtex, include, toc and floatlist to the visible
4074 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4075 up the dialogs. Cursor has to be in front of the inset (i.e.
4076 start of row) for this to function.
4078 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4080 * bufferview_funcs.C (currentState): output row information
4082 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4084 * bufferview_funcs.C (currentState): output paragraph position
4086 2003-09-04 Angus Leeming <leeming@lyx.org>
4088 * FloatList.h: move out #include "Floating.h".
4089 * LaTeX.h: move out #include "DepTable.h".
4090 * LyXAction.h: move out #include "funcrequest.h".
4091 * buffer.h: move out #include "author.h", "iterators.h".
4092 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4093 * lyx_main.h: move out #include "errorlist.h".
4094 * lyxfunc.h: move out #include "FuncStatus.h".
4095 * lyxtext: move out #include "lyxcursor.h".
4096 * paragraph_pimpl.h: move out #include "counters.h".
4098 2003-09-03 Angus Leeming <leeming@lyx.org>
4100 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4101 preamble_snippets list, enabling us to add snippets to the preamble
4102 only if the snippet was not there already.
4104 2003-09-04 Angus Leeming <leeming@lyx.org>
4106 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4108 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4110 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4113 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4115 * BranchList.C: point fix, earlier forgotten
4117 2003-09-02 Angus Leeming <leeming@lyx.org>
4119 * box.C (contains): renamed from 'contained' after a fantastic
4122 2003-09-02 John Levon <levon@movementarian.org>
4128 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4130 2003-09-02 John Levon <levon@movementarian.org>
4132 * text2.C: simplification of cursorEnd(), including partial
4135 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4137 * buffer.C (readFile): add a space
4139 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4141 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4143 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4145 * buffer.C (readFile): new function, take a filename and a
4146 ParagraphList::iterator
4148 (readFile): adjust, make it private. don't use setStream, make
4149 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4150 always contain the filename.
4152 * BufferView.C (insertLyXFile): simplify and make it work for
4155 2003-08-30 John Levon <levon@movementarian.org>
4157 * Makefile.am: fix dist (from Kayvan)
4159 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4161 * most files: change to use const Buffer refs
4163 2003-08-27 André Pönitz <poenitz@gmx.net>
4165 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4166 on top of ownerPar().
4168 2003-08-27 John Levon <levon@movementarian.org>
4170 * funcrequest.C: properly initialise POD members
4172 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4174 * lyxtext.h (top_y): move top_y from here
4179 * BufferView_pimpl.[Ch]: to here
4180 * frontends/screen.C:
4181 * insets/insettabular.C:
4182 * insets/insettext.C: adjust
4183 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4185 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4188 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4190 2003-08-26 André Pönitz <poenitz@gmx.net>
4192 * paragraph_func.[Ch] (outerPar): new function
4195 * paragraph_funcs.C:
4196 * paragraph_funcs.h:
4197 * paragraph_pimpl.C:
4198 * text2.C: remove Inset::par_owner
4200 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4205 * text2.C: eliminates the needFullRow/display() stuff
4206 altogether, putting the logic in metrics/draw in the insets.
4208 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4210 * text2.C (redoParagraphInternal, redoParagraphs):
4211 * text.C (redoParagraph): add a call to updateRowPositions at the
4212 end of each 'metrics-like' call. Remove all others.
4213 (getRow): remove the 'y-computing' version.
4214 (getRowNearY): do not compute nor return the real y. Solve the
4215 'y < 0' problem and simplify.
4217 2003-08-22 Angus Leeming <leeming@lyx.org>
4219 * *.[Ch]: clean-up of licence and author blurbs.
4220 Also move config.h out of a few .h files and into a few .C files.
4222 2003-08-22 André Pönitz <poenitz@gmx.net>
4224 * lyxrow.[Ch]: add x_ and *fill_ members
4229 * text2.C: adjust/remove prepareToPrint() calls
4231 2003-08-22 André Pönitz <poenitz@gmx.net>
4233 * lyxrow.[Ch]: add end_ member
4235 * lyxrow_funcs.C: use LyXRow::end_
4237 * lyxtext.h (singleWidth): add LyXFont parameter
4240 * text2.C: adjust LyXText::singleWidth() calls
4242 * text.C (redoParagraph): simplify row breaking logic
4245 2003-08-19 André Pönitz <poenitz@gmx.net>
4247 * funcrequest.C: initialize button_ member
4250 * rowpainter.[Ch]: interface consolidation
4252 2003-08-18 André Pönitz <poenitz@gmx.net>
4255 * BufferView_pimpl.C:
4257 * paragraph_funcs.C:
4259 * text3.C: remove LyXScreen::draw() and fitCursor calls
4261 * BranchList.h: remove spurious semicolons
4263 * MenuBackend.C: fix branchlist related crash
4265 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4273 * bufferparams.[Ch]:
4277 * text3.C: implements the 'branch inset'
4278 idea. This allows the output of various versions of a document
4279 from a single source version, selectively outputing or suppressing
4280 output of parts of the text.
4281 This implementation contains a 'branch list editor' in a separate
4282 tab of the document settings dialog. Branches are user definable
4283 and have a "display colour" to distinguish them on-screen.
4285 ColorHandler was somewhat cleaned up.
4286 (1) make possible a dynamically growing LColor list by allowing
4287 the graphic context cache to grow along (vector);
4288 (2) eliminate an IMHO unnecessary step in colour allocation.
4290 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4292 * BufferView_pimpl.C: compile fix
4294 2003-08-15 André Pönitz <poenitz@gmx.net>
4296 * rowpainter.C: remove extra metrics calls
4298 * lyxtext.h: merge the two constructors into a single one,
4299 pass reference to owner's par list
4301 * BufferView_pimpl.C:
4305 2003-08-15 André Pönitz <poenitz@gmx.net>
4307 * lyxrow_funcs.[Ch]:
4310 * paragraph_funcs.C:
4315 * text_funcs.C: split LyXText::rowlist_ into individual
4316 Paragraph::rows_ chunks
4319 * BufferView_pimpl.[Ch]:
4322 * text3.C: remove toggleSelection()
4324 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4326 * bufferlist.C: beautify two alerts (shorter text of buttons)
4327 * buffer.C: Remove redundant ' ' from message
4329 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4330 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4331 rename VALIGN_CENTER to VALIGN_MIDDLE
4333 2003-08-11 André Pönitz <poenitz@gmx.net>
4335 * lyxtext.h (getPar):
4336 * text.C: new function
4338 2003-08-11 André Pönitz <poenitz@gmx.net>
4341 * tracer.[Ch]: remove unneeded files
4343 * InsetList.[Ch]: remove resizeInsetsLyXText()
4348 * text3.C: merge insertParagraphs() and appendParagraph()
4349 remove breakAgain(), update()
4351 * BufferView_pimpl.[Ch]:
4352 * bufferview_funcs.[Ch]:
4356 * tabular.C: adjust after text & InsetList changes.
4358 2003-08-08 André Pönitz <poenitz@gmx.net>
4360 * text.C (insertChar, backspace): replace rowlist fiddling
4361 with rebreak of full par
4364 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4365 checkParagraph, updateInset): removed
4367 2003-08-07 André Pönitz <poenitz@gmx.net>
4370 * text3.C: merge some LFUN handlers, remove dead code
4372 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4374 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4376 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4378 * text2.C (DEPM): fix part of bug 1255 and 1256
4380 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4382 * BufferView_pimpl.C (workAreaDispatch): change to use
4383 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4384 that are no mouse related.
4386 2003-08-05 André Pönitz <poenitz@gmx.net>
4389 * BufferView_pimpl.[Ch]:
4390 * bufferview_funcs.C:
4392 * text3.C: rip out "deep update"
4394 * textcursor.[Ch] (last_sel_cursor): remove unused member
4396 2003-08-04 André Pönitz <poenitz@gmx.net>
4399 * BufferView_pimpl.[Ch]:
4400 * ParagraphParameters.C:
4401 * bufferview_funcs.C:
4407 * text3.C: replace "complicated" BufferView::update(...) calls with
4410 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4412 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4414 * Makefile.am (lyx_SOURCES): add paper.h
4416 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4418 * Makefile.am: move things around so that both lyx-qt and
4419 lyx-xforms can be built (according to --with-frontend). Then lyx
4420 is a symbolic link to lyx-[firstfrontend]
4422 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4424 * Always use std::endl with lyxerr
4426 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4428 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4430 2003-08-01 André Pönitz <poenitz@gmx.net>
4433 * BufferView_pimpl.[Ch]:
4435 * text3.C: merge BufferView::repaint() and BufferView::update()
4437 2003-08-01 José Matos <jamatos@lyx.org>
4439 * buffer.[Ch]: file_format is no longer a buffer data element.
4441 2003-08-01 André Pönitz <poenitz@gmx.net>
4446 * text2.C: make redoParagraph more independent of current cursor
4448 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4450 * text2.C: remove unneeded members
4452 2003-07-30 André Pönitz <poenitz@gmx.net>
4454 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4456 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4457 create a single function...
4459 * paragraph_funcs.C (moveItem): ... here.
4462 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4464 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4466 * LColor.[Ch]: Add comment and greyedout logical colors.
4468 2003-07-30 André Pönitz <poenitz@gmx.net>
4470 * tabular.C: don't use Assert too heavily. This crashes where it
4473 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4475 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4476 is disabled (bug 1232)
4478 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4480 * factory.C: limited 'arg' scope
4482 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4484 * factory.C: fixed Note submenu issues
4486 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4488 * factory.C: submenu for Note/Comment/Greyedout
4490 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4493 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4495 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4498 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4499 greyedout. Patch provided by Jürgen Spitzmüller.
4501 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4503 * kbmap.C (read): fix error message when reading bind files
4505 2003-07-29 Angus Leeming <leeming@lyx.org>
4507 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4508 certainly does not do what it purports to do. I am doing it, and
4509 us, a favour by killing it.
4511 2003-07-28 José Matos <jamatos@lyx.org>
4513 * buffer.C (readBody, do_writeFile):
4514 * paragraph.C(readParagraph): \end_document replaces \the_end.
4516 2003-07-29 André Pönitz <poenitz@gmx.net>
4519 * BufferView_pimpl.[Ch]:
4523 * textcursor.[Ch]: remove toggleToggle & Co
4525 2003-07-28 José Matos <jamatos@fep.up.pt>
4527 * buffer.C (readParagraph):
4528 * params_func (readParToken, readParagraph):
4529 * paragraph.C (write): \layout -> \begin_layout.
4531 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4533 * lyxlex_pimpl.C (setFile): clean up slightly.
4535 * bufferparams.h: add compressed var
4537 * buffer_funcs.C (readFile): adjust for LyXLex change
4538 (newFile): ditto + simplify
4540 * buffer.C (writeFile): handle writing of compressed files
4542 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4543 Check if the file is compressed and set a bufferparm if so.
4545 * Makefile.am (lyx_LDADD): remove explicit -lz
4547 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4549 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4550 makeDocBookFile): put the real LyX version in the first line of
4554 * version.C.in: remove lyx_docversion
4556 * tabular.C (write_attribute): add a template-based version to
4557 write enums properly
4559 2003-07-28 André Pönitz <poenitz@gmx.net>
4564 * text3.C: use doubles again for x-coordinates. They are needed.
4566 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4568 * messages.C (getLocaleDir): use lyx_localedir()
4570 * lyxlex_pimpl.C (setFile): compress stuff
4572 * buffer.C (writeFile): add some compression stuff
4573 (do_writeFile): new func, dont call expliti close... will this
4576 * Makefile.am (lyx_LDADD): add -lz
4578 2003-07-28 José Matos <jamatos@fep.up.pt>
4580 * buffer.C: increment file format.
4581 * paragraph_funcs (readParagraph, readParToken):
4582 * paragraph.C (readParagraph): add \end_layout.
4584 2003-07-27 Angus Leeming <leeming@lyx.org>
4586 * Makefile.am: remove special casing for configure-time setting of
4587 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4589 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4590 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4592 2003-07-26 André Pönitz <poenitz@gmx.net>
4594 * paragraph_func.[Ch]:
4595 * paragraph.C (realizeFont): inline it whereever it is used
4600 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4603 2003-07-26 André Pönitz <poenitz@gmx.net>
4607 * text2.C: get rid of LyXText::need_break_row
4609 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4611 * toc.[Ch]: put namespace toc inside namespace lyx
4613 * MenuBackend.C (expandToc2): adjust for lyx::toc
4616 * lyxfunc.C (dispatch): adjust for lyx::find
4618 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4619 lyx::find instead. Reorganize a bit.
4620 (LyXReplace): rename to replace
4621 (LyXFind): rename to find
4623 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4626 2003-07-26 André Pönitz <poenitz@gmx.net>
4628 * text.C (setHeightOfRow): restrict scope of temporary variable
4630 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4631 code (never has been used?)
4633 2003-07-27 Asger Alstrup <alstrup@local>
4635 * text.C (fill): Optimise algorithm to exploit that we can reuse
4636 the LyXFont for many characters.
4637 (setHeightOfRow): Same thing.
4638 (rowBreakPoint): Same thing.
4640 2003-07-26 Asger Alstrup <alstrup@local>
4642 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4644 * text.C (singleWidth): Spurious font copying in hot-spot
4645 singleWidth avoided. Reorder tests for arabic for efficiency.
4647 * text.C (fill): handle empty paragraphs better.
4649 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4652 * encoding.h: add includes
4654 * lyxrc.C: remove reading of bind files
4656 * lyx_main.C (init): setup bindings and menus only if we have a
4659 * kbmap.C (read): new method. Do the actual reading of bind
4662 * converter.C (dvipdfm_options):
4665 (output): adapt PAPER_* enums.
4667 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4669 * bufferparams.h: remove paper-related enums from there
4671 * paper.h: New file. A trivial header file to hold paper-related
4672 enums. It should later expand to contain many paper-related
4675 * lyxrc.C: declare extern displayTranslator
4677 2003-07-27 José Matos <jamatos@fep.up.pt>
4679 * tabular.[Ch] (linuxdoc): add support for tables and figures
4682 2003-07-27 José Matos <jamatos@fep.up.pt>
4684 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4685 consistency in both functions.
4686 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4688 2003-07-26 Asger Alstrup <alstrup@local>
4690 * rowpainter.C (paintRows): Change algorithm to work directly on
4691 the insets rather than asking every character in the document
4692 whether its an inset.
4694 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4696 * buffer.C (openFileWrite): factorize some code
4698 2003-07-26 Angus Leeming <leeming@lyx.org>
4701 * lyx_main.[Ch]: replace occurances of system_tempdir with
4704 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4706 * rename Inset to InsetOld
4708 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4710 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4711 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4712 which I think is a bit clearer. EDIT is gone, since it was
4713 premature optimisation, and broken for mathed anyway.
4714 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4715 with cursor positioning in insets as well (math insets still do not
4716 work, but that's a different story anyway.) It mysteriously
4717 crashes sometimes with undo in the first paragraph, but I'm fairly
4718 confident that this is a compiler bug.
4720 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4722 * paragraph.C (Paragraph): adjust for new clone return type
4724 (copyIntoMinibuffer): ditto
4726 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4728 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4729 by not having a special case, and always doing a full rebreak of
4730 the document after undo.
4732 2003-07-23 Angus Leeming <leeming@lyx.org>
4734 * factory.C (createInset): InsetExternal::setParams now takes a
4737 2003-07-23 Angus Leeming <leeming@lyx.org>
4739 * factory.C (createInset): changed interface to the external and
4740 graphics mailers' string2params functions.
4742 2003-07-23 Angus Leeming <leeming@lyx.org>
4744 * factory.C (createInset): pass a
4745 Buffer const * parameter to InsetExternalMailer's string2params.
4747 2003-07-22 John Levon <levon@movementarian.org>
4749 * Thesaurus.h: include the right aiksaurus header
4751 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4753 * MenuBackend.C (expand): check menu shortcuts unconditionally
4755 2003-07-21 Angus Leeming <leeming@lyx.org>
4757 * factory.C (createInset): pass a
4758 buffer_path parameter to InsetGraphicsMailer's string2params.
4760 2003-07-21 Angus Leeming <leeming@lyx.org>
4762 * BufferView_pimpl.C (buffer):
4765 * lyxfunc.C (dispatch):
4766 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4767 rather than the grfx shortcut.
4769 2003-07-21 André Pönitz <poenitz@gmx.net>
4771 * rowpainter.C: remove unused variables
4774 * tabular_funcs.h: move to tabular.C
4775 * Makefile.am: adjust
4777 * tabular.[Ch]: basic optical cleaning
4779 * author.h: pass references, not values
4781 2003-07-18 André Pönitz <poenitz@gmx.net>
4789 * text3.C: two-phase drawing for InsetText and InsetTabular
4790 some float -> int changes.
4792 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4794 * lyx_main.C: fix the fix
4796 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4798 * lyx_main.C: fix a crash in batch mode if no files specified
4801 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4803 * format.[Ch] (papersize): moved to BufferParams
4804 * converter.[Ch] (dvips_options): moved to BufferParams
4805 (dvipdfm_options): moved to anon namespace
4806 * bufferparams.[Ch]: added above functions.
4808 2003-07-17 André Pönitz <poenitz@gmx.net>
4812 * text2.C: don't call inset->update() anymore
4814 * metricsinfo.[Ch]: add convenience constructor
4816 2003-07-16 André Pönitz <poenitz@gmx.net>
4821 * text2.C: replace the LyXCursor::irow_ member with
4822 on-demand computation of the value
4824 2003-07-16 John Levon <levon@movementarian.org>
4826 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4828 2003-07-15 André Pönitz <poenitz@gmx.net>
4831 * text2.C: remove no more needed refresh_row
4833 2003-07-15 André Pönitz <poenitz@gmx.net>
4838 * text3.C: refresh_status tristate -> need_update bool
4840 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4842 * lyxtext.h (init): remove reinit argument (act as if always true)
4843 * text2.C: adjust to that
4845 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4847 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4848 * text3.C: use it to delete selections in some cases
4849 (bugs 441, 673, 702, 954).
4851 2003-07-14 André Pönitz <poenitz@gmx.net>
4853 * rowpainter.[Ch]: reduce interface
4855 2003-07-14 André Pönitz <poenitz@gmx.net>
4857 * BufferView_pimpl.C:
4858 * text2.C: adjust after removing unused BufferView * argument
4860 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4862 * text2.C (init): fix a crash fired on resize
4864 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4866 * buffer.[Ch]: added new closing signal
4867 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4868 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4869 BufferView::Pimpl via the closing the signal
4871 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4873 * buffer.[Ch]: take out all bv-related from buffer
4875 * BufferView_pimpl.[Ch]: connect to new signals
4876 * CutAndPaste.C: removed useless asserts
4877 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4880 * lyxfunc.C: moved view-related funciontality from vc here
4881 * paragraph.C: removed outdated comments
4884 2003-07-10 André Pönitz <poenitz@gmx.net>
4886 * BufferView_pimpl.C:
4890 * text2.C: remove InsetText::InnerCache, clean up consequences
4892 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4894 * ispell.C: fix two typos in error messages
4896 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4898 * Extend Note inset to other forms of annotation like Comment
4899 and Greyedout. Right button click gives dialog.
4901 Files modified or added (+):
4905 * ControlNote.[Ch] +
4907 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4908 frontends/controllers
4912 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4914 * aspell.C: add missing namespace lyx::support
4916 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4918 * BufferView.[Ch] (newFile): Add
4919 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4920 * LaTeX.[Ch] (message): added this signal and use it
4921 * buffer.[Ch] (busy, message): added these signals and use them
4922 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4926 * importer.C: use buffer signals instead of direct bv calling
4927 * lyx_cb.[Ch] (ShowMessage): removed
4930 * paragraph_funcs.C:
4931 * text2.C: use buffer signals
4933 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4935 * introduce namespace lyx::graphics
4937 2003-07-02 André Pönitz <poenitz@gmx.net>
4939 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4941 2003-07-01 André Pönitz <poenitz@gmx.net>
4948 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4949 text*.C to text_func.C
4951 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4953 * introduce namespace lyx::support
4955 2003-06-30 André Pönitz <poenitz@gmx.net>
4960 * text.C: re-enable --with-included-string
4962 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4964 * textcursor.C: add <config.h>
4966 * text.C (getWord): remove const from word_location arg
4968 * lyxvc.C (getLogFile): fix const type order
4970 * lyxtext.h: remove const from word_location arg, add arg name
4972 * lyxlayout.h: currect type on labeltype.
4974 * importer.C: correct \file
4976 * converter.C (intToFormat): use std:: on ret val, ws changes
4978 * bufferlist.h: correct \file
4980 * buffer.C (makeLinuxDocFile): fix const type order
4981 (makeDocBookFile): ditto
4982 (fillWithBibKeys): use std:: on stdlib args.
4984 * CutAndPaste.C: fix authors.
4985 (availableSelections): use std:: on return vector
4987 2003-06-27 André Pönitz <poenitz@gmx.net>
4989 * BufferView_pimpl.C:
4990 * bufferview_funcs.C:
4998 * text3.C: remove LyXCursor::row_ member
5001 * text.C: rename fullRebreak() to partialRebreak() and implement
5002 a fullRebreak() that really bereks fully
5004 * textcursor.h: new struct for cursor-related data
5006 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5008 * lyx_main.C (LyX): get full path of document loaded on the
5011 2003-06-26 André Pönitz <poenitz@gmx.net>
5013 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5014 remove unused/broken operator>,<,>=.
5016 * text.C: remove only use of broken operator<= in an Assert().
5018 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5020 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5021 moved errorlist_.clear to showErrorList
5023 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5025 * converter.C (scanLog, runLaTeX):
5026 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5027 move the bv->showErrorList call to the callers
5028 * lyxfunc.C: i.e. here...
5030 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5031 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5032 namespace, the second to...
5033 * buffer_funcs (BufferFormat, parseErrors): added
5034 * errorlist.C (ErrorList(TeXErrors const &)): removed
5036 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5038 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5040 2003-06-24 "Garst R. Reese" <reese@isn.net>
5044 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5046 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5048 * version.C.in: change docversion to 1.4
5050 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5052 * buffer.C: fix a bug just introduced
5054 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5056 * buffer.[Ch]: added the parseError signal and use it, removed
5058 * BufferView.[Ch] (addError): moved to ...
5059 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5060 to the Buffer::parseError signal to catch (guess what) parse errors
5061 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5063 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5065 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5066 ability to create a buffer and to return an existing one from
5067 the list. Moved these functions to...
5068 * buffer_funcs.[Ch]: added
5069 * BufferView.[Ch] (loadLyXFile): added
5070 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5071 job removed from bufferlist::loadLyXFile.
5072 * buffer.C (setReadOnly): make it work without view
5073 (i.e added an if (users))
5075 2003-06-19 Angus Leeming <leeming@lyx.org>
5078 * LyXAction.C (init):
5079 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5080 with LFUN_DIALOG_SHOW <name> <data>.
5082 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5084 * CutAndPaste.C (availableSelections): small compilation fix for
5085 ancient (gcc 2.9x) compilers
5087 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5089 * text3.C (cursorNext): add tmp var
5091 * text2.C (updateCounters): for function calling out of for clause
5092 (replaceSelectionWithString): ditto
5093 (insertStringAsParagraphs): ditto
5094 (getColumnNearX): add tmp var
5095 (setCursorFromCoordinates): add tmp var
5096 (cursorDownParagraph): add tmp var
5097 (deleteEmptyParagraphMechanism): add tmp var
5099 * text.C (insertChar): add tmp var
5101 * rowpainter.C (paintDepthBar): add tmp var
5103 * CutAndPaste.C (availableSelections): potentially check all
5104 paragraphs in a cut to fill the shown strings.
5106 2003-06-18 André Pönitz <poenitz@gmx.net>
5108 * kbmap.[Ch]: use vector<> instead of list<>
5110 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5112 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5113 pasteSelection with index
5115 * text2.C (pasteSelection): modify, call pasteSelection with index
5117 * paragraph.C (asString): reimplement version with no interval to
5118 call the one with interval.
5120 * lyxtext.h: add index arg to pasteSelection
5122 * MenuBackend.C (MenuItem): handle PasteRecent
5123 (Menu::read::Menutags): add md_pasterecent
5125 (expandPasteRecent): new function
5128 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5130 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5132 (availableSelections): new function
5134 2003-06-17 Angus Leeming <leeming@lyx.org>
5136 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5138 2003-06-17 Angus Leeming <leeming@lyx.org>
5141 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5143 * lyxfunc.C (dispatch): invoke it.
5145 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5147 * iterators.C (operator++, ParPosition): reintroduce some
5148 const_cast for the benefit of older compilers.
5150 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5152 * text3.C (dispatch): do not modify clipboard when doing
5153 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5154 LFUN_DELETE_SKIP on a selection selection
5156 2003-06-16 André Pönitz <poenitz@gmx.net>
5162 * tabular.[Ch]: IU of clone() and getLabelList();
5164 2003-06-13 André Pönitz <poenitz@gmx.net>
5166 * tabular.h: compactification
5168 2003-06-12 André Pönitz <poenitz@gmx.net>
5172 * tabular_funcs.h: some renaming plus whitespace
5174 2003-06-12 André Pönitz <poenitz@gmx.net>
5177 * BufferView_pimpl.C:
5183 * toc.C: Return a Paragraph & for ParIterator::operator*()
5185 2003-06-11 John Levon <levon@movementarian.org>
5189 * ToolbarBackend.C: add "Toolbars" section and
5192 2003-06-10 Angus Leeming <leeming@lyx.org>
5195 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5197 * lyxfunc.C (dispatch): invoke it.
5199 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5201 * main.C: protect <ios> with HAVE_IOS
5202 (main): protect sync_with_stdio with HAVE_IOS
5204 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5206 * text2.C (cutSelection): adjust
5207 (pasteSelection): adjust
5209 * messages.C: handle get of empty string
5211 * main.C (main): use sync_with_stdio(false)
5213 * lyxfunc.C (dispatch): adjust
5215 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5216 (WriteAs): remove unneeded BufferView arg.
5218 * bufferparams.h: use correct types on papersize, papersize2 and
5221 * bufferparams.C (readToken): adjust for type
5222 (writeLaTeX): add missing cases to switch.
5224 * bufferlist.C (quitWriteBuffer): adjust
5227 * buffer.C (asciiParagraph): remove some commented code.
5229 * CutAndPaste.C: remove current_view extern variable.
5230 (cutSelection): add BufferParams arg.
5231 (eraseSelection): add BufferParams arg.
5232 (pasteSelection): add Buffer const & arg
5234 2003-06-07 John Levon <levon@movementarian.org>
5237 * paragraph_funcs.C:
5238 * paragraph_pimpl.C:
5242 * paragraph.C: allow InsetERT to freely space lines,
5243 and some consolidation of code
5245 2003-06-06 José Matos <jamatos@fep.up.pt>
5247 * buffer.C (makeDocBookFile): fix bug #821
5249 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5251 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5253 2003-06-04 Angus Leeming <leeming@lyx.org>
5255 * buffer.C: bump format to 224.
5257 2003-06-05 André Pönitz <poenitz@gmx.net>
5259 * text2.C (redoParagraphs): remove two const_cast<>
5261 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5263 * ParagraphList.h: remove last remnants of NO_STD_LIST
5265 2003-06-03 Angus Leeming <leeming@lyx.org>
5267 * factory.C (createInset): small change to the way InsetExternal's params
5270 2003-06-04 André Pönitz <poenitz@gmx.net>
5272 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5274 * paragraph_pimpl.h:
5275 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5277 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5279 * undo_funcs.C: make some simple cases of undo work again
5281 2003-06-03 John Levon <levon@movementarian.org>
5283 * ispell.C: HPUX doesn't have sys/select.h
5286 2003-06-03 John Levon <levon@movementarian.org>
5288 * CutAndPaste.C: update tabular and include inset
5293 * paragraph.C: remove owningBuffer(), don't pass Buffer
5296 * factory.C: insetGraphicsParams changed
5298 2003-06-02 John Levon <levon@movementarian.org>
5304 * text3.C: remove insetparent
5306 2003-06-02 John Levon <levon@movementarian.org>
5309 * buffer.C: fix inset_iterator.end(), move out of line
5312 2003-06-01 John Levon <levon@movementarian.org>
5314 * text3.C: use a proper cut/paste when doing inset
5315 insert (from Jürgen Spitzmüller)
5317 2003-06-01 John Levon <levon@movementarian.org>
5319 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5321 2003-05-30 André Pönitz <poenitz@gmx.net>
5323 * rowpainter.C: unify second drawing phase
5325 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5327 * trans_mgr.C: remove one case of current_view
5329 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5331 * paragraph_funcs.h: remove paragraph.h include
5333 * paragraph.h: delete NO_STD_LIST stuff
5335 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5337 * buffer.h: remove paragraph.h include
5339 * ParagraphList.C: delete file
5341 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5343 * toc.C (getTocList): adjust
5345 * paragraph_pimpl.C (validate): adjust
5347 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5349 * paragraph.C (Paragraph): adjust
5350 (getPositionOfInset): use const_iterator, adjust
5351 (bibitem): use const_iterator, adjust
5352 (setInsetOwner): adjust
5354 * iterators.C (operator++): adjust
5356 * InsetList.[Ch]: Replace selfmade iterator with standard
5357 vector::iterator also introduce const_iterator. Remove getPos,
5358 getInset and setInset from InsetTable. Adjust accordingly.
5360 * BufferView.C (lockInset): adjust
5361 (ChangeInsets): adjust
5363 * tabular.[Ch]: delete commented same_id functions
5365 2003-05-28 John Levon <levon@movementarian.org>
5367 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5369 2003-05-28 André Pönitz <poenitz@gmx.net>
5371 * metricsinfo.[Ch]: remove 'fullredraw' member
5373 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5375 * lyxtextclass.C (operator): remove caching.
5377 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5381 * text2.C (cursorBottom): adjust
5382 (setCounter): use ParagraphList::find, adjust
5384 * text.C (workWidth): use ParagraphList::find, adjust
5386 * lyxcursor.C (LyXCursor): adjust
5388 * buffer.C (inset_iterator): adjust
5390 * ParagraphList.h: make iterator(value_type) private, make
5391 ParagraphList a friend of iterator.
5393 * ParagraphList.C (find): new function
5395 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5397 2003-05-27 André Pönitz <poenitz@gmx.net>
5399 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5401 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5403 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5405 2003-05-26 John Levon <levon@movementarian.org>
5407 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5409 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5411 * remove same_id from function signatures, adjust.
5413 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5415 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5417 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5419 * paragraph.C (Paragraph): get rid of same_ids parameter
5421 * ParagraphList.C (insert): adjust
5424 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5426 * paragraph_funcs.C (breakParagraph): adjust
5427 (breakParagraphConservative): adjust
5429 * buffer.C (readParagraph): adjust
5431 * ParagraphList.C (insert): take a reference instead of a pointer
5434 * paragraph.[Ch] (id): new function
5436 * bufferlist.C (newFile): adjust
5438 * ParagraphList.C (ParagraphList): adjust
5440 (push_back): take a reference instead of a pointer.
5442 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5444 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5447 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5448 set else use old code.
5450 * ParagraphList.C: remove all NO_NEXT code and only compile this
5451 code of NO_STD_LIST is set.
5453 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5455 * BufferView_pimpl.C:
5465 * graphics/GraphicsConverter.C:
5466 * graphics/PreviewLoader.C: header adjustment
5468 2003-05-23 Angus Leeming <leeming@lyx.org>
5470 * LaTeXFeatures.[Ch] (useBabel): new method.
5471 * bufferparams.C (writeLaTeX): use it.
5473 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5475 * ParagraphList.h (set): remove unused function.
5477 2003-05-23 André Pönitz <poenitz@gmx.net>
5480 * BufferView_pimpl.C:
5484 * undo_funcs.C: setUndo reworked
5486 * iterators.[Ch]: add access to topmost ParagraphList
5488 * lyxtext.[Ch] (workWidth): add a const
5490 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5492 * texrow.[Ch] (increasePos): remove function
5493 * exporter.C (export): removed unused var and outdated comment
5495 2003-05-23 Angus Leeming <leeming@lyx.org>
5497 * latexrunparams.h: rename fragile as moving_arg.
5498 * paragraph.C (simpleTeXOnePar): ditto.
5499 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5501 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5503 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5505 (textUndoOrRedo): comment out a currently unused var.
5507 * paragraph.h (NO_NEXT): enable NO_NEXT
5509 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5511 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5513 * exporter.C (Export): adjust for removeAutoInsets removal.
5515 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5517 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5519 * BufferView.[Ch] (removeAutoInsets): delete function
5521 2003-05-22 Angus Leeming <leeming@lyx.org>
5523 * latexrunparams.h: add a free_spacing variable.
5525 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5526 to pass moving_arg, as the data is stored in runparams.fragile.
5528 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5529 to Inset::latexOptional or to simpleTeXOnePar.
5531 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5532 free_spacing arg to Inset::latexOptional.
5534 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5537 2003-05-22 Angus Leeming <leeming@lyx.org>
5539 * latexrunparams.h: add fragile and use_babel variables.
5541 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5542 * buffer.C (makeLaTeXFile): store this returned value in
5543 runparams.use_babel, thus passing it to the inset::latex methods.
5545 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5546 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5548 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5549 longer has a fragile arg, as it is stored in runparams.fragile.
5551 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5552 moving_arg parameter as the data is stored in runparams.fragile.
5554 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5555 a fragile parameter as the data is stored in runparams.fragile.
5557 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5559 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5561 2003-05-22 Angus Leeming <leeming@lyx.org>
5563 * latexrunparams.h: add a 'bool nice' which defaults to false.
5565 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5566 now encapsulated within runparams.
5568 * bufferlist.C (updateIncludedTeXfiles):
5569 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5571 2003-05-22 Angus Leeming <leeming@lyx.org>
5573 * latexrunparams.h: new file containing struct LatexRunParams.
5574 * Makefile.am: add new file.
5576 * LaTeX.[Ch] (c-tor, run):
5577 * buffer.[Ch] (makeLaTeXFile):
5578 * bufferlist.[Ch] (updateIncludedTeXfiles):
5579 * converter.C (convert, scanLog):
5580 * converter.[Ch] (runLaTeX):
5581 * exporter.C (Export):
5582 * paragraph.[Ch] (simpleTeXOnePar):
5583 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5584 * paragraph_funcs.[Ch] (latexParagraphs):
5585 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5586 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5587 pass around a LatexRunParams parameter.
5589 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5591 * paragraph.[Ch]: remove unused constructor
5593 * ParagraphList.C (erase): new function, taking two iterators
5595 2003-05-22 André Pönitz <poenitz@gmx.net>
5597 * undo_funcs.C: remove duplicated code
5599 * iterator.[Ch]: operator=
5601 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5603 * tabular.C (SetMultiColumn): ws changes
5605 * rowpainter.C (paintFirst): get rid of a ->previous
5607 * lyx_cb.C (getPossibleLabel): parlist simplification
5609 * BufferView.C (ChangeInsets): simplify slightly.
5611 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5613 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5614 * lfuns.h: new LFUN_SPACE
5615 * lyxfunc.C: protected space has a new lfun
5616 * paragraph_funcs.C: read new space insets
5618 * factory.C: handle new space insets
5620 2003-05-22 André Pönitz <poenitz@gmx.net>
5623 * BufferView_pimpl.C:
5626 * undo_funcs.C: return a ParIterator from getParFromID.
5628 * iterators.[Ch]: add two const's
5630 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5632 * toc.C (getTocList): adjust
5634 * iterators.[Ch]: rework for parlist
5636 * buffer.C (par_iterator_begin): adjust
5637 (par_iterator_end): adjust
5639 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5641 * BufferView.C (removeAutoInsets): adjust
5642 (ChangeInsets): adjust
5644 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5646 * text.C (top_y): fix bug 1110
5648 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5650 * errorlist.[Ch]: added
5653 * BufferView_pimpl.C:
5654 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5657 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5659 * Makefile.am: ensure that lyx is relinked upon changes to the
5660 various "convenience" libs.
5662 2003-05-20 Angus Leeming <leeming@lyx.org>
5664 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5665 files are compiled in alphabetical order again.
5667 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5669 2003-05-19 Angus Leeming <leeming@lyx.org>
5671 * gettext.[Ch]: remove "char const * _(char const *)".
5673 2003-05-19 André Pönitz <poenitz@gmx.net>
5675 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5684 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5686 2003-05-19 André Pönitz <poenitz@gmx.net>
5690 * lyxtextclass.[Ch]:
5692 * paragraph_funcs.[Ch]:
5694 * text3.C: more insetenv work
5696 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5698 * ParagraphParameters.C (params2string): small bug fixed
5700 2003-05-16 André Pönitz <poenitz@gmx.net>
5703 * bufferview_funcs.C: patch from Kornel Benko to prevent
5704 crash when _(...) is called twice in a statement
5706 2003-05-16 André Pönitz <poenitz@gmx.net>
5713 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5715 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5717 * lyx_main.C (init): remove spurious static_cast
5719 2003-05-14 André Pönitz <poenitz@gmx.net>
5721 * BufferView.C: fix format string
5723 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5725 * BufferView.[Ch] (insertErrors): removed
5726 * BufferView.[Ch] (showErrorList): added
5727 * buffer.C (runChkTeX):
5728 * converter.C (scanLog): call showErrorList instead of inserterrors
5730 2003-05-13 André Pönitz <poenitz@gmx.net>
5732 * BufferView_pimpl.C:
5734 * bufferview_func.C:
5741 * tabular_funcs.h: tostr() from its own header
5743 * ParagraphParameters.C:
5748 * text3.C: STRCONV()
5750 2003-05-12 André Pönitz <poenitz@gmx.net>
5753 * BufferView_pimpl.C:
5757 * ParagraphParameters.C:
5761 * bufferview_funcs.C:
5774 * paragraph_funcs.C:
5778 * text3.C: boost::format -> bformat all over the place
5781 2003-05-09 André Pönitz <poenitz@gmx.net>
5783 * LColor.[Ch]: Pimpl the #include <map> away
5785 2003-05-09 John Levon <levon@movementarian.org>
5787 * bufferlist.C: never remove emergency saves
5789 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5791 * Makefile.am: better lib building
5793 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5795 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5797 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5798 (simpleTeXSpecialChars): adjust
5799 (simpleTeXSpecialChars): adjust
5800 * paragraph.C (simpleTeXOnePar): adjust
5801 * buffer.C (makeLaTeXFile): adjust
5803 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5805 * text2.C (changeDepth): parlist cleanup
5806 (getColumnNearX): ditto
5808 * rowpainter.C (getLabelFont): parlist cleanup
5810 * bufferlist.C (newFile): parlist cleanup
5812 * CutAndPaste.C (eraseSelection): parlist cleanup
5814 * BufferView_pimpl.C (trackChanges): parlist cleanup
5817 * BufferView.C (lockInset): parlist cleanup.
5818 (ChangeInsets): ditto
5820 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5822 * CutAndPaste.h: Update file header.
5824 * CutAndPaste.C: Update file header.
5825 Store the parts cut out of the Document in a limited_stack.
5826 (copySelection): adjust
5827 (pasteSelection): new function, takes the index in the limited stack.
5828 (nrOfParagraphs): adjust
5829 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5830 simplify error inset insertion.
5831 (checkPastePossible): adjust
5833 2003-05-06 John Levon <levon@movementarian.org>
5835 * text2.C: don't cast wrap inset to float
5837 2003-05-05 André Pönitz <poenitz@gmx.net>
5840 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5842 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5843 few naked Paragraph *.
5845 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5847 * bufferparams.C: Output warning if a document with missing
5848 TeX document class is loaded
5849 * exporter.C: Disable TeX exports if the document class is missing
5852 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5853 isTeXClassAvailable()
5855 2003-05-03 John Levon <levon@movementarian.org>
5858 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5859 explicit cursor show/hide
5861 * BufferView_pimpl.h:
5862 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5863 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5865 * lyxfunc.C: hide cursor before dispatching.
5870 * text3.C: remove explicit cursor hides
5872 2003-05-02 André Pönitz <poenitz@gmx.net>
5874 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5877 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5880 * text2.C: tiny whitespace
5882 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5884 * undo_funcs.C: almost only ws changes.
5886 * ParagraphList.C (splice): just return if pl is empty.
5888 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5890 * ParagraphList.C (splice): new function.
5892 * CutAndPaste.C (pasteSelection): use it
5894 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5896 * CutAndPaste.C (pasteSelection): remove the last next and
5897 previous from this file.
5899 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5901 * CutAndPaste.C (pasteSelection): more clean up, user proper
5902 ParagraphList functions for pasteing.
5904 * ParagraphList.C (insert): new function, three arg insert
5906 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5908 * ParagraphList.C (insert): new function, three arg insert
5910 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5913 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5915 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5917 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5919 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5921 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5923 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5924 (copySelection): clean up a bit.
5925 (pasteSelection): use make_pair
5927 * ParagraphList.C (ParagraphList): implement copy constructor
5928 (operator=): implement, base on copy constructor.
5931 * paragraph.C (erase): return a bool
5933 * paragraph_pimpl.C (erasePos): remove function, move contents...
5934 (erase): ... here. Return a bool.
5935 (erase): call erase instead of erasePos.
5937 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5939 * ParagraphList.h: define PitPosPair
5940 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5941 ParagraphList, fix a bug on pasting multiple pars
5942 * text2.C: change interface to C&P
5944 2003-04-30 André Pönitz <poenitz@gmx.net>
5946 * undo_func.C: revert part of yesterday's patch 2
5948 2003-04-30 John Levon <levon@movementarian.org>
5950 * LColor.C: s/tabular/table/
5952 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5954 * text3.C (dispatch): do not convert iterator -> pointer
5955 * undo_funcs.C (setCursorParUndo): ditto
5956 * text_funcs.C (transposeChars): ditto
5958 * text2.C (setLayout): ws changes only
5960 * text.C (breakParagraph): do not convert iterator -> pointer
5962 (acceptChange): ditto
5963 (rejectChange): ditto
5968 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5971 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5973 * text3.C (gotoInset): YABG (yet another bad getChar)
5975 2003-04-29 André Pönitz <poenitz@gmx.net>
5977 * paragraph.h: make operator= private unimplemented as long as
5980 * ParagraphList.C: whitespace
5983 * paragraph_pimpl.[Ch]:
5984 * paragraph_funcs.C:
5986 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5989 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5991 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5993 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5994 * paragraph.[Ch] (erase):
5995 * paragraph_pimpl.[Ch] (erase): change return type and value
5996 * text2.C (cutSelection): some rework
5998 2003-04-28 John Levon <levon@movementarian.org>
6000 * bufferlist.C: changes for unsaved changes dialog
6002 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6004 * bufferlist.C (newFile): set language (messages_) for new
6007 * buffer.C (readFile): ws changes only.
6009 2003-04-28 André Pönitz <poenitz@gmx.net>
6014 * BufferView_pimpl.C:
6015 * BufferView.C: getParFromID related ParagraphList::iterator changes
6017 2003-04-28 André Pönitz <poenitz@gmx.net>
6019 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6022 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6024 * messages.C: remove one more localedir class variable.
6026 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6028 * messages.C (getLocaleDir): singleton generation function
6030 (Messages): add a default constructor.
6032 * main.C (main): do not setup localedir here, do not call
6035 * gettext.C (_): use it.
6036 (gettext_init): delete funciton
6038 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6040 * gettext.C (getLyXMessages): new singleton generating function.
6042 * buffer.C (updateDocLang): adjust
6044 * Makefile.am (messages.o): add target
6045 (main.o): remove target
6047 2003-04-27 John Levon <levon@movementarian.org>
6052 * lyxvc.C: specify cancel button in Alert::prompt
6054 2003-04-26 John Levon <levon@movementarian.org>
6059 * LyXAction.C: add LFUN_INSET_SETTINGS
6061 * lyxfunc.C: don't enable tabular-feature when there's
6062 just any locking inset
6064 2003-04-26 John Levon <levon@movementarian.org>
6066 * bufferlist.C: re-add Cancel to buffer close question
6068 * lyxfunc.C: fix import UI a bit
6070 2003-04-25 John Levon <levon@movementarian.org>
6072 * gettext.C: remove the broken asserts for now
6074 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6076 * messages.C: make case where setlocale cannot comply work better.
6078 * buffer.C (updateDocLang): new function
6079 (changeLanguage): use it
6082 * text2.C (setCounter): use B_ a bit.
6084 * lyxlayout.C (Read): be sure to trim the label strings.
6086 * messages.C (Messages): fix typo in comment
6088 * buffer.C (readFile): set message_ after file is loaded.
6089 (makeDocBookFile): remove double return
6090 (changeLanguage): reset message_ upon language change.
6091 (B_): new func, use this to get translated buffer strings.
6093 * main.C: add myself and Jean Marc as authors.
6095 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6097 * messages.[hC]: pimplify Messages, and three different pimpls to be
6098 used in different circumstances.
6100 * gettext.[Ch]: change for use with new message code.
6102 2003-04-24 André Pönitz <poenitz@gmx.net>
6104 * factory.C: support for eqref
6106 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6108 * messages.[Ch]: add missing char
6110 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6112 * messages.[Ch]: New files
6114 2003-04-18 John Levon <levon@movementarian.org>
6118 * BufferView_pimpl.C:
6122 * text2.C: remove layout-copy/paste (bug 778)
6124 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6126 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6128 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6130 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6131 if they succeed. Act accordingly.
6133 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6135 * text2.C (setCharFont): adjust
6136 (setCounter): adjust
6137 (insertStringAsLines): adjust
6139 * text.C (leftMargin): adjust
6140 (setHeightOfRow): adjust
6142 * rowpainter.C (paintFirst): adjust
6145 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6147 (isFirstInSequence): ditto
6148 (getEndLabel): ditto
6151 * paragraph.C (getParLanguage): comment out some hard stuff.
6153 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6155 (simpleDocBookOnePar): ditto
6156 (makeDocBookFile): use ParagraphList::iterator
6158 * CutAndPaste.C (pasteSelection): adjust
6160 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6162 * text2.C (getFont): adjust
6163 (getLayoutFont): adjust
6164 (getLabelFont): adjust
6166 * paragraph_funcs.C (TeXOnePar): adjust
6168 * buffer.C (simpleLinuxDocOnePar): adjust
6169 (simpleDocBookOnePar): adjust
6171 * CutAndPaste.C (pasteSelection): adjust
6173 * BufferView.C (getEncoding): adjust
6175 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6177 2003-04-16 John Levon <levon@movementarian.org>
6179 * lyxfind.C: use parlist stuff for search/changes
6181 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6183 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6185 * text2.C (deleteEmptyParagraphMechanism): adjust
6187 * text2.[Ch] (ownerParagraph): delete func (both of them
6189 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6191 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6193 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * ParagraphList.C: prepare for NO_NEXT
6197 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6199 * text2.C (getFont): adjust
6200 (getLayoutFont): adjust
6201 (getLabelFont): adjust
6203 * paragraph.C (getFont): adjust
6204 (getLabelFont): adjust
6205 (getLayoutFont): adjust
6207 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6209 2003-04-15 John Levon <levon@movementarian.org>
6213 * lyx_main.C: handle Include in .ui files
6215 2003-04-15 John Levon <levon@movementarian.org>
6217 * MenuBackend.C: make the doc files length shorter
6220 * ToolbarBackend.C: handle toolbar placement flags,
6223 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6225 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6228 * paragraph_funcs.C (TeXOnePar): adjust
6230 * paragraph.C (getLabelFont): add outerfont arg, adjust
6231 (getLayoutFont): ditto
6232 (simpleTeXOnePar): adjust
6234 * paragraph_pimpl.C (realizeFont): delete func
6236 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6238 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6239 row argument, constify cur argument.
6241 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6243 * text2.C (getFont): adjust
6244 (getLayoutFont): adjust
6245 (getLabelFont): adjust
6247 * paragraph_funcs.C (TeXOnePar): adjust
6248 (outerFont): new func...
6249 (realizeFont): ...moved out from here, changed this to facilitate
6252 * paragraph.C (getFont): take outerfont as arg, adjust
6253 (simpleTeXOnePar): add outerfont arg, adjust
6255 * buffer.C (simpleLinuxDocOnePar): adjust
6256 (simpleDocBookOnePar): adjust
6258 * CutAndPaste.C (pasteSelection): adjust
6260 * BufferView.C (getEncoding): adjust
6262 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6264 * text2.C (setCharFont): adjust
6265 (setCounter): adjust
6267 * text.C (leftMargin): adjust
6268 (setHeightOfRow): adjust
6270 * rowpainter.C (paintFirst): adjust
6273 * paragraph_pimpl.C (realizeFont): adjust
6275 * paragraph.C (isFirstInSequence): move from here...
6276 * paragraph_funcs.C (isFirstInSequence): ...to here
6278 * paragraph.C (outerHook): move from here...
6279 * paragraph_funcs.C (outerHook): ...to here
6281 * paragraph.C (depthHook): move from here...
6282 * paragraph_funcs.C (depthHook): ...to here
6284 * paragraph.C (getEndLabel): move from here...
6285 * paragraph_funcs.C (getEndLabel): ...to here
6287 * text2.C (realizeFont): move from here...
6288 * paragraph_funcs.C (realizeFont): ...to here
6290 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6292 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6294 2003-04-14 Angus Leeming <leeming@lyx.org>
6296 * LColor.[Ch]: scrap LColor mathcursor.
6298 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6300 * lyxlex.[Ch] (text): delete function
6301 * trans.C (Load): adjust
6302 * paragraph_funcs.C (readParToken): adjust
6304 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6306 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6307 vector<char> instead of a char[].
6309 * lyxlex_pimpl.C (getString): adjust
6311 (lex): use getString
6315 * lyxlex.C (text): use pimpl_->getString()
6319 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6321 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6322 (makeFontEntriesLayoutSpecific): temp var for par.size()
6323 (setLayout): temp var for ownerParagraphs().end()
6324 (fullRebreak): temp var for rows().end()
6325 (selectionAsString): temp var for boost::next(startpit), realize
6326 that the while really is a regular for loop.
6327 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6328 setCursor in one place.
6329 (setParagraph): temp vr for ownerParagraphs().end()
6330 (updateCounters): make the while loop a for loop
6331 (cutSelection): temp var for ownerParagraphs().end()
6332 (updateInset): make the do {} while() a regular for loop
6333 (getCursorX): use temp vars
6334 (setCurrentFont): use temp vars
6335 (getColumnNearX): use temp vars
6337 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6339 * text.C (transformChar): use temp var for getChar
6340 (computeBidiTables): use temp var for row->par()
6341 (fill): move temp vars for row->par() and pit->layout() earlier in
6343 (labelFill): use temp var for row->par()
6344 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6345 asc and desc, realize that pit never changes and that firstpit is
6346 just a duplicate and not needed. Exchange rit->par() with pit in a
6348 (breakAgain): use a temp var for boost::next(rit)
6349 (breakAgainOneRow): ditto
6350 (breakParagraph): use a temp var for rows().begin()
6351 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6352 (cursorRightOneWord): use temp var for cursor.par() and
6353 cursor.pos(), remove usage of tmpcursor.
6354 (cursorLeftOneWord): use temp var for cursor.par() and
6355 cursor.pos() only set cur at end of function.
6357 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6359 * text.C, text2.C: exchange all usage of Paragraph::next with
6360 boost::next(ParagraphList::iterator)
6362 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6364 * text2.C (cursorTop): simplify implementation
6365 (cursorBottom): ditto
6366 (setParagraph): use ParagraphList::iterator
6367 (setCurrentFont): adjust
6368 (getColumnNearX): adjust
6369 (cursorRight): adjust
6370 (cursorLeft): remove usage of Paragraph::previous
6371 (cursorUpParagraph): ditto
6372 (deleteEmptyParagraphMechanism): slight cleanup
6374 * text.C (isBoundary): take a Paragraph const & instead of a
6376 (addressBreakPoint): ditto
6377 (leftMargin): remove usage of Paragraph::previous.
6378 (setHeightOfRow): ditto
6379 (cursorLeftOneWord): ditto
6380 (selectNextWordToSpellcheck): ditto
6383 (breakParagraph): remove one usage of Paragraph::next
6384 (redoParagraph): ditto
6385 (acceptChange): ditto
6386 (insertChar): adjust
6387 (rowBreakPoint): adjust
6389 * bufferview_funcs.C (toggleAndShow): adjust
6391 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6393 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6394 methods to access it.
6396 * text.C: Added updateRowPositions to compute all row positions.
6397 Make top_y and getRowNearY() to use the cached y position
6399 2003-04-11 John Levon <levon@movementarian.org>
6401 * text.C (rowBreakPoint): reintroduce the labelEnd
6402 checks, code copied from the row fill stuff. Deep voodoo.
6404 * text.C (fill): add a comment and debugging for the
6407 2003-04-11 John Levon <levon@movementarian.org>
6409 * text.C: make sure fullrow insets get wrapped to the next line,
6410 even when they're in a manual label
6412 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6414 * text2.C (insertParagraph): make it take ParagraphList::iterator
6416 (setLayout): make it return ParagraphList::iterator
6417 (redoParagraphs): ditto
6419 (checkParagraph): ditto
6421 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6423 * text2.C: adjust several funcs.
6424 (realizeFont): take a ParagraphList::iterator as arg.
6425 (getLayoutFont): ditto
6426 (getLabelFont): ditto
6427 (setCharFont): ditto
6429 * text.C: adjust several funcs.
6431 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6433 * text.C (selectNextWordToSpellcheck): don't accidentally
6436 2003-04-10 John Levon <levon@movementarian.org>
6438 * ToolbarBackend.C (getIcon): special handling for
6441 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6443 * text2.C (cursorRight): a getChar assert fixed
6445 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6447 * text2.C (getFont): change to take a ParagraphList::iterator
6448 instead of Paragraph*
6449 Adjust several functions.
6451 * text.C (transformChar): change to take a ParagraphList::iterator
6452 instead of Paragraph*
6453 (singleWidth): ditto
6454 Adjust several functions.
6456 * rowpainter.C: adjust several functions
6457 * rowpainter.h:store a ParagraphList::iterator and not a
6461 2003-04-09 John Levon <levon@movementarian.org>
6466 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6467 and the "help" bits as well
6469 2003-04-09 John Levon <levon@movementarian.org>
6472 * ToolbarBackend.C: allow multiple toolbars
6474 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6476 * undo_funcs.C (setCursorParUndo): adjust
6478 * text_funcs.C (transposeChars): adjust
6480 * text3.C (gotoNextInset): adjust
6483 * text2.C (setLayout): adjust
6484 (changeDepth): adjust
6486 (redoParagraphs): adjust
6487 (selectionAsString): adjust
6488 (setParagraph): adjust
6489 (insertInset): adjust
6490 (cutSelection): adjust
6491 (copySelection): adjust
6492 (pasteSelection): adjust
6493 (insertStringAsLines): adjust
6494 (updateInset): adjust
6495 (setCursor): change to take a ParagraphList::iterator parameter
6496 (setCursorIntern): change to take a ParagraphList::iterator parameter
6497 (setCurrentFont): adjust
6498 (cursorLeft): adjust
6499 (cursorRight): adjust
6500 (deleteEmptyParagraphMechanism): adjust
6502 * text.C (breakParagraph): adjust
6503 (insertChar): adjust
6504 (acceptChange): adjust
6505 (rejectChange): adjust
6506 (selectNextWordToSpellcheck): adjust
6507 (changeCase): adjust
6511 * lyxfind.C (SearchForward): adjust
6512 (SearchBackward): adjust
6513 (nextChange): adjust
6515 * lyxcursor.C (par): adjust
6517 * lyxcursor.h: store a ParagraphList::iterator instead of a
6520 * lyx_cb.C (getPossibleLabel): adjust
6522 * bufferview_funcs.C (toggleAndShow): adjust
6524 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6527 * BufferView.C (removeAutoInsets): adjust
6528 (lockedInsetStoreUndo): adjust
6530 2003-04-09 John Levon <levon@movementarian.org>
6532 * ToolbarBackend.C: try icon without argument
6533 if with argument fails
6535 2003-04-08 John Levon <levon@movementarian.org>
6538 * ToolbarBackend.C: add getIcon(), handle tooltip,
6539 and change from "Icon" to "Item".
6541 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6543 * BufferView.C (lockInset): another bad getchar crunched
6545 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6547 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6550 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6552 * lyxfind.C (searchForward, searchBackwards): bug 782
6554 2003-04-07 John Levon <levon@movementarian.org>
6556 * paragraph.C: remove dead comment
6558 * text.C: remove troublesome depth-fiddling code
6559 in leftMargin() and rightMargin() (bug 1017)
6561 * text.C: fix breaking of rows in nested lists
6564 * text2.C (updateCounters): fix up depth values
6567 2003-04-07 John Levon <levon@movementarian.org>
6569 * BufferView_pimpl.C: clear message when doc finishes resizing,
6570 and after a mouse event
6572 * lyxfunc.C: clear message after exiting inset
6574 2003-04-07 John Levon <levon@movementarian.org>
6576 * bufferview_funcs.C: show math status not outside
6577 status in the statusbar
6579 2003-04-07 John Levon <levon@movementarian.org>
6581 * lyxfunc.C: note status changed after a depth change
6583 2003-04-04 Angus Leeming <leeming@lyx.org>
6585 * LaTeX.h: move AuxInfo operator==, != out of line.
6586 Remove LaTeX virtual destructor; nothing derives from it.
6587 Move operator()() out of public area and rename it startscript().
6588 Change protected for private.
6590 2003-04-04 Angus Leeming <leeming@lyx.org>
6593 * text2.C: remove unneeded #includes.
6595 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6597 * text2.C (dEPM): fix the heigth of the next row
6599 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6601 * text.C: squashed an invalid getChar requester + some ws changes
6603 2003-04-03 John Levon <levon@movementarian.org>
6605 * bufferview_funcs.h:
6606 * bufferview_funcs.C:
6609 * text2.C: make getStatus work for the env depth lfuns
6611 2003-04-03 John Levon <levon@movementarian.org>
6613 * bufferview_funcs.h:
6614 * bufferview_funcs.C:
6617 * text2.C: parlistize decDepth(), by merging it with incDepth()
6619 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6621 * lyxrow.h: store a ParagraphList::iterator instead of a
6622 Paragraph* and adjust other class functions to suit.
6624 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6627 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6629 * text2.C (setCursor): do not anchor to cursor row for the time being
6631 2003-04-02 John Levon <levon@movementarian.org>
6638 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6640 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6642 * paragraph.h: make ParagraphList and ParagraphList::iterator
6643 friends of Paragraph.
6645 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6647 * ParagraphList.C: Use the private next_ and previous_ from
6650 2003-04-01 John Levon <levon@movementarian.org>
6654 * Makefile.am: rename, remove defaults gunk
6657 * MenuBackend.C: remove defaults gunk
6660 * Languages.C: remove defaults gunk
6663 * lyx_main.C: error out if files couldn't be found.
6665 2003-04-02 John Levon <levon@movementarian.org>
6667 * text2.C: make incDepth() use parlist
6669 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6671 * undo_funcs.C (firstUndoParagraph): adjust
6673 * text3.C (gotoInset): adjust
6674 (dispatch): adjust, and rewrite loop.
6676 * text2.C (init): adjust, and rewrite loop.
6677 (redoParagraphs): adjust
6678 (updateInset): adjust, and rewrite loop.
6679 (deleteEmptyParagraphMechanism): adjust
6681 * tabular.C (LyXTabular): adjust
6682 (SetMultiColumn): adjust
6685 * lyxtext.[Ch] (ownerParagraph): delete function
6686 (ownerParagraphs): new function returns a ParagraphList.
6688 * BufferView.C (removeAutoInsets): adjust
6689 (insertErrors): adjust
6690 (setCursorFromRow): adjust
6692 2003-04-01 Angus Leeming <leeming@lyx.org>
6694 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6697 2003-04-02 John Levon <levon@movementarian.org>
6703 * text_funcs.C: make transposeChars a free function
6705 * lyxrow_funcs.C: remove wrong comment
6707 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6710 * rowpainter.C: adjust
6715 * lyxrow_funcs. [Ch]: new files
6717 * lyxrow.[Ch]: remove next and previous pointers
6718 (next,previous): remove accessor functions
6719 (isParEnd): move to lyxrow_funcs
6720 (lastPos): move to lyxrow_funcs
6721 (nextRowIsAllInset): move to lyxrow_funcs
6722 (lastPrintablePos): move to lyxrow_funcs
6723 (numberOfSeparators): move to lyxrow_funcs
6724 (numberOfHfills): move to lyxrow_funcs
6725 (numberOfLabelHfills): move to lyxrow_funcs
6726 (hfillExpansion): move to lyxrow_funcs
6730 * bufferview_funcs.C (toggleAndShow): adjust
6732 * RowList.h: Remove class RowList from file leave just a
6735 * RowList.C: delete file
6737 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6740 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6742 * text3.C (cursorPrevious): adjust
6743 (cursorNext): adjust
6746 * text2.C (redoHeightOfParagraph): adjust
6747 (redoDrawingOfParagraph): adjust
6750 * text.C (breakParagraph): adjust
6751 (insertChar): adjust
6754 * rowpainter.C (RowPainter): adjust
6755 (leftMargin): simplify and adjust
6756 (most rowpainter functions): adjust.
6758 * rowpainter.h: store the row as RowList::iterator not as Row*
6760 * lyxcursor.C (row): taka RowList::iterator as arg
6763 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6766 2003-04-01 Angus Leeming <leeming@lyx.org>
6768 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6769 stuff like bool Bool.
6771 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6773 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6776 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6778 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6781 * lyxtext.h (rows): drop one version and leve a const variant that
6782 returns a RowList::iterator.
6784 2003-03-31 Angus Leeming <leeming@lyx.org>
6786 * text.C (fill): ensure that the signature is the same as that in the
6789 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6791 * text2.C (redoParagraphs): adjust
6792 (updateCounters): adjust
6793 (checkParagraph): adjust
6794 (getColumnNearX): adjust and reformat a bit.
6796 * text.C (top_y): adjust
6798 (leftMargin): adjust
6799 (prepareToPrint): adjust
6801 (getRowNearY): adjust
6803 * lyxtext.h: make rowlist_ mutable.
6805 * RowList.h: add const_iterator
6806 * RowList.C: adjust for RowList::const_iterator.
6808 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6811 2003-03-31 John Levon <levon@movementarian.org>
6814 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6816 * lyx_main.C: set default fonts from using lyx_gui funcs
6818 * exporter.C: pdf_mode moved from lyxrc
6821 * lyxfunc.C: changes from above
6823 2003-03-31 John Levon <levon@movementarian.org>
6825 * lyx_main.C: fix to the last fix
6827 2003-03-31 John Levon <levon@movementarian.org>
6829 * bufferlist.C: "Load original" -> "Load Original"
6835 * format.C: more Alert cleanups
6837 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6839 * text2.C (removeParagraph): make it take a RowList::iterator as
6841 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6842 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6844 * text.C (anchor_row): make it take a RowList::iterator as arg,
6846 (computeBidiTables): make it take a const reference to Row instead
6847 of Row pointer, adjust.
6848 (leftMargin): make it take a RowList::iterator as arg, adjust.
6849 (rowBreakPoint): adjust
6850 (breakAgainOneRow): make it take a RowList::iterator as arg,
6852 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6854 * bufferview_funcs.C (toggleAndShow): adjust
6856 2003-03-30 John Levon <levon@movementarian.org>
6860 * boost-inst.C: moved to support
6862 * several files: changes as a result
6864 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6866 * text2.C (LyXText): adjust.
6868 (removeRow): make it take a RowList::iterator as arg, adjust.
6869 (fullRebreak): adjust
6870 (deleteEmptyParagraphMechanism): adjust
6871 (clearPaint): adjust
6874 * text.C (top_y): adjust
6875 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6876 (breakAgain): make it take a RowList::iterator as arg, adjust.
6877 (breakParagraph): adjust
6878 (insertChar): adjust
6881 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6882 need_break_row, and refresh_row.
6884 * text3.C (dispatch): adjust
6886 * text2.C (checkParagraph): adjust
6888 (setCursorFromCoordinates): adjust
6890 * text.C (top_y): adjust
6892 (getRow): make it return a RowList::iterator, adjust
6893 (getRowNearY): make it return a RowList::iterator, adjust
6895 * text2.C (init): adjust
6896 (insertRow): remove function
6897 (insertParagraph): adjust
6898 (redoParagraphs): adjust
6899 (fullRebreak): adjust
6900 (updateCounters): adjust
6902 * text.C (top_y): rewrite to use RowList iterators.
6904 (setHeightOfRow): rewrite to sue RowList iterators.
6905 (appendParagraph): adjust
6906 (breakAgain): adjust
6907 (breakAgainOneRow): adjust
6908 (breakParagraph): adjust
6910 (getRowNearY): adjust, and remove commented code.
6912 * lyxtext.h (firstRow): delete function
6913 (lastRow): delete function
6914 (rows): new function (const and non-const versions.)
6915 (insertRow): delete function
6917 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6919 2003-03-29 John Levon <levon@movementarian.org>
6921 * BufferView_pimpl.C: always update scrollbar top
6922 because pasting text when we're anchored could mean we
6923 miss an update altogether
6925 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6927 * text2.C (init): use rowlist_.end() and not 0.
6928 (insertRow): change to take a RowList::iterator as arg, adjust
6930 (insertParagraph): change to take a RowList::iterator as arg,
6932 (redoParagraphs): remove some debug msgs.
6934 * text.C (appendParagraph): change to take a RowList::iterator
6935 arg, adjust for this.
6936 (breakAgain): add an assert
6937 (breakAgainOneRow): ditto
6939 2003-03-29 John Levon <levon@movementarian.org>
6941 * text2.C: do not clear selection after inc/decDepth
6944 2003-03-29 John Levon <levon@movementarian.org>
6947 * buffer.C: fix broken strerrors according to Lars
6949 2003-03-29 John Levon <levon@movementarian.org>
6951 * converters.C: more Alert cleanups
6953 2003-03-29 John Levon <levon@movementarian.org>
6955 * bufferview_funcs.C: remove pointless Alert
6957 * buffer.C: fix confusing error message when
6958 a template is chmoded 000
6960 2003-03-29 John Levon <levon@movementarian.org>
6964 * BufferView_pimpl.C: Alert fixes
6968 * tabular-old.C: remove unused table compat reading
6970 2003-03-29 John Levon <levon@movementarian.org>
6975 * lyx_cb.C: more Alert cleanups
6977 * lyxfunc.C: don't allow chktex if not latex document
6979 2003-03-29 John Levon <levon@movementarian.org>
6983 * buffer.C: warnings pushed down from support/,
6986 2003-03-29 John Levon <levon@movementarian.org>
6988 * lyxfunc.C: safety check for C-r (revert)
6990 2003-03-29 John Levon <levon@movementarian.org>
6993 * bufferlist.C: several UI fixes using Alert::prompt.
6994 Fix the pointless looping quit code. Fix stupid revert
6999 * lyx_cb.C: use Alert::prompt
7001 * lyx_main.C: remove a silly question
7003 * lyxfunc.C: remove a couple of silly questions,
7006 2003-03-28 John Levon <levon@movementarian.org>
7008 * text2.C: fix bug 974 (End on empty par)
7010 2003-03-28 John Levon <levon@movementarian.org>
7012 * BufferView_pimpl.C:
7014 * lfuns.h: remove do-nothing math greek lfuns
7016 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7018 * lyxgluelength.h (isValidGlueLength): add default arg on
7019 parameter 2. Remove default arg from friend in class.
7021 * lyxlength.h (isValidLength): add default arg on parameter 2.
7022 Remove default arg from friend in class.
7024 * text2.C (LyXText): adjust, initialize refresh_row.
7028 (insertParagraph): adjst
7029 (redoParagraphs): adjust
7030 (fullRebreak): adjust
7031 (updateCounters): adjust
7032 (deleteEmptyParagraphMechanism): first attempt at fixing a
7035 * text.C (top_y): adjust
7036 (setHeightOfRow): adjust
7038 (getRowNearY): adjust
7040 * lyxtext.h: include RowList.h
7041 (~LyXText): not needed anymore, deleted.
7042 (firstRow): modify for RowList
7043 (lastRow): new function
7044 Delete firstrow and lastrow class variables, add a Rowlist
7045 rowlist_ class variable.
7047 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7050 * RowList.C (insert): fix case where it == begin().
7052 2003-03-26 Angus Leeming <leeming@lyx.org>
7054 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7055 the thesaurus dialog.
7057 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7059 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7061 * RowList.[Ch]: new files
7063 * ParagraphList.C (erase): handle the case where it == begin
7066 2003-03-25 John Levon <levon@movementarian.org>
7070 * aspell.C: add new aspell support
7073 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7076 2003-03-25 Angus Leeming <leeming@lyx.org>
7079 * LyXAction.C (init): new LFUN_INSET_INSERT.
7081 * BufferView_pimpl.C (dispatch): split out part of the
7082 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7084 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7087 2003-03-25 Angus Leeming <leeming@lyx.org>
7089 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7091 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7094 * text3.C: remove useless row->height(0)
7096 2003-03-25 John Levon <levon@movementarian.org>
7100 * text3.C: rename the refreshing stuff to better names
7102 2003-03-24 John Levon <levon@movementarian.org>
7104 * BufferView_pimpl.h:
7105 * BufferView_pimpl.C: update layout choice on a mouse
7108 2003-03-23 John Levon <levon@movementarian.org>
7110 * Makefile.am: fix commandtags.h reference
7112 2003-03-22 John Levon <levon@movementarian.org>
7114 * BufferView_pimpl.C:
7119 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7121 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7124 * text.C: take the rtl methods out of line
7126 2003-03-21 André Pönitz <poenitz@gmx.net>
7128 * metricsinfo.[Ch]: new files containing structures to be passed around
7129 during the two-phase-drawing...
7131 2003-03-21 André Pönitz <poenitz@gmx.net>
7133 * lyxtextclass.C: read 'environment' tag.
7135 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7137 * text2.C (removeRow): fix bug 964
7139 2003-03-20 John Levon <levon@movementarian.org>
7143 * text2.C: paint cleanups. Inset::update() dropped font
7146 2003-03-19 John Levon <levon@movementarian.org>
7148 * lyxfunc.C: only fitcursor/markDirty if available()
7150 2003-03-19 John Levon <levon@movementarian.org>
7152 * commandtags.h: rename to ...
7154 * lfuns.h: ... this, and renumber / cleanup
7156 2003-03-19 John Levon <levon@movementarian.org>
7158 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7159 fit the cursor after an lfun
7163 * BufferView_pimpl.h:
7164 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7166 * LyXAction.C: layout-character should have ReadOnly
7168 * ParagraphParameters.C:
7170 * bufferview_funcs.C:
7177 * undo_funcs.C: changes from above
7179 2003-03-18 John Levon <levon@movementarian.org>
7181 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7182 remove it from update()
7184 * lyxfunc.C: update layout choice after an lfun
7186 * text3.C: remove extra updateLayoutChoice()s
7188 2003-03-18 John Levon <levon@movementarian.org>
7190 * text.C: top_y change means full repaint, fix
7191 a drawing bug with cursor movement
7193 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7197 * text2.C: anchor row on setCursor
7199 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7201 * lyxtext.h: remove almost all mutable keywords
7204 * text3.C: remove const keywords accordingly
7206 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7208 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7210 (TeXEnvironment): ditto
7213 2003-03-17 John Levon <levon@movementarian.org>
7215 * text.C (rowBreakPoint): remove attempt to fix displayed
7216 math insets inside a manual label
7218 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7220 * lyxtext.h: remove BufferView* as first arg from almost all class
7222 * other files: adjust.
7224 2003-03-17 John Levon <levon@movementarian.org>
7228 * text2.C: more paint cleanups
7230 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7233 * rowpainter.C: remove "smart" background painting code
7235 2003-03-16 John Levon <levon@movementarian.org>
7240 * text3.C: add helper functions for setting refresh_row/y
7242 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7244 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7245 newline inset which *can* get inserted in the pass_thru layouts.
7246 This is primarily for literate documents.
7248 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7250 * buffer.C: increment LYX_FORMAT to 223
7252 2003-03-14 André Pönitz <poenitz@gmx.net>
7254 * textclass.h: prepare for environment handling, ws changes
7255 * lyxlayout.C: read latexheader and latexfooter tags
7257 2003-03-14 John Levon <levon@movementarian.org>
7259 * text2.C: rewrite ::status() a bit
7261 2003-03-13 John Levon <levon@movementarian.org>
7263 * lyxtext.h: add some docs
7265 2003-03-13 John Levon <levon@movementarian.org>
7270 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7272 2003-03-13 John Levon <levon@movementarian.org>
7274 * text3.C: fix appendix redrawing
7276 2003-03-13 John Levon <levon@movementarian.org>
7278 * text.C (setHeightOfRow):
7280 * rowpainter.C: make appendix mark have the text
7281 "Appendix" so the user knows what it is
7284 * LColor.C: s/appendixline/appendix/ from above
7286 2003-03-13 John Levon <levon@movementarian.org>
7288 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7290 * text.C: fix a getChar(pos) bug properly
7292 2003-03-13 Angus Leeming <leeming@lyx.org>
7295 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7296 Probably only temporary. Let's see how things pan out.
7298 * BufferView.C (unlockInset):
7299 * BufferView_pimpl.C (fitCursor):
7300 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7302 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7303 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7305 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7306 new functions that convert ParagraphParameters to and from a string.
7308 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7309 BufferView::Pimpl's dispatch.
7310 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7312 2003-03-13 André Pönitz <poenitz@gmx.net>
7316 * factory.C: make it aware of InsetEnv
7318 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7320 * text2.C (setCursor): never ask for one past last
7321 (setCursor): add some debugging messages.
7323 * text.C (singleWidth): never ask for one past last
7324 (singleWidth): ditto
7326 (rightMargin): ditto
7327 (rowBreakPoint): ditto
7328 (setHeightOfRow): ditto
7329 (prepareToPrint): ditto
7331 * rowpainter.C (paintBackground): never ask for one past last
7332 (paintText): never ask for one past last
7334 * paragraph_pimpl.C (getChar): make the assert stricter, never
7335 allow the one past last pos to be taken
7337 * paragraph.C (getChar): ws changes only
7339 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7340 (numberOfSeparators): ditto
7341 (numberOfHfills): ditto
7343 2003-03-12 John Levon <levon@movementarian.org>
7349 * paragraph_funcs.C: fix per-buffer authorlists
7351 2003-03-12 John Levon <levon@movementarian.org>
7353 * text.C: fix newline in right address
7355 2003-03-12 Angus Leeming <leeming@lyx.org>
7357 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7358 duplicate those in LyXFunc::dispatch.
7362 * ToolbarDefaults.C:
7363 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7364 Add LFUN_FONTFREE_UPDATE.
7366 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7367 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7369 * bufferview_func.[Ch]: several new functions to facilliate
7370 transfer of data to and from the character dialog.
7372 2003-03-12 John Levon <levon@movementarian.org>
7377 * paragraph_funcs.C:
7378 * paragraph_pimpl.C:
7382 * text3.C: remove META_NEWLINE in favour of an inset
7385 * rowpainter.C: remove paintNewline (done by inset)
7387 2003-03-12 John Levon <levon@movementarian.org>
7389 * paragraph_pimpl.C: complain about bad getChar()s
7390 for a while at least
7392 2003-03-12 John Levon <levon@movementarian.org>
7395 * buffer.C: move paragraph read into a separate function,
7396 a little renaming to reflect that.
7399 * bufferparams.C: remove the author_ids map, not necessary now
7402 * factory.C: moved Buffer::readInset to here
7404 * paragraph_funcs.h:
7405 * paragraph_funcs.C: readParagraph free function moved from
7408 * tabular.C: name change
7410 2003-03-12 John Levon <levon@movementarian.org>
7413 * ParagraphParameters.C: move par params input to
7416 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7417 behave like a normal read from the stream wrt reading
7418 a line vs. a \\token
7420 2003-03-12 John Levon <levon@movementarian.org>
7423 * ParagraphParameters.h:
7424 * ParagraphParameters.C: move output code to a
7427 2003-03-12 John Levon <levon@movementarian.org>
7429 * BufferView.C (insertLyXFile):
7432 * tabular.C: use a parlist iterator for creating the
7435 2003-03-12 John Levon <levon@movementarian.org>
7437 * buffer.C: make current_change static local not
7440 2003-03-12 John Levon <levon@movementarian.org>
7442 * buffer.C: fix insertStringAsLines for change tracking
7444 2003-03-12 John Levon <levon@movementarian.org>
7451 * bufferparams.C: move author list into params. Rename some
7452 functions. Move the header reading into a separate token
7453 loop. Move the header token reading into BufferParams.
7455 2003-03-12 John Levon <levon@movementarian.org>
7457 * changes.C: put debug inside lyxerr.debugging() checks
7459 2003-03-11 André Pönitz <poenitz@gmx.net>
7461 * factory.C: make it aware of InsetHFill
7463 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7465 * buffer.C (latexParagraphs): move function from here...
7466 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7469 2003-03-10 Angus Leeming <leeming@lyx.org>
7471 * LyXAction.C (init): fix bug in poplating array with multiple entries
7472 with the same LFUN (spotted by JMarc).
7474 2003-03-10 John Levon <levon@movementarian.org>
7477 * text2.C: move getColumnNearX() near its
7480 2003-03-10 John Levon <levon@movementarian.org>
7482 * text.C: fix break before a minipage
7484 2003-03-10 John Levon <levon@movementarian.org>
7486 * text.C: fix the last commit
7488 2003-03-09 John Levon <levon@movementarian.org>
7492 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7493 bug 365 (don't break before insets unless needed). Don't
7494 return a value > last under any circumstances.
7496 2003-03-09 Angus Leeming <leeming@lyx.org>
7498 * BufferView_pimpl.C (trackChanges, dispatch): call
7499 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7501 2003-03-09 Angus Leeming <leeming@lyx.org>
7503 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7504 than Dialogs::showAboutlyx().
7506 2003-03-09 Angus Leeming <leeming@lyx.org>
7508 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7509 than Dialogs::showTabularCreate().
7511 2003-03-09 John Levon <levon@movementarian.org>
7515 * text2.C: 3rd arg to nextBreakPoint was always the same.
7518 2003-03-08 John Levon <levon@movementarian.org>
7525 * text2.C: Remove the "main" bit from the "main body"
7528 2003-03-08 John Levon <levon@movementarian.org>
7530 * text.C (leftMargin): The left margin of an empty
7531 manual label paragraph should not include the label width
7534 * text.C (prepareToPrint): don't attempt to measure hfills
7535 for empty manual label paragraphs - the answer should be 0
7537 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7539 * CutAndPaste.C: remove commented code and reindent.
7541 2003-03-08 John Levon <levon@movementarian.org>
7544 * lyxfunc.C: move reloadBuffer()
7547 * BufferView.C: to here
7549 * lyxvc.C: add comment
7552 * vc-backend.C: call bv->reload() to avoid
7553 getStatus() check on MENURELOAD
7555 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7557 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7558 to an old format .dep file.
7560 2003-03-07 Angus Leeming <leeming@lyx.org>
7562 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7563 when the LFUN_MOUSE_RELEASE should have been handled by
7564 inset->localDispatch.
7566 2003-03-07 Angus Leeming <leeming@lyx.org>
7568 * BufferView_pimpl.C (dispatch):
7569 * LyXAction.C (init):
7570 * ToolbarDefaults.C (init):
7572 * lyxfunc.C (getStatus):
7573 remove LFUN_INSET_GRAPHICS.
7575 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7577 2003-03-07 Angus Leeming <leeming@lyx.org>
7580 * LyXAction.C (init):
7581 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7583 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7586 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7588 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7589 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7591 2003-03-07 Angus Leeming <leeming@lyx.org>
7593 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7596 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7598 * ParagraphList.C (front): new function
7601 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7603 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7604 and top_row_offset_. removed var first_y.
7606 * text2.C (LyXText, removeRow):
7608 * BufferView_pimpl.C:
7609 use these methods instead of using first_y
7611 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7613 * text2.C (pasteSelection): adjust for checkPastePossible
7615 * CutAndPaste.C: remove Paragraph * buf and replace with
7616 ParagraphList paragraphs.
7617 (DeleteBuffer): delete
7618 (cutSelection): change the tc type to textclass_type
7619 (copySelection): change the tc type to textclass_type
7620 (copySelection): adjust for ParagraphList
7621 (pasteSelection): change the tc type to textclass_type
7622 (pasteSelection): adjust for Paragraphlist
7623 (nrOfParagraphs): simplify for ParagraphList
7624 (checkPastePossible): simplify for ParagraphList
7625 (checkPastePossible): remove unused arg
7627 * ParagraphList.C (insert): handle the case where there are no
7630 * CutAndPaste.h: make CutAndPaste a namespace.
7632 * text3.C (dispatch): adjust
7634 * text.C (breakParagraph): add a ParagraphList as arg
7636 * paragraph_funcs.C (breakParagraph): change to take a
7637 BufferParams and a ParagraphList as args.
7638 (breakParagraphConservative): ditto
7639 (mergeParagraph): ditto
7640 (TeXDeeper): add a ParagraphList arg
7641 (TeXEnvironment): ditto
7644 * buffer.C (readLyXformat2): adjust
7645 (insertStringAsLines): adjust
7646 (latexParagraphs): adjust
7648 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7649 (cutSelection): adjust
7650 (pasteSelection): adjust
7652 * BufferView_pimpl.C (insertInset): adjust
7654 2003-03-05 Angus Leeming <leeming@lyx.org>
7657 * LyXAction.C (init):
7658 * BufferView_pimpl.C (dispatch):
7659 * lyxfunc.C (getStatus):
7660 remove LFUN_CHILD_INSERT.
7662 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7664 2003-03-05 Angus Leeming <leeming@lyx.org>
7667 * LyXAction.C (init):
7668 * src/factory.C (createInset):
7669 * lyxfunc.C (getStatus):
7670 * text3.C (dispatch):
7671 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7673 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7675 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7677 * ParagraphList.C (insert): handle insert right before end()
7678 (erase): fix cases where it can be first or last paragraph.
7680 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7682 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7683 Paragraph::next and Paragraph::previous
7686 * text.C (breakParagraph): adjust
7688 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7689 BufferParams& as arg.
7690 (breakParagraph): use ParagraphList::insert
7691 (breakParagraphConservative): take a Buffer* instead of a
7692 BufferParams& as arg.
7693 (breakParagraphConservative): use ParagraphList::insert.
7695 * buffer.C (insertStringAsLines): un-const it
7696 (insertStringAsLines): adjust
7698 * ParagraphList.C (insert): new function
7700 * CutAndPaste.C (pasteSelection): adjust
7702 * text.C (backspace): adjust
7704 * tabular.C (SetMultiColumn): adjust
7706 * CutAndPaste.C (cutSelection): adjust
7707 (pasteSelection): adjust
7709 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7710 Buffer const * as arg
7712 * ParagraphList.C (erase): new function
7713 * paragraph_funcs.C (mergeParagraph): use it
7714 (mergeParagraph): make it take a Buffer* instead of a
7715 BufferParams* as arg
7717 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7719 (breakParagraphConservative): ditto
7721 * paragraph.h: remove the breakParagraph friend
7723 * paragraph.C (eraseIntern): new function
7724 (setChange): new function
7726 * paragraph_funcs.C (mergeParagraph): make it take a
7727 ParagraphList::iterator instead of a Paragraph *, adjust
7730 * paragraph.h: move an #endif so that the change tracking stuff
7731 also works in the NO_NEXT case.
7733 2003-03-04 Angus Leeming <leeming@lyx.org>
7736 * LyXAction.C: new LFUN_INSET_MODIFY.
7738 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7739 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7741 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7743 * several files: ws changes only
7745 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7746 (TeXEnvironment): ditto
7749 * buffer.C (makeLaTeXFile): adjust
7750 (latexParagraphs): make it take ParagraphList::iterator as args
7752 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7754 * buffer.C (latexParagraphs): adjust
7756 * paragraph.C (TeXOnePar): move function...
7757 (optArgInset): move function...
7758 (TeXEnvironment): move function...
7759 * paragraph_pimpl.C (TeXDeeper): move function...
7760 * paragraph_funcs.C: ...here
7762 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7764 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7766 * buffer.C (readInset): remove compability code for old Figure and
7769 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7771 * buffer.C: ws changes
7774 * BufferView_pimpl.C: ditto
7777 * bufferlist.h: ditto
7781 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7783 * converter.[Ch]: split into itself +
7786 * Makefile.am: += graph.[Ch] + format.[Ch]
7793 * lyxrc.C: added #include "format.h"
7795 2003-02-27 Angus Leeming <leeming@lyx.org>
7797 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7800 * factory.C (createInset): add "label" to the factory.
7802 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7803 string and do no more.
7805 2003-02-27 Angus Leeming <leeming@lyx.org>
7808 * LyXAction.C (init):
7809 * factory.C (createInset):
7810 * BufferView_pimpl.C (dispatch):
7811 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7813 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7815 * lyxfunc.C (dispatch):
7816 * text3.C (dispatch): pass name to params2string.
7818 2003-02-26 Angus Leeming <leeming@lyx.org>
7820 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7822 Rearrange the ~includes. Strip out the unnecessary ones.
7824 * factory.C (createInset): reformat.
7825 create new insets for the various LFUN_XYZ_APPLY lfuns.
7827 2003-02-26 John Levon <levon@movementarian.org>
7830 * lyxrow.C: add isParStart,isParEnd helpers
7832 * paragraph.h: make isInserted/DeletedText take refs
7834 * paragraph_funcs.h:
7835 * paragraph_funcs.C: remove #if 0'd code
7840 * text.C: use lyxrow helpers above.
7841 Move draw and paint routines to RowPainter.
7842 Make several methods use refs not pointers.
7843 Make backgroundColor() const.
7844 Add markChangeInDraw(), isInInset().
7845 Merge changeRegionCase into changeCase.
7846 Make workWidth() shouldn't-happen code into an Assert.
7849 * rowpainter.C: new class for painting a row.
7852 * vspace.C: make inPixels take a ref
7854 2003-02-26 Angus Leeming <leeming@lyx.org>
7856 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7859 2003-02-25 John Levon <levon@movementarian.org>
7861 * ispell.C: give the forked command a more accurate name
7863 2003-02-22 John Levon <levon@movementarian.org>
7866 * toc.C: make TocItem store an id not a Paragraph *
7869 2003-02-21 Angus Leeming <leeming@lyx.org>
7871 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7872 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7873 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7874 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7875 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7876 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7878 * BufferView_pimpl.C (dispatch):
7879 * LyXAction.C (init):
7880 * factory.C (createInset):
7881 * lyxfunc.C (getStatus, dispatch):
7882 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7884 2003-02-21 Angus Leeming <leeming@lyx.org>
7886 * BufferView_pimpl.C (MenuInsertLyXFile):
7887 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7888 * lyxfunc.C (menuNew, open, doImport):
7889 no longer pass a LyXView & to fileDlg.
7891 2003-02-21 Angus Leeming <leeming@lyx.org>
7893 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7894 * LyXAction.C: change, BIBKEY to BIBITEM.
7895 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7896 Change InsetBibKey to InsetBibitem.
7897 Change BIBKEY_CODE to BIBITEM_CODE.
7898 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7899 * factory.C: replace insetbib.h with insetbibitem.h.
7900 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7901 * paragraph.C: replace insetbib.h with insetbibitem.h.
7902 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7903 Change bibkey() to bibitem().
7904 * text.C: remove insetbib.h.
7905 * text2.C: replace insetbib.h with insetbibitem.h.
7906 change bibkey() to bibitem().
7907 * text3.C: remove insetbib.h.
7908 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7910 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7912 * lyxrc.C (output): enclose user email in quotes (in case there are
7915 2003-02-18 John Levon <levon@movementarian.org>
7917 * buffer.h: add std::
7919 2003-02-17 John Levon <levon@movementarian.org>
7925 * pspell.C: reworking. Especially in ispell, a large
7926 number of clean ups and bug fixes.
7928 * lyxfunc.C: fix revert to behave sensibly
7930 2003-02-17 André Pönitz <poenitz@gmx.net>
7933 * commandtags.h: new LFUN_INSERT_BIBKEY
7943 * paragraph_func.C: remove special bibkey handling
7945 2003-02-17 John Levon <levon@movementarian.org>
7947 * text.C (Delete): fix case where delete at the end of
7948 the very first paragraph would not merge the pars
7950 2003-02-17 John Levon <levon@movementarian.org>
7952 * lyxrow.C: fix lastPrintablePos()
7954 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7956 * bufferparams.C (writeLaTeX): add a std:here
7958 * buffer.C: and remove a using directive there
7960 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7962 * buffer.C (makeLaTeXFile): move the code that generates the
7965 * bufferparams.C (writeLaTeX): ... in this new method
7967 * LaTeXFeatures.C (getEncodingSet): make const
7968 (getLanguages): make const
7970 * MenuBackend.C (binding): returns the binding associated to this
7972 (add): sets the status of each item by calling getStatus. Adds
7974 (read): add support for OptSubMenu
7975 (expand): remove extra separator at the end of expanded menu
7977 2003-02-15 John Levon <levon@movementarian.org>
7980 * BufferView_pimpl.C:
7982 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7983 inset code that had no actual effect. Remove unneeded status
7986 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7988 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7991 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7993 * text.C (drawLengthMarker): also draw an arrow marker for
7994 symbolic lengths (medskip...)
7996 2003-02-14 John Levon <levon@movementarian.org>
7999 * tabular.C: better method names
8001 2003-02-14 John Levon <levon@movementarian.org>
8003 * BufferView_pimpl.C:
8008 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8009 it's a more accurate name. Remove some pointless uses.
8011 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8013 * text2.C (LyXText): change order of initilizers to shut off
8016 2003-02-14 John Levon <levon@movementarian.org>
8018 * buffer.C: use ParIterator for getParFromID()
8022 * paragraph_pimpl.h:
8023 * paragraph_pimpl.C: remove unused getParFromID()
8025 2003-02-14 John Levon <levon@movementarian.org>
8027 * buffer.C: remove some very old #if 0'd parse code
8029 2003-02-13 John Levon <levon@movementarian.org>
8033 * text2.C: move hfillExpansion(), numberOfSeparators(),
8034 rowLast(), rowLastPrintable(), numberofHfills(),
8035 numberOfLabelHfills() ...
8038 * lyxrow.C: ... to member functions here.
8043 * text.C: remove LyXText::beginningOfMainBody(), and call
8044 p->beginningOfMainBody() directly. Move the check for
8045 LABEL_MANUAL into the latter.
8052 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8058 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8059 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8061 2003-02-13 John Levon <levon@movementarian.org>
8063 * CutAndPaste.C: remove debug
8065 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8067 * paragraph.C (asString): remove two unused variables
8069 * lyxtextclass.C (readTitleType):
8071 (LyXTextClass): handle new members titletype_ and titlename_
8073 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8075 2003-02-09 John Levon <levon@movementarian.org>
8078 * buffer.C: replace hand-coded list with a map for the dep clean
8080 2003-02-08 John Levon <levon@movementarian.org>
8082 * LaTeX.C: consolidate code into showRunMessage() helper
8084 2003-02-08 John Levon <levon@movementarian.org>
8089 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8090 and pass the size in explicitly
8092 * BufferView_pimpl.h:
8093 * BufferView_pimpl.C:
8095 * BufferView.C: add getCurrentChange()
8097 * BufferView_pimpl.h:
8098 * BufferView_pimpl.C: handle change lfuns
8100 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8101 for changes. Mark pasted paragraphs as new.
8103 * support/lyxtime.h:
8104 * support/lyxtime.C:
8105 * DepTable.C: abstract time_t as lyx::time_type
8108 * LColor.C: add colours for new text, deleted text, changebars
8110 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8111 package use "usenames" option.
8115 * LyXAction.C: add change lfuns
8119 * author.C: author handling
8122 * buffer.C: add a per-buffer author list, with first entry as
8123 current author. Handle new .lyx tokens for change tracking. Output
8124 author list to .lyx file. Output dvipost stuff to .tex preamble.
8125 Bump lyx format to 222.
8128 * bufferlist.C: add setCurrentAuthor() to reset current author details
8132 * bufferparams.C: add param for tracking
8134 * bufferview_funcs.C: output change info in minibuffer
8138 * changes.C: add change-tracking structure
8141 * debug.C: add CHANGES debug flag
8144 * lyxfind.C: add code for finding the next change piece
8147 * lyxrc.C: add user_name and user_email
8150 * lyxrow.C: add a metric for the top of the text line
8153 * text.C: implement accept/rejectChange()
8156 * text.C: paint changebars. Paint new/deleted text in the chosen
8157 colours. Strike through deleted text.
8161 * paragraph_pimpl.h:
8162 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8163 in the current change to the insert functions. Rework erase to
8164 mark text as deleted, adding an eraseIntern() and a range-based
8165 erase(). Implement per-paragraph change lookup and
8168 * paragraph_funcs.C: Fixup paste for change tracking.
8170 * tabular.C: mark added row/columns as new.
8172 * text.C: fix rowLast() to never return -1. Don't allow
8173 spellchecking of deleted text. Track transpose changes. Don't
8174 allow paragraph break or merge where appropriate.
8176 * text2.C: leave cursor at end of selection after a cut.
8178 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8180 * text.C (getLengthMarkerHeight):
8181 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8182 visible on screen too.
8184 2003-02-07 John Levon <levon@movementarian.org>
8186 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8188 2003-02-05 Angus Leeming <leeming@lyx.org>
8190 * lyxserver.C (read_ready): revert my patch of 11 September last year
8191 as it sends PC cpu through the roof. Presumably this means that
8192 the lyxserver will no longer run on an Alpha...
8194 2003-01-30 Angus Leeming <leeming@lyx.org>
8196 * factory.C (createInset): create an InsetCommandParam of type "index"
8197 and use it to 'do the right thing'.
8199 * text2.C (getStringToIndex): ensure that cursor position is always
8200 reset to the reset_cursor position.
8202 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8204 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8207 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8211 * lyxfunc.C: Output messages with identical spelling, punctuation,
8214 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8216 * MenuBackend.C (expandFormats): List only viewable export formats
8219 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8222 * lyxfunc.C (getStatus): Make sure that formats other than
8223 "fax" can also be disabled
8225 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8227 * text3.C (dispatch): put the lfuns that insert insets in 3
8228 groups, and call doInsertInset with appropriate arguments.
8229 (doInsertInset): new function, that creates an inset and inserts
8230 it according to some boolean parameters.
8232 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8234 * buffer.C (readFile): remember to pass on 'par' when calling
8235 readFile recursively.
8237 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8239 * MenuBackend.C (expandFormats): add "..." to import formats.
8241 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8243 * paragraph.C (asString): Remove XForms RTL hacks.
8245 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8246 * buffer.C: fix typo
8248 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8250 * Makefile.am (LIBS): delete var
8251 (lyx_LDADD): add @LIBS@ here instead.
8253 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8255 * Clarify the meaning of "wheel mouse jump"
8257 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8259 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8262 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8264 * importer.C (Loaders): do not preallocate 3 elements in the
8265 vector, since one ends up with 6 elements otherwise
8267 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8269 * DepTable.C (write): write the file name as last element of the
8270 .dep file (because it may contain spaces)
8271 (read): read info in the right order
8273 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8275 * paragraph_pimpl.C (simpleTeXBlanks):
8276 (simpleTeXSpecialChars):
8277 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8279 * tabular.C (latex): add some missing case statements. Reindent.
8281 * MenuBackend.C (expandToc): remove unused variable.
8283 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8292 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8295 2003-01-05 John Levon <levon@movementarian.org>
8298 * BufferView.C: add getEncoding()
8301 * kbsequence.C: do not store last keypress
8304 * lyxfunc.C: store last keypress here instead. Pass encoding
8307 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8309 * lyx_main.C (init): remove annoying error message when following
8310 symbolic links (bug #780)
8312 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8314 * text.C (insertChar):
8315 * lyxrc.C (getDescription): remove extra spaces
8317 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8319 * lyxrc.C (getDescription): remove extra spaces
8321 2002-12-20 John Levon <levon@movementarian.org>
8323 * text3.C: hack fix for page up/down across tall rows
8325 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8327 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8330 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8332 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8333 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8334 thesaurus is not compiled in
8336 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8338 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8340 2002-12-16 Angus Leeming <leeming@lyx.org>
8343 * lyx_main.C (init): remove override_x_deadkeys stuff.
8345 2002-12-12 John Levon <levon@movementarian.org>
8347 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8348 insert. Only remove shift modifier under strict
8351 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8353 * MenuBackend.C (expandToc): fix crash.
8355 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8357 * MenuBackend.C (expandToc): gettext on float names.
8359 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8361 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8362 implement bool empty() [bug 490]
8364 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8366 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8368 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8370 * several files: ws changes
8372 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8374 * text2.C (setCounter): clean up a bit, use boost.format.
8375 (updateCounters): initialize par upon declaration.
8377 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8378 if the layout exists. We do not just store the layout any more.
8379 (SwitchLayoutsBetweenClasses): use boost.format
8381 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8383 * converter.C (convert): if from and to files are the same, use a
8384 temporary files as intermediary
8386 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8389 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8391 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8393 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8395 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8397 * tabular.C (asciiPrintCell): use string(size, char) instead of
8400 * sgml.C (openTag): fix order of arguments to string constructor
8403 * lyxfunc.C (dispatch): use boost.format
8405 * lots of files: change "c" -> 'c'
8407 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8409 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8411 2002-11-25 Angus Leeming <leeming@lyx.org>
8413 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8415 * lyx_main.C (init): compile fix.
8417 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8419 * lyx_cb.C (start): boost.formatify
8420 do not include <iostream>
8422 * lengthcommon.C: ws only
8424 * boost-inst.C,BoostFormat.h: add more explict instantations
8426 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8428 * lots of files: handle USE_BOOST_FORMAT
8430 2002-11-21 John Levon <levon@movementarian.org>
8432 * pspell.C: fix compile
8434 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8436 * lyxfunc.C (dispatch): use boost::format
8440 * lyxfont.C (stateText): use boost::format
8442 * lyx_main.C (LyX): use boost::format
8444 (queryUserLyXDir): ditto
8447 (typedef boost::function): use the recommened syntax.
8449 * importer.C (Import): use boost::format
8451 * debug.C (showLevel): use boost::format
8453 * converter.C (view): use boost::format
8458 * bufferview_funcs.C (currentState): use boost::format
8460 * bufferlist.C (emergencyWrite): use boost::format
8462 * buffer.C (readLyXformat2): use boost::format
8463 (parseSingleLyXformat2Token): ditto
8465 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8467 * LaTeX.C (run): use boost::format
8469 * Chktex.C (scanLogFile): use boost::format
8471 * BufferView_pimpl.C (savePosition): use boost::format
8472 (restorePosition): ditto
8473 (MenuInsertLyXFile): ditto
8475 * BoostFormat.h: help file for explicit instation.
8477 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8479 * tabular.C (latex): Support for block alignment in fixed width
8482 2002-11-17 John Levon <levon@movementarian.org>
8484 * BufferView_pimpl.C:
8486 * lyxfunc.C: split filedialog into open/save
8488 2002-11-08 Juergen Vigna <jug@sad.it>
8490 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8491 by my last patch (hopefully).
8493 2002-11-08 John Levon <levon@movementarian.org>
8502 * toc.C: ParConstIterator, and use it (from Lars)
8504 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8506 * lyxtextclass.[Ch]: revise and add doxygen comments
8508 2002-11-07 John Levon <levon@movementarian.org>
8510 * text.C: fix progress value for spellchecker
8512 * toc.C: fix navigate menu for insetwrap inside minipage
8514 * paragraph_funcs.C: added FIXME for suspect code
8516 2002-11-07 John Levon <levon@movementarian.org>
8518 * BufferView_pimpl.C: fix redrawing of insets
8521 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8523 * text2.C (updateCounters): fix bug 668
8525 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8527 * text3.C (dispatch): Do not make the buffer dirty when moving the
8530 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8532 * vc-backend.C: STRCONV
8535 * text2.C (setCounter): STRCONV
8537 * paragraph.C (asString): STRCONV
8539 * lyxlength.C (asString): STRCONV
8540 (asLatexString): ditto
8542 * lyxgluelength.C (asString): STRCONV
8543 (asLatexString): ditto
8545 * lyxfunc.C (dispatch): STRCONV
8548 * lyxfont.C (stateText): STRCONV
8550 * importer.C (Import): STRCONV
8552 * counters.C (labelItem): STRCONV
8553 (numberLabel): ditto
8554 (numberLabel): remove unused ostringstream o
8559 * bufferview_funcs.C (currentState): STRCONV
8561 * buffer.C (readFile): STRCONV
8562 (asciiParagraph): ditto
8563 (makeLaTeXFile): ditto
8565 * Spacing.C (writeEnvirBegin): STRCONV
8567 * LaTeXFeatures.C (getLanguages): STRCONV
8568 (getPackages): ditto
8570 (getBabelOptions): ditto
8571 (getTClassPreamble): ditto
8572 (getLyXSGMLEntities): ditto
8573 (getIncludedFiles): ditto
8577 (scanAuxFile): ditto
8580 * LString.h: add the STRCONV macros
8582 * BufferView_pimpl.C (savePosition): STRCONV
8583 (restorePosition): ditto
8584 (MenuInsertLyXFile): ditto
8586 * vc-backend.C (scanMaster): change from submatch[...] to
8589 * funcrequest.C: include config.h
8591 * factory.C: include config.h
8593 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8595 * box.C: include config.h
8597 * LaTeX.C (scanAuxFile): change from submatch[...] to
8601 2002-10-25 Angus Leeming <leeming@lyx.org>
8603 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8605 * ispell.[Ch] (setError): new method.
8606 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8607 Use setError() insetead of goto END.
8609 * lyx_cb.C (AutoSave): move out child process into new class
8612 2002-10-30 John Levon <levon@movementarian.org>
8614 * text3.C: make start appendix undoable
8616 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8618 * lyxlength.C (inPixels): Fix returned value.
8620 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8623 2002-10-24 Angus Leeming <leeming@lyx.org>
8625 * lyxgluelength.h: no need to forward declare BufferParams
8626 or BufferView, so don't.
8628 2002-10-21 John Levon <levon@movementarian.org>
8630 * BufferView.C: menuUndo ->undo, redo
8632 * BufferView.h: document, remove dead, make some methods private
8634 * paragraph_funcs.h:
8635 * paragraph_funcs.C:
8636 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8641 * sgml.C: move sgml open/close tag into sgml.C
8643 * bufferview_funcs.h: unused prototype
8646 * lyxfunc.C: remove unused
8649 * text.C: remove unused
8651 2002-10-21 John Levon <levon@movementarian.org>
8655 * BufferView_pimpl.h:
8656 * BufferView_pimpl.C: fix mouse wheel handling based on
8657 patch from Darren Freeman
8659 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8661 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8663 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8665 * lyxlength.C (inPixels): Fix hanfling of negative length.
8666 Fix LyXLength::MU case.
8668 2002-10-16 John Levon <levon@movementarian.org>
8670 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8672 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8674 * converter.C (view): add support for $$i (file name) and $$p
8675 (file path) for the viewer command. If $$i is not specified, then
8676 it is appended to the command (for compatibility with old syntax)
8678 2002-10-14 Juergen Vigna <jug@sad.it>
8680 * undo_funcs.C (textHandleUndo): alter the order in which the
8681 new undopar is added to the LyXText, as we have to set first
8682 the right prev/next and then add it as otherwise the rebuild of
8683 LyXText is not correct. Also reset the cursor to the right paragraph,
8684 with this IMO we could remove the hack in "redoParagraphs()".
8686 2002-10-09 Angus Leeming <leeming@lyx.org>
8688 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8689 to turn off an optimisation if a new inset is to be inserted.
8691 2002-10-11 André Pönitz <poenitz@gmx.net>
8693 * lyxtext.h: make some functions public to allow access
8694 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8696 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8698 * text3.C (dispatch): when changing layout, avoid an infinite loop
8701 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8703 * lyxrc.C (read): treat a viewer or converter command of "none" as
8706 * MenuBackend.C (expandFormats): for an update, also allow the
8707 formats that are not viewable
8709 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8710 script if it is newer than the lyxrc.defaults in user directory
8712 2002-10-07 André Pönitz <poenitz@gmx.net>
8714 * text.C: Vitaly Lipatov's small i18n fix
8716 2002-09-25 Angus Leeming <leeming@lyx.org>
8718 * ispell.h: doxygen fix.
8720 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8722 * buffer.h (readFile): Add a new argument to the method, to allow
8723 reading of old-format templates.
8725 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8727 * toc.C (getTocList): Get TOC from InsetWrap.
8729 2002-09-16 John Levon <levon@movementarian.org>
8731 * lyxfunc.C: check tabular for cut/copy too
8733 2002-09-12 John Levon <levon@movementarian.org>
8738 * factory.C: add header
8740 * paragraph_funcs.h:
8741 * paragraph_funcs.C: cleanup
8743 2002-09-11 John Levon <levon@movementarian.org>
8745 * PrinterParams.h: odd/even default to true
8747 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8749 * PrinterParams.h: update printer parameters for new xforms dialog
8751 2002-09-11 Angus Leeming <leeming@lyx.org>
8753 * lyxserver.C (read_ready): re-write to make it more transparent
8754 and to make it work in coherent fashion under Tru64 Unix.
8756 2002-09-11 André Pönitz <poenitz@gmx.net>
8760 * text3.C: implement LFUN_WORDSEL
8762 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8764 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8765 make floatlist_ a boost::shared_ptr<FloatList>
8767 * lyxtextclass.C: include FloatList.h
8768 (LyXTextClass): initialize floatlist_
8769 (TextClassTags): add TC_NOFLOAT
8770 (Read): match "nofloat" to TC_NOFLOAT and use it.
8771 (readFloat): modify call to floatlist_
8775 * FloatList.[Ch] (FloatList): remove commented out float
8777 (erase): new function
8779 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8781 * MenuBackend.C (expandToc): fix crash when there is no document
8784 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8786 * many files: Add insetwrap.
8788 2002-09-09 John Levon <levon@movementarian.org>
8790 * text2.C: remove confusing and awkward depth wraparound
8792 2002-09-09 John Levon <levon@movementarian.org>
8794 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8797 * buffer.C: remove getIncludeonlyList()
8800 * lyxfunc.C: remove headers
8802 2002-09-09 Juergen Vigna <jug@sad.it>
8804 * text.C (getColumnNearX): fix form Michael this is most
8805 probably a cut&paste bug.
8807 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8809 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8811 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8812 references, ws changes.
8814 * text2.C (init): update counters after init
8815 (insertParagraph): no need to set counter on idividual paragraphs.
8816 (setCounter): access the counters object in the textclass object
8817 on in the buffer object.
8818 (updateCounters): ditto
8820 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8821 shared_ptr<Counters> to avoid loading counters.h in all
8823 (LyXTextClass): initialize ctrs_
8824 (TextClassTags): add TC_COUNTER, and ...
8825 (Read): use it here.
8826 (CounterTags): new tags
8827 (readCounter): new function
8828 (counters): new funtion
8829 (defaultLayoutName): return a const reference
8831 * counters.C (Counters): remove contructor
8832 (newCounter): remove a couple of unneeded statements.
8833 (newCounter): simplify a bit.
8834 (numberLabel): some small formatting changes.
8836 * buffer.[Ch]: remove all traces of counters, move the Counters
8837 object to the LyXTextClass.
8839 2002-09-06 Alain Castera <castera@in2p3.fr>
8841 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8842 package to set the horizontal alignment on fixed width columns.
8845 * lyx_sty.h: added tabularnewline macro def.
8847 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8849 2002-09-06 John Levon <levon@movementarian.org>
8851 * LyXAction.C: tooltips for sub/superscript
8853 * MenuBackend.C: a bit more verbose
8855 * lyxfunc.C: tiny clean
8857 * undo_funcs.C: document undo_frozen
8859 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8861 * counters.C (Counters): add missing algorithm counter.
8863 * text2.C (setCounter): lookup the counter with layouts latexname
8864 instead of by section number.
8865 (setCounter): use a hackish way to lookup the correct enum
8867 a float name->type change
8868 reset enum couners with counter name directly instead of depth value.
8870 * counters.C (Counters): remove the push_backs, change to use the
8871 float type not the float name.
8872 (labelItem): remove unused string, float name->type change
8874 * counters.h: don't include vector, loose the enums and sects vectors
8876 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8878 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8879 (Read): add float->TC_FLOAT to textclassTags
8880 (Read): and handle it in the switch
8881 (readFloat): new function
8883 * FloatList.C (FloatList): comment out the hardcoded float
8886 * lyxlayout.h: ws change.
8888 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8890 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8892 2002-09-03 Angus Leeming <leeming@lyx.org>
8894 * BufferView_pimpl.h: qualified name is not allowed in member
8895 declaration: WorkArea & Pimpl::workarea() const;
8897 * factory.C: added using std::endl directive.
8899 * text3.C: added using std::find and std::vector directives.
8901 2002-08-29 André Pönitz <poenitz@gmx.net>
8904 * text2.C: remove unused member number_of_rows
8907 * BufferView2.C: remove file, move contents to...
8908 * BufferView.C: ... here
8910 * BufferView_pimpl.C:
8911 * factory.C: move more inset creation to factory
8913 * vspace.C: avoid direct usage of LyXText, ws changes
8916 don't provide direct access to WorkArea, use two simple
8917 acessors haveSelction() and workHeight() instead
8920 2002-08-29 John Levon <levon@movementarian.org>
8922 * BufferView_pimpl.C (dispatch): do not continue when
8925 2002-08-28 André Pönitz <poenitz@gmx.net>
8927 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8930 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8932 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8934 * buffer.C: increment LYX_FORMAT to 221
8936 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8937 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8939 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8941 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8943 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8945 * factory.C (createInset): use LyXTextClass::floats
8947 * MenuBackend.C (expandFloatListInsert):
8948 (expandFloatInsert):
8951 * text2.C (setCounter):
8953 * LaTeXFeatures.C (useFloat):
8954 (getFloatDefinitions):
8956 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8958 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8959 floatlist_, with accessor floats().
8961 * FloatList.h: remove global FloatList
8963 2002-08-26 André Pönitz <poenitz@gmx.net>
8965 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8969 * BufferView_pimpl.C:
8970 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8972 2002-08-25 John Levon <levon@movementarian.org>
8974 * LyXAction.C: fix margin note description
8976 2002-08-24 John Levon <levon@movementarian.org>
8980 * bufferview_funcs.C:
8982 * undo_funcs.C: cleanups
8984 * lyxfunc.C: disable CUT/COPY when no selection
8986 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8988 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8989 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8991 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8992 Add backward compatibility to "mono", "gray" and "no".
8994 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8996 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8997 (and file_format >= 200).
8999 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9001 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9003 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9005 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9007 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9009 * BufferView_pimpl.C:
9016 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9017 inset and code to make it work with the paragraph code. The inset
9018 can be anywhere in the paragraph, but will only do the expected
9019 thing in LaTeX if the layout file contains the parameter line
9021 (or more generally, a nonzero value) for that layout.
9023 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9025 * paragraph.h: remove the declaration of undefined counters class
9028 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9030 * text2.C (setCounter): fixed enumeration mis-count as reported by
9031 Dr. Richard Hawkins.
9033 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9035 * paragraph_funcs.h: remove some unneeded includes
9037 * text.C (backspace): pasteParagraph now in global scipe
9039 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9040 (pasteSelection): ditto
9042 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9043 * paragraph_funcs.C (pasteParagraph): ... here
9045 2002-08-20 André Pönitz <poenitz@gmx.net>
9047 * commandtags.h: new LFUNs for swapping/copying table row/colums
9050 * lyxfunc.C: support for new lfuns
9052 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9055 * buffer.[Ch]: remove NO_COMPABILITY stuff
9057 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9059 * boost.C (throw_exception): new file, with helper function for
9060 boost compiled without exceptions.
9065 * ParameterStruct.h:
9066 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9068 * bufferlist.C (emergencyWriteAll): use boost bind
9070 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9072 * text.C: include paragraph_funcs.h
9073 (breakParagraph): breakParagraph is now in global scope
9075 * paragraph_funcs.[Ch]: new files
9077 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9080 * buffer.C: include paragraph_funcs.h
9081 (insertStringAsLines): breakParagraph is now in global scope
9083 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9086 * CutAndPaste.C: include paragraph_funcs.h
9087 (cutSelection): breakParagraphConservative is now in global scope
9088 (pasteSelection): ditto
9090 * buffer.h: declare oprator== and operator!= for
9091 Buffer::inset_iterator
9093 * bufferlist.C (emergencyWrite): don't use fmt(...)
9095 * text3.C: add using std::endl
9097 * BufferView.C (moveCursorUpdate): remove default arg
9099 2002-08-20 André Pönitz <poenitz@gmx.net>
9101 * buffer.[Ch]: move inline functions to .C
9104 * BufferView_pimpl.C:
9106 * buffer.[Ch]: use improved inset_iterator
9109 * paragraph.[Ch]: write one paragraph at a time
9111 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9113 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9114 style if style is not specified.
9116 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9118 * text2.C (setCounter): when searching for right label for a
9119 caption, make sure to recurse to parent insets (so that a caption
9120 in a minipage in a figure float works) (bug #568)
9122 2002-08-20 André Pönitz <poenitz@gmx.net>
9124 * text3.C: new file for LyXText::dispatch() and helpers
9126 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9128 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9130 2002-08-19 André Pönitz <poenitz@gmx.net>
9133 * text.C: new LyXText::dispatch()
9135 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9137 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9139 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9141 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9144 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9146 * Makefile.am: use $(variables) instead of @substitutions@
9148 2002-08-15 André Pönitz <poenitz@gmx.net>
9151 * BufferView_pimpl.C: streamlining mathed <-> outer world
9155 * LyXAction.C: remove unused LFUN_MATH
9157 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9159 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9161 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9163 * paragraph.C (Paragraph): reformat a bit
9164 (cutIntoMinibuffer): use builtin InsetList function instad of
9168 * buffer.C: include boost/bind.hpp, add using std::for_each
9169 (writeFileAscii): use ParagraphList iterators
9170 (validate): use for_each for validate traversal of paragraphs
9171 (getBibkeyList): use ParagraphList iterators
9172 (resizeInsets): use for_each to resizeInsetsLyXText for all
9174 (getParFromID): use ParagraphList iterators
9176 * BufferView2.C (lockInset): use paragraph list and iterators
9178 2002-08-14 John Levon <levon@movementarian.org>
9180 * lyxserver.C: remove spurious xforms include
9182 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9184 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9186 2002-08-13 André Pönitz <poenitz@gmx.net>
9189 * lyxfunc.C: further cleaning
9191 2002-08-13 André Pönitz <poenitz@gmx.net>
9193 * funcrequest.h: new constructor
9195 * funcrequest.C: move stuff here from .h
9198 * BufferView_pimpl.C:
9201 * lyxfunc.C: subsequent changes
9203 * lyxfunc.h: new view() member function
9205 * lyxfunc.C: subsequent changes
9207 2002-08-13 Angus Leeming <leeming@lyx.org>
9210 * BufferView_pimpl.C:
9218 changes due to the changed LyXView interface that now returns references
9219 to member variables not pointers.
9221 2002-08-13 Angus Leeming <leeming@lyx.org>
9223 * WordLangTuple (word, lang_code): return references to strings,
9228 * lyxtext.h: forward-declare WordLangTuple.
9233 * text.C: #include "WordLangTuple.h".
9236 * text.C: (selectNextWordToSpellcheck): constify return type.
9238 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9244 * paragraph_pimpl.h:
9247 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9249 Made updateCounter always count from start of buffer, and removed
9250 second argument (par).
9251 Reverted floats number display to '#'. Perhaps I'll try again when the
9252 code base is sanitized a bit.
9254 2002-08-12 Angus Leeming <leeming@lyx.org>
9256 * buffer.[Ch] (getLabelList): constify.
9258 2002-08-07 André Pönitz <poenitz@gmx.net>
9260 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9262 * funcrequest.h: extension to keep mouse (x,y) position
9264 2002-08-12 Juergen Vigna <jug@sad.it>
9266 * BufferView2.C (insertErrors): forbid undo when inserting error
9269 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9271 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9273 * ParagraphList.[Ch]: new files
9275 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9277 * BufferView2.C (lockInset): ParagraphList changes
9280 * bufferlist.C: ditto
9284 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9286 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9287 unused class variable counter_,
9289 * paragraph.[Ch] (getFirstCounter): delete unused function
9291 * counters.C: include LAssert.h
9292 (reset): add a new function with no arg, change other version to
9293 not have def. arg and to not allow empty arg.
9295 * text2.C (setCounter): remove empty arg from call to Counters::reset
9297 2002-08-11 John Levon <levon@movementarian.org>
9299 * Makefile.am: add WordLangTuple.h
9301 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9303 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9304 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9306 * insets/insettext.C: InsetList changes
9308 * graphics/GraphicsSupport.C (operator()): InsetList changes
9310 * toc.C (getTocList): InsetList changes
9312 * paragraph_pimpl.[Ch]: InsetList changes
9314 * paragraph.[Ch]: InsetList changes
9316 * buffer.C (inset_iterator): InsetList changes
9317 (setParagraph): ditto
9318 * buffer.h (inset_iterator): ditto
9319 * iterators.C (operator++): ditto
9320 * iterators.h: ditto
9322 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9324 * InsetList.[Ch]: new files, most InsetList handling moved out of
9327 * BufferView2.C (removeAutoInsets): InsetList changes
9329 (ChangeInsets): ditto
9331 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9333 * paragraph_pimpl.h (empty): new function
9335 * paragraph.[Ch] (empty): new function
9337 * other files: use the new Paragraph::empty function
9339 2002-08-09 John Levon <levon@movementarian.org>
9341 * lyxtext.h: remove unused refresh_height
9343 2002-08-09 John Levon <levon@movementarian.org>
9350 * paragraph.C: move sgml char escaping out of paragraph
9353 * paragraph.C: remove id setter
9357 * paragraph_pimpl.C: remove dead tex_code_break_column
9359 * bufferview_funcs.C: small cleanup
9361 * lyxfunc.C: remove dead proto
9363 * lyxtext.h: make some stuff private. Remove some dead stuff.
9365 * lyxgluelength.C: make as[LyX]String() readable
9367 2002-08-08 John Levon <levon@movementarian.org>
9372 * ToolbarDefaults.C:
9375 * toc.C: lyxaction cleanup
9377 2002-08-08 John Levon <levon@movementarian.org>
9379 * BufferView2.C: small cleanup
9382 * lyxfind.C: move unnecessary header into the .C
9384 2002-08-08 John Levon <levon@movementarian.org>
9386 * funcrequest.h: just tedious nonsense
9389 * lyx_main.C: cleanups
9392 * vspace.C: remove dead header lyx_main.h
9394 2002-08-07 Angus Leeming <leeming@lyx.org>
9397 * paragraph_pimpl.h:
9398 Forward declare class Counters in paragraph.h by moving the ctrs member
9399 variable into Paragraph::Pimpl.
9400 (counters): new method, returning a reference to pimpl_->ctrs.
9402 * text2.C: ensuing changes.
9404 2002-08-07 John Levon <levon@movementarian.org>
9406 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9408 * BufferView_pimpl.C: announce X selection on double/triple
9411 * lyx_main.C: use correct bool in batch dispatch
9413 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9415 2002-08-07 André Pönitz <poenitz@gmx.net>
9417 * funcrequest.h: new class to wrap a kb_action and its argument
9420 * BufferView_pimpl[Ch]:
9424 * lyxrc.C: subsequent changes
9427 2002-08-07 John Levon <levon@movementarian.org>
9429 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9430 document options change.
9432 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9437 * makefile.am: move counters functionality over from
9438 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9440 2002-08-06 John Levon <levon@movementarian.org>
9442 * WordLangTuple.h: new file for word + language code tuple
9453 * BufferView2.C: use WordLangTuple
9456 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9458 2002-08-06 John Levon <levon@movementarian.org>
9460 * lyx_main.C: fix cmdline batch handling
9462 2002-08-06 André Pönitz <poenitz@gmx.net>
9464 * lyxrc.C: set default for show_banner to true
9466 2002-08-06 John Levon <levon@movementarian.org>
9468 * pspell.C: fix a crash, and allow new aspell to work
9470 2002-08-06 John Levon <levon@movementarian.org>
9473 * kbmap.C: small cleanup
9476 * vspace.C: add const
9478 2002-08-05 John Levon <levon@movementarian.org>
9480 * LyXAction.C: back to tabular-insert
9482 2002-08-04 John Levon <levon@movementarian.org>
9485 * BufferView.C: cosmetic change
9487 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9497 * BufferView2.C: purge all "Lyx" not "LyX" strings
9500 * lyxcursor.C: attempt to add some documentation
9505 * ToolbarDefaults.C:
9506 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9507 merge with LFUN_TABULAR_INSERT
9514 * pspell.C: split up i/pspell implementations into separate
9515 files, many cleanups
9517 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9519 * text2.C: some cleanup
9521 * lyxfunc.C: don't check for isp_command == "none" any more, it
9522 didn't make any sense
9524 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9529 * makefile.am: move counters functionality over
9530 from text2.C/paragraph.[Ch] to counters.[Ch], and
9532 2002-08-02 John Levon <levon@movementarian.org>
9534 * buffer.C: s/lyxconvert/lyx2lyx/
9536 2002-08-02 Angus Leeming <leeming@lyx.org>
9538 * lyxlex.C: revert John's change as it breaks reading of the user
9541 2002-08-02 Angus Leeming <leeming@lyx.org>
9543 * importer.C (Import):
9544 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9545 changes due to LyXView::view() now returning a boost::shared_ptr.
9547 2002-08-02 John Levon <levon@movementarian.org>
9549 * lyxlex.C: small cleanup
9551 2002-08-02 John Levon <levon@movementarian.org>
9553 * text2.C (status): small cleanup, no logic change
9555 2002-08-01 John Levon <levon@movementarian.org>
9558 * buffer.C (writeFile): don't output alerts, caller
9562 * lyx_cb.C: from above
9564 * lyxfunc.C: allow to open non-existent files
9566 2002-07-31 John Levon <levon@movementarian.org>
9568 * lyxserver.C: don't let incidental errors get
9571 2002-07-30 John Levon <levon@movementarian.org>
9573 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9575 2002-07-30 John Levon <levon@movementarian.org>
9578 * lyxserver.C: remove I/O callback too
9580 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9582 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9585 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9587 * many files: strip,frontStrip -> trim,ltrim,rtrim
9589 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9591 * PrinterParams.h: remove extern containsOnly, and include
9592 support/lstrings.h instead.
9594 * LaTeX.C (scanAuxFile): modify because of strip changes
9596 * buffer.C (makeLaTeXFile): ditto
9597 * bufferparams.C (writeFile): ditt
9598 * lyxfont.C (stateText): ditto
9599 * lyxserver.C (read_ready): ditto
9600 * vc-backend.C (scanMaster): ditto
9602 * BufferView_pimpl.h: ws changes
9604 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9606 2002-07-26 André Pönitz <poenitz@gmx.net>
9608 * kb_sequence.C: remove unnedred usings
9610 2002-07-26 Juergen Vigna <jug@sad.it>
9612 * lyxfind.C (LyXReplace): we have to check better if the returned
9613 text is not of theLockingInset()->getLockingInset().
9615 2002-07-25 Juergen Vigna <jug@sad.it>
9617 * lyxfind.C (LyXReplace): don't replace if we don't get the
9620 * undo_funcs.C (createUndo): remove debugging code.
9622 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9624 * buffer.C (parseSingleLyXformat2Token): Use default placement
9625 when reading old floats.
9627 * FloatList.C (FloatList): Change the default placement of figure
9628 and tables to "tbp".
9630 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9632 * MenuBackend.C: using std::max
9634 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9636 * MenuBackend.C (expandToc):
9637 (expandToc2): code moved from xforms menu frontend. It is now
9638 generic and TOCs are transparent to menu frontends.
9640 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9642 * toc.C (getTocList): protect against buf=0
9644 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9645 Menu as first parameter. Now, this calls itself recursively to
9646 expand a whole tree (this will be useful for TOC handling)
9647 (expandFloatInsert): remove 'wide' version of floats
9649 * MenuBackend.h (submenuname): returns the name of the submenu.
9650 (submenu): returns the submenu itself, provided it has been
9651 created by MenuBackend::expand
9653 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9655 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9656 insets which have noFontChange == true. (bug #172)
9658 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9660 * BufferView_pimpl.C: add connection objects and use them...
9663 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9665 * MenuBackend.C (expandLastfiles):
9668 (expandFloatListInsert):
9669 (expandFloatInsert):
9670 (expand): split expand in parts
9672 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9674 * lyx_gui.C: use lyx_gui::exit()
9676 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9678 * LyXAction.C: show the failing pseudo action
9680 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9682 * buffer.C (readFile): Run the lyxconvert script in order to read
9685 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9689 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9691 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9695 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9697 2002-07-22 Herbert Voss <voss@lyx.org>
9700 * lyxlength.[Ch]: add support for the vertical lengths
9702 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9704 * toc.[Ch]: std:: fixes
9706 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9708 * lyxrc.C: do not include lyx_main.h
9710 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9716 * BufferView2.C: include "lyxlex.h"
9719 * bufferparams.h: do not #include "lyxlex.h"
9721 * lyxtextclasslist.C (Add): remove method
9722 (classlist): renamed to classlist_
9724 * paragraph_pimpl.C:
9728 * bufferview_funcs.C:
9733 * toc.C (getTocList): use BufferParams::getLyXTextClass
9735 * toc.C (getTocList): use InsetFloat::addToToc
9737 * toc.[Ch]: new files, containing helper functions to handle table
9740 * lyxfunc.C (dispatch): no need to remove spaces around command
9742 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9743 first command of the sequence; it is not very clever, but I do not
9744 have a better idea, actually
9746 * LyXAction.C (LookupFunc): make sure to remove space at the
9747 beginning and end of the command
9749 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9751 * MenuBackend.C (getMenubar): new method: return the menubar of
9753 (read): treat differently reading of menu and menubar (in
9754 particular, the menubar has no name now)
9755 (Menu::menubar): remove
9757 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9760 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9762 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9763 a bibitem inset in a RTL paragraph.
9765 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9767 * paragraph_pimpl.C: constify
9769 * BufferView_pimpl.C:
9771 * lyxfunc.C: fix dispatch in a nicer way
9773 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9775 * lyxfunc.C (dispatch):
9776 * BufferView_pimpl.C:
9777 * BufferView_pimpl.h:
9779 * BufferView.h: rename Dispatch() to dispatch()
9781 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9783 * lyxlayout.C (Read): honor DependsOn tag
9785 * lyxlayout.[Ch] (depends_on): new method
9787 * version.C.in: update lyx_docversion
9789 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9791 * paragraph.C (validate): remove from here...
9792 * paragraph_pimpl.C (validate): ... and move here
9793 (isTextAt): make it const
9795 * buffer.C (getLists): ws cleanup
9797 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9799 * language.C (read): Use iso8859-1 encoding in latex_lang
9800 (this prevents LyX from crashing when using iso10646-1 encoding).
9802 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9804 * text2.C (toggleInset): if cursor is inside an inset, close the
9805 inset and leave cursor _after_ it
9807 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9809 * lyxfunc.C: move minibuffer completion handling out of here
9811 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9813 * BufferView_pimpl.C:
9814 * LaTeX.C: fix dispatch calls
9816 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9818 * text.C (drawChars): Fix Arabic text rendering.
9820 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9824 * lyxfunc.C: remove message-push/pop
9828 * lyxfunc.C: rationalise some code by removing verboseDispatch
9829 in favour of a bool argument to dispatch()
9831 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9833 * lyx_main.C (init): make sure to read symlinks as absolute paths
9835 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9838 * lyxfunc.C: no need for commandshortcut to be a member
9840 2002-07-15 André Pönitz <poenitz@gmx.net>
9842 * converter.C: add support for $$s (scripts from lib/scripts dir)
9843 * lyx_main.C: white space
9845 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9849 * lyxrc.C: remove second exit confirmation
9851 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9856 * BufferView_pimpl.h:
9857 * BufferView_pimpl.C:
9858 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9860 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9862 * MenuBackend.C (expand): add numeric shortcuts to document menu
9864 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9866 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9868 * lyxfont.C (setLyXFamily):
9875 * buffer.C (asciiParagraph): use ascii_lowercase
9877 2002-07-15 Mike Fabian <mfabian@suse.de>
9879 * lyxlex_pimpl.C (search_kw):
9880 * lyxlex.C (getLongString):
9881 * converter.h (operator<):
9882 * converter.C (operator<):
9883 * buffer.C (parseSingleLyXformat2Token):
9885 * ToolbarDefaults.C (read):
9886 * MenuBackend.C (checkShortcuts):
9888 * LColor.C (getFromGUIName):
9889 (getFromLyXName): use the compare_ascii_no_case instead of
9890 compare_no_case, because in turkish, 'i' is not the lowercase
9891 version of 'I', and thus turkish locale breaks parsing of tags.
9893 2002-07-16 Angus Leeming <leeming@lyx.org>
9895 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9896 now takes a Buffer const & argument.
9898 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9900 * BufferView.C (resize): check there's a buffer to resize
9902 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9904 * lyxfunc.C: remove dead code
9907 * lyxserver.C: use lyx_guii::set_read_callback
9909 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9911 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9912 an inset in a RTL paragraph.
9914 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9916 * lyxfunc.C: repaint after a font size update
9918 2002-07-15 André Pönitz <poenitz@gmx.net>
9920 * lyxlength.C: inBP should be able to return negative values
9922 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9924 * lyxfunc.C: use lyx_gui::update_fonts()
9926 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9928 * lyxfunc.C: use lyx_gui::update_color()
9930 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9936 * lyxrc.C: remove file->new asks for name option, and let
9937 buffer-new take an argument
9939 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9941 * BufferView_pimpl.C: remove unneeded extra repaint()
9943 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9945 * LyXAction.C: allow command-sequence with NoBuffer
9947 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9949 2002-07-10 Angus Leeming <leeming@lyx.org>
9951 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9953 2002-07-09 Angus Leeming <leeming@lyx.org>
9955 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9957 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9959 * lengthcommon.h: whitespace
9961 * lyxfunc.C: update scrollbar after goto paragraph
9963 * lyxtext.h: factor out page break drawing, and fix it so
9964 page break/added space paints as selected nicely
9966 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9968 * BufferView_pimpl.C: add FIXMEs, clean up a little
9970 2002-07-09 André Pönitz <poenitz@gmx.net>
9972 * lyxfont.[Ch]: support for wasy symbols
9974 2002-07-08 André Pönitz <poenitz@gmx.net>
9976 * BufferView_pimpl.C: apply John's patch for #93.
9978 2002-07-05 Angus Leeming <leeming@lyx.org>
9980 * BufferView_pimpl.C (buffer): generate previews if desired.
9982 * LColor.h: add "preview" to the color enum.
9984 * LColor.C (LColor): add a corresponding entry to the items array.
9986 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9989 2002-07-05 Angus Leeming <leeming@lyx.org>
9991 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9992 The body of the code is now in the method that is passed an ostream &
9993 rather than a file name.
9994 Pass an additional only_preamble parameter, useful for the forthcoming
9997 2002-07-03 André Pönitz <poenitz@gmx.net>
9999 * lyxfunc.C: simplify getStatus() a bit for math stuff
10001 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10003 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10005 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10007 * text.C (changeRegionCase): do not change case of all the
10008 document when region ends at paragraph end (bug #461)
10010 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10012 * paragraph.C (startTeXParParams):
10013 (endTeXParParams): add \protect when necessary
10015 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10017 * BufferView_pimpl.C (workAreaExpose): remove warning
10019 2002-06-27 Angus Leeming <leeming@lyx.org>
10021 * Makefile.am: add lyxlayout_ptr_fwd.h.
10023 2002-06-26 André Pönitz <poenitz@gmx.net>
10025 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10027 2002-06-25 Angus Leeming <leeming@lyx.org>
10029 * lyxfunc.C (dispatch): Comment out the call to
10030 grfx::GCache::changeDisplay. The method no longer exists now that the
10031 pixmap generation part of the graphics loader has been moved into
10034 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10036 * text2.C: layout as layout
10038 * text.C: layout as layout
10040 * tabular.C (OldFormatRead): layout as layout
10042 * paragraph_pimpl.C (TeXDeeper): layout as layout
10043 (realizeFont): layout as layout
10045 * paragraph.C (writeFile): layout as layout
10046 (validate): layout as layout
10047 (getFont): layout as layout
10048 (getLabelFont): layout as layout
10049 (getLayoutFont): layout as layout
10050 (breakParagraph): layout as layout
10051 (stripLeadingSpaces): layout as layout
10052 (getEndLabel): layout as layout
10053 (getMaxDepthAfter): layout as layout
10054 (applyLayout): layout as layout
10055 (TeXOnePar): layout as layout
10056 (simpleTeXOnePar): layout as layout
10057 (TeXEnvironment): layout as layout
10058 (layout): layout as layout
10059 (layout): layout as layout
10061 * lyxtextclass.C (compare_name): new functor to work with
10062 shared_ptr, layout as layout
10063 (Read): layout as layout
10064 (hasLayout): layout as layout
10065 (operator): layout as layout
10066 (delete_layout): layout as layout
10067 (defaultLayout): layout as layout
10069 * lyxlayout_ptr_fwd.h: new file
10071 * lyxlayout.C (Read): layout as layout
10073 * lyx_cb.C (MenuInsertLabel): layout as layout
10075 * bufferlist.C (newFile): layout as layout
10077 * buffer.C (readLyXformat2): layout as layout
10078 (parseSingleLyXformat2Token): layout as layout
10079 (insertStringAsLines): layout as layout
10080 (asciiParagraph): layout as layout
10081 (latexParagraphs): layout as layout
10082 (makeLinuxDocFile): layout as layout
10083 (simpleLinuxDocOnePar): layout as layout
10084 (makeDocBookFile): layout as layout
10085 (simpleDocBookOnePar): layout as layout
10086 (getLists): layout as layout
10088 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10090 * CutAndPaste.C (cutSelection): layout as layout
10091 (pasteSelection): layout as layout
10092 (SwitchLayoutsBetweenClasses): layout as layout
10094 * BufferView_pimpl.C (Dispatch): layout as layout
10095 (smartQuote): layout as layout
10097 * BufferView2.C (unlockInset): layout as layout
10099 2002-06-24 André Pönitz <poenitz@gmx.net>
10101 * lyxfunc.C: fix #487
10103 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10107 * lyxfunc.C: remove display_shortcuts, show_banner
10109 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10111 * Buffer_pimpl.C: oops, update on resize
10113 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10120 * BufferView.C: use repaint()
10122 * BufferView_pimpl.h:
10123 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10124 as it's a clearer description. Remove superfluous
10127 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10129 * text.C: fix bug 488. Not ideal, but getting
10130 getWord() to work properly for the insets that
10131 matter is more difficult ...
10133 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10135 * BufferView_pimpl.C:
10138 * lyxfunc.C: remove the six million index lyxfuncs to just
10139 one, and DTRT (bug 458)
10141 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10145 * BufferView_pimpl.h:
10146 * BufferView_pimpl.C: clean up resize() stuff,
10147 and unnecessary updateScreen()s
10149 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10153 * BufferView_pimpl.h:
10154 * BufferView_pimpl.C:
10157 * minibuffer.C: remove focus management of workarea,
10158 not needed. Use screen's greyOut()
10160 2002-06-17 Herbert Voss <voss@lyx.org>
10162 * converter.C: (convert) do not post a message, when converting
10163 fails, let the calling function decide what to do in this case
10165 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10167 * lyxfunc.C: tidy up a little
10169 2002-06-16 <alstrup@diku.dk>
10171 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10172 Got rid of FORMS_H_LOCATION include. Now we are
10175 2002-06-15 LyX Development team <lyx@rilke>
10177 * buffer.[Ch] (sgmlOpenTag):
10178 (sgmlCloseTag): Added support for avoiding pernicious mixed
10179 content. Return number of lines written.
10181 (makeLinuxDocFile):
10182 (makeDocBookFile): Fixed calls to sgml*Tag.
10183 Simple white space clean.
10185 (simpleDocBookOnePar): Simple white space clean.
10187 * tabular.[Ch] (docBook): Renamed to docbook and got another
10188 argument to related with the pernicious mixed content.
10190 (docbookRow): Fixed calls for docbook inset method.
10192 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10194 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10195 so it's X11 independent.
10199 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10201 2002-06-15 Lyx Development team <lyx@electronia>
10203 * intl.h: Renamed getTrans to getTransManager.
10205 2002-06-14 Angus Leeming <leeming@lyx.org>
10207 * Makefile.am: nuke forgotten stl_string_fwd.h.
10209 2002-06-12 Angus Leeming <leeming@lyx.org>
10211 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10213 2002-06-13 Angus Leeming <leeming@lyx.org>
10216 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10218 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10220 * kbmap.C (getiso): add support for cyrillic and greek
10222 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10226 * BufferView_pimpl.h:
10227 * BufferView_pimpl.C: move bogus scrolling logic
10230 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10233 * BufferView_pimpl.C: view->resize() change
10235 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10237 * BufferView_pimpl.C: topCursorVisible
10240 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10244 * lyx_gui.C: move to frontends/
10248 * lyx_main.C: changes from above
10250 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10257 * lyx_main.C: minor tidy
10259 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10261 * BufferView_pimpl.h:
10262 * BufferView_pimpl.C:
10264 * BufferView.C: make painter() const,
10267 * BufferView2.C: use screen() accessor
10270 * lyx_main.C: some minor cleanup
10272 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10274 * BufferView_pimpl.h:
10275 * BufferView_pimpl.C: remove enter/leaveView,
10278 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10283 * BufferView_pimpl.h:
10284 * BufferView_pimpl.C: only construct screen once,
10287 * lyxrc.C: remove pointless comment
10289 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10292 * BufferView.C: remove active() and belowMouse()
10294 * BufferView_pimpl.h:
10295 * BufferView_pimpl.C: use workarea() not workarea_,
10296 and make it use a scoped_ptr instead
10298 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10300 * lyx_gui.C: add debug message on BadWindow
10302 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10304 * sp_spell.C: fdopen is not part of the C++ standard.
10306 * paragraph.C (InsetIterator): use >= instead of ==
10308 2002-06-07 Angus Leeming <leeming@lyx.org>
10310 Fixes needed to compile with Compaq cxx 6.5.
10311 * BufferView_pimpl.C:
10318 * lyxtextclasslist.C:
10323 all c-library variables have been moved into namespace std. Wrap
10324 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10329 Add a using std::abs declaration.
10331 * kbmap.h (modifier_pair):
10332 * paragraph.h (InsetTable, InsetList):
10333 * lyxfont.h (FontBits):
10334 type definition made public.
10336 * bufferlist.C (emergencyWriteAll): the compiler complains that
10337 there is more than one possible lyx::class_fun template to choose from.
10338 I re-named the void specialisation as lyx::void_class_fun.
10340 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10342 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10343 the compiler is is unable to find tostr in write_attribute.
10345 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10347 * buffer.C (sgmlError): hide #warning
10349 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10351 * xtl/*: get rid of xtl, which is not in use anyway
10353 * LyXAction.C (init):
10354 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10355 were unimplemented xtl experimentation
10357 2002-06-04 André Pönitz <poenitz@gmx.net>
10359 * lyxfunc.C: disable array operation on simple formulae
10361 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10363 * converter.C: constify a bit
10365 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10367 * lyx_gui.C: check xforms version correctly
10369 2002-04-30 Herbert Voss <voss@lyx.org>
10371 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10374 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10376 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10377 attempt to register it with a VCS)
10379 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10381 * lyx_main.C (init): honor variables LYX_DIR_13x and
10384 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10388 * lyx_main.C: fix a crash on bad command line,
10389 and give a useful exit status on error
10391 * lyxfunc.C (doImport): allow -i lyx to work
10393 2002-03-30 André Pönitz <poenitz@gmx.net>
10395 * lyxfunc.C: mathed font changes
10397 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10412 * trans_mgr.h: srcdocs, and some minor cleanups
10414 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10416 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10417 call getFont all the time)
10419 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10421 * switch from SigC signals to boost::signals
10423 2002-05-29 André Pönitz <poenitz@gmx.net>
10425 * paragraph_pimpl.C (getChar): don't call size() too often...
10427 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10429 * paragraph_pimpl.C (insertChar): do not try to update tables when
10430 appending (pos == size())
10432 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10433 in order to reduce drastically the number of comparisons needed to
10434 parse a large document
10436 2002-05-29 André Pönitz <poenitz@gmx.net>
10442 * textclasslist.[Ch]:
10443 * sp_ispell.h: whitespace change
10445 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10447 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10448 lyxaction directly now.
10450 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10454 * lyxvc.C: remove unused headers
10456 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10463 * undo_funcs.C: some cleanups. Use shared_ptr
10464 and a template for the undo stacks.
10466 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10468 * BufferView_pimpl.h:
10469 * BufferView_pimpl.C:
10476 * text2.C: use key_state/mouse_state
10478 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10480 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10483 * chset.C: change include order
10484 (loadFile): use boost regex and get rid of LRegex and LSubstring
10486 * Makefile.am (BOOST_LIBS): new variable
10487 (lyx_LDADD): use it
10489 * LaTeX.C: change include order.
10490 (scanAuxFile): use boost regex and get rid of LRegex and
10494 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10499 * FontInfo.C: moved to frontends/xforms/
10502 * FontLoader.C: moved into frontends for GUIIzation
10507 * lyxfunc.C: changes from above
10509 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10511 * LColor.C: remove spurious X include
10513 * BufferView_pimpl.C:
10518 * text2.C: move font metrics to frontends/
10520 2002-05-24 Juergen Vigna <jug@sad.it>
10522 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10523 setting the undo_cursor.
10525 * ParagraphParameters.h: include local includes first.
10527 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10529 * BufferView_pimpl.C:
10530 * BufferView_pimpl.h:
10534 * screen.C: move WorkArea into frontends/
10540 * BufferView2.C: move LyXScreen into frontends/
10544 * lyx_gui.C: move lyxlookup into frontends/xforms/
10546 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10549 * BufferView_pimpl.C:
10559 * bufferview_funcs.C:
10572 * vc-backend.C: move LyX/XFormsView into frontends/
10574 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10586 * text2.C: move Painter to frontends/
10588 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10590 * buffer.C: comment out some some code that depend upon lyx_format
10593 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10594 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10596 * buffer.h (NO_COMPABILITY): turn off compability
10598 * ColorHandler.C: include scoped_array.hpp
10600 * font.C: Use more specific smart_ptr header.
10603 * ShareContainer.h: ditto
10604 * lyx_main.h: ditto
10606 * FontInfo.h: ditto
10607 * BufferView_pimpl.h: ditto
10608 * ColorHandler.h: ditto
10610 * kbmap.C (defkey): change call to shared_ptr::reset
10612 2002-05-21 Juergen Vigna <jug@sad.it>
10614 * buffer.C (insertErtContents): fix to insert ert asis if it is
10615 non empty. Skip it completely if it contains only whitespaces.
10617 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10619 * BufferView_pimpl.C:
10620 * BufferView2.C: clear selection on paste (bug 393)
10622 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10624 * DepTable.C: include ctime
10626 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10628 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10630 2002-05-14 Juergen Vigna <jug@sad.it>
10632 * text.C (breakParagraph): fixed function to honor the keepempty
10633 layout in the right maner and also to permit the right breaking
10634 algorithm on empty or non empyt keepempty paragraphs.
10636 * paragraph.C (breakParagraph): we have to check also if the par
10637 is really empty (!size()) for isempty otherwise we do the wrong
10640 2002-05-10 Juergen Vigna <jug@sad.it>
10642 * buffer.[Ch] : The following are only changes to the ert
10643 compatibility read reading old LaTeX layout and font stuff and
10644 convert it to ERTInsets.
10646 * buffer.h: added isErtInset().
10648 * buffer.C (struct ErtComp): add a fromlayout bool to check
10649 if we're inside a LaTeX layout.
10650 (isErtInset): new helper function.
10651 (insertErtContents): look for other ert insets before this one
10652 and insert the contents there, so that we don't have subsequent
10653 ERT insets with nothing between them. This way we create only one
10654 inset with multiple paragraphs. Also check if we don't insert only
10655 spaces ' ' as they are ignored anyway afterwards in the .tex file
10656 so if we have only spaces we will ignore this latex part in the
10658 (parseSingleLyXformat2Token \\layout): better compatibility when
10659 reading layout-latex stuff.
10660 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10662 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10663 stuff after reading the inset only get the information back from
10666 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10668 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10670 * LaTeXFeatures.C (getBabelOptions): New method.
10672 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10674 * BufferView_pimpl.C (Dispatch): work around missing argument for
10677 2002-05-08 Juergen Vigna <jug@sad.it>
10679 * text.C (leftMargin): handle paragraph leftindent.
10681 * paragraph.C (writeFile): write the new \\leftindent tag.
10682 (validate): handle leftindent code.
10683 (TeXEnvironment): handle paragraphleftindent code again.
10685 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10687 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10688 for paragrap_extra indent code and new token \\leftindent.
10689 (latexParagraphs): handle the leftindent as environment.
10691 * ParameterStruct.h: added leftindent support.
10693 * ParagraphParameters.C (leftIndent): added support functions for
10694 the paragraph left indent.
10696 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10699 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10701 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10704 * text.C (computeBidiTables): No bidi in insetERT.
10706 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10709 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10711 * version.C.in: pre 5
10713 2002-05-02 José Matos <jamatos@fep.up.pt>
10714 * buffer.C (makeDocBookFile): white space changes, add newline to
10716 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10718 * tabular.C (docBook): fix typo.
10720 2002-05-03 Juergen Vigna <jug@sad.it>
10722 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10723 change in LyXText as we can not be sure it was not freed.
10724 (drawOneRow): remove unused code.
10726 * text.C (drawInset): redo the calculation of the need_break_row as
10727 it could have a row which was already freed.
10728 (draw): look at the return value of drawInset and return false if
10729 it also returned false.
10730 (paintRowText): look at the return value of draw and return false if
10731 it also returned false.
10733 * lyxtext.h: added bool return type to drawInset() and draw() so that
10734 if we have a change in the row so that the rowbreak has to be redone
10735 we abort drawing as it will be called again.
10737 2002-05-02 Juergen Vigna <jug@sad.it>
10739 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10740 a change in the maintext also if we're inside an inset.
10741 (Dispatch): set the cursor again after a break line and after the
10742 screen has been updated as it could be we're in a different row.
10744 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10745 to set the cursor behind the pargraph with > size().
10746 (setCursor): check also for the same paragraph when checking where
10747 to put the cursor if we have a NFR inset.
10749 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10750 parts of layout read further up as it still was in the wrong
10753 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10755 * screen.C (drawFromTo): change sine fullRebreak always return
10758 * buffer.C (parseSingleLyXformat2Token): reindent some
10760 * BufferView_pimpl.C (update): change since fullRebreak always
10762 (Dispatch): git rid of the last hardcoded "Standard"s.
10764 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10766 * text2.[Ch] (fullRebreak): make it return void now that we always
10769 2002-04-30 Juergen Vigna <jug@sad.it>
10771 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10772 ert compatibility check for "latex" layout.
10774 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10776 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10777 minipages: use col% instead of p%, and also use the current font.
10778 (makeLaTeXFile): Fix use babel condition.
10779 (parseSingleLyXformat2Token): Correct font when reading old floats.
10781 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10783 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10784 inserting list of floats.
10786 2002-04-25 Herbert Voss <voss@lyx.org>
10788 * MenuBackend.C (expand): don't add the graphics extensions to the
10791 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10793 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10794 non-existing layout, do not complain if it was the default layout
10795 of the original class (bug #342)
10797 2002-04-24 Juergen Vigna <jug@sad.it>
10799 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10800 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10802 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10804 * buffer.C (getBibkeyList): If using \bibliography, return the
10805 option field with the reference itself. Enables us to provide natbib
10806 support when using \bibliography.
10808 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10810 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10812 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10813 natbib is provided by the LaTeX class.
10815 2002-04-23 Juergen Vigna <jug@sad.it>
10817 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10820 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10822 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10824 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10826 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10827 ensuremath around textordmasculine, textordfeminine and
10830 2002-04-19 Juergen Vigna <jug@sad.it>
10832 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10833 reinitializing the buffer otherwise row-dimensions may be wrong.
10834 (update): reset also the selection cursors if they do exits otherwise
10835 their x/y positions may be wrong.
10837 * text2.C (cursorDown): don't enter the inset if we came from a row
10838 above and are one row over the inset.
10840 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10841 really leaving an inset.
10843 2002-04-18 Juergen Vigna <jug@sad.it>
10845 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10846 of the selected paragraph does not have the selected layout also if
10849 * text2.C (setLayout): fixed bug which did not change last selected
10852 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10853 changed the read and substituted \\end_float with \\end_inset!
10855 * BufferView_pimpl.C (cursorPrevious):
10856 (cursorNext): fixed to make it work with rows heigher than the work
10857 area without moving the cursor only the draw of the row.
10858 (workAreaMotionNotify): fix jumping over high rows.
10860 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10862 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10865 2002-04-16 Juergen Vigna <jug@sad.it>
10867 * text2.C (setCursor): set also the irow().
10868 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10870 (cursorDown): support for locking an inset if the x_fix value goes
10871 inside it. That way I can transverse insets too with cursor up/down.
10873 * lyxrow.h: added irow helper function same as other (i) functions.
10875 * BufferView_pimpl.C (cursorPrevious):
10876 (cursorNext): fixed for insets!
10878 2002-04-15 Juergen Vigna <jug@sad.it>
10880 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10881 position otherwise it is wrong in some cases.
10883 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10884 inside the inset before the call.
10886 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10888 * buffer.[Ch] (getBibkeyList): make it const.
10890 2002-04-12 Juergen Vigna <jug@sad.it>
10892 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10894 * text2.C (getCursorX): new helper function
10895 (setCursor): compute also ix_
10896 (setCursorFromCoordinates): set also ix.
10898 * lyxcursor.h: added ix_ and helper functions.
10900 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10902 * buffer.C (insertStringAsLines): dont break paragraph if the this
10903 paragraph is inside an inset which does not permit it!
10905 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10906 also with no chars on this paragraph.
10907 (paintRowText): only paint stuff if it's inside the workarea!
10909 * paragraph.C (breakParagraph): honor keepempty flag and break the
10910 paragraph always below not above.
10912 * BufferView2.C (unlockInset): update the paragraph layout on inset
10913 unlock as we changed paragraph in such a case.
10915 * lyxfind.C (LyXFind): clear the former selection if not found!
10917 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10918 again called in insertChar().
10920 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10921 an inset which uses the whole row!
10922 (rightMargin): ditto.
10923 (insertChar): force a rebreak if we inserted an inset!
10925 2002-03-28 Herbert Voss <voss@lyx.org>
10927 * lyxlength.[Ch]: add inBP() to get the right PS-point
10928 units (BigPoint). With inPixels we have rounding errors
10930 2002-04-11 Juergen Vigna <jug@sad.it>
10932 * text2.C (setCursorFromCoordinates): set iy to the right value.
10933 (setCursor): add check if row->previous exists!
10935 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10936 an old float_type as this was the case in the old code!
10938 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10940 * BufferView2.C (showLockedInsetCursor): use iy
10941 (fitLockedInsetCursor): ditto
10943 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10944 locked insets as there we have the right value now.
10946 * lyxcursor.C: added iy_ variable and iy functions to set to the
10947 baseline of cursor-y of the locked inset.
10949 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10950 (setCursor): fixed for insets which need a full row.
10952 * text.C (rowLastPrintable): don't ignore the last space when before
10953 an inset which needs a full row.
10954 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10955 as last character of a row when before a inset which needs a full row.
10957 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10959 * version.C.in: update date
10961 * text2.C (fullRebreak): try to always return true and see what
10964 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10966 * MenuBackend.C (expand): use Floating::listName
10968 * FloatList.C (FloatList): add listName argument to the built-in
10971 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10972 text associated with the float.
10974 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10976 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10978 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10980 * ShareContainer.h: add a couple of missing typenames.
10982 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10984 * lyxrc.C (getDescription): use _() correctly rather than N_().
10986 2002-03-28 Herbert Voss <voss@lyx.org>
10988 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10989 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10991 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10993 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10994 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10996 2002-03-29 Juergen Vigna <jug@sad.it>
10998 * lyxfunc.C (dispatch): add a missing fitCursor call.
11000 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11001 it was scrolled by a cursor move, so return the bool status.
11003 * BufferView.C (fitCursor): return the bool flag also to the outside
11004 world as this is needed.
11006 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11008 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11009 call the edit() as it is not needed (and wrong) IMO.
11010 (workAreaButtonPress): set the screen_first variable before evt.
11011 unlock the inset as this may change screen_first and then we have
11012 a wrong y position for the click!
11014 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11016 * MenuBackend.C (expand): another translation that I missed
11018 2002-03-28 Juergen Vigna <jug@sad.it>
11020 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11022 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11024 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11026 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11028 * MenuBackend.C (expand): fix export/view/update when there is no
11031 2002-03-27 Herbert Voss <voss@lyx.org>
11033 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11036 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11038 * bufferview_funcs.C (currentState): only show paragraph number
11039 for is DEVEL_VERSION is set.
11041 * lyxfunc.C (dispatch): put warning in INFO channel
11043 * MenuBackend.C (expand): translate the name of floats
11045 * FloatList.C (FloatList): mark the float names for translation
11047 * converter.C (convert): use LibScriptSearch
11049 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11051 * MenuBackend.C (defaults): fix default menu (we might as well get
11054 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11056 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11059 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11061 * lyxvc.C: reorder includes.
11063 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11065 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11068 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11070 * CutAndPaste.C: change layouts earlier on paste
11071 to avoid crashing when calling getFont()
11073 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11075 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11078 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11080 * WorkArea.C: remove 'Pending' debug message.
11082 * most files: ws cleanup
11084 * buffer.[Ch]: ws changes
11086 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11088 2002-03-21 Juergen Vigna <jug@sad.it>
11090 * tabular.C (SetMultiColumn): collapse also the contents of the
11091 cells and set the last border right. Added a Buffer const * param.
11093 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11095 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11098 2002-03-19 Juergen Vigna <jug@sad.it>
11100 * text2.C (clearSelection): reset also xsel_cache.
11102 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11103 where it needs to be called (John tells us to do so too :)
11104 (selectionLost): reset sel_cache.
11106 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11108 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11110 * text2.C (setCursorIntern): put debuging code in INSETS channel
11112 2002-03-19 André Pönitz <poenitz@gmx.net>
11114 * lyxfunc.C: tiny whitespace change
11116 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11118 * ToolbarDefaults.C (init):
11119 * LyXAction.C (init):
11121 * BufferView_pimpl.C (Dispatch):
11122 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11124 2002-03-19 Allan Rae <rae@lyx.org>
11126 * exporter.C (Export): removeAutoInsets before doing anything else.
11127 While I've just introduced a dependency on BufferView this really is
11128 the best place to clean the buffer otherwise you need to cleanup in
11129 a dozen places before calling export or cleanup in a dozen functions
11132 * converter.C (runLaTeX):
11133 (scanLog): Better handling of removeAutoInsets and screen updates.
11135 * lyxfunc.C (dispatch): small whitespace changes
11137 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11139 * WorkArea.C (C_WorkAreaEvent): return a value.
11140 (event_cb): return 1 if we handled the event, 0 otherwise.
11142 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11144 2002-03-18 Juergen Vigna <jug@sad.it>
11146 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11147 (GetAdditionalWidth): ditto.
11148 (RightLine): ditto.
11151 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11152 inset if we're there actually (probably not used right now but this
11153 is the direction to go for unifying code).
11154 (paste): disable code to clear the selection.
11156 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11157 inside an InsetText and move the check further up as it is in the
11160 * text2.C (pasteSelection): set a selection over the pasted text.
11162 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11164 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11165 and libgraphics to build on Cygwin.
11167 2002-03-15 Juergen Vigna <jug@sad.it>
11169 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11170 inserting an Inset into the paragraph. I know this is not the best
11171 fix but we already use current_view in CutAndPaste so we will remove
11172 all of it's using at the same time.
11174 * buffer.C (sgmlError): deactivated function till it is rewritten in
11175 the right mode, now it can create problems.
11177 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11178 before accessing it.
11180 2002-03-14 Juergen Vigna <jug@sad.it>
11182 * undo_funcs.C (textHandleUndo): do the right thing when updating
11183 the inset after the undo/redo.
11185 * text2.C (setCursor): just some testcode for #44 not ready yet.
11187 * undo_funcs.C (textHandleUndo): set the next() and previous()
11188 pointers of the paragraph to 0 before deleting otherwise we have
11189 problems with the Paragraph::[destructor].
11191 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11192 on a paragraph insertion.
11194 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11196 * buffer.C (asciiParagraph): use += operator for char append to
11199 * paragraph.C (getFontSettings): compare >= not just >
11200 (highestFontInRange): ditto
11203 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11205 * paragraph.C: change several algorithm to be more appripriate for
11206 the problem domain. This is lookip in FontList and in the InsetList.
11208 2002-03-13 André Pönitz <poenitz@gmx.net>
11211 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11213 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11218 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11220 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11222 * Painter.C (display): anon helper function, adjust code for this
11224 (pixmap): remove function.
11226 * Painter.h: remove private display variable.
11228 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11230 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11232 * WorkArea.[Ch]: remove figinset_canvas cruft.
11234 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11236 * lyxtextclass.C (operator): add one item cache optimization.
11238 * bufferlist.h: doxy changes
11240 * bufferlist.C: ws changes
11242 * DepTable.[Ch] (ext_exist): place const in the right spot.
11244 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11246 (workAreaExpose): call resizeInsets when the with BufferView changes.
11247 (Dispatch): adjust for protectedBlank removal
11248 (specialChar): call updateInset if the insert went ok.
11250 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11251 specialChar instead.
11253 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11255 * BufferView.h: doxy change
11257 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11259 * lyxtextclass.C (operator[]): remove non-const version
11260 (defaultLayout): remove non-const version
11262 2002-03-12 Juergen Vigna <jug@sad.it>
11264 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11265 did resize the LyXText too.
11267 * buffer.C (readLyXformat2): set layout information on newly allocated
11270 * tabular.C (OldFormatRead): set layout information on the paragraph.
11272 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11274 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11276 2002-03-11 Juergen Vigna <jug@sad.it>
11278 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11280 (resizeCurrentBuffer): force also the insets to resize themselfes.
11281 (moveCursorUpdate): fixed up for InsetText.
11283 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11286 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11287 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11288 value of Dialogs::tooltipsEnabled().
11289 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11291 2002-03-08 Juergen Vigna <jug@sad.it>
11293 * BufferView_pimpl.C (updateInset): update inset inside inset also
11294 if it isn't inside theLockingInset().
11296 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11298 * buffer.C (asciiParagraph): redo some of the word and line length
11300 (getLists): look for Caption instead of caption.
11302 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11304 * buffer.C (Buffer): initialize niceFile to true
11306 (makeLinuxDocFile):
11307 (makeDocBookFile): make sure niceFile is true on exit
11309 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11311 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11313 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11315 * LyXSendto.C: remove.
11316 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11317 * lyx_gui.C: remove now-redundant comment.
11318 * ColorHandler.h: remove forward declaration of class WorkArea.
11319 * lyxfunc.C: remove #include "WorkArea.h".
11321 2002-03-07 Juergen Vigna <jug@sad.it>
11323 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11324 got moved away with the DEPM and also set the inset_owner always
11325 right which before could have been omitted.
11327 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11329 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11330 wanted layout is not found.
11332 2002-03-07 Juergen Vigna <jug@sad.it>
11334 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11336 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11338 * paragraph.C (breakParagraph): use default layout not layout of
11340 (Paragraph): clear ParagraphParameters.
11342 2002-03-06 Juergen Vigna <jug@sad.it>
11344 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11345 otherwise it would not be a valid lenght. Fixed a special case in
11346 the minipage compatibility read where we end the document with a
11349 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11350 was set as it could be 0 for InsetTexts first entry.
11352 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11354 * paragraph.C (writeFile): if layout is empty write out
11355 defaultLayoutName().
11357 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11358 file without named layout we set layout to defaultLayoutName().
11360 2002-03-06 Juergen Vigna <jug@sad.it>
11362 * CutAndPaste.C (copySelection): set layout for new paragraph.
11364 * text.C (prepareToPrint): leave ERT inset left aligned
11365 (leftMargin): don't indent paragraphs inside ERT insets
11367 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11369 * paragraph.C (breakParagraph): dont call clear do the work manually
11371 * paragraph.[Ch] (clear): remove function
11373 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11375 * paragraph.C (Paragraph): dont call clear, the work has already
11378 * lyxtextclass.C (operator): assert if n is empty
11380 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11381 work manually instead.
11383 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11385 * BufferView_pimpl.C: protect selectionLost against text == 0
11387 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11389 * text.C (breakParagraph): fix a setting layout to '0' problem.
11391 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11393 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11394 final location of file, for the included files, and graphics.
11396 2002-03-05 Juergen Vigna <jug@sad.it>
11398 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11400 2002-03-04 Juergen Vigna <jug@sad.it>
11402 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11404 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11405 last column of multicolumn cells.
11406 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11408 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11410 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11411 file if it doesn't go to a temporary file.
11413 * buffer.C (sgmlOpenTag):
11414 (sgmlCloseTag): remove extra newline insertion.
11416 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11418 * text.C (getRowNearY): comment out debug msg
11420 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11422 * text2.C: first -> first_y
11424 * text.C (getRowNearY): add some attemts at a possible
11425 optimization, not working.
11427 * tabular.[Ch]: add BufferParams to several function so that newly
11428 created paragraph can be initialized to he default layotu for the
11431 * tabular-old.C (ReadOld): add buf->params to call of Init
11433 * screen.C: rename text->first to text->first_y
11435 * paragraph.C (breakParagraph): always set layout in the broken
11438 * lyxtextclass.C (Read): remove lowercase
11441 (delete_layout): ditto
11443 * lyxtext.h: rename first -> first_y
11445 * lyxlayout.C (Read): remove lowercase
11448 (obsoleted_by): ditto
11450 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11452 * buffer.C (insertErtContents): add params are to InsetERT
11453 (parseSingleLyXformat2Token): add code to check if a paragraphs
11454 layout really exist.
11455 (parseSingleLyXformat2Token): add params to several inset
11457 (asciiParagraph): remove lowercase, do the layout comparisons with
11460 * BufferView_pimpl.C (cursorNext): first -> first_y
11461 (resizeCurrentBuffer): first -> first_y
11462 (updateScrollbar): first -> first_y
11463 (scrollCB): first -> first_y
11464 (workAreaMotionNotify): first -> first_y
11465 (workAreaButtonPress): first -> first_y
11466 (checkInsetHit): first -> first_y
11467 (cursorPrevious): first -> first_y
11468 (cursorNext): first -> first_y
11469 (Dispatch): add buffer_->params to severl inset contructors
11471 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11473 * lyxlayout.C (Read): remove some debug info that I forgot.
11475 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11476 clean up the code slightly.
11477 (makeLinuxDocFile): ditto
11478 (makeDocBookFile): ditto
11480 * text2.C: layout as string
11482 * text.C: layout as string
11484 * paragraph_pimpl.C: layout as string
11486 * paragraph.[Ch]: layout as string
11488 * lyxtextclasslist.[Ch]: layout as string
11490 * lyxtextclass.[Ch]: layout as string
11492 * lyxtext.h: layout as string
11494 * lyxlayout.[Ch]: layout as string
11496 * lyx_cb.C: layout as string
11498 * bufferview_funcs.C: layout as string
11500 * bufferparams.C: layout as string
11502 * buffer.C: layout as string
11504 * LyXView.[Ch]: layout as string
11506 * LaTeXFeatures.[Ch]: layout as string
11508 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11510 * BufferView_pimpl.C: change current_layout to string, remove
11515 (workAreaButtonRelease): layout as string
11517 * BufferView2.C (unlockInset): adjust
11519 * vspace.C (asLatexCommand): use an explict temp variable.
11521 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11523 * Makefile.am: use FRONTEND_*
11525 2002-03-01 Juergen Vigna <jug@sad.it>
11527 * tabular.C (SetWidthOfMulticolCell): changed to something better
11528 I hope but still work in progress.
11529 (recalculateMulticolumnsOfColumn): renamed function from
11530 recalculateMulticolCells as it is more appropriate now.
11531 (SetWidthOfCell): calculate multicols better.
11533 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11535 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11537 * lyxfunc.C (processKeySym): print sequence also if it is
11538 `deleted' (complete)
11540 * kbsequence.C (print): print sequence even if it is deleted
11541 (complete would be a better word, actually).
11543 * lyxfunc.C (dispatch): print complete options after a prefix key
11545 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11547 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11549 * text2.C (setCharFont): eliminate setCharFont code duplication.
11551 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11553 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11554 LFUN_TABULAR_FEATURE (bug #177)
11556 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11558 * Makefile.am: remove figure.h
11560 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11562 * Bufferview_pimpl.C:
11574 * text2.C: remove #include "lyx_gui_misc.h".
11576 * LaTeX.C: added #include <cstdio>
11578 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11580 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11581 that the paragraph following this one can have.
11583 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11585 * vspace.C (asLatexCommand): fix bogus gcc warning
11587 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11589 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11591 * text2.C (setLayout): get rid of redundant code
11593 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11595 * text2.C (incDepth): make sure depth cannot be increased beyond
11598 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11600 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11601 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11603 * PainterBase.h (image):
11604 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11605 a LyXImage const *.
11607 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11611 * BufferView_pimpl.C:
11612 * BufferView_pimpl.h:
11632 * sp_spell.C: remove fig inset, and the crap house of
11633 cards that follows it
11635 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11640 * os2_errortable.h:
11641 * nt_defines.h: move .h into support/
11643 * vms_defines.h: remove
11645 * WorkArea.C: add space in debug output
11649 * buffer.C: add WITH_WARNINGS
11653 * bufferlist.C: s/retrive/retrieve/, add docs
11662 * chset.C: add docs
11664 * lyxgui.C: add ID to X error handler
11666 * lyxtestclass.c: fix typo
11668 2002-02-26 Juergen Vigna <jug@sad.it>
11670 * tabular_funcs.C (write_attribute): changed so that some default
11671 attributes are not written at all.
11672 (getTokenValue): set default values before trying to read the
11673 value so we have the return value always set as default if we don't
11674 find the token we search for.
11676 * tabular.C (Write): write bools as bools not as strings!
11678 2002-02-22 Juergen Vigna <jug@sad.it>
11680 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11681 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11683 * text.C (leftMargin): don't add an indent for paragraphs inside
11684 tabular cells (fix #208).
11686 2002-02-21 José Matos <jamatos@fep.up.pt>
11688 * tabular.C (docBook): fixed support for long tables.
11690 2002-02-20 Juergen Vigna <jug@sad.it>
11692 * text2.C (getFont): get the drawing font of the Inset if this
11693 paragraph is inside an inset (only important for InsetERT for now).
11695 * buffer.C (insertErtContents): use new lanugage params in ERT
11698 * CutAndPaste.C: commenting out seemingly uneeded code.
11700 2002-02-19 Allan Rae <rae@lyx.org>
11702 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11703 Iterators might be simple to use but they also get invalidated.
11704 (removeAutoInsets): renamed saved cursor tracking variables and added
11705 some comments to clarify what everything does.
11707 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11714 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11715 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11718 * vc-backend.h: remove #include "support/syscall.h"
11722 * converter.C: rearrange #includes in Lars' approved fashion.
11724 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11725 forward declare class Timeout in the header file.
11727 * XFormsView.C: changes due to the above.
11729 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11730 similar to LyXView.
11732 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11733 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11735 2002-02-18 José Matos <jamatos@fep.up.pt>
11737 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11740 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11742 * a lot of small ws changes
11743 * add a lot of using std::XXX
11744 * use std construcs some places where approp.
11745 * use some exisint stuff from lyxfunctional where approp.
11746 * Make file changes to use partial linking (lets test this now...)
11748 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11752 remove #include "support/syscontr.h" as it's redundant. Always has been.
11760 change Systemcalls::System to Systemcalls::Wait and
11761 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11762 No change of functionality, just reflects the stripped down Systemcalls
11765 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11767 * debug.[Ch]: add a GRAPHICS type to the enum.
11769 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11771 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11773 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11776 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11778 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11779 match the changes below.
11781 * text2.C (toggleInset): if there is not editable inset at cursor
11782 position, try to see if cursor is _inside_ a collapsable inset
11785 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11787 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11788 document menu has a nice checkbox
11790 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11792 * lyxlength.C (asLatexString): change PW to output as percent of
11795 * lengthcommon.C: change '%' to 't%'
11797 * lyxfunc.C (dispatch): a few comments from Martin
11799 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11803 * BufferView_pimpl.h:
11804 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11807 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11809 * vspace.C (inPixels): fix compiler warning
11811 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11813 * lyxfunc.C (getStatus): fix status message for disabled commands.
11815 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11817 * BufferView_pimpl.C: fix crash on close buffer
11818 during selection (#227)
11820 2002-01-27 Herbert Voss <voss@lyx.org>
11822 * buffer.C: link old Figure to new graphic inset
11824 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11826 * FontLoader.C (getFontinfo): Change the latex font names in order
11827 to match the names of type1inst.
11829 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11831 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11833 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11834 (extchanged): ditto
11836 (remove_files_with_extension): ditto
11837 (remove_file): ditto
11840 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11841 document is smaller than the work area height. Do not initialize
11842 static variables to 0.
11844 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11846 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11848 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11849 LFUN_LAYOUT_PARAGRAPHS.
11851 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11852 tabular. It is possible to provide a possible cell, which will
11853 typically be the actcell from the corresponding insettabular
11855 * lyxfunc.C (getStatus): small cleanup; disable
11856 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11859 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11861 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11863 * paragraph.C (startTeXParParams):
11864 (endTeXParParams): new methods. The LaTeX code to
11865 start/end paragraph formatting
11866 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11867 empty (fixes bug #200)
11869 * vspace.C (inPixels): adapt to the change below
11870 (inPixels): [later] more cleanups (remove unused variables)
11872 * lyxlength.C (inPixels): change to use a width and a height as
11875 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11877 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11878 Replaced with \paperwidth
11880 * DepTable.C (insert): add std:: qualifier
11882 2002-01-18 Allan Rae <rae@lyx.org>
11884 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11887 * text.C (drawInset): Turned out I didn't know enough about how
11888 rebreaking worked. This fixes most of the redraw problems. I see
11889 an occasional cursor trail when a line is broken now and the cursor
11890 placement can seem out by a few pixels also after a rebreak.
11892 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11894 * buffer.C (parseSingleLyXformat2Token): update because minipage
11895 width is now a LyXLength
11897 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11899 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11902 2002-01-17 Juergen Vigna <jug@sad.it>
11904 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11906 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11907 is set correctly and the inset is updated correctly.
11909 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11911 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11912 the beginning of the loop.
11914 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11916 * lyxrc.C: improve help for use_scalable_fonts
11918 2002-01-17 Allan Rae <rae@lyx.org>
11920 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11922 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11924 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11925 make sure to set their inset_owner to the right value (bug #171)
11927 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11930 * DepTable.C: Implement mtime checking to reduce time spent doing
11933 2002-01-16 Juergen Vigna <jug@sad.it>
11935 * tabular.C (GetAdditionalHeight): one of error fixed.
11937 * lyxrc.C (output): small fix in writing use_pspell.
11939 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11941 * sp_base.h: #include LString.h
11943 2002-01-16 Allan Rae <rae@lyx.org>
11945 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11946 Can someone check this please?
11948 * text.C (drawInset): It was possible that p.row would be removed by
11949 breakAgainOneRow upsetting a few other settings. There may be another
11950 small tweak possible by setting need_break_row = 0 when p.row has been
11951 removed but I don't know enough about the logic here.
11953 2002-01-15 Allan Rae <rae@lyx.org>
11955 * text.C (insertChar): removed conditional truism.
11957 * BufferView2.C (removeAutoInsets): More tweaks.
11958 cur_par_prev could be a stray pointer. Check for trailing empty line
11959 in case last line was cur_par and only had an error inset on it.
11961 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11963 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11966 * vc-backend.C (most methods):
11967 * exporter.C (Export):
11968 * converter.C (convert):
11970 * LyXSendto.C (SendtoApplyCB):
11971 * lyxfunc.C (dispatch):
11975 * lyx_cb.C (AutoSave):
11977 * BufferView_pimpl.C (MenuInsertLyXFile):
11978 * buffer.C (runChktex): use Buffer::filePath().
11980 * buffer.h: rename filename to filename_; rename filepath to
11981 filepath_ and make it private
11982 (filePath): new method
11984 * buffer.C (writeFile): use fileName()
11987 * lyx_main.C (init): fix starting of LyX when the binary is a
11988 link from so,ewhere else.
11990 * minibuffer.C: include <cctype> for isprint
11992 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11994 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11995 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11996 name clash with InsetCollapsable's width function.
11998 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12000 * lastfiles.C: include <iterator>
12002 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12004 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12007 * buffer.C (makeLaTeXFile): ditto.
12008 Also make loop operation more transparent.
12010 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12012 * ToolbarDefaults.C: remove trailing comma closing namespace.
12014 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12016 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12019 * trans.C (Load): comment out unused variable, allowed.
12021 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12023 * minibuffer.[Ch] (append_char): new method to recieve input from the
12024 drop-down completion browser. If a key was pressed, then recieve this
12025 char and append it to the existing string.
12026 (peek_event): modify the positioning data passed to the completion
12027 browser so that it can be placed above the minibuffer rather than below.
12028 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12030 * LyXAction.C (init): alloe error-next for readonly documents.
12032 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12035 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12037 * bufferlist.C (readFile): create the buffer _after_ checking that
12040 * lyxfunc.C (verboseDispatch): fix handling of arguments
12042 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12044 * lyxrc.C: use string::erase() instead of initializing to "".
12047 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12049 * BufferView_pimpl.h:
12050 * BufferView_pimpl.C:
12053 * text2.C: tell X when we have made a selection for copying
12055 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12057 * BufferView_pimpl.C (MenuInsertLyXFile):
12058 * lyxfunc.C (menuNew):
12060 (doImport): add shortcuts to directory buttons
12062 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12065 * lyxfunc.C (setStatusMessage):
12066 (getStatusMessage): new methods
12067 (getStatus):use setStatusMessage instead of setErrorMessage
12068 (dispatch): when function is disabled, set error message here
12069 [instead of in getStatus previously]
12071 * BufferView_pimpl.C (workAreaButtonRelease): update
12072 toolbar/menubar here too.
12074 2002-01-13 Allan Rae <rae@lyx.org>
12076 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12077 Now seems indestructible. Remaining task is to audit all other
12078 code affected by deleteEmptyParagraphMechanism. One small quirk
12079 left is that an empty document with an error in the preamble can
12080 be made to report an error but no error box appears. I don't know
12082 (removeAutoInsets): Improved comments.
12084 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12087 * Thesaurus.C: update for Aiksaurus 0.14
12089 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12091 * text2.C (firstParagraph): removed member function, all uses
12092 replaces with ownerParagraph
12093 (redoParagraphs): here
12094 (updateInset): here
12095 (toggleAppendix): here
12096 * BufferView2.C (insertErrors): here
12097 (setCursorFromRow): here
12099 2002-01-13 Allan Rae <rae@lyx.org>
12101 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12102 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12103 There is still a way to segfault this although you may have to do this
12104 multiple times: Have an InsetERT with an unknown command in it.
12105 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12106 <down-arrow>, <Enter> again, View->DVI, BANG!
12108 * text2.C (setCursor):
12109 (deleteEmptyParagraphMechanism):
12110 * lyxtext.h (setCursor):
12111 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12112 Making use of the return value may help fix other bugs.
12114 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12116 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12118 * LyXView.C (updateMenubar): call MenuBar::update here
12119 (updateToolbar): but not here
12120 (showState): do not update toolbar/menubar
12122 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12123 should need to care about that.
12125 * lyxfunc.C (verboseDispatch): simplify a bit
12126 (getStatus): have a version which takes a pseudoaction, and
12127 another which requires a (kb_action,string).
12129 * LyXAction.C (retrieveActionArg): make it work also when action
12130 is not a pseudo-action.
12131 (getActionName): simplify a bit
12134 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12136 * lyxfunc.C (verboseDispatch): new families of methods with
12137 several ways to specify a command and a bool to indicate whether
12138 the command name and shortcut should be displayed in minibuffer
12139 (eventually, we could extend that to a finer bitmask like
12140 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12141 (dispatch): the pristine dispatch command which just, well,
12142 dispatchs! Note it still sets its result to minibuffer; I'm not
12145 * lyxfunc.h: remove setHintMessage
12147 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12149 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12151 * BufferView_pimpl.C (specialChar): delete new inset if we have
12152 not been able to insert it.
12154 * kbmap.C: revert to using int instead of kb_action, since all we
12155 are dealing with is pseudo-actions.
12157 * LyXAction.C (searchActionArg): change to return int instead of
12158 kb_action, since the result is a pseudoaction.
12160 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12162 * buffer.C (insertErtContents): Fix (partially) the font bug.
12164 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12166 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12167 as the other one is broken on my machine!
12169 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12172 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12174 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12176 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12177 reflect their actual use. Provide compatibility code for older lyxrc
12180 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12182 change names of popup font variables in line with the changes to lyxrc.C
12184 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12186 * buffer.C (asciiParagraph): avoid outputing a word twice after
12189 * lyxrc.C (getDescription): document that document_path and
12190 template_path can be empty.
12192 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12194 * LaTeXFeatures.C (getMacros):
12195 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12197 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12199 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12201 (getPackages): rename feature "floats" to "float". Use an array to
12202 iterate over 'simple' features (i.e. just a \usepackage). Add
12203 handling of "amsmath" (renamed from "amsstyle").
12205 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12207 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12210 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12212 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12213 FuncStaus::FuncStatus & FuncStaus::some_method().
12215 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12217 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12218 of the func_satus stuff. Edited and massaged in various ways by
12221 * lyxfunc.C (getStatus): use FuncStatus
12223 2002-01-08 Juergen Vigna <jug@sad.it>
12225 * text.C (nextBreakPoint): use function Inset::isChar().
12227 * paragraph.C (TeXOnePar): use function
12228 Inset::forceDefaultParagraphs.
12230 * buffer.C (latexParagraphs): use function
12231 Inset::forceDefaultParagraphs.
12233 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12235 * lyx_gui.C (init): set the style of the menu popups to
12236 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12238 2002-01-07 Juergen Vigna <jug@sad.it>
12240 * text.C (setHeightOfRow): small fix
12241 (prepareToPrint): don't look at alignment if we don't have the place
12244 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12246 * box.C: New file. Move the Box methods and functions out of box.h,
12247 following Lars' suggestion.
12249 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12251 * box.h: #include "support/LOstream.h", needed for inlined function.
12254 * lyxtextclasslist.C: added some using std declarations.
12256 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12258 * box.h: make signed dimensions to allow insets wider than
12259 the screen (bug #162)
12261 * BufferView_pimpl.C: add some insetHit debug
12263 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12265 * vc-backend.C: add FIXME
12267 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12269 * lyxfunc.C (getStatus): enable code for showing math font status
12272 2002-01-07 Juergen Vigna <jug@sad.it>
12274 * text.C (nextBreakPoint): removed debug output not needed anymore.
12276 2002-01-06 Juergen Vigna <jug@sad.it>
12278 * text.C (nextBreakPoint): fixed up this function we had this bug
12279 since ever but now hopefully we break row better.
12280 (insertChar): we have to check if an inset is the next char as it
12281 could now happen that a large inset is causing a break.
12283 2002-01-05 Juergen Vigna <jug@sad.it>
12285 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12286 if it doesn't like to be drawed.
12288 2002-01-04 Juergen Vigna <jug@sad.it>
12290 * BufferView2.C (lockInset): forgot to set a cursor.
12292 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12294 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12296 * FormMathsPanel.C:
12299 * form_maths_panel.C:
12300 * form_maths_panel.h:
12301 * form_maths_panel.fd: implemented sub- and super- buttons in math
12304 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12305 (or ^ space) to be used as in TeX (req'd by André).
12307 * lyxfunc.C: Allow ^ and _ again to be used both as
12308 super/subscript (mathed) and as themselves (in text).
12310 2002-01-03 Allan Rae <rae@lyx.org>
12312 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12313 "LyX" or the filename of the current buffer if it has one. This is a
12314 modified form of John Levon's patch.
12316 * XFormsView.C (setWindowTitle): also set icon title.
12318 * LyXView.h (setWindowTitle): signature changed.
12319 * XFormsView.h (setWindowTitle): ditto.
12321 2002-01-02 Juergen Vigna <jug@sad.it>
12323 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12325 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12327 * screen.C (topCursorVisible): introduce a temp var for
12328 text->cursor.row(), handle the case where this row is null. (kindo
12331 * text2.C (setCursor): add a couple of asserts.
12333 * paragraph.h (inset_iterator): add -> operator
12335 * paragraph.[Ch] (autoDeleteInsets): remove member function
12337 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12338 cursor pos correctly and handle inset deletion by itself.
12339 (insertErrors): move iterator declaration out of for expression
12341 * lyxtextclass.C: add <algorithm>
12343 * Makefile.am: added the new files to sources, removed layout.C
12345 * layout.C: removed file
12347 * layout.h: remove LYX_DUMMY_LAYOUT
12349 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12353 * lyxtextclass.[Ch]:
12354 * lyxtextclasslist.[Ch]: new files
12356 * include order changes to a lot of files, also changes because of
12359 2001-12-27 Juergen Vigna <jug@sad.it>
12361 * buffer.C (asciiParagraph): more fixes.
12363 * tabular.C (ascii): make ascii export support export of only the
12364 data separated by a column-delimiter.
12365 (ascii): better support for ascii export.
12367 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12369 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12371 * tabular_funcs.C: use a "using std::getline" instead of the
12372 previous fix from Angus (necessary for cxx + lyxstring)
12374 2001-12-24 Juergen Vigna <jug@sad.it>
12376 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12378 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12379 problems. First check a minipage also if we have some ert-contents
12380 (not only on par->size(), second set the right depth of the paragraph
12381 on the relink to the root-paragraph-list!
12383 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12384 which then did not anymore update the main paragraphs on undo/redo!
12386 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12388 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12389 code. Support all font-changing funcs (even those which are not in
12390 menu currently). Support for reporting font settings in
12391 mathed (disabled until Andre provides a function on mathed's side).
12393 * func_status.h (toggle): small helper function to set toggle
12396 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12398 * tabular_funcs.C: getline -> std::getline
12400 2001-12-21 Juergen Vigna <jug@sad.it>
12402 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12403 accessed and could be 0 (I couldn't generate this but it seems
12406 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12408 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12409 * tabular_funcs.h: here and include iosfwd
12411 2001-12-20 Juergen Vigna <jug@sad.it>
12413 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12414 inside inset but undo_par was.
12416 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12418 * Thesaurus.C: always include <config.h> in sources.
12422 * box.h: do not include <config.h> in header files
12424 * text.C (paintLastRow): remove unused variable
12426 * text.C (transformChar):
12428 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12430 * Painter.C (text):
12431 * font.C (width): rewrite to use uppercase() instead of
12434 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12436 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12438 * lyxfind.C: clean up of find failure position change
12440 2001-12-20 Juergen Vigna <jug@sad.it>
12442 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12444 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12445 (TeXRow): added to LaTeX a single tabular row.
12446 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12447 (Latex): simplified and finally good LT-h/f support.
12448 (various_functions): just small adaptions for LT-h/f support.
12450 * tabular_funcs.[hC]: added and moved here all not classfunctions
12453 2001-12-19 Juergen Vigna <jug@sad.it>
12455 * tabular.[Ch]: better support for longtabular options (not finished
12458 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12460 * text.C (paintLastRow): use the label font instead of the font of
12461 the last character to compute the size of *_BOX. This makes more
12462 sense and avoids a crash with empty paragraphs.
12463 Use Painter::rectangle to draw EMPTY_BOX.
12465 2001-12-19 Juergen Vigna <jug@sad.it>
12467 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12468 the paragraphs if the replaced paragraph is not the first one!
12469 Tried to delete not used paragraphs but does not work yet so for
12470 now it's inside #ifdef's and by default off!
12472 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12474 * MenuBackend.C: include "lyx_main.h" instead of declaring
12475 lastfiles (actually was declared as LastFiles* instead of a
12478 2001-12-17 Juergen Vigna <jug@sad.it>
12480 * tabular.C (AppendColumn): applied John's fix
12482 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12486 * BufferView_pimpl.h:
12487 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12490 * box.h: new start of class for above
12492 * lyxfunc.C: ignore space-only minibuffer dispatches.
12493 Show the command name when it doesn't exist
12495 * minibuffer.C: don't add empty lines to the history
12497 * minibuffer.C: add a space on dropdown completion
12499 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12501 * text.C: fix line above/below drawing in insets
12503 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12505 * lyxlength.C (LyXLength): Initialize private variables.
12507 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12509 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12510 when inserting error insets.
12512 2001-12-13 Juergen Vigna <jug@sad.it>
12514 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12515 actually sometimes the before-paragraph.
12516 (setUndo): don't clear the redostack if we're not actually undoing!
12518 2001-12-06 Juergen Vigna <jug@sad.it>
12520 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12521 and fixed redoing of main paragraph, so we can use it now ;)
12523 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12525 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12527 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12530 2001-12-13 André Pönitz <poenitz@gmx.net>
12533 * undo_func.C: minor cleanup
12535 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12537 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12538 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12539 font in urw-fonts package which is marked as -urw-fontspecific and
12540 does not work (incidentally, changing the encoding in the
12541 fonts.dir of this package to -adobe-fontspecific fixes the
12544 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12545 is a crash when undoing first paragraph (Juergen, please take a
12546 look). THis does not mean the undo fix is wrong, just that it
12549 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12550 the (Paragraph*) version when needed instead of duplicating the
12553 * text.C (workWidth): use Inset::parOwner to find out where the
12554 inset has been inserted. This is a huge performance gain for large
12555 documents with lots of insets. If Inset::parOwner is not set, fall
12556 back on the brute force method
12558 * paragraph_pimpl.C (insertInset):
12559 * paragraph.C (Paragraph):
12560 (cutIntoMinibuffer): set parOwner of insets when
12561 inserting/removing them
12563 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12565 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12571 * mathed/formulabase.C:
12572 * mathed/math_cursor.[Ch]:
12573 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12576 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12578 * lyxlength.[Ch] (operator!=): new function
12580 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12582 * text.C (workWidth): use Inset::parOwner to find out where the
12583 inset has been inserted. This is a huge performance gain for large
12584 documents with lots of insets. If Inset::parOwner is not set, fall
12585 back on the brute force method
12587 * paragraph_pimpl.C (insertInset):
12588 * paragraph.C (Paragraph):
12589 (cutIntoMinibuffer): set parOwner of insets when
12590 inserting/removing them
12592 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12594 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12596 * tabular-old.C (getTokenValue):
12597 * tabular.C (getTokenValue):
12598 (write_attribute): new versions for LyXLength
12599 (everywhere): adjust the use of widths
12601 * tabular.h: change the type of widths from string to LyXLength
12603 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12605 * paragraph.C: fixed missing line number count when exporting
12606 Environments to LaTeX file
12608 * buffer.C: added informational message for checking line numbers.
12610 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12612 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12613 paragraph, do the 'double space' part, but not the 'empty
12616 * text.C (workWidth): small optimization
12617 (getLengthMarkerHeight): use minimal size for negative lengths.
12619 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12621 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12623 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12625 2001-12-11 André Pönitz <poenitz@gmx.net>
12628 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12630 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12632 * text2.C: keep selection on a setFont()
12634 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12636 * lyx_cb.C: another bv->text misuse, from insert label
12638 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12641 * kbsequence.C: re-instate nmodifier mask
12643 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12645 * lyx_main.h: make lyxGUI private.
12647 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12649 * lyxfind.C: place the cursor correctly on failed search
12651 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12653 * text.C (getLengthMarkerHeight): for small heights, the arrows
12654 are not always on top/bottom of the text
12655 (drawLengthMarker): smaller arrows; take the left margin in
12656 account; draw also vfills.
12658 (paintLastRow): remove special code for vfill and standard spaces,
12659 since everything is handled in drawLengthMarker now.
12661 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12663 * buffer.C (insertErtContents): try to handle font and language
12664 interaction a bit better.g
12666 * ColorHandler.C (updateColor): change the hash to cover the whole
12667 LColor enum, ws cleanup
12668 (getGCLinepars): ditto
12669 (getGCLinepars): only lookup in the linecache once.
12671 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12673 * iterators.C (operator++): Make the iterator more robust
12675 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12677 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12679 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12682 * text.C: better added space drawing
12684 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12687 * BufferView2.C: fix layout combo update on inset unlock
12689 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12691 * Makefile.am: don't compile unused files
12693 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12697 * LyXAction.C: remove old LFUN_LAYOUTNO
12699 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12701 * paragraph_pimpl.h:
12702 * paragraph_pimpl.C: isTextAt() doesn't need font param
12704 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12707 * lyxlex.C: little cleanup
12709 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12711 * BufferView_pimpl.C: fix insertAscii for insets
12713 2001-12-05 Juergen Vigna <jug@sad.it>
12715 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12716 set the right font on the "multi" paragraph paste!
12718 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12724 * lyxlength.C: remove out-commented code.
12726 * BufferView_pimpl:
12740 * vc-backend.C: change "while(" to "while ("
12742 * lyxlength.[Ch]: add zero function to check if length is zero or
12744 * lyxgluelength.C: use it
12746 2001-12-05 Allan Rae <rae@lyx.org>
12748 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12749 Works for 2.95.3, from what I understand of Garst's reports this should
12750 work for other g++ versions. We're screwed if the abs(int) definition
12751 changed between bugfix releases of gcc.
12753 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12755 * text.C: fix chapter label offset !
12757 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12760 * text.C: fix hfill at end of line, clean up
12762 2001-12-04 Juergen Vigna <jug@sad.it>
12764 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12765 that we force an update of the inset and it's owners if neccessary.
12767 2001-12-03 Juergen Vigna <jug@sad.it>
12769 * text.C (rowLast): simplified code
12771 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12773 * lyxfunc.C: fix show options on timeout
12775 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12777 * screen.C (topCursorVisible): scroll half a page when the cursor
12778 reached top of bottom of screen
12780 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12782 * minibuffer.C: deactivate on loss of focus
12784 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12786 * vspace.[Ch] (operator!=): add operator.
12788 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12790 * BufferView_pimpl.C: refuse to open an inset when
12791 there's a selection.
12793 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12795 * BufferView_pimpl.C: allow to click on RHS of full row insets
12797 2001-11-30 Juergen Vigna <jug@sad.it>
12799 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12800 insets for undo reasons.
12802 2001-11-28 André Pönitz <poenitz@gmx.net>
12804 * vspace.[Ch]: cosmetical changes
12806 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12816 * kbsequence.C: part re-write of old kb code
12819 * WorkArea.C: remove Lgb_bug_find_hack
12821 2001-11-30 José Matos <jamatos@fep.up.pt>
12823 * buffer.C (makeDocBookFile): add a comment to point a hack.
12824 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12825 Fixed a double write of labels.
12827 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12830 * LaTeX.h Fixed bug in LaTeX class where it would not
12831 re-run latex if no depfiles were changed, but the .dvi was removed.
12833 2001-11-28 André Pönitz <poenitz@gmx.net>
12835 * all the files from the change on 2001/11/26:
12836 use lyx::layout_type instead of LyXTextClass::size_type
12837 use lyx::textclass_type instead of LyXTextClassList::size_type
12839 2001-11-29 Juergen Vigna <jug@sad.it>
12841 * text.C: added support for paragraph::isFreeSpacing()
12843 * buffer.C: same as above
12845 * paragraph.h: inserted isFreeSpacing() function to enable
12846 FreeSpacing inside InsetERT.
12848 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12849 of the paragraph's in the cut/copy buffer to 0!
12851 * text2.C (removeRow): remove the assert as it can!
12853 * lyxtext.h: added helper function firstRow returning firstrow and
12854 made firstrow private again.
12856 * BufferView2.C (lockInset): don't relock if we're already locked!
12858 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12859 the only paragraph.
12860 (removeRow): added Assert::(firstrow)
12862 * debug.C: forgot to add INSETTEXT here.
12864 2001-11-28 Juergen Vigna <jug@sad.it>
12866 * sp_spell.C (initialize): changed error text to more general
12867 spellchecker command use (not only ispell!)
12869 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12871 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12873 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12875 * vspace.C: initialise lyxgluelength on failure
12877 2001-11-28 Allan Rae <rae@lyx.org>
12879 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12880 declaration & definition that looks like a function declaration.
12882 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12884 * BufferView2.C (copy):
12885 (copyEnvironment): do not clear the selection when doing a copy.
12887 * text.C (paintFirstRow): compilation fix
12889 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12891 * tabular.C (Latex): correct line count when writing latex.
12893 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12895 * paragraph_pimpl.h:
12896 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12899 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12903 * LColor.C: change vfillline->added_space
12905 * text.C: add markers and text for added space
12907 * vspace.C: fix comment
12909 2001-11-28 André Pönitz <poenitz@gmx.net>
12911 * paragraph.C: whitespace changes
12912 * all the other files from the change on 2001/11/26:
12913 change *::pos_type into lyx::pos_type
12915 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12917 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12918 language of the document when inserting error insets.
12920 2001-11-26 André Pönitz <poenitz@gmx.net>
12922 * BufferView_pimpl.[Ch]:
12930 * paragraph_pimpl.[Ch]:
12933 * text2.C: reduce header dependencies, introduce type for positions
12935 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12937 * <various>: change to use Alert.h
12939 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12941 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12942 when encountering an unknown token.
12943 (readLyXformat2): Show an error message if there were unknown tokens.
12945 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12948 * BufferView_pimpl.C:
12952 * text2.C: use par->isInset()
12954 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12956 * paragraph_pimpl.h:
12957 * paragraph_pimpl.C: cleanup
12959 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12961 * text2.C (removeRow):
12962 * text.C (setHeightOfRow): remove useless (and costly) call to
12965 2001-11-20 Allan Rae <rae@lyx.org>
12967 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12968 Now need Inset*::checkInsertChar() to return true for appropriate
12969 cases so that the characters in the minibuffer will actually be
12972 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12974 * text.C: change the order of the includes.
12975 (workWidth): initialize it at once.
12976 (workWidth): make maxw unsigned
12977 (setHeightOfRow): remove unused variable (inset)
12978 (selectSelectedWord): remove unused variable (inset)
12979 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12981 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12983 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12984 server is not running.
12986 (closeConnection): add debug info when server is disabled.
12988 * ColorHandler.C (getGCForeground): send debug message to GUI
12991 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12993 * kbmap.C (bind): modify because return conventions of
12994 kb_sequence::parse have changed.
12996 * kbsequence.C (parse): only ignore spaces and not any stupid
12997 control character. This avoids tests like s[i] <= ' ', which are
12998 guaranteed to fail with 8bit characters and signed chars.
12999 Change return code to string::npos when there have been no error
13000 (0 was a bad idea when error is at first character)
13002 2001-11-14 José Matos <jamatos@fep.up.pt>
13005 * buffer.C (simpleDocBookOnePar): removed unused argument.
13007 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13009 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13010 insets which are part of a word. Paragraph::isLetter takes care of
13011 that now. Use Paragraph::isInset to identify insets.
13012 (selectSelectedWord): do not test for hyphenation break.
13014 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13015 that protected spaces are considered as spaces.
13017 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13020 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13023 * lyxserver.C: fix it. and small cleanup.
13025 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13027 * BufferView_pimpl.C: use inline helpers
13030 * LaTeXFeatures.C: fix typos
13033 * Spacing.C: move spacing_string into class
13035 * ToolbarDefaults.C: move stuff into namespace anon
13037 * layout.h: update enum
13039 * lyxfunc.C: use better debug
13041 * minibuffer.h: fix typo
13045 * WorkArea.C: add and use Debug::WORKAREA
13049 * text2.C: code re-organisation, inline helpers
13051 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13053 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13054 std::vector.empty().
13056 2001-11-09 Allan Rae <rae@lyx.org>
13058 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13059 '\n's after tables. Tabular and ERT inset work now makes this no
13062 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13065 * minibuffer.C: fix crash, improve drop-down completion
13067 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13070 * lyxserver.C: invalidate fd's when doing endPipe()
13072 2001-11-08 José Matos <jamatos@fep.up.pt>
13074 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13075 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13078 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13080 2001-11-07 José Matos <jamatos@fep.up.pt>
13083 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13086 * buffer.C (sgmlOpenTag):
13087 * buffer.C (sgmlCloseTag): removed debug info.
13089 * buffer.h (sgmlOpenTag):
13090 * buffer.h (sgmlCloseTag): made public.
13092 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13094 * buffer.C (saveParamsAsDefaults):
13095 * lyx_cb.C (MenuLayoutSave): remove
13097 * LyXAction.C (init):
13099 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13101 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13103 * buffer.C (setPaperStuff): removed from here...
13105 * bufferparams.C (setPaperStuff): ... and moved there.
13107 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13111 * XFormsView.C: add support for drop-down completion
13113 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13115 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13118 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13120 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13123 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13125 * lyx_main.C: change ref to known bugs
13127 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13129 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13130 to work around older babel problems.
13132 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13134 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13136 2001-10-24 Juergen Vigna <jug@sad.it>
13138 * tabular-old.C (ReadOld): below variable changes reflected.
13140 * tabular.[Ch]: added ltType struct for longtable header/footer
13141 defines and changed all instances where they are used. Added
13142 future support for double top/bottom rows.
13144 2001-10-24 José Matos <jamatos@fep.up.pt>
13146 * buffer.h (docbookHandleCaption):
13147 * buffer.C (docbookHandleCaption): removed unused function.
13148 (makeDocBookFile): moved docbook supported version to v4.1.
13150 2001-10-24 José Matos <jamatos@fep.up.pt>
13153 * tabular.C (docbookRow): new function to export docbook code of a row.
13154 (DocBook): now honors the longtable flags.
13156 2001-10-23 José Matos <jamatos@fep.up.pt>
13159 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13160 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13162 * buffer.C (makeLinuxDocFile):
13163 (makeDocBookFile): reworked the preamble, more clean, and with
13164 support for lyx defined entities. Changed the document declaration
13165 to be more XML friendly.
13167 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13168 if we need to output XML that should be done with a filter.
13170 2001-10-22 Juergen Vigna <jug@sad.it>
13172 * sp_pspell.h (class PSpell): add alive function needed in the
13173 controller to see if the spellchecker could be started.
13175 2001-10-22 Juergen Vigna <jug@sad.it>
13177 * buffer.C (insertStringAsLines): modify the font for inserting
13178 chars in certain conditions by calling checkInsertChar(font).
13180 2001-10-19 Juergen Vigna <jug@sad.it>
13182 * text.C (workWidth): use getRow instead of wrong algorithm.
13183 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13185 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13190 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13192 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13194 * text.C (workWidth): do not search for the exact row when
13195 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13196 optimization for big documents.
13198 2001-10-18 Juergen Vigna <jug@sad.it>
13200 * text.C (workWidth): new function with added Inset * parameter.
13202 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13204 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13206 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13207 change return type of getColumnNearX.
13210 * text.C (changeRegionCase): use uppercase/lowercase instead of
13213 (rightMargin): simplify code by factoring out the uses of
13218 (appendParagraph): use Paragraph::size_type
13220 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13222 * vspace.C (asLatexString): add a missing break
13224 2001-10-15 Herbert Voss <voss@perce.de>
13226 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13228 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13230 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13233 2001-10-10 André Pönitz <poenitz@gmx.net>
13235 * lyxfunc.C: removed greek_kb_flag.
13237 2001-10-10 Herbert Voss <voss@perce.de>
13239 * lyx_main.C: delete global string help_lyxdir.
13241 2001-10-09 Herbert Voss <voss@perce.de>
13243 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13245 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13247 * lyx_main.C: added global string help_lyxdir.
13249 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13251 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13253 * lyxrc.C (set_font_norm_type): support iso8859-4
13255 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13257 * LaTeX.C (deplog): add another regex for MikTeX
13259 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13261 * lyxrc.C (set_font_norm_type): support iso8859-3
13263 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13265 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13267 * LaTeXFeatures.C: remove special case of french and index
13269 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13270 before \begin{document}). This solves several incompatibilities.
13272 2001-10-03 Garst Reese <reese@isn.net>
13274 * lyx_cb.C: change CheckTex error msg.
13276 2001-10-03 José Matos <jamatos@fep.up.pt>
13278 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13280 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13282 * .cvsignore: update
13284 * lyx_main.C (commandLineVersionInfo): use new style version info.
13286 * buffer.C (writeFile):
13288 (makeLinuxDocFile):
13289 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13291 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13293 * version.h: update to use stuff in version.C
13295 * version.C.in: new file. Contains version information determined
13296 at compile time. This is a merging of version.h and
13299 2001-10-03 Juergen Vigna <jug@sad.it>
13301 * BufferView_pimpl.C (update): don't change "dirty" status in
13304 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13306 * WorkArea.C (c-tor): re-position version string slightly.
13308 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13310 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13311 revert to previous code.
13313 WorkArea.[Ch]: (show, destroySplash): methods removed.
13315 WorkArea.C: rework code so that it's an amalgam of the codes before and
13316 after the splash screen was moved to WorkArea.
13318 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13321 * vspace.C (inPixels):
13324 * buffer.C (insertStringAsLines):
13325 (asciiParagraph): fix types to be large enough
13327 * lyxlex_pimpl.h: change member status from short to int
13329 * layout.h: fix type of endlabeltype
13332 * kbsequence.C (parse): change return type to string::size_type
13334 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13337 * Bullet.C (bulletSize):
13338 (bulletEntry): do not use short ints as parameters
13340 * BufferView2.C (insertLyXFile): change a char to an int.
13342 * WorkArea.C (WorkArea): remove unneeded floats in computation
13344 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13346 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13348 * paragraph.C (asString): Do not ignore newline/hfill chars when
13349 copying to the clipboard.
13351 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13353 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13354 after a multi-line inset.
13356 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13358 * paragraph.C (validate): Set NeedLyXFootnoteCode
13360 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13362 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13363 and decrease-error to decrease.
13365 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13367 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13368 it more readable (should be equivalent)
13370 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13372 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13374 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13376 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13377 of a cursor (row, etc.) after a character has been deleted
13378 (deleteEmptyParagraphMechanism): call the method above on _all_
13379 cursors held by the LyXText when a double space has been
13382 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13384 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13386 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13388 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13389 background. Use greyOut() and the new show() methods to toggle between
13390 the foreground and background. Add code to remove the splash after
13391 its initial showing.
13393 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13394 (create_forms): no longer call Dialogs::showSplash.
13396 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13398 * .cvsignore: add version_info.h
13400 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13402 * version_info.h.in: new file
13404 * Makefile.am: add version_info.h.in
13406 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13407 version_info.h instead of VERSION_INFO
13409 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13411 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13412 The ERT inset now returns string().
13414 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13416 * lyxtext.h, text.C (selectNextWord): renamed as
13417 selectNextWordToSpellcheck.
13419 * text.C (selectNextWordToSpellcheck): Modified to not select
13420 words inside an ERT inset.
13422 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13424 * lyx_cb.C (MenuLayoutSave): change a bit the question
13426 * sp_base.h: include <sys/types.h>
13428 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13430 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13432 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13434 * several files: fix typos in user-visible strings
13436 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13438 * text2.C (pasteSelection): do not set the selection, since it
13439 will be cleared later. Actually, the intent was to fix the way the
13440 selection was set, but I figured rmoving the code was just as good.
13442 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13444 * FontLoader.C (available): Check if font is available without
13447 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13449 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13451 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13453 * lyxrc.[Ch]: added display_graphics variable and associated code.
13455 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13457 * bufferparams.C (hasClassDefaults): new method. Returns true if
13458 the buffer parameters correspond to known class defaults
13460 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13462 * XFormsView.C (show): set minimum size to the main window.
13464 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13466 * text2.C (copySelection):
13468 * lyxfind.C (LyXReplace):
13469 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13470 LyXText::selectionAsString.
13472 * paragraph.C (asString): add "label" argument to the second form
13474 * text2.C (selectionAsString): add "label" argument and pass it to
13475 Paragraph::asString.
13477 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13479 * lyx_main.C (commandLineHelp): remove version information
13481 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13483 * lyx_main.C: add -version commandline option
13485 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13487 * paragraph.h: make the optional constructor arg required instead.
13488 some modifications to other files because of this.
13490 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13492 * lyxserver.C (C_LyXComm_callback): make it static
13494 * lyx_main.C (error_handler): make it static
13496 * lyx_gui.C (LyX_XErrHandler): make it static
13498 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13500 * WorkArea.C: make the extern "C" methods static.
13502 * Makefile.am (lyx_LDADD): simplify
13504 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13506 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13507 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13509 * LyXAction.C (init):
13510 * lyxfunc.C (dispatch): associated code removal.
13512 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13514 * lyxfont.h (isSymbolFont): shut off warning
13516 * text.C (setHeightOfRow):
13517 (getVisibleRow): fix crash with empty paragraphs which have a
13520 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13522 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13525 2001-09-04 José Matos <jamatos@fep.up.pt>
13528 * tabular.C (docbook): rename docBook method to docbook.
13530 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13532 * Makefile.am: add dependencies to main.o.
13534 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13536 * FontLoader.C (available): Return false if !lyxrc.use_gui
13538 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13540 * FontInfo.C (query):
13541 * converter.C (view):
13542 * importer.C (Import):
13543 * exporter.C (Export): Can not -> cannot.
13545 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13547 * BufferView_pimpl.C: allow to create index inset even if
13550 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13552 * buffer.C (getLists): replace boost::tie code with an explicit pair
13553 as boost::tie can break some compilers.
13555 * iterators.h: Added a std:: declaration to the return type of
13558 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13560 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13563 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13565 * iterators.[Ch]: New files. Provide paragraph iterators.
13567 * buffer.C (changeLanguage): Use paragraph iterators.
13568 (isMultiLingual): ditto
13570 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13572 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13574 * FontLoader.C: Support for cmr font.
13576 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13578 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13579 (available): New method.
13581 * FontInfo.C (getFontname): Use scalable fonts even when
13582 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13585 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13587 * converter.C (Formats::view): reverted! Incorrect fix.
13589 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13591 * converter.C (Formats::view): only output the -paper option
13592 if the dvi viewer is xdvi, thereby fixing bug #233429.
13594 2001-08-23 Herbert Voss <voss@perce>
13596 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13598 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13600 * Spacing.h (Spacing): Set space to Default on in the default
13603 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13605 * vc-backend.h (RCS::versionString): add RCS to version
13606 (CVS::versionString): add CVS to version
13608 * vc-backend.C (scanMaster): do not add CVS to version.
13609 (scanMaster): do not add RCS to version
13611 * lyxvc.C (versionString): new method
13613 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13615 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13617 * Spacing.C (set): initialize fval
13619 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13621 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13624 2001-08-16 Juergen Vigna <jug@sad.it>
13626 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13628 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13630 * BufferView_pimpl.C:
13633 * text2.C: setParagraph takes linespacing now
13635 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13637 * LyxAction.C: add internal LFUN_CITATION_INSERT
13639 * LyXView.C: actually apply fix
13641 * bufferlist.C: fix open non-existent file
13643 * lyxfind.C: fix indentation
13645 * lyxfunc.C: remove unneeded assert, fix typo
13647 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13649 * MenuBackend.C: use "Floatname List"
13651 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13653 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13654 when converting LaTeX layout to insetERT.
13655 Generate a non-collapsed float when reading old float
13657 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13659 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13662 2001-08-13 Juergen Vigna <jug@sad.it>
13664 * text.C (fill): return 0 instead of 20 as this seems to be the more
13667 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13669 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13672 2001-08-13 Juergen Vigna <jug@sad.it>
13674 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13676 (SearchBackward): comment out the unlocking of the inset_owner this
13677 should not be needed!
13679 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13681 * Many files: Remove inherit_language, and add latex_language
13683 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13684 collapsible insets.
13686 2001-08-10 Juergen Vigna <jug@sad.it>
13688 * text.C (prepareToPrint): fixed hfill-width in draw!
13690 * BufferView2.C (selectLastWord): save the selection cursor as this
13691 now is cleared in the function LyXText::clearSelection!
13693 2001-08-08 Juergen Vigna <jug@sad.it>
13695 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13696 BACKSPACE type functions.
13698 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13699 is only cutted from the document but not put in the cut-buffer, where
13700 still the old stuff should be.
13702 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13704 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13706 * tabular.C (SetWidthOfCell): fixed special case where the width
13708 (LeftLine): handle '|' in align_special.
13710 (LeftAlreadyDrawed): ditto
13711 (SetWidthOfCell): ditto
13713 2001-08-07 Juergen Vigna <jug@sad.it>
13715 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13717 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13719 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13720 * lyxlex.[hC]: ditto
13722 2001-08-06 Juergen Vigna <jug@sad.it>
13724 * text.C (getVisibleRow): fix up row clearing a bit.
13726 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13728 * minibuffer.C: make sure the X server sees the changes in the input.
13730 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13732 * paragraph.C (getFont): split into...
13733 (getLabelFont): this
13734 (getLayoutFont): and this
13735 * paragraph_pimpl.C (realizeFont): calling this
13737 * text2.C (getFont): split into...
13738 (getLayoutFont): this
13739 (getLabelFont): and this
13740 (realizeFont): all three calling this
13742 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13745 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13747 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13749 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13751 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13752 layouts from the Quote inset insertion.
13754 2001-08-03 Juergen Vigna <jug@sad.it>
13756 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13758 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13759 only if status not is already CHANGED_IN_DRAW (second level).
13761 * text.C (draw): don't set the need_break_row when inside an
13764 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13766 * buffer.C (parseSingleLyXformat2Token): handle more latex
13769 * bufferview_funcs.[hC]: change function names to
13770 begin with small char, adjust other files.
13772 2001-08-02 André Pönitz <poenitz@gmx.net>
13775 BufferView_pimpl.C: remove broken special code for math-greek
13777 2001-08-02 Juergen Vigna <jug@sad.it>
13779 * BufferView_pimpl.C (update): redone this function so that we
13780 update the text again if there was a CHANGE_IN_DRAW.
13782 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13783 (drawFromTo): added a new internal bool which is used by draw() and
13785 (general): some cursor drawing problems fixed.
13787 2001-08-01 Juergen Vigna <jug@sad.it>
13789 * lyxfind.C (LyXFind): fixed
13790 (SearchForward): ditto
13791 (SearchBackward): ditto
13793 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13794 spurius drawing of the cursor in the main area.
13796 * text2.C (status): small fix which could lead to a segfault!
13797 (clearSelection): remove unneeded BufferView param.
13799 2001-08-01 André Pönitz <poenitz@gmx.net>
13801 * lyxfunc.C: small change due to changed mathed interface
13803 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13805 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13807 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13809 * lyxfunc.c: fail gracefully if file doesn't exist
13814 * BufferView_pimpl.C: IsDirWriteable() proto changed
13816 * LyXView.C: fix updateWindowTitle() to store the last title
13818 2001-07-31 Juergen Vigna <jug@sad.it>
13820 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13821 the font (wrong since using of Paragraph::highestFontInRange).
13823 * paragraph.C (highestFontInRange): added a default_size parameter.
13825 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13826 (setHeightOfRow): reformat
13828 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13830 * converter.[hC] + affected files: move to (inital-char)lowercase
13833 * ParagraphParameters.C (ParagraphParameters): remove commented code
13835 * PainterBase.[Ch]: remove commented code
13837 * LaTeXFeatures.h: add "bool floats" for float.sty
13839 * LaTeXFeatures.C (LaTeXFeatures): init floats
13840 (require): handle float
13841 (getPackages): do it with floats
13843 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13845 * BufferView_pimpl.C (Dispatch): improve handling of
13846 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13848 * commandtags.h: #include lyxfont.h here temporarily to avoid
13851 * bufferlist.h: include LString.h here.
13853 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13855 * text2.C (getStringToIndex): new method.
13857 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13859 * *: Reduced header file dependencies all over.
13861 2001-07-30 Baruch Even <baruch@lyx.org>
13863 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13865 2001-07-29 Baruch Even <baruch@lyx.org>
13867 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13869 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13871 * ParameterStruct.h (endif): add a default constructor to make
13872 sure that all variables is initialized.
13874 * ParagraphParameters.C (ParagraphParameters): adjust
13876 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13878 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13879 index; also, check that there is something to index, and that it
13880 does not span over several paragraphs.
13881 (doubleClick): use WHOLE_WORD_STRICT for double click.
13883 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13885 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13888 2001-07-26 Baruch Even <baruch@lyx.org>
13890 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13891 an InsetFig figure, backwards compatible reading of old figure code.
13893 2001-07-27 Juergen Vigna <jug@sad.it>
13895 * text2.C: font.realize function adaption.
13897 * text.C (draw): add a warnings lyxerr text if needed.
13899 * layout.C: font.realize function adaption.
13901 * language.C: add inherit_language and implement it's handlings
13903 * bufferview_funcs.C (StyleReset): remove language parameter from
13904 font creation (should be language_inherit now).
13906 * bufferparams.C (writeFile): handle ignore_language.
13908 * paragraph.C (getFontSettings): the language has to be resolved
13909 otherwise we have problems in LyXFont!
13911 * lyxfont.C (lyxWriteChanges): added document_language parameter
13912 (update): removed unneeded language parameter
13914 * paragraph.C (validate): fixed wrong output of color-package when
13915 using interface colors for certain fonts in certain environments,
13916 which should not seen as that on the final output.
13918 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13920 * BufferView_pimpl.C:
13925 * LyXAction.C: add thesaurus support
13928 * lyxfind.C: add "once" parameter, for thesaurus, to not
13929 move to the next match
13931 2001-07-26 Juergen Vigna <jug@sad.it>
13933 * lyxfont.C (realize): honor ignore_language too!
13936 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13938 * text.C (draw): one place more for ignore_language to not draw
13941 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13943 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13945 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13947 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13948 the minipage conversion problem.
13950 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13952 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13955 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13957 * BufferView.h: don't forward declare WorkArea
13959 * BufferView.C: don't include WorkArea.h
13961 2001-07-25 André Pönitz <poenitz@gmx.net>
13965 * lyxfunc.C: new LFUN 'math-space'
13967 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13969 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13971 * text2.C (toggleInset): call open/close
13973 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13975 * lyxfunc.C (dispatch): add debug for the disabled case
13977 * font.C (buttonText): make similar to rectText
13979 * buffer.C (readInset): comment out parsing of insetlist and
13982 * PainterBase.C (rectText): small correction
13984 * BufferView_pimpl.C: comment out insettheorem and insetlist
13985 * LyXAction.C: ditto
13986 * commandtags.h: ditto
13988 2001-07-24 Juergen Vigna <jug@sad.it>
13990 * text.C (draw): honor the ignore_language.
13992 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13994 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13996 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13999 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14001 * lyxtext.h: remove unused (and unimplemented) methods
14003 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14005 * text.C (getVisibleRow): honor background color
14008 * Painter.h: remove default color argument for fillRectangle
14010 * text.C (backgroundColor): new method
14012 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14014 * text.C (getVisibleRow): adjust
14016 * font.[Ch] (rectText): new method, metrics
14017 (buttonText): new method, metrics
14019 * PainterBase.[hC]: make rectText and buttonText always draw and take
14022 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14024 * ToolbarDefaults.C (read):
14025 * MenuBackend.C (read): allow escaping in all strings
14027 * BufferView_pimpl.C (insertAndEditInset): new method.
14028 (Dispatch): use insertAndEditInset whenever appropriate.
14030 * BufferView_pimpl.C (insertNote): removed
14032 * BufferView_pimpl.C (smartQuote): new method, moved from
14033 BufferView; if an insetquote cannot be inserted, insert a '"'
14036 * BufferView2.C: remove insertCorrectQuote();
14038 * lyxfunc.C (getStatus): Add support for all remaingin
14039 inset-insert lfuns.
14041 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14043 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14044 command (necessary to pass " as parameter of self-insert.
14046 * text.C (selectWordWhenUnderCursor):
14047 (selectWord): add word_location parameter
14048 (selectWordWhenUnderCursor): same + remove special code for word
14050 (selectNextWord): use kind() to guess type of insetspecialchar,
14053 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14054 (insertErtContents): create ert insets as collapsed.
14055 (readInset): better compatibility code for Info inset.
14057 2001-07-20 Juergen Vigna <jug@sad.it>
14059 * lyxfunc.C (dispatch): use always LyXFind now!
14061 * text2.C (init): add a reinit flag so that the LyXText can be
14062 reinited instead of deleted and reallocated (used in InsetText).
14064 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14070 2001-07-18 Juergen Vigna <jug@sad.it>
14072 * text.C (selectNextWord): handle insets inside inset by calling
14073 always the bv->text functions so that we can go up the_locking_inset!
14075 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14076 in strange locations when inside an inset!
14078 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14079 handling to include insets.
14081 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14083 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14085 * LyXAction.C (init):
14087 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14088 LIGATURE_BREAK, since the name is so stupid.
14090 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14092 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14095 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14097 * sp_form.[Ch]: remove.
14099 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14101 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14104 * src/buffer.C (readInset): ditto.
14106 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14108 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14109 menuSeparator(), endOfSentenceDot(), ldots() and
14110 hyphenationPoint(), which are therefore removed.
14111 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14113 * LyXAction.C (init):
14114 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14116 * paragraph.C (getWord): removed.
14118 * BufferView_pimpl.C (Dispatch): use last word or selection for
14119 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14121 * lyx_main.C (queryUserLyXDir): do not ask before creating
14122 user_dir, except if it has been named explicitely.
14124 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14126 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14127 a document of zero size.
14129 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14131 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14132 approriately in the c-tor and in require().
14133 (getPackages): output the appropriate LaTeX for natbib support.
14135 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14136 variables "use_natbib" and "use_numerical_citations" when reading the
14138 (readInset): read the various natbib cite commands.
14139 (validate): white-space change.
14141 * bufferparams.[Ch]: new variables "bool use_natbib" and
14142 "bool use_numerical_citations".
14143 (writeFile): output them in the LyX file.
14145 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14147 * lyxfunc.C (getStatus): add support for all the inset insertion
14150 * text2.C (insertInset):
14151 * paragraph.C (insetAllowed):
14152 * BufferView_pimpl.C (insertInset): update to take in account the
14153 renaming of insertInsetAllowed
14155 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14157 * text2.C (getInset): new method. returns inset at cursor position.
14159 * BufferView_pimpl.C (Dispatch): changes because of this.
14161 * LyXAction.C (init): rename open-stuff to inset-toggle.
14163 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14165 * text2.C (toggleInset): renamed from openStuff; use
14168 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14170 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14172 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14174 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14176 * buffer.C (readLyXformat2): Add filename to the error dialog
14178 2001-07-18 Juergen Vigna <jug@sad.it>
14180 * tabular.C (GetCellNumber): put an assert here instead of the check!
14182 2001-07-17 Juergen Vigna <jug@sad.it>
14184 * BufferView_pimpl.C (toggleSelection): adapted too.
14186 * text.C (selectNextWord): adapted for use with insets.
14187 (selectSelectedWord): ditto
14189 2001-07-17 Juergen Vigna <jug@sad.it>
14191 * sp_spell.C (PSpell): fix initialitation order.
14193 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14195 * paragraph.C: spacing
14197 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14199 * sp_spell.C: repair language selection for pspell
14201 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14203 * lyxfunc.h: change more methods to begin with lower char.
14205 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14207 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14208 for unknown layouts.
14210 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14212 * buffer.C (readLyXformat2): Generate an error dialog if there are
14215 2001-07-16 Juergen Vigna <jug@sad.it>
14217 * sp_spell.C: always compile ISpell part.
14219 * lyxrc.C: added use_pspell entry and it's handling.
14221 2001-07-13 Juergen Vigna <jug@sad.it>
14223 * sp_spell.C: removed double includes.
14225 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14227 Consistent use of Lsstream.h:
14228 * Lsstream.h: added using std::stringstream for consistencies sake.
14230 * buffer.C: removed using std::stringstream
14232 * lyxfont.C (stateText):
14233 * paragraph.C (asString):
14234 * text.C (selectNextWord, selectSelectedWord):
14235 * text2.C (setCounter):
14236 * vspace.C (asString, asLatexString):
14237 std::ostringstream -> ostringstream.
14239 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14241 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14242 * commandtags.h: add LFUN_HELP_ABOUTLYX
14243 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14245 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14247 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14249 * lyx_gui_misc.C: remove spellchecker
14250 * lyxfunc.C: showSpellchecker
14252 * sp_ispell.h: added
14253 * sp_pspell.h: added
14254 * sp_spell.C: added
14255 * sp_form.[Ch]: removed
14256 * spellchecker.[Ch]: removed
14258 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14260 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14262 (simpleTeXSpecialChars): Simply print the input character without
14263 any special translation if pass_thru is set.
14265 * layout.h: Added bool pass_thru to layout class for being able to
14266 implement pass through of a paragraph for Literate Programming.
14268 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14269 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14270 * layout.C (Read): add "passthru" to list of layout tags and add
14271 code to set the pass_thru boolean when it is read.
14273 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14275 * trans_decl.h: remove allowed from KmodInfo
14277 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14278 remove allowed code
14281 * paragraph_pimpl.C (erase): use boost::prior
14283 * Painter.C (text): use data() instead of c_str() when length is
14285 * WorkArea.C (putClipboard): ditto
14286 * font.h (width): ditto
14288 * BufferView2.C: use it-> instead of (*it). for iterators
14290 * paragraph_pimpl.C: ditto
14291 * paragraph.C: ditto
14292 * minibuffer.C: ditto
14293 * language.C: ditto
14295 * encoding.C: ditto
14296 * counters.C: ditto
14297 * converter.C: ditto
14299 * Variables.C: ditto
14300 * TextCache.C: ditto
14301 * MenuBackend.C: ditto
14302 * LyXAction.C: ditto
14304 * FloatList.C: ditto
14305 * DepTable.C: ditto
14306 * ColorHandler.C (LyXColorHandler): ditto
14308 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14310 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14312 * text2.C (openStuff): reintroduce this method (which had been
14313 nuked in NEW_INSETS frenzy).
14315 * lyxfunc.C (Dispatch): when an action has not been handled, use
14316 its name in the error message, not its number.
14318 * paragraph.C (inInset): change method name to begin with lowercase.
14321 * text2.C: updates because of this.
14323 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14325 * ToolbarDefaults.C (add): add spaces in error message
14327 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14329 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14330 (readLyXformat2): rename return_par to first_par, use lyxlex's
14331 pushToken and remove the manual push handling.
14332 (parseSingleLyXformat2Token): add another ert comp. variable:
14333 in_tabular, rename return_par to first_par. handle newlines better
14335 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14337 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14339 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14341 * text2.C (getParFromID): removed
14343 * buffer.C (getParFromID): new method moved form lyxtext.
14344 * BufferView2.C (insertErrors): adjust
14345 (setCursorFromRow): adjust
14346 * BufferView_pimpl.C (restorePosition): adjust
14347 * lyxfunc.C (Dispatch): adjust
14348 * undo_funcs.C (textUndo): adjust
14350 (textHandleUndo): adjust
14351 (textHandleUndo): adjust
14353 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14355 * buffer.C: up' the LYX_FORMAT
14357 * lyxfont.h: turn NO_LATEX on as default
14359 * buffer.C (insertErtContents): new methods of tex style compability.
14360 (parseSingleLyXformat2Token): use it several places.
14361 * tabular.C (OldFormatRead): and here
14363 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14365 * text2.C: remove some commented code.
14368 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14369 * trans.C: changes because of the above.
14371 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14373 * text2.C (setCounter): Fix counters bug with bibliography layout.
14375 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14377 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14378 own member functions
14379 (simpleTeXSpecialChars): ditto
14381 2001-07-06 Juergen Vigna <jug@sad.it>
14383 * a lot of files: changed the access to LyXText::status and the
14384 call of undo-functions.
14386 * undo.[Ch]: added a inset_id to the undo informations.
14388 * undo_funcs.[Ch]: added and moved here all undo functions.
14390 * lyxtext.h: give the status enum a weight, made status_ a private
14391 variable and made accessor functions for it, removed the whole bunch
14392 of undo-functions as they are now in their own file, make some
14393 functions publically available. Added function ownerParagraph with
14396 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14397 made InInset() a const function, added getParFromID() function.
14399 * buffer.[Ch]: added const version for inset_iterator functions,
14400 added getInsetFromID() function.
14402 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14403 changed undo functions for new version.
14405 2001-07-05 Juergen Vigna <jug@sad.it>
14407 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14408 unknow mechanism does not call the proper constructor but only this
14409 one also if I request the other!?
14411 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14413 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14415 * text2.C (LyXText): use initialization lists.
14417 * lyxtext.h (Selection): initialize set_ and mark_
14418 (init): remove method
14420 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14422 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14424 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14426 * screen.[Ch]: change method names to begin with lowercase
14428 * BufferView_pimpl.C (updateScrollbar): simplify further and
14429 hopefully make it a bit faster.
14431 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14433 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14434 calling directly xforms functions.
14436 * Painter.C (Painter):
14437 * lyx_cb.C (MenuWrite):
14438 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14441 * lyx_gui.C: remove bogus guiruntime extern declaration.
14443 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14445 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14447 (redoDrawingOfParagraph): ditto
14448 (redoParagraphs): ditto
14449 (cutSelection): don't create a object for CutAndPaste use the
14450 static method directly
14451 (pasteSelection): ditto
14453 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14456 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14458 * modifications to some other files because of this.
14460 * Makefile.am (lyx_SOURCES): add XFormsView
14462 * XFormsView.[Ch]: new files
14464 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14465 the main window. Move the gui dependent stuff to XFormsView
14467 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14469 * tabular.C (GetCellInset): update cur_cell also in the row/col
14470 version of this function.
14472 * lyxfunc.C: no need to include figure_form.h here.
14478 * lyxvc.C: no need to include forms.h here.
14480 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14482 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14484 * lyxfunc.C (Dispatch):
14486 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14487 constructor argument.
14489 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14491 * paragraph.C (Paragraph): dont't clear, and just set layout.
14492 (makeSameLayout): use params's copy contructor.
14494 * ParagraphParameters.[Ch] (makeSame): delete method
14496 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14498 * Variables.[Ch]: fix indentation, rename set to isSet
14500 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14502 * lyxfunc.C (Dispatch): fix typo
14504 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14506 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14509 * bufferlist.C: include assert.h for emergencyWrite().
14511 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14513 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14514 give up at last (bug #425202) !
14516 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14522 * spellchecker.C: strip spellchecker options and bring up
14523 preferences tab instead
14525 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14527 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14528 the istringstream constructor
14530 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14532 * paragraph.C (getLayout): fix return value
14534 * paragraph.h: do not declare getLayout as inline.
14536 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14538 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14540 * lyxcursor.h (operator<): new func
14541 (operator>): new func
14542 (operator>=): new func
14543 (operator<=): new func
14545 * text.C (changeCase): use selection.start and selection.end
14546 (changeRegionCase): require from to be <= to. Require par to be a
14549 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14551 2001-06-27 Juergen Vigna <jug@sad.it>
14553 * text.C (cursorLeftOneWord): changed to return the cursor and added
14554 overlay with BufferView * parameter which calls this one.
14556 (selectWord): use new getWord function.
14557 (changeCase): renamed from changeWordCase as and extended to work
14558 also on selections.
14560 * lyxtext.h: added enum word_location
14562 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14563 changeCase as this operates now also on selections.
14565 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14567 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14569 * many files: send debug output to Debug::INFO instead of
14572 * converter.C (View):
14574 (Move): send debug output to Debug::FILES instead of console.
14576 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14578 * lyxfunc.C (getStatus): use func_status
14580 * func_status.h: new header, describing the results of
14581 LyXFunc::getStatus;
14583 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14586 2001-06-25 The LyX Project <jug@sad.it>
14588 * buffer.C (sgmlOpenTag):
14590 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14592 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14594 * text2.C: remove some dead code
14596 * tabular.C (GetCellInset): store the last cell checked (gotten)
14598 * tabular.h: add the helper for the speedup
14600 * lyxtext.h: remove some dead code
14602 2001-06-26 The LyX Project <Asger>
14604 * paragraph.C: Change export to LaTeX of alignment to
14605 \begin{center} and family for better roundtrip work with reLyX.
14607 * Tune the math drawing a bit.
14609 2001-06-25 The LyX Project <Asger>
14611 * LColor.C (LColor): New color for math background. New color
14614 2001-06-25 The LyX Project <jug@sad.it>
14616 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14618 * lyxfunc.C (Open):
14619 * bufferlist.C (newFile): do not restrict to files ending with
14622 * BufferView_pimpl.C (MenuInsertLyXFile):
14624 2001-06-24 The LyX Project <jug@sad.it>
14626 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14629 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14631 * lyxtext.h: rename most methods to begin with a small char.
14632 Lots of changes because of this.
14634 * paragraph.C (Paragraph): do not call fitToSize
14635 (erase): call Pimpl::erase
14636 (insertChar): call Pimpl::insertChar
14637 (insertInset): call Pipl::insertInset
14638 (breakParagraph): do not call fitToSize
14639 (breakParagraphConservative): do not call fitToSize
14640 (fitToSize): remove method
14642 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14644 2001-06-24 The LyX Project <Asger>
14646 * Fix Qt compilation^2
14648 2001-06-24 The LyX Project <jug@sad.it>
14650 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14651 depthHook(getDepth()-1).
14654 * ParagraphParameters.h:
14655 * ParameterStruct.h: change type of depth to unsigned int ==
14656 depth_type. Many adaptations to other files before of that.
14658 2001-06-24 The LyX Project <Asger>
14660 * Fix Qt compilation.
14662 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14664 * paragraph.h: renamed several methods to begin with small letter.
14665 several changes to many parts of the code because of this.
14667 2001-06-23 The LyX Project <jug@sad.it>
14669 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14670 rewritten to discard all double spaces when KeepEmpty is off
14671 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14672 to only handle newlines but not fiddle with spaces and friends.
14674 * lyxfunc.C (MenuNew): when doing 'new from template', use
14675 template_path as default directory
14677 2001-06-23 The LyX Project <Asger>
14679 * Clean-up of header file includes all over
14680 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14682 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14684 * paragraph.h: renamed from lyxparagraph.h
14686 2001-06-23 Asger <lyx@violet.home.sad.it>
14688 * Buffer.h: Removed Buffer::resize
14689 * BufferList.h: Removed BufferList::resize
14690 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14691 the document lazily when we change the width, or the font settings.
14693 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14695 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14697 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14699 * buffer.h: remove out of date comment
14701 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14704 * screen.C: fix "theoretical" GC leak
14706 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14708 * LaTeX.C (scanAuxFile):
14709 (deplog): remove trailing \r when reading stream (useful under
14712 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14714 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14715 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14716 and BufferView::theLockingInset(Inset*), so should use them and not
14717 access bv_->text->the_locking_inset directly.
14719 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14721 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14724 * tex-defs.h: remove old unused file
14726 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14728 * BufferView_pimpl.C: fix typo, remove minibuffer message
14729 when buffer has loaded
14731 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14733 * lyxfunc.C (Dispatch): use stringstream
14734 (MenuNew): use stringstream
14735 (Open): use stringstream
14737 * importer.C (Import): use stringstream
14739 * bufferview_funcs.C (CurrentState): use stringstream
14741 * LaTeX.C (run): use stringstream
14743 * BufferView_pimpl.C (savePosition): use stringstream
14744 (restorePosition): use stringstream
14745 (MenuInsertLyXFile): use stringstream
14747 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14760 * vspace.C: removed // -*- C++ -*- as first line.
14763 * version.h: added // -*- C++ -*- as first line.
14765 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14767 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14769 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14772 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14774 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14777 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14779 * gettext.C: include LString.h even when --disable-nls is on.
14781 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14783 * converter.h (Get): changed argument type from int to
14784 FormatList::size_type to avoid unnecessary conversion.
14786 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14789 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14791 * gettext.h: include LString.h even when --disable-nls is on.
14793 2001-06-07 Juergen Vigna <jug@sad.it>
14795 * text.C (BreakAgain): subst spaces with tabs.
14797 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14798 (resizeInsetsLyXText): set force on resizeLyXText.
14800 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14802 * gettext.h (gettext_init):
14803 (locale_init): use a real definition instead of a macro
14805 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14807 * Bufferview_pimpl.C:
14809 * LColor.C: further lcolor tidies
14811 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14813 * BufferView_pimpl.C (updateScrollbar): simplify.
14815 * BufferView2.C: don't include insets/insetinfo.h, change
14816 prototype for insertInset and call the Pimpl version. let
14817 updateInset call Pimpl version.
14819 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14820 gotoInset to BufferView::Pimpl
14822 2001-06-01 Juergen Vigna <jug@sad.it>
14824 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14825 inside a LockingInset (is the update needed at all?).
14827 2001-05-31 Juergen Vigna <jug@sad.it>
14829 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14830 here not the old one otherwise how should we compare it afterwards
14833 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14838 * FontInfo.C: bring C functions into global namespace when
14841 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14843 * LString.h: make sure config.h has been loaded before LString.h.
14845 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14846 (one for each char read by EatLine!).
14848 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14851 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14853 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14854 to the same as the par we break from
14856 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14858 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14860 * MenuBackend.C (expand): also create menu entries for wide
14861 versions of the floats.
14863 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14865 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14867 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14868 frontends/Makefile.am
14874 * tabular.C (getTokenValue): add std::
14876 * tabular-old.C (getTokenValue): add std::
14877 (getTokenValue): ditto
14878 (getTokenValue): ditto
14880 * screen.C (ToggleSelection): adjust
14882 * lyxtext.h: put selection cursors inside a Selection struct.
14884 * lyxfunc.C (moveCursorUpdate): adjust
14886 * lyxfont.C (latexWriteStartChanges): add std::
14888 * lyxfind.C: adjust
14890 * font.h: delete with(char const *, LyXFont const &)
14892 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14894 * FontInfo.C (getFontname): add std::
14896 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14897 (workAreaButtonPress): adjust
14898 (tripleClick): adjust
14900 (moveCursorUpdate): adjust
14903 * BufferView2.C (gotoInset): adjust
14905 2001-05-30 Juergen Vigna <jug@sad.it>
14907 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14908 to check pspell I add this as default as I now have new pspell
14909 libraries and they seem to use this.
14911 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14913 * text2.C (CutSelection): make the cursor valid before the call to
14916 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14918 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14919 relied on 0 terminated strings and other horrors. Bug found due to
14920 the new assert in lyxstring!
14922 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14925 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14927 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14930 * lyxfunc.C (processKeySym): change method of getting to the
14933 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14934 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14935 * BufferView_pimpl.[Ch]: here as private methods.
14937 2001-05-28 Juergen Vigna <jug@sad.it>
14939 * text.C (SetHeightOfRow): added the update() call again as it is
14940 needed to initialize inset dimensions!
14942 2001-05-16 Juergen Vigna <jug@sad.it>
14944 * text2.C (SetCharFont): Add new function with BufferView * and
14945 bool toggleall parameters for setting insets internal fonts.
14946 (SetFont): Freeze the undo as we may change fonts in Insets and
14947 all this change should be inside only one Undo!
14949 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14950 setting font's in insets as for them we have the SetFont function!
14952 2001-05-15 Juergen Vigna <jug@sad.it>
14954 * text2.C (ClearSelection): to be sure we REALLY don't have any
14957 * tabular.C (TeXCellPreamble): fixed the left border problem for
14960 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14962 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14965 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14967 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14968 LFUN_BREAKPARAGRAPH.
14970 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14971 help test to "internal only", similar for LFUN_INSERT_URL
14973 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14974 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14975 auto_region_delete and deadkeys.
14977 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14980 * LColor.C: remove some dead entries, tidy a little
14982 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14984 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14986 (Dispatch): implement LFUN_ESCAPE
14988 * commandtags.h: add LFUN_ESCAPE
14990 * LyXAction.C (init): add entry for LFUN_ESCAPE
14992 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14993 Remove commented code.
14994 (insertNote): moved here
14995 (open_new_inset): moved here
14997 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15000 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15002 * kbmap.C (findbinding): clean it up and make it work correctly.
15004 * lyx_main.C (init): do not pass argc and argv as parameters
15006 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15008 * buffer.C: fix path for OS/2 & Win32
15012 * lyx_main.C: Added os:: class.
15014 * os2_defines.h: update
15016 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15018 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15019 better by trying again with reduced state.
15021 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15023 * lyxrc.C (read): print error about invalid key sequence only when
15024 debugging (because not all latinX keysyms are known to some X
15027 * kbsequence.C (getiso): add a few std:: qualifiers
15028 (getiso): comment out extra return statement.
15030 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15032 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15034 (Dispatch): enhance the accent inset a bit. (not perfect)
15036 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15038 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15040 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15042 * bufferlist.C (emergencyWrite): fix assert() call
15044 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15046 * text.C (InsertChar): Added trivial patch to only send the "you
15047 can not do multiple spaces this way" message once during a
15050 2001-05-08 Baruch Even <baruch@lyx.org>
15052 * Makefile.am: Changed order of libraries to get LyX to link properly
15053 with the gnome frontend.
15055 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15057 * LaTeXFeatures.h: add a std:: qualifier
15059 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15061 * paragraph.C (String): use stringstream
15063 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15065 * paragraph.C (writeFile): remove footflag arg
15067 * buffer.C (makeLaTeXFile): use stringstream
15068 (latexParagraphs): remove footnot gurba
15070 * LaTeXFeatures.C (getPackages): use stringstream
15071 (getMacros): likewise
15072 (getTClassPreamble): likewise
15073 (getFloatDefinitions): new method
15075 * paragraph.C (writeFile): reindent
15078 * WorkArea.h: revert the xpos + etc changes.
15080 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15082 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15084 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15085 (pasteSelection): likewise
15086 * text2.C (CreateUndo): likewise
15088 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15090 * minibuffer.C (peek_event): temporarily reduce the functionality
15091 of the minibuffer (to allow args on lfuns)
15093 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15094 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15096 * buffer.C (readInset): add compability reading of old float
15097 lists, add reading of new style float list.
15098 (readInset): avoid reevaluation of inscmd.getCmdName()
15099 (getLists): reindent
15101 * MenuBackend.C (MenuItem): implement parsing of
15102 md_floatlistinsert and md_floatinsert.
15103 (expand::LastFiles): move initalizaton of iterators out of loop,
15104 avoid reevaluation.
15105 (expand::Documents): introduce typdedef vector<string> Strings,
15107 (expand::ExportFormats): introduce typedef vector<Format const *>
15108 Formats, and use it.
15109 (expand): implement FloatListInsert and FloatInsert.
15111 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15112 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15113 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15115 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15117 (Dispatch::LFUN_FLOAT_LIST): implement
15119 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15121 * LaTeX.C (run): Fix problem with --export code.
15123 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15125 * BufferView.[Ch] (workarea): removed.
15126 (getClipboard) new method; wrapper for workarea()->getClipboard()
15128 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15131 * WorkArea.h (width, height, xpos, ypos): These methods all
15132 returned the dimensions of the work_area sub-area of WorkArea,
15133 resulting in a position error if the WorkArea were resized. Now
15134 return the dimensions of the entire WorkArea.
15136 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15138 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15140 * LaTeX.C (deplog): correct the syntax of regex reg1
15142 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15144 * undo.C: remove !NEW_INSETS cruft
15146 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15148 * text2.C: remove !NEW_INSETS cruft
15150 * text.C: remove !NEW_INSETS cruft
15152 * tabular.C: remove !NEW_INSETS cruft
15154 * spellchecker.C: remove !NEW_INSETS cruft
15156 * lyxtext.h: remove !NEW_INSETS cruft
15158 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15160 * lyxfunc.C: remove !NEW_INSETS cruft
15162 * lyxfind.C: remove !NEW_INSETS cruft
15164 * lyx_cb.C: remove !NEW_INSETS cruft
15166 * figureForm.C: remove !NEW_INSETS cruft
15168 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15170 * buffer.[Ch]: remove !NEW_INSETS cruft
15172 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15174 * CutAndPaste.C: remove !NEW_INSETS cruft
15176 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15178 * BufferView2.C: remove !NEW_INSETS cruft
15180 * BufferView.h: remove !NEW_INSETS cruft
15182 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15184 * Lsstream.h: include LString.h before the sstream headers to
15185 fix problem with gcc 2.95.3 and lyxstring
15187 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15189 * lyx_main.C: add using directives when needed for C functions
15190 declared in std:: namespace.
15192 2001-04-27 Juergen Vigna <jug@sad.it>
15194 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15195 (SetHeightOfRow): comment out the update call should not be needed!
15197 2001-04-13 Juergen Vigna <jug@sad.it>
15199 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15200 (LyXTabular): tried to minimize operator= operations (and realized
15201 hopfully Lars wish).
15203 2001-04-27 Juergen Vigna <jug@sad.it>
15205 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15207 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15209 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15211 * buffer.C (readInset): hack to make listof algorithm work
15213 * BufferView_pimpl.C: hack to make listof algorithm work
15215 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15217 * LyXAction.C: removed all !NEW_INSETS cruft
15218 (init): moved lfun_item in method
15220 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15222 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15224 * BufferView2.C (theLockingInset): white space.
15226 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15228 * minibuffer.C: include <iostream>
15230 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15232 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15234 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15236 * text.[Ch] (TransposeChars): new method
15238 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15240 * call message directly through LyXView instead of through LyXFunc
15241 * BufferView2.C: adjust
15242 * BufferView_pimpl.C: adjust
15243 * FontLoader.C: adjust
15245 * bufferview_funcs.C: adjust
15246 * converter.C: adjust
15247 * figureForm.C: adjust
15248 * importer.C: adjust
15250 * lyx_gui_misc.C: adjust
15251 * lyxfunc.C: adjust
15254 + more files in subdirs
15256 * lyxparagraph.h (size): move up int file
15259 * adjust all uses of Assert to lyx::Assert.
15261 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15262 lyxfunctional in namespace lyx
15263 * layout.C (hasLayout): ditto
15266 (delete_layout): ditto
15267 (NumberOfClass): ditto
15268 * converter.C (GetFormat): ditto
15273 * bufferlist.C (getFileNames): ditto
15274 (emergencyWriteAll): ditto
15277 * MenuBackend.C (hasSubmenu): ditto
15280 * BufferView_pimpl.C (getInsetByCode): ditto
15282 2001-04-18 Juergen Vigna <jug@sad.it>
15284 * vspace.C (asLatexString): fixed the 100% problem.
15286 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15288 * lyxfunc.C (Dispatch):
15290 * minibuffer.h: add a few std:: qualifiers
15292 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15294 * minibuffer.[Ch]: reimplement so that commands is initiated and
15295 run from lyxfunc, simplified som handling, and made the completion
15296 and history code for complete. wip.
15298 * lyxfunc.C (processKeySym): call message
15299 (miniDispatch): new temporary method
15300 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15301 (LFUN_MESSAGE): implement
15302 (LFUN_MESSAGE_PUSH): implement
15303 (LFUN_MESSAGE_POP): implement
15304 (initMiniBuffer): the initial/defualt minibuffer message.
15306 * lyxfont.[Ch]: inline some more getters
15308 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15310 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15312 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15313 (AutoSave): use LFUN_MESSAGE
15314 (Reconfigure): ditto
15316 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15318 * figureForm.C: use LFUN_MESSAGE
15320 * converter.C (runLaTeX): use LFUN_MESSAGE
15322 * bufferview_funcs.C: use LFUN_MESSAGE
15324 (changeDepth): ditto
15326 * bufferparams.h: use boost::
15328 * bufferlist.h: inherit privately from noncopyable
15330 * bufferlist.C (loadLyXFile): remove some commented code.
15332 * buffer.C (runChktex): use LFUN_MESSAGE
15334 * ShareContainer.h: inherit privately from noncopyable
15336 * ParagraphParameters.[hC] (depth): inline it.
15338 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15340 (message): new method
15341 (messagePush): ditto
15342 (messagePop): ditto
15343 (show): init minibuffer
15344 (showState): direct call
15346 * LaTeX.[Ch]: inherit privately from noncopyable
15347 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15348 instead of WriteStatus.
15350 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15352 * BufferView_pimpl.C (buffer): don't init minibuffer
15353 (workAreaButtonPress): use LFUN_MESSAGE
15354 (workAreaButtonRelease): ditto
15355 (savePosition): ditto
15356 (restorePosition): ditto
15357 (MenuInsertLyXFile): ditto
15358 (workAreaExpose): don't init minibuffer
15359 (update): remove commented code, simplify
15361 * BufferView2.C (openStuff): use LFUN_MESSAGE
15362 (toggleFloat): ditto
15365 (copyEnvironment): ditto
15366 (pasteEnvironment): ditto
15371 (updateInset): remove some commented code
15373 * lastfiles.h: inherit privately from noncopyable
15376 * lyx_main.h: ditto
15378 * lyxlex_pimpl.h: ditto
15380 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15381 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15382 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15384 * LyXAction.h: inherit privately from noncopyable, add methods
15385 func_begin, func_end, returning iterators to the func map.
15387 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15388 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15389 (func_begin): new method
15390 (func_end): new method
15392 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15394 (copySelection): ditto
15395 (pasteSelection): ditto
15397 * BufferView.C: whitespace change
15398 * BufferView.h: inherit privately from noncopyable
15400 2001-04-16 Allan Rae <rae@lyx.org>
15402 * tabular-old.C (l_getline):
15403 * spellchecker.C (sc_check_word):
15404 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15405 an unrecognised preprocessor directive. So ensure they're wrapped.
15407 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15409 * src/exporter.C (Export): Give an error message when path to file
15412 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15414 * LaTeX.C (deplog): Always check that foundfile exists.
15416 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15419 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15421 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15423 * tabular.[Ch] (getLabelList): implement new method
15425 * minibuffer.h: comment ouf setTiimer
15427 * minibuffer.C (ExecutingCB): constify res
15428 (peek_event): constify s
15429 (Set): constify ntext
15430 (Init): constify nicename
15432 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15434 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15435 (savePosition): use two params to Minibuffer::Set
15436 (restorePosition): ditto
15438 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15440 * lyx_main.C: include language.h
15442 * Makefile.am (lyx_main.o): add language.h
15444 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15450 * CutAndPaste.C: include gettext.h
15452 * lyxfont.h: remove old hack with ON and OFF.
15455 * lyxfont.h: do not include language.h...
15460 * bufferview_funcs.C:
15466 * paragraph.C: ... but do it here instead
15468 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15470 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15472 * tabular.C: small reformat
15474 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15477 (BreakParagraph): ditto
15478 (SetOnlyLayout): ditto
15481 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15484 * lastfiles.C: removed most using decl, add std:: where needed
15486 * buffer.C: ws changes
15488 * MenuBackend.C (class compare_format): put into anon namespace
15489 (expand): constify label, names, action, action2
15492 * text.C (SingleWidth): constify font
15493 (IsBoundary): constify rtl2
15494 (GetVisibleRow): constify ww
15496 * LaTeX.C (deplog): constify logfile
15498 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15500 (workAreaExpose): constify widthChange, heightChange
15502 * lyxrow.C (par): moved
15505 * lyxrow.h: as inlines here
15507 * lyxfont.h (shape): moved from lyxfont.C
15508 (emph): moved from lyxfont.C
15510 * lyxfont.C (LyXFont): use initialization list for all
15512 (shape): move to lyxfont.h as inline
15513 (emph): move to lyxfont.h as inline
15516 2001-04-04 Juergen Vigna <jug@sad.it>
15518 * vspace.C: had to include stdio.h for use of sscanf
15520 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15523 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15524 independent of xforms.
15526 2001-04-02 Juergen Vigna <jug@sad.it>
15528 * spellchecker.C: fixed namespace placing!
15530 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15532 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15533 the LyXParagraph * is 0.
15535 2001-03-29 Juergen Vigna <jug@sad.it>
15537 * vspace.C: added support for %, c%, p%, l%.
15538 (stringFromUnit): added helper function.
15539 (asLatexString): changed to give right results for the %-values.
15541 * buffer.C: convert the widthp in a width%.
15543 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15545 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15548 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15549 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15551 * lyx_cb.[Ch]: see above.
15553 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15557 * lyx.[Ch]: replaced by figure_form.[Ch].
15561 * lyxfunc.C: changed headers associated with above changes.
15563 2001-03-27 Juergen Vigna <jug@sad.it>
15565 * BufferView_pimpl.C: set the temporary cursor right!
15567 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15569 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15571 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15573 * LString.h: removed "using std::getline"!
15575 * BufferView_pimpl.C (Dispatch): changes due to changes in
15576 InsetInclude::Params.
15578 * buffer.C (tag_name): removed redundant break statements as they were
15579 producing lots of warnings with my compiler.
15581 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15583 * LString.h: add "using std::getline" when using the real <string>.
15585 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15587 * buffer.C: removed bitset usage.
15588 PAR_TAG moved to an anonymous name space.
15589 (tag_name): new funtion, also in the anonymous namespace.
15590 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15591 (makeDocBookFile): clean code. Completed transition from string arrays
15593 (SimpleDocBookOnePar): code clean.
15595 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15597 * tabular.C: add some comments.
15599 2001-03-22 Juergen Vigna <jug@sad.it>
15601 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15602 compatibility read a bit and fixed bug with minipage in different
15605 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15607 * buffer.C (pop_tag): removed.
15608 (push_tag): removed.
15609 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15610 array replaced with vector. Added support for CDATA sections.
15611 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15613 (makeDocBookFile): XML conformant declaration of CDATA section,
15614 fixed bug related to <emphasis> in the first paragraph char.
15615 (sgmlOpenTag): exclude empty tags.
15616 (sgmlCloseTag): ditto.
15618 * buffer.h (pop_tag): removed.
15619 (push_tag): removed.
15621 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15623 * language.h (Languages): added size_type and size().
15625 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15627 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15628 response on compability reading of minipages. One probliem is that
15629 the old usage of minipages was «flertydig»
15631 * several files here and in subdirs: don't use static at file
15632 scope use anon namespaces instead.
15634 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15636 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15637 LaTeX output. This is necessary for Literate document
15640 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15642 * buffer.C: insert hfill when needed.
15644 * tabular.C (l_getline): use string::erase, small whitespace change.
15646 * BufferView_pimpl.C: try the anon namespace.
15647 * WorkArea.C: ditto
15649 2001-03-16 Juergen Vigna <jug@sad.it>
15651 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15652 otherwise it won't open options-dialogs.
15654 * buffer.C: honor pextraWidth(p) on converting minipages.
15656 * tabular.C (l_getline): changed the functions to strip trailing \r.
15658 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15660 * BufferView_pimpl.C:
15661 * minibuffer..C: added "using SigC::slot" declaration.
15663 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15665 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15671 * paragraph.C: ditto
15673 * lyxtext.h: NO_PEXTRA
15675 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15677 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15678 * ParameterStruct.h: ditto
15679 * ParagraphParameters.h: ditto
15680 * lyxparagraph.h: ditto
15682 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15684 * buffer.C: add compability for minipage alignment.
15685 (latexParagraphs): remove unwanted pextra check.
15687 * several files: remove CXX_WORKING_NAMESPACES
15689 * buffer.C (pop_tag): tie is in namespace boost
15691 * BufferView.h: noncopyable is in namespace boost
15693 * lyx_main.h: ditto
15696 * lastfiles.h: ditto
15697 * bufferlist.h: ditto
15698 * ShareContainer.h: ditto
15700 * LyXAction.h: ditto
15703 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15705 * Merging changes from BRANCH_MVC back into HEAD.
15707 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15709 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15711 * BufferView_pimpl.C: change from intl.C
15715 * Makefile.am: move combox.*
15721 * intl.C: remove dialog (covered by prefs)
15723 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15725 * lyxfunc.C (Dispatch): removed redundant break statement.
15727 2001-03-14 Juergen Vigna <jug@sad.it>
15729 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15731 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15733 * buffer.C: add hack to fix compability reading of minipages.
15735 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15737 * buffer.C (getLists): Cleanup.
15739 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15741 * lyxfont.C (update): don't honor toggleall on font size.
15743 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15747 * Makefile.am: moved to frontends/xforms/
15751 * BufferView_pimpl.C: changes for moved mathpanel
15753 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15755 * gettext.h: fix gettext_init() in --disable-nls
15757 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15759 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15761 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15764 * lyx.h: strip external form
15766 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15768 * BufferView_pimpl.C: add comment, destroySplash()
15770 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15772 * BufferView_pimpl.C:
15776 * lyxfunc.C: use re-worked insetinclude
15778 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15780 * buffer.C: add using std::stringstream.
15782 * lyx_cb.C: readd using std::ios.
15784 * buffer.C: add using std::map.
15786 * BufferView_pimpl.C: add using std::vector.
15788 * ShareContainer.h: add std:: to swap.
15790 * buffer.h: add some typedefs
15791 * buffer.C (getLists): use them
15792 (getLists): renamed from getTocList.
15793 add a counter for the different float types and use it in the
15795 (getLists): use the same counter for the NEW_INSETS and the "non"
15798 * lyx_cb.h: remove unused items, includes, using etc.
15800 * ShareContainer.h: remove some commented code, add more comments
15801 and "documentation".
15803 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15805 * buffer.C (getTocList): make the list also when NEW_INSETS is
15808 * buffer.h: remove TocType
15810 * buffer.C (getTocList): change to return a map<string,
15811 vector<TocItem> >, implement for dynamic number of list.
15813 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15814 * text2.C (PasteSelection): adjust
15815 * CutAndPaste.C (pasteSelection): adjust
15817 * FloatList.C (FloatList): update from the new_insets branch.
15818 * Floating.[Ch]: ditto
15819 * LaTeXFeatures.C: ditto
15821 * lyxlex_pimpl.C: ditto
15823 * paragraph.C (Last): remove when NEW_INSETS is defined.
15825 * other file: changes because of the above.
15827 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15829 * lyxparagraph.h: rename next to next_, previous to previous_,
15830 make them private for NEW_INSETS. Rename Next() to next(),
15831 Previous() to previous().
15833 * other files: changes because of the above.
15835 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15838 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15841 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15843 * main.C (main): pass lyx_localedir to gettext_init().
15845 * gettext.h: remove locale_init and gettext_init macros
15847 * gettext.C (locale_init): new function
15848 (gettext_init): new function
15850 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15853 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15855 * Moved credits to frontends:
15856 * credits.[Ch]: removed
15857 * credits_form.[Ch]: removed
15858 * lyx_gui_misc.C: remove credits stuff
15861 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15863 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15865 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15866 unneeded destructor.
15868 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15869 a standalone pointer again.
15871 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15873 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15879 * ToolbarDefaults.C:
15888 * BufferView_pimpl.C: use new file dialog in GUII
15891 * lyx_cb.C: remove LayoutsCB to Toolbar
15893 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15895 * ShareContainer.h (get): add std:: qualifier
15897 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15899 * ShareContainer.h: define a proper ShareContainer::value_type
15900 type (and use typename to please compaq cxx)
15902 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15904 * lyxparagraph.h: move serveral local vars to
15905 ParameterStruct/ParagraphParameters., use ShareContainer in
15906 FontTable., make vars in FontTable private and add getter and
15909 * paragraph.C: changes because of the above.
15911 * lyxfont.h: remove copy constructor and copy assignment. (the
15912 default ones is ok), move number inside FontBits. move inlines to
15915 * lyxfont.C: add number to initializaton of statics, move several
15916 inlines here. constify several local vars. some whitespace
15917 cleanup. Dont hide outerscope variables.
15919 * Spacing.h: add two new constructors to match the set methods.
15921 * ShareContainer.h: new file, will perhaps be moved to support
15923 * ParameterStruct.h: new file
15925 * ParagraphParameters.h: new file
15927 * ParagraphParameters.C: new file
15929 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15930 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15932 * BufferView_pimpl.C: ParagraphParameter changes.
15933 * buffer.C: Likewise.
15934 * bufferview_funcs.C: Likewise.
15935 * text.C: Likewise.
15936 * text2.C: Likewise.
15938 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15940 * lyxfind.C (LyXReplace): do not redefine default argument in
15942 (IsStringInText): ditto
15943 (SearchForward): ditto
15944 (SearchBackward): ditto
15946 2001-03-06 Juergen Vigna <jug@sad.it>
15948 * lyxfind.C (IsStringInText): put parentes around expressions.
15950 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15952 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15954 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15956 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15958 * stl_string_fwd.h: add comment
15960 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15963 * tabular.C: remove unused DocBook methods
15969 killed DO_USE_DEFAULT_LANGUAGE
15971 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15973 * lyx_gui.C: do not include language.h.
15975 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15976 arguments in function implementation.
15978 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15980 * BufferView_pimpl.C: add <ctime>
15982 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15984 * BufferView_pimpl.C: add using std::find_if
15986 2001-02-27 José Matos <jamatos@fep.up.pt>
15988 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15991 2001-02-11 José Matos <jamatos@fep.up.pt>
15993 * buffer.C (makeDocBookFile): command styles now have a parameter as
15994 "title" by default.
15996 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15998 * layout_forms.[Ch]: removed
15999 * lyx_cb.[Ch]: out character
16000 * lyx_gui.C: out character
16001 * lyx_gui_misc.C: out character
16002 * bufferview_funcs.C: : out character,
16003 added toggleall as parameter in ToggleAndShow
16005 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16007 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16009 * text2.C (SetCurrentFont): Disable number property at boundary.
16011 2001-02-26 Juergen Vigna <jug@sad.it>
16013 * lyxfunc.C (getStatus): added a string argument override function so
16014 that this is correctly called from LyXFunc::Dispatch if it contains a
16015 do_not_use_argument which is used!
16016 (Dispatch): added check for "custom" export and call appropriate func.
16018 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16020 * lyxrc.C: Add language_command_local, language_use_babel and
16021 language_global_options.
16023 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16025 * buffer.C (makeLaTeXFile): Use language_use_babel and
16026 language_global_options.
16028 2001-02-23 Juergen Vigna <jug@sad.it>
16030 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16031 which works with LyXText and putted it inside BufferView. Here now we
16032 only call for that part the BufferView::Dispatch() function.
16034 * BufferView.C (Dispatch): added.
16036 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16037 functions which needs to use a LyXText over from LyXFunc.
16038 (MenuInsertLyXFile): added
16039 (getInsetByCode): added
16040 (moveCursorUpdate): added
16041 (static TEXT): added
16043 2001-02-22 Juergen Vigna <jug@sad.it>
16045 * BufferView_pimpl.C (update): call a status update to see if LyXText
16048 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16050 * vc-backend.C (revert): implement for CVS
16051 (getLog): implement for CVS
16053 2001-02-20 Juergen Vigna <jug@sad.it>
16055 * text2.C (ClearSelection): added BufferView param for inset_owner call
16057 * lyxfunc.C (TEXT): added this function and use it instead of
16058 directly owner->view()-text of getLyXText().
16060 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16062 * src/layout_forms.C: out preamble
16063 * src/layout_forms.h: out preamble
16064 * src/lyx_cb.C: out preamble
16065 * src/lyx_cb.h: out preamble
16066 * src/lyx_gui.C: out preamble
16067 * src/lyx_gui_misc.C: out preamble
16068 * src/lyxfunc.C: connect with guii preamble
16070 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16072 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16074 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16076 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16077 whether to run bibtex.
16079 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16081 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16083 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16085 * Makefile.am (lyx_SOURCES): removed bibforms.h
16087 * vspace.h: doxygen
16089 * text.C (GetVisibleRow): make several local vars const
16091 * tabular.C: small cleanup.
16093 * lyxserver.C (callback): use compare instead of strncmp
16095 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16096 inlines to after class or to paragraph.C
16098 * lyxfont.h: remove friend operator!=
16100 * converter.h: move friend bool operator< to non friend and after
16103 * combox.h: small cleanup
16105 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16106 to inlines after class def.
16108 * buffer.C (pop_tag): use string operations instead of strcmp
16110 * bmtable.c: doxygen, small cleanup
16112 * LaTeX.h: remove friend operator==
16114 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16126 * BufferView_pimpl.C:
16127 * BufferView.[Ch]: remove cruft
16129 2001-02-14 Juergen Vigna <jug@sad.it>
16131 * lyxfunc.C: removed #if 0 unused code
16133 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16135 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16137 * text2.C (SetSelection): added a BufferView * parameter
16139 2001-02-13 Juergen Vigna <jug@sad.it>
16141 * lyxfunc.C (Dispatch): fixed protected blank problem.
16142 * BufferView2.C (protectedBlank): added LyxText * parameter.
16144 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16145 (AppendColumn): same as above for column_info.
16147 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16148 (moveCursorUpdate): use a LyXText param for support of InsetText.
16150 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16151 (tripleClick): ditto
16153 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16155 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16157 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16159 * text2.C (SetSelection): set correct update status if inset_owner
16160 (ToggleFree): ditto
16162 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16164 * tabular.C: remove some commented code.
16166 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16168 * BufferView_pimpl.C: call hideSplash()
16170 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16173 * bibforms.h: remove
16176 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16177 add LFUN_CHILD_CREATE
16179 * counters.h: fix tiny typo
16184 * lyx.C: move splash to frontends/xforms/
16186 * lyx_gui_misc.C: move Include and Bibform to frontends
16188 * lyxvc.h: clarify comment
16190 * vspace.C: tiny housekeeping
16192 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16194 * text.C (PrepareToPrint): RTL Fix.
16196 * paragraph.C (GetUChar): New method.
16197 (String): Use GetUChar.
16199 * buffer.C (asciiParagraph): Use GetUChar.
16201 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16203 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16205 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16208 * buffer.C: rename to getLogName(), handle
16209 build log / latex log nicely
16211 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16214 * MenuBackend.h: remove support for reference menuitem type.
16216 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16218 * BufferView_pimpl.C: housekeeping
16219 * BufferView_pimpl.h:
16224 * minibuffer.h: move Timeout GUI-I
16226 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16228 * lyxrc.C (read): Update converters data-structures.
16230 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16232 * LaTeX.h (operator!=): add operator != for Aux_Info
16234 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16236 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16238 * LaTeXLog.C: deleted, useful code moved to Buffer
16241 * buffer.C: new function getLatexLogName()
16247 * lyxfunc.C: use frontends for LaTeX and VC logs
16249 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16251 * LaTeX.h: yet another std:: that Allan forgot.
16253 * Variables.C (set): renamed from isset(), because this clashes
16254 with some HP-UX macros (grr).
16256 2001-02-06 Allan Rae <rae@lyx.org>
16258 * LaTeX.h: Another bug fix. Missing std:: this time.
16260 2001-02-04 Allan Rae <rae@lyx.org>
16262 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16263 floats problem. I've left it commented out because it's not quite
16264 correct. It should also test that the current object is a table or
16265 figure inset. But I haven't gotten around to figuring out how to do
16266 that. I *think* it'll be something like: "table" == inset.type()
16268 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16271 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16273 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16274 all the citation/databases/styles in the auxilary file.
16275 (run): Rerun latex if there was a babel language error.
16277 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16279 * text.C (Backspace): Preserve the font when changing newline char
16281 (BreakParagraph): If the cursor is before a space, delete the space.
16283 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16285 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16287 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16288 new argument (code).
16289 (ChangeCitationsIfUnique): New method.
16291 * paragraph.C (GetPositionOfInset): Handle bibkey.
16293 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16295 * BufferView_pimpl.h: change type of Position::par_pos to
16296 LyXParagraph::size_type.
16298 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16300 * BufferView_pimpl.C (savePosition, restorePosition): Write
16301 messages to minibuffer.
16303 2001-01-28 José Matos <jamatos@fep.up.pt>
16305 * buffer.C (makeDocBookFile): adds support for document language.
16306 A silly restriction on the name of LatexCommand types where removed.
16307 Added support for CDATA sections, allows to chars unescaped, used
16308 among others in code, to avoid escape < and >.
16310 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16312 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16313 saved positions instrad of a stack. Furthermore, a position is
16314 stored using paragraph id/paragraph position.
16316 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16317 Remove LFUN_REF_BACK.
16319 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16321 * converter.C (dvipdfm_options): New method.
16323 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16325 * vspace.C (isValidLength): Fix for empty input string.
16327 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16329 * LyXAction.C (init): change description of LFUN_FIGURE to
16332 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16334 * LaTeX.C: add using directive
16336 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16338 * MenuBackend.C (expand): Fix the sorting of the formats.
16340 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16342 * lyx_main.C: tiny error message fix
16344 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16346 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16347 calling fl_initialize(). This fixes the problem with ',' as
16348 decimal separator in text files.
16350 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16352 * trans.C (process): Fix the keymap bug.
16354 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16356 * LaTeX.C (scanAuxFiles): New method. Provides support for
16357 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16358 (scanLogFile) Scan for "run BibTeX" messages.
16360 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16361 OT1 font encoding. Also, load the aecompl package if the ae
16364 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16366 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16368 * texrow.C (increasePos): turn two error messages into debug
16371 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16373 * LaTeX.C (scanAux): Handle the \@input macro.
16374 (runBibTeX): Use scanAux().
16376 * language.C (latex_options_): New field.
16378 * LaTeXFeatures.C (getMacros): Add language macros.
16380 * buffer.C (makeLaTeXFile): Small fix.
16382 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16384 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16386 * text2.C: add a using directive.
16388 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16393 * lyxfunc.C: kill LyXBell.
16395 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16397 * text.C (IsBoundary): Remove the error message
16399 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16401 * lyxrc.C (setDefaults): Correct initialization value for
16404 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16406 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16409 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16410 and GotoNextNote().
16412 * src/LyXAction.C: Added reference-next.
16414 * text.C (InsertChar): Use contains instead of strchr.
16416 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16418 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16420 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16421 alignment commands (when needed).
16423 * text.C (InsertChar): Add ':' to number separator chars.