1 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * buffer.C: remove unused using lyx::support::atoi
4 * paragraph_funcs.C: ditto
6 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
8 * bufferlist.C (exists): use bind and equal_to instead of
11 * lyxtextclasslist.C (NumberOfClass): ditto
13 * cursor.C (insert): use for_each instead of explicit for loop
15 * bufferlist.C (getFileNames): use std::transform and
16 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
18 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
21 * buffer.C (changeLanguage): use for_each instead of explicit for
23 (hasParWithID): implement using getParFromID
25 * LaTeXFeatures.C: ws change only
27 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
30 * BufferView_pimpl.C (trackChanges): use for_each instead of
33 2004-11-04 André Pönitz <poenitz@gmx.net>
36 * undo.C (textUndoOrRedo): fix crash when creating undo information.
38 * dociterator.C (asDocIterator): use hard assert again.
40 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
42 * lyxlength.C (asLatexString): rewrite so that it does not use
45 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
47 * text3.C (specialChar, dispatch): make sure cursor moves to the
48 right after inserting an inset
50 2004-11-02 José Matos <jamatos@lyx.org>
52 * output_docbook.C (docbook):
53 * paragraph.C (getID):
54 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
55 garantee that the output is always legal.
57 * tabular.C (docbook):
58 * outputprams.[Ch]: remove mixed contents.
60 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
62 * text2.C (setCounter): prevent endless loop
64 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
66 * exporter.C (copyFile): use the mover instead of support::copy()
67 * exporter.C (Export): pass format and latex name to copyFile()
68 * exporter.h (addExternalFile): document
69 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
71 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
73 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
75 2004-10-30 José Matos <jamatos@lyx.org>
77 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
78 text and no inset or font change. This allows to use CDATA
79 sections just for the whole paragraph.
81 2004-10-30 José Matos <jamatos@lyx.org>
83 * paragraph.C (getFirstWord): remove unused variable.
85 2004-10-30 José Matos <jamatos@lyx.org>
87 * paragraph.C (getFirstWord): the content should always be escaped
89 (simpleDocBookOnePar):
90 * output_docbook.C (makeEnvironment): replace reference to CDATA
93 2004-10-30 José Matos <jamatos@lyx.org>
95 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
97 2004-10-30 José Matos <jamatos@lyx.org>
99 * output_docbook.C (makeParagraphs):
100 * paragraph.[Ch] (emptyTag): for docbook and company, if the
101 standard paragraph has only a given type of content drop the wrapper.
103 2004-10-29 José Matos <jamatos@lyx.org>
105 * output_docbook.C (makeEnvironment):
107 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
109 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
111 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
112 (cleanID): sanitize any id.
114 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
116 * buffer.C, lyxlex_pimpl.C:
117 * lyxlex_pimpl.C (setFile):
118 s/getExtFromContents/getFormatFromContents/
120 2004-10-28 José Matos <jamatos@lyx.org>
122 * output_docbook.C (makeEnvironment): move id to broadest possible
125 * sgml.C (openTag): apply substitution of <> for all attributes.
127 2004-10-28 José Matos <jamatos@lyx.org>
129 * buffer.C (makeLinuxDocFile, makeDocBookFile):
130 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
131 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
133 * sgml.[Ch]: new version for open and closeTag for paragraph and
134 for strings. Now they handle the ids of paragraphs.
136 2004-10-26 Angus Leeming <leeming@lyx.org>
138 * Makefile.am: add mover.[Ch].
140 * converter.C (convert, move): use the new Movers to move external
141 files to the temp directory.
143 * lyx_main.C (init): ensure that the global system_movers data
146 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
149 * mover.[Ch]: new files, defining a Mover as a utility to move an
150 external file between directories and, if necessary, manipulate this
151 file using a helper script.
153 2004-10-25 José Matos <jamatos@lyx.org>
155 * output_docbook.C (makeCommand): merge two if's that tested the
158 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
160 * sgml.C (escapeString): fix warning in a better way
162 2004-10-25 José Matos <jamatos@lyx.org>
164 * sgml.C (escapeString): import the require boosts header file for
165 tie, and avoid a signed unsigned comparison.
167 2004-10-25 José Matos <jamatos@lyx.org>
169 * sgml.h: add #include <string>
171 2004-10-25 José Matos <jamatos@lyx.org>
173 * sgml.[Ch] (escapeString): new function to escape all the string.
175 2004-10-24 José Matos <jamatos@lyx.org>
177 * paragraph.[Ch] (getFirstWord): new function to get the first
178 word. Useful for description.
179 (simpleDocBookOnePar): remove depth argument, add another that
180 says where to start the paragraph.
182 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
183 use the new functions to fix cleanly the support for descriptions.
185 2004-10-24 José Matos <jamatos@lyx.org>
187 * buffer.C (makeLinuxDocFile, makeDocBookFile):
188 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
189 * output_linuxdoc.C (linuxdocParagraphs):
190 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
191 add buffer as argument.
193 2004-10-24 José Matos <jamatos@lyx.org>
195 * output_docbook.C (makeEnvironment, searchEnvironment): place
196 CDATA inside paragraphs and fix scope for listitems.
198 2004-10-24 José Matos <jamatos@lyx.org>
200 * output_docbook.C: remove using statement for stack.
202 2004-10-23 José Matos <jamatos@lyx.org>
204 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
205 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
206 docbook. The new scheme is recursive and makes use of iterators, the
207 same as latex export works.
208 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
209 directly with the paragraph contents. This code was moved up to
210 output_docbook.C (docbookParagraphs).
211 * sgml.C (openTag, closeTag): removed unneeded newlines.
212 (closeEnvTags) removed.
214 2004-10-23 André Pönitz <poenitz@gmx.net>
216 * undo.C (textUndoOrRedo):
217 * dociterator.C (asDocIterator): work around crash
219 * cursor.C (getStatus): replace ASSERT by more verbose error message
220 and manual correction of the problem. Should increase stability
221 while providing more sensible information.
223 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
225 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
227 * bufferlist.C (previous, next): new methods
230 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
232 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
234 * buffer.C (makeDocBookFile): add dsssl stylesheet control
235 entities to preamble.
237 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
239 * messages.C (Pimpl): strip off translation context information
241 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
243 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
244 the cursor is correct (bug 1694)
246 2004-10-13 José Matos <jamatos@lyx.org>
248 * output_docbook.C (docbookParagraphs): fix closing tags in the
251 2004-10-09 José Matos <jamatos@lyx.org>
253 * buffer.C: format up to 237.
254 * bufferparams.C (write): use tostr to convert booleans to strings.
256 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
258 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
260 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
262 * LaTeX.C: implement use of babel language in xindy.
264 2004-10-05 José Matos <jamatos@lyx.org>
266 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
267 Add new translators to help reading and writing the lyx file.
269 2004-10-05 José Matos <jamatos@lyx.org>
271 * ParagraphParameters.C (read):
272 * text.C (readParToken): replace nexToken by more appropriate lex
275 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
277 * LaTeX.C (runMakeIndex):
278 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
279 (usually 'makeindex') configurable.
281 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
282 with a variable rather than with a number.
284 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * output_latex.C (TeXOnePar): make sure font setting is the first
287 thing that gets output (and the last at the end). Should fix bug
290 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
292 * pch.h: use proper signal include
294 * LaTeX.h: Use preferred calling of Boost.Signal
297 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
299 * pch.h: dont include <boost/function/function0.hpp>
301 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
303 * paragraph_pimpl.h: remove usage of ShareContainer
305 * paragraph_pimpl.C: remove initialization of ShareContainer.
307 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
311 * BufferView.C (putSelectionAt): change the semantics when
312 backwards == true: now, this just swaps cursor and anchor wrt the
315 * BufferView.h (putSelectionAt): add some documentation
317 * lyxfind.C (findBackwards): rewrite using while(). In particular,
318 make sure backwardChar is done at least once (to avoid getting
320 (findNextChange): use putSelectionAt in the forward direction
321 (operator()): use Paragraph::isWord
323 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
325 * Spacing.C (set): c_str fix
327 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * lyx_cb.C (Reconfigure): quote the name of configure script in
330 case it contains spaces
332 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
336 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
337 (BOOST_LIBS): use top_buildir when looking for the file
339 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
341 * pch.h: do not use include boost/format.hpp, multiple symbols
342 will result (gcc bug)
345 2004-08-23 José Matos <jamatos@lyx.org>
347 * bufferparams.C (readToken): fix reading of the author field.
349 2004-08-20 José Matos <jamatos@lyx.org>
351 * lyxrc.C: remove support/translator.h inclusion since it is not used.
353 2004-08-20 José Matos <jamatos@lyx.org>
355 * lyxlex.[Ch] (findToken): remove function.
357 * ParagraphParameters.C (findToken):
358 * bufferparams.C (findToken): replace call for previous function
359 with local copy. This local function has one more argument, the
360 read string argument.
362 2004-08-16 José Matos <jamatos@lyx.org>
364 * ParagraphParameters.C (write):
365 * Spacing.C (writeFile):
366 * bufferparams.C (writeLaTeX):
367 * lyx_cb.C (Reconfigure):
368 * paragraph.C (write):
369 * tabular.C (write): remove unnecessary space at end of line.
372 2004-08-16 José Matos <jamatos@lyx.org>
374 * text.C (readParagraph): remove debug message.
376 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
378 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
381 * output_plaintext.C (asciiParagraph): set depth correctly
383 * outputparams.h: add member depth
385 * paragraph_funcs.C (ownerPar): remove.
387 * text2.C (setCounter): remove first_pit; comment out some
388 non-working code that uses ownerPar
390 * BufferView.C (getParentLanguage): remove. Not used anymore, and
393 2004-08-16 José Matos <jamatos@lyx.org>
395 * text.C (readParToken, readParagraph, read): report all unknown tokens.
396 For the same level of importance use the same chanel to report problems.
397 (read): add code to deal with \begin_body and \end_body.
400 2004-08-15 José Matos <jamatos@lyx.org>
402 * lyxlex.C (getString): fix comment, buffer::readBody is now
405 * tex-strings.C (string_papersize): Default -> default,
406 Custom -> custom, for consistency with other options.
408 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
412 * Makefile.am: support pch
414 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
416 * text.C (readParToken): remove the static LyXFont variable and
417 pass it as a parameter instead. This fixes a nasty bug where an
418 inset will be inserted with a bad font in some situations
419 (readParagraph): adapt
421 * text2.C (setCounter): reduce number of calls to pars_[pit]
423 * text.C (singleWidth): add an assert, fix a test
425 * rowpainter.C (paintText): reduce number of calls to singleWidth
427 * paragraph.C (isHfill):
430 2004-08-14 André Pönitz <poenitz@gmx.net>
435 * lyxtext.h (several functions): use a Paragraph & argument
438 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
440 * metricsinfo.h: add a new field ltr_pos to PainterInfo
442 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
444 * text.C (singleWidth): remove useless test
446 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
448 * tabular.h: remove bogus comments
450 * tabular.C (getDescentOfRow):
451 (isPartOfMultiColumn): add assertions
453 * lyxlength.C (inPixels): remove #warning
455 2004-08-14 André Pönitz <poenitz@gmx.net>
457 * paragraph.h: inline getChar()
459 * BufferView.h: remove unused declarations
461 2004-08-14 José Matos <jamatos@lyx.org>
463 * Buffer.[Ch] (readDocument): new name for old readBody.
464 * Buffer.C: new file format, new keywords: \begin_document,
465 \begin_header, \begin_body, \end_body.
467 * bufferparams.C (readToken): replace all calls to lex.nextToken
468 by lex.next(). Do the same to eatLine except where really needed.
470 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
471 line when writing to the lyx file.
473 * output_plaintext.C (asciiParagraph): fix Bibliography style
476 * text.C (read): fix end of file handling.
478 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * MenuBackend.C (Menu::operator[]): new method to access
481 individual menu items
482 (Menu::hasFunc): new method. search for an item that corresponds
484 (MenuBackend::specialMenu): new method
485 (MenuBackend::expand): if a special menu has been set, skip
486 entries whose func() appears in this menu
488 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
490 * text3.C: use Debug::DEBUG a bit more
492 * text.C (leftMargin): try to simplify a tiny bit change var x to
493 l_margin. Dont output the wide margins always.
494 (rightMargin): no margin in inner texts
496 * rowpainter.h (nestMargin): new func
497 (changebarMargin): new func
498 (rightMargin): new func
500 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
504 * factory.C (createInset): modify setDrawFrame
506 * cursor.C: use Debug::DEBUG a bit more
508 2004-08-14 André Pönitz <poenitz@gmx.net>
511 * Makefile.am: new files to accomodate an 'external' (x,y)-position
512 cache for all insets in (at least partially) visible (top-level)
515 * BufferView_pimpl.C: reset external coord cache before every update.
516 This means the coord cache only contains valid entries.
518 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
521 * BufferView_pimpl.C (getInsetByCode): move function out of class
522 and change in to a template in anon namespace. Also fix to do what
525 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
528 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
530 (breakParagraph): rename par to par_offset and use a local
531 reference. Add code to keep the language over a rebreak.
532 (breakParagraphConservative): rename par to par_offset, use a
534 (mergeParagraph): ditto
536 (isFirstInSequence): ditto
537 (outerFont): rename pit to par_offset
539 * paragraph.C: ws change
544 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
546 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
549 * paragraph.C (simpleTeXOnePar): when we have a \item with
550 optional argument, enclose the argument with curly brackets (in
551 case it contains a closing square bracket)
555 * text3.C (checkInsetHit): constify
557 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
559 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
562 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
564 Fix toggling of collapsable insets with the mouse (bug 1558)
566 * lyxfunc.C (dispatch): adapt to LCursor changes
568 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
569 make sure that dispatch is not invoked twice
571 * cursor.C (needsUpdate): new method
572 (dispatch): return void
573 (result): new method, to access the DispatchResult of the cursor.
575 2004-08-13 José Matos <jamatos@lyx.org>
577 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
579 2004-08-13 André Pönitz <poenitz@gmx.net>
581 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
583 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
586 2004-08-12 André Pönitz <poenitz@gmx.net>
588 * text3.C: take out the 'cursor right' form insertInset and only
589 do it in those places when it is really needed. Fixes crash on
592 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
594 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
596 * BufferView_pimpl.C (setBuffer): initialize the current font of
597 the underlying LyXText
599 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
601 * kbsequence.C (print): use UI native formatting for menu
604 * text.C (insertChar): call Paragraph::insertChar with a font
607 * paragraph.C (insertInset, insertChar): the version that takes a
608 LyXFont argument is now a wrapper around the other one (the
609 opposite used to be true).
611 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
612 argument. Font setting is done in Paragraph now.
614 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
616 * outputparams.h: add new members intitle and lang.
618 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
619 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
621 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
623 * text3.C (dispatch): remove special handling of button 4 and 5,
624 it is now taken care of in the frontend code.
626 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
628 * Spacing.h: add <string> (STLPort compile fix)
630 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
632 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
634 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
636 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
639 * converter.C (showMessage): inherit from unary_function, make
642 * buffer.C (writeFile): initialize retval
644 * InsetList.h: rename private variable list to list_
645 * InsetList.[Ch]: adjust accordingly.
647 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
649 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
650 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
651 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
652 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
653 * ParagraphParameters.C, LaTeXFeatures.C: replace
654 "support/std_sstream.h" with <sstream>
656 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
658 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
659 * lyxsocket.C (LyXServerSocket): ditto
660 (serverCallback): ditto
662 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
664 * LaTeXFeatures.C: check release date when loading jurabib.
666 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
668 * lyxserver.C (startPipe): call register_socket_callback
669 (endPipe): call unregister_socket_callback
671 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
673 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
674 (LyXServerSocket): register the callback
675 (LyXServerSocket): unregister the callback
676 (fd): delete function
677 (serverCallback): improve error checking and setup the callbacks.
678 (dataCallback): change arg to fd.
679 (writeln): new func (copied fro the client socket) used for server
681 (LyXDataSocket): simplify
682 (~LyXDataSocket): close ann unregiser callback
683 (server): delete function
684 (fd): delete function
685 (readln): small changes, improve some std::string usage
686 (writeln): constify a bit
688 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
690 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
693 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
695 * BufferView_pimpl.C (setBuffer): set the layout combox value only
696 after it has been populated
698 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
700 * text2.C (insertInset): move cursor when inserting inset.
702 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
704 * kbmap.C (findbindings): a couple of new methods. returns a
705 container of kb_sequence objects. The real work is done by the
706 private recursive version
707 (printbindings): uses findbindings to print out a bracketed list
708 of bindings (renamed from findbinding).
710 * MenuBackend.C (binding): use kb_keymap::findbindings
712 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
714 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
716 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
718 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
720 * paragraph.C (isWord): return true on insets that report
723 * text.C (getWord): use Paragraph::isWord to decide what is in a
724 word and what is not; fix bug 1609.
726 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
728 * tex-strings.C: add "none" to string_paperpackages[], fixes
729 off-by-one-error in the paperpackage selection.
732 * tex-strings.[Ch]: char const * string[n]
733 -> char const * const string[]
735 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
737 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
738 command, return early.
740 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
742 * debug.h: add DEBUG to enum and fix size of ANY.
744 * debug.C: add support for Debug::DEBUG
745 (showTags): cast errorTags.level to unsigned int
747 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
748 (redoCurrentBuffer): ditto
749 (updateScrollbar): ditto
750 * cursor.C (dispatch): ditto
751 * text2.C (setLayout): ditto
753 (updateCounters): ditto
755 (deleteEmptyParagraphMechanism): ditto
757 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
759 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
760 annotations to cleanup the Makefile slightly.
762 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
764 * lyxrc.C: do not set user_email to a default value but use empty
765 instead. The entry used to be translated, which does not work
766 since at the point where lyxrc is constructed there is no
767 translation service available
769 * messages.C (getLocaleDir): remove and use directly
770 lyx_localedir() instead
772 2004-06-02 Angus Leeming <leeming@lyx.org>
774 Fix crash caused by dereferencing null pointer 'exportdata' in
775 OutputParams by creating a new ExportData variable on the heap,
776 storing it in a boost::shared_ptr.
777 The crash was triggered when generating an Instant Preview
778 of an external inset.
780 * Makefile.am: add outputparams.C
782 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
783 (c-tor): allocate memory to it.
785 * exporter.C (c-tor): associated changes.
787 2004-06-01 Angus Leeming <leeming@lyx.org>
789 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
790 contains data before calling isInset(0). (Bug 1513.)
792 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
794 * exporter.C (checkOverwrite): new method
795 * exporter.C (copyFile): new method
796 * exporter.C (Export): copy referenced files to the document dir
797 * exporter.[Ch]: new class ExportedFile
798 * exporter.[Ch]: new class ExportData. Contains currently the
799 names of referenced external files
800 * outputparams.h: add exportdata member.
802 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
804 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
807 2004-05-19 Angus Leeming <leeming@lyx.org>
812 * lyxfunc.C: small changes due to the introduction of namespace
813 lyx::frontend and the moving of namespace biblio to lyx::biblio.
815 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
817 * text3.C (dispatch): supress update when only moving the cursor
818 * cursor.C (selHandle): remove commented code
820 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
822 * paragraph.C (startTeXParParams): correct column count
823 * CutAndPaste.C (pasteSelection): remove const_cast
824 * output_docbook.C (docbookParagraphs): remove const_cast
825 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
826 const_cast and return ParagraphList::const_iterator
827 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
828 * output_plaintext.C (writeFileAscii): remove const_cast
829 * paragraph.[Ch] (simpleTeXOnePar): make const
830 * paragraph_funcs.C (outerPar): use const iterators
831 * paragraph_pimpl.C (validate): use const iterators
832 * text.C (setHeightOfRow): use const iterators
834 2004-05-17 Angus Leeming <leeming@lyx.org>
837 * LyXAction.C (init): new LFUN_INSET_REFRESH.
839 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
840 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
841 if the citation engine has changed.
843 2004-05-14 José Matos <jamatos@lyx.org>
845 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
846 if the textclass does not provide it. Have it different for sgml and
848 support the language of document.
849 * output_docbook.C (docbookParagraphs):
850 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
851 first anchor as the id of the paragraph, remove special case code.
852 * sgml.C (escapeChar): escape only < & >.
854 2004-05-14 Angus Leeming <leeming@lyx.org>
856 * bufferparams.h: move biblio::CiteEngine enum here to minimize
857 dependencies on src/frontends/controllers/biblio.h. Define a
858 CiteEngine_enum wrapper class to enable the enum to be forward
861 2004-05-12 Angus Leeming <leeming@lyx.org>
863 * buffer.C: up LYX_FORMAT to 234.
864 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
865 use_numerical_citations with a single biblio::CiteEngine cite_engine
867 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
869 2004-05-13 José Matos <jamatos@lyx.org>
872 * converter.C (Converter, readFlags): add xml member.
873 * outputparams.h: add XML flavor.
874 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
876 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
878 * lyxfunc.C (dispatch):
879 (getStatus): fix handling of LFUN_SEQUENCE
881 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
883 * debug.C (showLevel): do not forget the end-of-line marker
885 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
887 * kbmap.C (read): do not stop parsing a bind file when an error
890 2004-04-29 Angus Leeming <leeming@lyx.org>
895 * text2.C: wrap a bunch of #warning statements
896 inside #ifdef WITH_WARNINGS blocks.
898 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
900 * buffer.C: increment format to 233.
902 2004-04-28 Angus Leeming <leeming@lyx.org>
904 * BufferView_pimpl.C:
907 s/updateToolbar()/updateToolbars()/
908 s/Toolbar.h/Toolbars.h/
910 2004-04-28 Angus Leeming <leeming@lyx.org>
912 * BufferView.[Ch] (c-tor):
913 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
914 No longer passes these data to the WorkArea generator.
916 2004-04-28 Angus Leeming <leeming@lyx.org>
918 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
920 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
922 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
924 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
926 * output_latex.C (TeXEnvironment): make sure that there is a line
927 break before \end{foo} for the last paragraph of a document
928 (TeXOnePar): if the paragraph is at the end of the document (or
929 inset) and the language has to be reset, then make sure that the
930 line break is _before_ the language command, not after (fixes bug
931 1225); also make sure that the language reset command is the first
932 thing after the paragraph (to ensure proper nesting of
933 environments and thus fix bug 1404)
935 2004-04-21 John Levon <levon@movementarian.org>
938 * ToolbarBackend.C: make "name" be a programmatic name
939 and a gui_name field.
941 * lyxfunc.C: display the minibuffer on M-x
943 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
945 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
948 2004-04-19 Angus Leeming <leeming@lyx.org>
950 * BufferView_pimpl.C (setBuffer): changed preview interface.
952 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
955 2004-04-19 John Levon <levon@movementarian.org>
957 * BufferView_pimpl.C:
958 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
960 2004-04-05 Angus Leeming <leeming@lyx.org>
962 * text.C (redoParagraphs): add call to updateCounters(), thereby
963 fixing the missing "Figure #:" label from the caption of a
966 2004-04-13 Angus Leeming <leeming@lyx.org>
968 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
969 cursor is clicked out of an inset.
971 2004-04-13 Angus Leeming <leeming@lyx.org>
973 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
974 than an InsetOld one.
976 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
978 * format.[Ch]: add editor to Format
979 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
980 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
982 2004-04-08 André Pönitz <poenitz@gmx.net>
984 * metricsinfo.h: remove PainterInfo::width member
986 2004-04-08 Angus Leeming <leeming@lyx.org>
988 * lyx_sty.C (boldsymbol_def): modify so that it outputs
989 "\providecommand" rather than "\newcommand", thereby preventing
990 clashes with packages that define "\boldsymbol" themselves.
993 2004-04-08 Angus Leeming <leeming@lyx.org>
995 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
996 thereby squashing an unnecessary warning.
998 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1000 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1003 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1005 * BufferView.C (setCursor): call redoParagraph (some insets could
1007 (putSelectionAt): remove the 'double update' trick
1009 * BufferView_pimpl.C (fitCursor): call refreshPar
1010 (workAreaDispatch): remove an uneeded update call
1011 (dispatch): remove some manual update calls
1013 * cursor.[Ch]: remove cached_y_, updatePos
1014 (selHandle): set noUpdate when appropriate
1016 * lyxfunc.C (dispatch): track if we need an update
1018 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1020 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1021 (paintSelection): cheap optimization, do not call cursorX when not
1023 (paintPars): change signature
1026 (paintTextInset): adjust
1030 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1032 * lengthcommon.C: compilation fix: remove explicit array size from
1033 unit_name[] and friends
1035 2004-04-05 Angus Leeming <leeming@lyx.org>
1037 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1039 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1040 present only for the preferences dialog.
1041 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1043 2004-04-05 Angus Leeming <leeming@lyx.org>
1045 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1046 to enable the frontends to export changes to lyxrc correctly.
1048 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1050 2004-04-07 André Pönitz <poenitz@gmx.net>
1052 * cursor.[Ch] (selClear, adjust): remove math
1054 * cursor_slice.C: more agressive assert
1057 * BufferView_pimpl.C: rework mouse event dispatch
1064 2004-04-05 André Pönitz <poenitz@gmx.net>
1066 * cursor.[Ch] (valign, halign...): remove unneeded functions
1068 2004-04-05 Angus Leeming <leeming@lyx.org>
1070 * lyxlength.[Ch] (unit_name et al.): const-correct.
1072 2004-04-05 Angus Leeming <leeming@lyx.org>
1074 * BufferView_pimpl.C:
1083 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1085 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1087 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1089 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1091 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1092 * BufferView_pimpl.[Ch] (getStatus)
1093 * BufferView.[Ch] (getStatus): add
1094 * lyxfunc.C (getStatus): move lfuns handled in
1095 BufferView::dispatch to te function above
1096 * Cursor.C (setSelection): set selection() = true
1098 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1100 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1102 2004-03-31 Angus Leeming <leeming@lyx.org>
1104 * lyxfunc.C (dispatch): Fall through to the generic
1105 Dialogs::show("preamble").
1107 2004-03-31 Angus Leeming <leeming@lyx.org>
1109 * lyxfunc.C (dispatch): Fall through to the generic
1110 Dialogs::show("spellchecker").
1112 2004-03-31 Angus Leeming <leeming@lyx.org>
1114 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1117 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1122 * insetiterator.[Ch]:
1127 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1129 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1131 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1132 insets where we are putting the cursor.
1134 2004-03-31 Angus Leeming <leeming@lyx.org>
1137 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1139 * lyxrc.[Ch] (read, write): overloaded member functions taking
1140 a std::[io]stream arguments.
1142 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1144 2004-03-31 Angus Leeming <leeming@lyx.org>
1146 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1147 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1149 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1150 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1152 2004-03-31 Angus Leeming <leeming@lyx.org>
1154 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1155 the LFUN_ALL_INSETS_TOGGLE code.
1157 2004-03-30 Angus Leeming <leeming@lyx.org>
1159 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1160 has died. Fall through to the generic Dialogs::show("document").
1162 2004-03-30 Angus Leeming <leeming@lyx.org>
1165 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1166 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1168 * lyxfunc.C (getStatus, dispatch): define the actions for these
1169 lfuns. Little more than a cut and pste job from ControlDocument.C
1171 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1173 2004-03-30 Angus Leeming <leeming@lyx.org>
1176 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1177 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1179 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1180 open/closed state of ollapsable insets. Usage:
1182 all-inset-toggle <state> <name>, where
1183 <state> == "open" || "closed" || "toggle" and
1184 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1186 * lyxtext.h, text2.C (toggleInset): removed.
1188 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1189 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1190 now passes LFUN_INSET_TOGGLE to the found inset.
1192 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1193 is now invoked as "all-insets-toggle toggle branch".
1195 2004-03-30 Angus Leeming <leeming@lyx.org>
1199 * pariterator.[Ch]: added/corrected header blurb.
1201 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1203 * dociterator.[Ch]: add an inset_ member
1204 (backwardPos): implemented
1205 (backwardPos, forwardPos): use inset_ when the stack is empty.
1206 (doc_iterator_begin, doc_iterator_end): implemented
1207 * pariterator.[Ch]: adjust, add begin, end
1208 * insetiterator.[Ch]: adjust, add begin, end
1212 * BufferView_pimpl.C:
1213 * CutAndPaste.C: adjust
1215 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1217 * buffer.C: increment file format to 232.
1218 * LaTeXFeatures.C: add bibtopic package.
1219 * bufferparams.[Ch]: param \use_bibtopic.
1221 * lyxrc.[Ch]: add lyxrc bibtex_command
1222 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1224 * buffer.C: increment file format to 231.
1226 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1228 * dociterator.C: implement forwardPar
1229 * iterators.[Ch]: remove, replaced by
1230 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1232 * BufferView_pimpl.C:
1235 * bufferview_funcs.C:
1241 * Makefile.am: adjust
1243 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1245 * CutAndPaste.C (pasteSelection): fix 2 crashes
1246 (eraseSelection): fix a crash
1247 * paragraph_funcs.C: remove a warning
1249 2004-03-28 Angus Leeming <leeming@lyx.org>
1252 * LyXAction.C (init): new LFUN_PRINT.
1254 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1256 2004-03-27 Angus Leeming <leeming@lyx.org>
1259 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1261 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1263 2004-03-27 Angus Leeming <leeming@lyx.org>
1265 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1266 insetlist always contains non-null pointers to insets.
1268 2004-03-26 Angus Leeming <leeming@lyx.org>
1270 * src/BufferView_pimpl.C:
1271 * src/CutAndPaste.C:
1274 * src/output_plaintext.C:
1275 * src/outputparams.h:
1276 * src/paragraph_funcs.C:
1280 * src/frontends/controllers/ControlErrorList.C:
1281 * src/frontends/gtk/FileDialogPrivate.C:
1282 * src/frontends/gtk/GPainter.C:
1283 * src/frontends/gtk/GToolbar.C:
1284 * src/frontends/qt2/QRef.C:
1285 * src/mathed/math_scriptinset.C: squash compiler warnings.
1287 2004-03-26 Angus Leeming <leeming@lyx.org>
1289 * ispell.C (LaunchIspell::start):
1290 * lyx_cb.C (AutoSaveBuffer::start):
1291 invoke run(DontWait) rather than runNonBlocking().
1293 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1295 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1297 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1299 * kbsequence.C (print): adjust
1301 * kbmap.C (printKeySym): rename and change signature
1302 (printKey): use LyXKeySym::print()
1304 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1306 * undo.C: add using std::advance to compile for stlport
1308 2004-03-24 Angus Leeming <leeming@lyx.org>
1310 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1311 it leads to a crash when no buffer is present.
1313 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1314 Martin Vermeer <martin.vermeer@hut.fi>
1316 * lyxfunc.C (dispatch):
1317 * bufferparams.C (readToken): use the new LColor::setColor
1319 * LColor.[Ch] (setColor): new version that takes two strings as
1320 argument and creates a new color entry if necessary
1322 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1324 * buffer.C (makeLaTeXFile): if the main latex file that is
1325 processed is usually a subdocument of some master, then pretend
1326 for a while that it is actually the master
1328 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1330 * buffer.C (getLabelList):
1331 (getBibkeyList): use getMasterBuffer()
1332 (getMasterBuffer): new method. Returns the main document in the
1333 case where one is using included documents.
1335 2004-03-25 André Pönitz <poenitz@gmx.net>
1339 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1341 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1343 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1344 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1346 * ParameterStruct.h: merge with ParagraphParameters
1348 * lyxtext.h: remove LyXText::parOffset() and getPar()
1350 * text3.C: Remove all 'manual' update calls. We do now one per user
1351 interaction which is completely sufficient.
1355 * BufferView_pimpl.C:
1356 * FontIterator.[Ch]:
1358 * ParagraphParameters.[Ch]:
1363 * cursor_slice.[Ch]:
1370 * output_docbook.[Ch]:
1371 * output_latex.[Ch]:
1372 * output_linuxdoc.[Ch]:
1373 * output_plaintext.[Ch]:
1375 * paragraph_funcs.[Ch]:
1376 * paragraph_pimpl.[Ch]:
1384 * frontends/controllers/ControlDocument.C:
1385 * frontends/controllers/ControlErrorList.C:
1386 * frontends/controllers/ControlSpellchecker.C:
1389 * insets/insetbase.h:
1390 * insets/insetbibitem.C:
1391 * insets/insetbox.C:
1392 * insets/insetbranch.C:
1393 * insets/insetcaption.C:
1394 * insets/insetcharstyle.C:
1395 * insets/insetcharstyle.h:
1396 * insets/insetcollapsable.C:
1397 * insets/insetcollapsable.h:
1398 * insets/insetert.C:
1399 * insets/insetfloat.C:
1400 * insets/insetfoot.C:
1401 * insets/insetmarginal.C:
1402 * insets/insetnote.C:
1403 * insets/insetoptarg.C:
1404 * insets/insettabular.C:
1405 * insets/insettext.C:
1406 * insets/insettext.h:
1407 * insets/insetwrap.C:
1408 * mathed/math_mboxinset.C:
1409 * mathed/math_nestinset.C:
1410 * mathed/math_scriptinset.C:
1411 * mathed/math_scriptinset.h:
1414 2004-03-24 Angus Leeming <leeming@lyx.org>
1416 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1417 deal with any child processes that have finished but are waiting to
1418 communicate this fact to the rest of LyX.
1420 2004-03-24 Angus Leeming <leeming@lyx.org>
1422 64-bit compile fixes.
1424 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1425 (c-tor): pass lyx::pos_types rather than ints.
1427 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1430 * text.C (Delete): compile fix.
1431 (getPar): ensure that function declaration is the same as that in
1434 2004-03-23 Angus Leeming <leeming@lyx.org>
1436 * ispell.C (LaunchIspell):
1437 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1438 a boost::shred_ptr rather than a std::auto_ptr.
1440 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1442 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1443 handle LFUN_FILE_INSERT_*
1445 * lyxrc.C (setDefaults, getDescription, output, read):
1446 * lyxrc.h: remove ps_command
1448 2004-03-22 Angus Leeming <leeming@lyx.org>
1450 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1451 Ensure that error_handler is processed once only and that all data
1452 is saved before attempting to output any warning messages.
1454 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1456 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1458 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1460 2004-03-19 André Pönitz <poenitz@gmx.net>
1462 * cursor.[Ch] (reset): take main text inset as argument
1464 * BufferView: adjust
1465 * BufferView_pimpl.C: adjust
1467 * paragraph.[Ch]: fix completely broken operator=()
1469 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1471 * LColor.C (getFromLyXName): make sure that the color name is used
1474 2004-03-17 Angus Leeming <leeming@lyx.org>
1477 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1479 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1480 dialog and to kill a forked process.
1482 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1484 * text2.C (setCursorFromCoordinates): fix font problem
1486 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1488 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1489 bogus "rebuild cursor" code
1491 2004-03-11 André Pönitz <poenitz@gmx.net>
1493 * buffer.[Ch]: use InsetText instead of LyXText as container for
1496 * dociterator.[Ch]: drop the BufferView * member which is not needed
1497 anymore after the change to buffer.C
1499 * paragraph_funcs.C:
1503 * BufferView_pimpl.[Ch]:
1505 * cursor_slice.[Ch]: adjust
1507 * text3.C: fix bug in mathDispatch
1509 2004-03-08 André Pönitz <poenitz@gmx.net>
1511 * undo.[Ch]: use 'StableDocumentIterator' as base for
1514 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1517 * bufferparams.[Ch]: add jurabib support and param.
1519 * LaTeX.C: add FIXME/comment.
1521 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1523 * buffer.C: increment file format to 230.
1525 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1527 * cursor.C (dispatch): avoid infinite loops
1529 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1531 * rowpainter.C (paintSelection): fix x coordinates
1533 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1535 * text.C (rowBreakPoint): fix breaking before displayed insets
1537 2004-03-01 André Pönitz <poenitz@gmx.net>
1539 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1541 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1545 * BufferView_pimpl.C:
1553 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1559 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1560 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1562 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1564 * Bidi.[Ch] (computeTables): const correctness
1565 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1566 fill_hfill, fill_label_hfill and x from Row
1567 * lyxtext.h: prepareToPrint returns a RowMetrics
1568 * rowPainter.C: adjust
1569 * text.C (prepareToPrint): use width, not textWidth. adjust
1570 (redoParagraphInternal, cursorX): adjust
1571 * text2.C (getColumnNearX): adjust
1572 (init): put a default value to the top LyXText::width
1574 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1576 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1578 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1580 * lyxtext.h: add FontIterator class
1582 * text.C (FontIterator, operator*, operator->, operator++): add
1583 (rowBreakPoint, setRowWidth): adjust (fixing a
1586 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1588 * BufferView_pimpl.C (workAreaDispatch): allow also
1589 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1591 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1593 * text.C (rowBreakPoint): fix a bug showing with very large insets
1595 2004-02-25 André Pönitz <poenitz@gmx.net>
1598 * cursor.[Ch]: move some mathed specific code to mathed
1600 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1602 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1603 use_tempdir in preferences
1604 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1606 * lyx_main.C: ensure that tempdir is valid
1607 * lyxlex.h: correct typo
1608 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1609 * paragraph.[Ch] (isMultiLingual): make const
1610 * cursor.[Ch] (openable): make const
1612 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1614 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1616 2004-02-20 André Pönitz <poenitz@gmx.net>
1618 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1620 * cursor.[Ch]: prepare for localized getStatus()
1626 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1628 2004-02-20 André Pönitz <poenitz@gmx.net>
1630 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1632 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1634 * text2.C (setCursorFromCoordinates): switch to absolute coords
1636 (cursorDown): adjust
1637 * text3.C (dispatch): adjust
1639 2004-02-16 André Pönitz <poenitz@gmx.net>
1641 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1644 * cursor_slice.[Ch]: remove unneeded acessor function
1646 * lyxtext.h: rename rtl() to isRTL()
1654 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1656 * rowpainter.C (paintSelection): coord fix
1658 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1660 * Spacing.C: compile fix
1662 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1664 * cursor.C (dispatch): restore current_ before returning
1666 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1668 * text2.C (cursorUp, cursorDown): fix coords
1671 2004-02-12 André Pönitz <poenitz@gmx.net>
1676 * text3.C: add LCursor & parameter to most cursor movement functions
1677 remove usage of LyXText::cursorRow() and cursorPar()
1679 * cursor.[Ch]: add textRow() needed members
1682 * BufferView_pimpl.C:
1685 * BufferView_pimpl.C: adjust
1687 2004-02-11 André Pönitz <poenitz@gmx.net>
1691 * BufferView_pimpl.C: shift undo/redo handling
1693 * cursor.[Ch]: fix mathed crash
1696 * lyxtext.h: move selectionAsText to LCursor
1704 * rowpainter.C: fix excessive drawing
1706 2004-02-06 André Pönitz <poenitz@gmx.net>
1709 * BufferView_pimpl.[Ch]:
1710 * text3.C: move some text specific LFUN handling
1712 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1714 * text3.C (checkInsetHit): adjust coords
1715 * text2.C (getColumnNearX): adjust coords
1716 (edit): adjust coords
1717 * text.C (getRowNearY): add two asserts
1719 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1722 * format.C: add using std::distance to compile on gcc 2.95/stlport
1724 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1726 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1728 2004-02-04 André Pönitz <poenitz@gmx.net>
1730 * BufferView.[Ch] (insertInset):
1731 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1736 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1738 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1739 on the default clause of the switch
1740 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1741 wasn't catched by LCursor::dispatch
1743 2004-02-03 André Pönitz <poenitz@gmx.net>
1746 * cursor.[Ch]: some additional asserts
1748 * undo.[Ch]: remove LyXText dependency in interface
1752 * lyxtext.h (firstPar, lastPar): remove dead functions
1757 * paragraph.[Ch]: adjust
1759 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1761 * lyxfind.C (find): fix argument order in call to ::find
1763 2004-02-02 André Pönitz <poenitz@gmx.net>
1765 * cursor.[Ch]: remove direct access to anchor
1767 * text.C: remove findText() hack
1769 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1771 * iterators.[Ch] (lockPath): remove in favour of...
1772 * BufferView.[Ch] (setCursor): this addition
1773 * BufferView.C (putSelectionAt): adjust
1774 * undo.C (performUndoOrRedo): adjust
1775 * lyxfunc.C (dispatch): adjust
1777 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1779 * iterators.C (lockPath): add a missing slice
1780 * undo.C (performUndoOrRedo): remove redundant positioning code
1782 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1784 * vc-backend.C (scanMaster): ";" -> ';'
1786 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1788 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1789 std::binary_function
1791 * lyxtextclass.C (compare_name): rename to...
1792 (LayoutNamesEqual): ...this
1794 * lyxlex_pimpl.C (compare_tags): inherit from
1795 std::binary_function, put back into anon namespace
1797 * lyxfind.C (MatchString): inherig from std::binary_function
1798 (findChange): use empty() istead of !size()
1800 * format.C (FormatNamesEqual): new functor
1807 * converter.C (compare_Converter): rename to...
1808 (ConverterEqual): ...this, and fixup a bit.
1809 (getConverter): use it, and make function const
1810 (getNumber): use it, and make function const
1814 * bufferlist.C: add using boost::bind
1816 * MenuBackend.C (MenuNamesEqual): new functor
1817 (hasMenu): use it, and make function const
1818 (hasSubmenu): use nested bind to get rid of compare_memfun.
1820 2004-01-30 André Pönitz <poenitz@gmx.net>
1822 * BufferView_pimpl.C:
1825 * cursor_slice.[Ch]:
1828 * paragraph_funcs.C:
1829 * paragraph_funcs.h:
1833 * text3.C: move some of the edit(x,y) handling to the insets
1834 some coordinate changes.
1836 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1838 * text.C: add using statements for std::advance and std::distance
1840 * paragraph.C: add using statement for std::distance
1842 * lyxfind.C: add using statement for std::advance
1844 * cursor.C (region): remove std:: from swap
1845 (openable): use nucleus in stead of operator->
1847 * BufferView.C: add using statements for std::distance and std::swap
1849 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1851 * iterators.C: Remove the pimple, move the needed structures to
1852 the header file. Create accessor for the positions stack.
1853 (asPosIterator): remove function
1855 * PosIterator.C (PosIterator): move constructors to top of file
1856 (PosIterator): reimplement the constructor taking a ParIterator in
1858 (setFrom): new function
1859 (operator!=): inline it
1861 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1863 * lyxfind.C (replaceAll): use std::advance
1865 * iterators.h: inherit from std::iterator.
1867 * PosIterator.C (advance, distance): remove
1868 * PosIterator.h: interit from std::iterator.
1870 2004-01-26 André Pönitz <poenitz@gmx.net>
1873 * BufferView_pimpl.[Ch]:
1877 * bufferview_funcs.C:
1887 * output_linuxdoc.C:
1888 * output_plaintext.C:
1890 * paragraph_funcs.[Ch]:
1891 * paragraph_pimpl.[Ch]:
1897 * text3.C: more IU: dumps most of the rest of the mathcursor
1898 implementation into cursor.[Ch]; "globalize" a bit of it.
1900 2004-01-25 Angus Leeming <leeming@lyx.org>
1902 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1904 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1906 * LaTeXFeatures.h: add nice_ and nice() const
1907 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1909 2004-01-20 André Pönitz <poenitz@gmx.net>
1912 * BufferView_pimpl.C:
1914 * bufferview_funcs.C:
1916 * cursor_slice.[Ch]:
1927 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1928 LCursor and mathcursor parts to LCursor and InsetBase.
1930 2004-01-15 André Pönitz <poenitz@gmx.net>
1932 * cursor_slice.[Ch]: add a few covienience functions
1934 * funcrequest.[Ch]: remove BufferView * member
1936 * BufferView_pimpl.C:
1943 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1945 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1947 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1948 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1950 2004-01-13 André Pönitz <poenitz@gmx.net>
1953 * lyxtext.h: hide cursor and selection anchor behind accessor function
1956 * BufferView_pimpl.[Ch]:
1958 * bufferview_funcs.C:
1968 * cursor_slice.[Ch]: some integer type changes for inset unification
1970 * lyxcursor.[hC]: remove, it's CursorSlice now.
1973 * BufferView_pimpl.[Ch]:
1974 * bufferview_funcs.C:
1980 * textcursor.[Ch]: adjust
1982 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1984 * text2.C (undoSpan): add and use
1985 * text.C (breakParagraph): use undoSpan (fix bug 578)
1988 2004-01-08 Angus Leeming <leeming@lyx.org>
1990 * BufferView_pimpl.C (MenuInsertLyXFile):
1991 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1992 * lyxfunc.C (menuNew, open, doImport):
1993 FileFilterList change to the FileDialog open and save functions.
1995 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1997 * ShareContainer.h: make isEqual and isUnique adaptable
1999 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2001 2004-01-07 Angus Leeming <leeming@lyx.org>
2004 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2006 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2008 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2009 functions replacing find, replace and replaceAll.
2011 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2012 LFUN_WORDFIND(FORWARD|BACKWARD).
2014 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2016 * text.C (breakParagraph): remove an outdated #warning
2018 2004-01-07 André Pönitz <poenitz@gmx.net>
2020 * lyxfind.C: somewhat clearer logic
2022 * text.C: prevent crash in cursorX on unitialized row cache
2024 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2026 * lyxcursor.[Ch] (operator>): add
2027 * textcursor.C (selStart, selEnd): use std::min and std::max
2029 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2031 * Chktex.C: include boost/format.hpp
2033 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2035 * InsetList.C: replace functor MathcIt with adaptable functor
2037 (insetIterator): modify accordingly
2039 * BranchList.h: move the BranchNamesEqual functor here from...
2040 * BranchList.C: ... to here
2042 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2044 (add): replace a finding loop with std::find_if.
2046 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2048 * output_docbook.C: moving LatexParam functionality into
2051 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2053 * buffer.C: increment format to 229.
2055 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2058 * lyx_sty.[Ch]: remove minipageindent_def
2064 * text3.C: remove LFUN_INSET_MINIPAGE
2066 2003-12-28 Angus Leeming <leeming@lyx.org>
2068 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2070 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2072 * text2.C (setParagraph): fix off-by-one crash
2074 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2076 * output_docbook.C: header stuff for AGU
2078 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2080 * text2.C (redoCursor): remove
2083 * BufferView_pimpl.C: remove calls to redoCursor and
2084 setCursor(cursor.par(), cursor.pos()) all around
2086 2003-12-15 Angus Leeming <leeming@lyx.org>
2088 * buffer.C: up the format to 228.
2090 2003-12-15 André Pönitz <poenitz@gmx.net>
2092 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2097 * BufferView_pimpl.C:
2106 2003-12-15 Angus Leeming <leeming@lyx.org>
2108 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2109 than getFromGUIName to manipulate the color.
2111 2003-12-14 Angus Leeming <leeming@lyx.org>
2113 * BranchList.[Ch]: minimize the API.
2114 (Branch::getBranch, getColor): now return a 'const &'.
2115 (Branch::setSelected) now returns a bool set to true if the
2116 selection status changes.
2117 (BranchList::clear, size, getColor, setColor, setSelected,
2118 allBranches, allSelected, separator): removed.
2119 (BranchList::find): new functions, returning the Branch with
2121 (BranchList::add, remove): return a bool indicating that
2122 the operation was successful.
2124 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2125 new InsetBranch::isBranchSlected member function.
2127 * LColor.[Ch]: mimimize the API.
2128 (fill): renamed as addColor and made private.
2129 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2130 versions of these functions taking a string arg have been removed.
2132 * bufferparams.C (readToken):
2133 * lyxfunc.C (dispatch):
2134 * lyxrc.C (read): changes due to the altered BranchList and
2137 * factory.C (createInset, readInset): changes due to altered
2140 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2143 * lyxfunc.C: remove insetminipage. "minipage-insert"
2144 now produces a frameless minipage box inset.
2146 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2148 * textcursor.[Ch] (selStart,selEnd): add new methods
2149 remove selection::start, end, use LyXCursor::operator<
2150 * lyxcursor.[Ch] (operator<): add
2151 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2152 * BufferView.[Ch] (unsetXSel): add
2153 * text2.C (clearSelection): use unsetXSel,adjust
2156 * rowpainter.C: adjust
2157 * bufferview_funcs.C (put_selection_at): adjust
2159 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2161 * BufferView_pimpl.C: small coord. correction
2163 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2165 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2166 dragging over the splash screen.
2168 2003-12-11 Angus Leeming <leeming@lyx.org>
2170 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2171 as it is now handled in LyXText::dispatch.
2173 * text3.C (doInsertInset): remove a level of nesting.
2175 2003-12-11 Angus Leeming <leeming@lyx.org>
2177 * factory.C (createInset): changes due to the changed interface to
2178 InsetCommandMailer::string2params.
2180 2003-12-10 Angus Leeming <leeming@lyx.org>
2182 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2183 'dialog-show-new-inset <inset name>'
2185 2003-12-10 Angus Leeming <leeming@lyx.org>
2187 * buffer.C: up the format to 227.
2189 * factory.C: the box inset is now identified simply by 'Box'.
2191 2003-12-10 Angus Leeming <leeming@lyx.org>
2193 * buffer.C: up the format to 226.
2195 * factory.C: the note inset is now identified simply by 'Note'.
2197 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2199 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2200 when a pit is enough. Standarize a couple of loops.
2202 2003-12-05 Angus Leeming <leeming@lyx.org>
2204 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2205 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2206 data to the re-worked "log" dialog.
2208 2003-12-03 André Pönitz <poenitz@gmx.net>
2214 * paragraph_funcs.C:
2216 * text2.C: use Inset::getText instead of Inset::getParagraph
2218 2003-12-03 André Pönitz <poenitz@gmx.net>
2222 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2223 InsetText::read() as LyXText::read()
2225 2003-12-02 Angus Leeming <leeming@lyx.org>
2227 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2228 type. Add a comment in the implementation that the function uses
2229 the stream's bad() function rather than fail() as the std::streams
2232 2003-12-02 André Pönitz <poenitz@gmx.net>
2234 * lyxlex.[Ch]: make interface more similar to std::stream
2236 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2238 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2240 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2242 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2244 * vspace.[Ch]: remove VSpace::NONE
2246 2003-12-01 André Pönitz <poenitz@gmx.net>
2249 * lyxtext.h: move ParagraphList member to LyXText
2250 rename LyXText::ownerParagraphs to LyXText::paragraph
2253 * bufferview_funcs.C:
2263 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2265 * undo.C: fix cursor positioning
2267 2003-12-01 John Levon <levon@movementarian.org>
2269 * BufferView_pimpl.C: fix a crash on exit with
2272 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2274 * BranchList.C: fix setSelected() method.
2276 2003-11-28 André Pönitz <poenitz@gmx.net>
2278 * ParagraphParameters.[Ch]:
2279 * ParameterStruct.h: remove space above/below from Paragraph to
2282 * BufferView_pimpl.C:
2288 * paragraph_funcs.C:
2294 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2296 * factory.C: Syntax change for CharStyles
2298 2003-11-28 André Pönitz <poenitz@gmx.net>
2303 * buffer.[Ch]: move LyXText member
2305 2003-11-28 André Pönitz <poenitz@gmx.net>
2307 * BufferView.[Ch]: make LyXText * text a private member
2309 * BufferView_pimpl.C:
2320 * output_plaintext.C: cleanup
2322 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2325 * lyxtextclass.[Ch]: parametrize SGML document header
2327 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2330 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2333 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2335 * text2.C (setFont): rework using PosIterator (no more recursive)
2336 (setCharFont): no more needed
2337 (setLayout): no more selection cursors fiddling (done by redoCursor)
2338 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2339 destroy remaining ones)
2341 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2343 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2345 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2348 * text3.C: adjust + re-allow multi par depth changes
2349 * textcursor.C: simplify a bit
2351 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2357 * src/output_docbook.C:
2358 * src/output_latex.C:
2363 * src/text2.C: Introducing a number of tags parametrizing various
2364 XML formats that we may want to support
2366 2003-11-25 André Pönitz <poenitz@gmx.net>
2368 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2370 * lyxtext.h (leftMargin/rightMargin): simplify interface
2377 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2379 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2380 master file to any child files. Fixes bug 546.
2382 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2384 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2386 2003-11-24 André Pönitz <poenitz@gmx.net>
2388 * rowpainter.C: simplification
2390 * text2.C (updateCounters): remove call to redoParagraph on
2391 changed labels as this is far too expensive.
2393 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2395 * converter.C (convert): fix a crash: this function gets
2396 called with buffer == 0 from importer code.
2398 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2400 * text3.C (cursorPrevious): make sure that we do not compare
2401 iterators form different containers.
2404 * rowpainter.C (paintSelection): make sure that we do not compare
2405 iterators from different containers.
2407 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2408 iterators from different ParagraphList containers.
2411 * text2.C (LyXText): change order of initialization slightly
2412 (operator=): new function. copy all variables except cache_par_
2413 (moveUp): make sure that we do not compare iterators from
2414 different ParagraphList constainers.
2417 * text.C (firstPar): new function
2418 (lastPar): new function
2419 (endPar): new function
2421 * lyxtext.h: move things around and group public functions, public
2422 variables, private functions, private variables
2424 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2426 * factory.C: change call to InsetERT constructor to avoid
2427 additional invocation of method status
2428 * text2.C (toggleInset): remove redundant update() call
2429 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2430 instead of a Bufferview pointer
2432 2003-11-21 André Pönitz <poenitz@gmx.net>
2434 * rowpainter.C: simplification
2436 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2438 * text3.C (dispatch): make possible to extend a word/row selection
2441 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2443 * lyxtext.h: x0_,y0_ -> xo_,yo_
2444 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2445 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2446 * rowpainter.C (paintRows): paint full paragraphs
2448 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2450 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2453 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2455 * lyxtext.h: add x0_, y0_
2456 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2457 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2459 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2461 * text2.C (setCursorIntern): move the x_target update here *
2462 * text3.C: change some bv() to true/false in calls to
2463 cursorUp/Down/Right/Left
2464 * cursor.C: use helper function.
2466 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2468 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2469 * paragraph_funcs.[Ch]: correct comment
2470 * rowpainter.C: do not paint selections away from bv->cursor()
2471 Fix a long standing selection painting bug.
2472 * text3.C: generalize mouse-selection code to LyXTexts other that
2474 * textcursor.C: do not use y coords if we can use par offsets
2476 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2478 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2479 cursor position after e.g. inset insert)
2481 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2483 * lyxfind.C (replace): adjust to locking removal + some
2486 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2488 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2491 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2494 * output_docbook.C: XML sanitation: new layout
2495 parameters InnerTag and CommandDepth
2497 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2499 * BufferView_pimpl.C:
2501 * text3.C: Fix the insertion and modification of button-style
2504 2003-11-13 André Pönitz <poenitz@gmx.net>
2506 * InsetList.[Ch]: remove deleteLyXText
2508 * paragraph.[Ch]: cache beginOfBody position
2513 * text3.C: remove superfluous update() calls
2517 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2519 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2520 * BufferView.C (fitLockedInsetCursor): remove
2521 * cursor.[Ch] (getDim): add
2522 * text.C (getRowNearY): add faster version
2523 * text3.C: remove some update calls
2525 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2537 * text3.C: The Character Style /XML short element patch.
2539 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2542 * factory.C: Small step to solving 'unable to insert some insets'
2545 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2547 * cursor.[Ch] (updatePos): new function for updating the y
2548 position of the tip inset
2549 * bufferview_funcs.C (put_selection_at):
2550 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2552 2003-11-11 André Pönitz <poenitz@gmx.net>
2554 * text.C: remove big comment on invalid Paragraph pointers as it is
2557 2003-11-11 André Pönitz <poenitz@gmx.net>
2559 * text_funcs.[Ch]: merge with ...
2567 * Makefile.am: remove text_funcs.[Ch]
2569 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2571 * cursor.C (getPos): return absolute cached y coord
2573 * BufferView_pimpl.C (fitCursor): new simplistic code
2574 (workAreaDispatch): add a fitCursor call
2576 2003-11-10 André Pönitz <poenitz@gmx.net>
2579 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2581 2003-11-10 André Pönitz <poenitz@gmx.net>
2583 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2584 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2585 indicate that the cursor needs to leave an inset
2587 * lyxtext.h: remove inset locking
2589 * cursor.[Ch]: re-implement functionality provided by inset locking
2592 * BufferView_pimpl.[Ch]:
2594 * bufferview_funcs.[Ch]:
2606 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2608 * PosIterator.[Ch]: replace the stack with a vector, add inset
2610 * iterators.[C]: adjust
2612 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2614 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2616 * paragraph_funcs.C (readParToken): put the correct id in the
2617 error item, not the id of the top paragraph
2619 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2621 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2622 * bufferview_funcs.C (put_selection_at): use the above
2624 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2626 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2628 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2630 * output_linuxdoc.h:
2631 * output_plaintext.h:
2633 * output_docbook.h: add #include statements
2635 2003-11-05 José Matos <jamatos@lyx.org>
2637 * output_docbook.[Ch]:
2638 * output_latex.[Ch]:
2639 * output_linuxdoc.[Ch]:
2640 * output_plaintext.[Ch]: New files for output formats.
2641 * output.[Ch]: New file for helper functions.
2644 * paragraph_funcs.[Ch]: output functions moved to new files.
2646 * outputparams.h: rename of latexrunparams.h
2654 * paragraph_funcs.[Ch]:
2655 * paragraph_pimpl.[Ch]:
2656 * tabular.[Ch]: rename ascii to plaintext
2657 and LatexRunParams to OutputParams.
2659 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2661 * iterators.[Ch] (text): require bv argument
2662 * undo.C (recordUndo):
2663 * lyxfunc.C (dispatch):
2664 * bufferview_funcs.C (put_selection_at): adjust
2666 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2668 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2670 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2672 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2675 2003-11-04 André Pönitz <poenitz@gmx.net>
2677 * cursor.[Ch]: restructure
2680 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2682 * iterators.[Ch] (asCursor): remove
2684 * lfuns.h: remove LFUN_INSET_EDIT
2690 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2692 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2694 * lyxfind.[Ch]: complete overhaul
2695 * BufferView_pimpl.C:
2697 * paragraph.[Ch] (insert): add
2699 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2703 * text.C: remove dead spellcheck code
2705 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2707 * dispatchresult.h: add a val setter
2709 * cursor.C (dispatch): use a tempvar for data_[i]
2711 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2713 * PosIterator.[Ch]: compile fix
2715 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2717 * text.C (cursorPar): deactivate the cursor cache
2719 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2721 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2723 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2725 * text3.C (dispatch): adjust for new DisptchResult semantics.
2727 * lyxfunc.C (dispatch): handle update when return from
2728 Cursor::dispatch, adjust for new DispatchResult semantics.
2730 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2731 DispatchResult(true) mean to not update. Add class functions for
2732 setting dispatched and update, as well as reading.
2734 * cursor.C (dispatch): don't handle update here
2736 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2738 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2739 * trans_mgr.C: adjust
2741 * paragraph_funcs.C (readParToken): exception safety
2743 * lyxvc.h: store the vcs pointer in a scoped_ptr
2746 * lyxsocket.C (serverCallback): exception safety
2748 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2750 * ispell.C (clone): make it return a auto_ptr
2752 * factory.C (createInset): exception safety
2753 (readInset): exception safety
2755 * bufferlist.C (newBuffer): exception safety
2757 * Thesaurus.C (Thesaurus): use initialization for aik_
2759 * MenuBackend.C (expandToc): exception safety.
2761 2003-11-03 André Pönitz <poenitz@gmx.net>
2765 * bufferview_funcs.C: remove getInsetFromId()
2768 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2774 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2776 * PosIterator.C (distance, advance): new
2777 * bufferview_funcs.[Ch] (put_selection_at): new
2778 * iterators.[Ch] (lockPath): new
2780 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2782 * iterators.[Ch] (asPosIterator): added
2783 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2784 * PosIterator.[Ch]: added
2786 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2790 * cursor.C (dispatch):
2791 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2793 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2794 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2795 contructor, add a class function dispatched. Remove operator>=
2797 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2799 * debug.C: only use the default constructor for debugstream
2802 * main.C (main): include debug.h and setup the lyxerr streambuf
2805 2003-10-31 José Matos <jamatos@lyx.org>
2807 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2809 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2810 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2811 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2812 * paragraph_pimpl.C (simpleTeXSpecialC):
2813 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2814 add LatexRunParams argument.
2816 * exporter.C (Export): change call accordingly.
2818 * latexrunparams.h: add new member to take care of the other backends.
2819 2003-10-30 José Matos <jamatos@lyx.org>
2821 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2822 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2823 factorise code for paragraph output.
2825 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2828 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2830 * text3.C (dispatch):
2831 * lyxfunc.C (dispatch):
2832 * cursor.C (dispatch):
2833 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2835 * dispatchresult.h: make the dispatch_result_t ctor explicit
2837 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2840 * buffer.C: small refactoring of docbook stuff
2842 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2844 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2847 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2849 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2850 operator dispatch_result_t, and operators for == != and >=
2852 * cursor.C (dispatch): adjust for operator dispatch_result_t
2853 removal. comment out call to update
2855 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2857 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2865 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2868 * dispatchresult.h: new file, DispatchResult broken out of
2871 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2873 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2875 * text.C (rowBreakPoint): put a hack inside #if 0
2877 2003-10-28 André Pönitz <poenitz@gmx.net>
2881 * paragraph_funcs.C:
2884 * text2.C: general cleanup (lots of small stuff)
2886 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2888 * text2.C (cursorEnd): simple fix to the "end key goes to one
2889 before the end on last row" bug
2891 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2893 * text.C (backspace): fix the "zombie characters"
2895 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2897 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2899 2003-10-27 André Pönitz <poenitz@gmx.net>
2901 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2903 * factory.C: handle new InsetPagebreak, InsetLine
2905 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2906 and move handling into new InsetPagebreak, InsetLine
2908 * BufferView_pimpl.C:
2910 * ParagraphParameters.C:
2911 * ParameterStruct.h:
2916 * paragraph_funcs.C:
2917 * paragraph_pimpl.C:
2923 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2926 * lyxrow_funcs.[Ch]:
2932 * text3.C: remove lastPos uses in favour of Row::endpos
2934 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2936 * undo.C (performUndoOrRedo): fix two crashes by setting a
2937 cursor by hand and reordering some calls. Use bv->lockInset instead
2938 of inset->edit because the latter loses cursor information
2940 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2942 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2944 (rowBreakPoint): fix width. change point to point + 1.
2945 Add a missing check.
2947 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2950 * lyxfunc.C: fix (at least partly) the problems
2951 with the Nav menu and headers inside branch insets
2954 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2956 * paragraph.C (getChar): add strong asserts
2958 * lyxrow_funcs.C (lastPos): remove hideous hack
2960 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2961 (fill): adjust to that (avoid an infinite loop)
2963 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2965 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2967 2003-10-23 André Pönitz <poenitz@gmx.net>
2969 * RowList_fwd.h: change list<> to vector<> to gain speed
2970 after suggestion from Alfredo
2972 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2974 * lyxtext.h: move the bidi stuff from here...
2977 * Bidi.[Ch]: ... to here
2979 2003-10-23 André Pönitz <poenitz@gmx.net>
2982 * text.C (isLastRow, isFirstRow): new functions
2984 * paragraph.h: new width cache member
2986 * rowpainter.C: replace RowList::iterator with Row & where possible
2988 * lyxfunc.C: replace several view()->text with a single call
2990 * toc.C: fix 'unused' warning
2992 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2994 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2995 when woring with stream::pos_type
2996 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2998 2003-10-22 André Pönitz <poenitz@gmx.net>
3001 * text.C: use Row & instead of RowList::iterator
3003 * lyxrow.h: rename end() to endpos()
3009 2003-10-22 Angus Leeming <leeming@lyx.org>
3011 * buffer.[Ch] (fully_loaded): new member function, returning true
3012 only when the file has been loaded fully.
3013 Used to prevent the premature generation of previews and by the
3014 citation inset to prevent computation of the natbib-style label.
3016 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3017 templates are all set up.
3019 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3021 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3023 * text.C: fixed an "oops" in the "is a bit silly"
3026 2003-10-21 André Pönitz <poenitz@gmx.net>
3028 * FuncStatus.[Ch]: small stuff, whitespace
3030 * lyxfont.[Ch]: operator<<() for debug reasons
3034 * lyxtext.h: whitespace, spelling
3036 * paragraph.C: naming of variables
3039 * text2.C: small stuff
3042 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3044 * text.C: (1) finish off the inset display() work;
3045 (2) fix the "is a bit silly" bug (accessing char
3048 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3050 * text.C: re-introduce display() for insets, fixing the
3051 various bugs (stretch of line above, math inset
3054 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3056 * text.C (rightMargin): remove spurious semicolon
3058 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3061 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3063 * text3.C: fix one crash due to wrong cursor def
3065 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3067 * vc-backend.C (scanMaster): make the regex static
3069 * LaTeX.C (scanAuxFile): make the regexs static
3071 * text3.C (doInsertInset, dispatch, dispatch):
3072 * text2.C (cursorUp, cursorDown):
3073 * text.C (selectNextWordToSpellcheck):
3074 * BufferView_pimpl.C (dispatch):
3075 * lyxfunc.C (dispatch): localDispatch -> dispatch
3077 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3079 * lyxsocket.C: include <cerrno>
3081 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3083 * lyxfunc.C (dispatch): remove textcache stuff
3085 * bufferlist.C (release): remove textcache stuff
3088 * TextCache.C: delete file
3089 * TextCache.h: delete file
3091 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3093 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3094 delete of the bv_->text.
3095 (resizeCurrentBuffer): remove texcache stuff
3096 (workAreaResize): ditto
3098 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3100 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3103 2003-10-16 André Pönitz <poenitz@gmx.net>
3110 * text3.C: speed up by storing y positions per paragraph plus per-row
3111 offset instead of having a 'full' y position in the row.
3113 2003-10-15 André Pönitz <poenitz@gmx.net>
3117 * undo.[Ch]: make undo aware of inner insets
3119 2003-10-14 Angus Leeming <leeming@lyx.org>
3121 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3122 static member functions LyX::ref() and LyX::cref.
3123 (lastfiles): new accessor functions for the new lastfiles_ member var.
3124 (addLyXView, views_): add a new LyXView to the list of views_.
3125 (updateInset): loop over all LyXViews to call their own updateInset
3126 member function, returning a pointer to the Buffer owning the inset.
3128 * BufferView_pimpl.C (loadLyXFile):
3129 * MenuBackend.C (expandLastfiles):
3130 * bufferlist.C (MenuWrite, QuitLyX):
3131 lastfiles is no longer a global variable.
3132 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3134 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3135 static function. Access through LyX::cref().emergencyCleanup().
3137 2003-10-14 André Pönitz <poenitz@gmx.net>
3139 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3141 * undo.[Ch]: restoring part of 'undo in insets'
3144 * undo_funcs.[Ch]: merge with undo.[Ch]
3146 * tabular.C: small cleansing stuff
3148 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3150 * paragraph_funcs.C (readParToken): report unknown insets as error
3151 boxes. Use the outer paragraph as location (also for unknown
3154 * factory.C (readInset): do not abort on reading an unknown inset.
3155 Eat it and return 0.
3157 2003-10-13 Angus Leeming <leeming@lyx.org>
3159 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3161 * lyxrc.C: displayTranslator is now a function,
3162 declared in GraphicsTypes.h.
3164 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3166 * format.C: new placeholder $$a to pass the socket address.
3168 * bufferlist.[Ch]: new function getBufferFromTmp.
3170 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3171 files in the temporary dir.
3173 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3175 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3177 * Makefile.am: add lyxsocket.[Ch].
3179 * lyx_main.C (error_handler): handle SIGPIPE.
3181 2003-10-13 André Pönitz <poenitz@gmx.net>
3183 * BufferView_pimpl.C:
3188 * undo_funcs.[Ch]: use paroffset_type instead of
3189 ParagraphList::iterators to prevent multiple conversion
3190 (and get a more robust interface)
3192 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3194 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3196 * text3.C (dispatch): ditto
3198 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3200 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3201 move the onlyfile, use onlyfile instead of foundfile in a couple
3204 * DepTable.C (update): flush the error stream a bit more
3206 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3208 * lyxserver.C (callback): adjust
3210 * lyxfunc.C (getStatus): add a missing brace in commented code
3211 (ensureBufferClean): reindent
3212 (dispatch): delete version taking a string
3214 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3216 * LaTeX.C (deplog): move found file handlig from here...
3217 (handleFoundFile): .. to new function here.
3218 (deplog): make sure to discover several files mentioned on the
3221 2003-10-10 André Pönitz <poenitz@gmx.net>
3228 * text3.C: fix some of the tabular crashes
3230 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3232 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3234 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3236 2003-10-09 André Pönitz <poenitz@gmx.net>
3238 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3241 * BufferView_pimpl.C:
3242 * bufferview_funcs.C:
3253 * undo_funcs.C: adjust
3255 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3257 * text2.C (incrementItemDepth): new function, use a backtracking
3258 algorithm to discover the correct item depth.
3259 (resetEnumCounterIfNeeded): new function, use a backtracking
3260 algorithm to discover if counter reset is needed.
3261 (setCounter): use them. Simplify a bit. Add different labels for
3262 different item depths for itemize.
3264 * paragraph.C (Paragraph): remove initialization of enumdepth
3267 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3268 enumerate and itemize. Change the type of itemdepth to signed char.
3270 2003-10-08 André Pönitz <poenitz@gmx.net>
3272 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3277 * tabular.[Ch]: fix crash after 'row-insert'
3279 2003-10-08 Angus Leeming <leeming@lyx.org>
3281 Fix doxygen warnings.
3283 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3284 Remove CutAndPaste:: prefix from header file declaration.
3286 * LColor.h (fill): remove LColor:: prefix from declaration.
3288 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3289 use lyx::depth_type rather than Paragraph::depth_type so that
3290 header file and .C file match.
3292 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3294 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3295 * aspell.C: \file aspell_local.C -> \file aspell.C
3296 * gettext.C: \file gettext.C -> \file src/gettext.C
3297 * gettext.h: \file gettext.h -> \file src/gettext.h
3298 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3299 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3300 * text.C: \file text.C -> \file src/text.C
3302 * toc.C: move comment so that doxygen is not confused.
3304 2003-10-07 Angus Leeming <leeming@lyx.org>
3306 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3308 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3311 * aspell_local.h: add forgotten std::string's.
3313 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3320 * text3.C: The Box patch. Fancybox support, minipage, parbox
3322 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3328 * ParagraphParameters.h:
3338 * lyxtextclasslist.h:
3341 * paragraph_pimpl.C:
3342 * textcursor.h: add <string> and other small fixes to make Lars'
3343 std::string patch compile with STLport.
3345 2003-10-06 Angus Leeming <leeming@lyx.org>
3347 * LColor.h: Add missing #include <string>.
3349 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3351 * All most all file in all subdirs: Make <string> be the prefered
3352 way of getting to std::string, add using declarations.
3354 2003-10-06 André Pönitz <poenitz@gmx.net>
3356 * metricsinfo.C: initialize LyXFont before changing attribute.
3357 (fixes the 'math in \emph is upright' bug)
3359 2003-10-06 André Pönitz <poenitz@gmx.net>
3361 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3363 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3366 * paragraph_pimpl.C: Small fixes to build using STLport
3368 2003-10-02 André Pönitz <poenitz@gmx.net>
3371 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3373 2003-10-01 André Pönitz <poenitz@gmx.net>
3375 * factory.C: assert early
3377 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3379 * lyx_main.C: remove the global debug object
3381 * debug.h: adjust for new debugstream
3383 * debug.C: adjust for new debugstream and keep the global debug
3386 2003-09-22 Angus Leeming <leeming@lyx.org>
3388 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3389 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3390 an incomplete class LyXFont.
3392 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3394 * factory.C: bug fix in branches
3396 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3398 * lyxfunc.C (processKeySym): adjust
3400 (dispatch): change arg name from ev to func, adjust
3401 (sendDispatchMessage): ditto
3403 * lyx_main.C (defaultKeyBindings): adjust keybindings
3404 (deadKeyBindings): ditto
3406 * kbsequence.C (addkey): return a FuncRequest
3408 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3410 * kbmap.C (bind): take a FuncRequest as arg, adjust
3413 (defkey): change to take a FuncRequest as arg, adjust
3414 (findbinding): take a FuncRequest as arg, adjust.
3416 * funcrequest.h (operator=): added
3418 * funcrequest.C (FuncRequest): default kb_action changed from
3419 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3421 * buffer.C (dispatch): simplify
3422 (dispatch): adjust to take a FuncRequest as arg, adjust
3424 * boost.C (assertion_failed): change assertion message slightly
3426 * ToolbarBackend.C (read): simplify
3428 * MenuBackend.C (binding): adjust call to findbinding, add a
3429 message if no binding is found.
3431 (expandToc): correct by adding a empty FuncRequest
3433 * LyXAction.C: include <boost/assert.hpp>
3434 (isPseudoAction): delete function
3435 (LookupFunc): change name to...
3436 (lookupFunc): this. change return type to FuncRequest.
3437 (getActionName): take kb_action as arg, simplify
3438 (funcHasFlag): add an assert, simplify.
3440 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3442 * toc.C (action): return a FuncRequest, simplify
3444 * lyxfunc.C (processKeySym): adjust
3445 (getStatus): delete version that takes an int.
3447 (dispatch): delete version that takes action as int
3449 (sendDispatchMessage): simplify and adjust
3451 * funcrequest.C (getArg): take unsigned int as arg
3453 * ToolbarBackend.C (read): adjust
3454 (add): delete version that takes func as a string.
3455 (getIton): take a FuncRequest as arg
3457 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3460 * MenuBackend.C (MenuItem): add a new construct that only takes a
3461 Kind, simplify the constructor use for submenus.
3463 (expandLastfiles): adjust
3464 (expandDocuments): adjust
3465 (expandFormats): adjust
3466 (expandFloatListInsert): adjust
3467 (expandFloatInsert): adjust
3468 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3470 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3471 Remove class variables lyx_pseudo_map and lyx_arg_map
3473 * LyXAction.C (searchActionArg): delete function
3474 (getPseudoAction): delete function
3475 (retrieveActionArg): delete function
3476 (LookupFunc): make it return kb_action, simplify.
3477 (getActionName): simplify
3479 * factory.C (createInset): fix new bug
3481 2003-09-19 Angus Leeming <leeming@lyx.org>
3483 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3484 masterFilename_ parameter in the include inset.
3486 * factory.C (createInset): changes due to the changes to InsetInclude.
3488 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3490 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3492 2003-09-18 Angus Leeming <leeming@lyx.org>
3495 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3496 Inset::fillWithBibKeys.
3497 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3499 2003-09-18 Angus Leeming <leeming@lyx.org>
3501 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3503 (ctor): pass and store a 'Buffer const &'
3504 (buffer): new member function.
3506 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3507 '*this' to the LaTeXFeatures ctor.
3509 2003-09-18 Angus Leeming <leeming@lyx.org>
3515 * text.C: rename EnumLColor as LColor_color.
3517 2003-09-18 Angus Leeming <leeming@lyx.org>
3519 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3520 remove #include "insets/insetbase.h" from cursor.h.
3522 2003-09-18 Angus Leeming <leeming@lyx.org>
3524 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3525 InsetOld_code to remove #include "inset.h".
3527 * iterators.C: add #include "insets/inset.h"
3529 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3531 * BufferView.C: remove more locking stuff that apparently doesn't
3532 do anything sensible.
3534 2003-09-16 André Pönitz <poenitz@gmx.net>
3537 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3540 2003-09-16 Angus Leeming <leeming@lyx.org>
3542 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3544 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3547 * paragraph.h: remove #include "lyxfont.h". Forward declare
3550 2003-09-16 Angus Leeming <leeming@lyx.org>
3552 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3553 of support/textutils.h.
3554 (isWord): move the contents of support/textutils.h's IsWordChar here.
3560 * text2.C: add #include "paragraph.h".
3563 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3565 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3571 * LaTeX.C: use namespace alias for lyx::support::os
3573 2003-09-16 Angus Leeming <leeming@lyx.org>
3576 * bufferview_funcs.C:
3579 * paragraph_pimpl.C:
3581 * text.C: add #include "LColor.h".
3583 2003-09-16 Angus Leeming <leeming@lyx.org>
3585 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3586 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3588 Store the FontBits::color variable as an int rather than as an
3589 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3592 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3593 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3594 string calls together.
3596 * lyxrc.C: add #include "LColor.h".
3598 2003-09-15 Angus Leeming <leeming@lyx.org>
3600 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3603 2003-09-15 Angus Leeming <leeming@lyx.org>
3605 * LColor.h: add an EnumLColor wrapper for LColor::color.
3607 * lyxfont.[Ch] (color, setColor, realColor):
3608 * lyxtext.h, text.C (backgroundColor):
3609 pass EnumLColor args to/from the functions, rather than LColor::color
3613 * lyxtext.h: forward declare EnumLColor.
3615 * lyx_main.C: add #include "LColor.h".
3617 2003-09-15 Angus Leeming <leeming@lyx.org>
3619 * .cvsignore: add lyx-gtk.
3621 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3626 * ParagraphParameters.C
3630 * bufferview_funcs.C
3640 * vc-backend.C: remove usage of STRCONV
3642 2003-09-15 Angus Leeming <leeming@lyx.org>
3644 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3645 explicitly define the color passed to the painter.
3647 2003-09-15 Angus Leeming <leeming@lyx.org>
3649 * bufferparams.C (BufferParams): reorder member initializers to avoid
3652 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3654 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3655 * text.C (updateRowPositions): remove an unusual nop
3657 2003-09-12 André Pönitz <poenitz@gmx.net>
3659 * BufferView_pimpl.C:
3668 * Counters.[Ch]: finish the 'automatic counters' job
3670 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3672 * aspell.C: include <boost/assert.cpp> (compile fix)
3674 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3676 * boost.C (assertion_failed): use lyx::support::abort instead of
3679 2003-09-10 Angus Leeming <leeming@lyx.org>
3681 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3682 with their _fwd progeny.
3684 2003-09-09 Angus Leeming <leeming@lyx.org>
3686 134 files throughtout the source tree: replace 'using namespace abc;'
3687 directives with the appropriate 'using abc::xyz;' declarations.
3689 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3691 * boost.C (emergencyCleanup): moved here from LAssert.c
3692 (assertion_failed): new function, called by BOOST_ASSERT
3694 * several files: change Assert to BOOST_ASSERT
3696 2003-09-09 Angus Leeming <leeming@lyx.org>
3698 * buffer.[Ch]: Add an Impl class and move Buffer's member
3699 variables into it. As a result move several header files out of
3702 Add header files to lots of .C files all over the tree as a result.
3704 2003-09-09 Angus Leeming <leeming@lyx.org>
3706 * buffer.[Ch]: make Buffer's member variables private. Add
3709 Lots of changes all over the tree as a result.
3711 2003-09-08 Angus Leeming <leeming@lyx.org>
3713 * graph.C: #include <config.h>.
3715 2003-09-08 Angus Leeming <leeming@lyx.org>
3719 * BufferView_pimpl.C:
3748 * toc.C: remove redundant using directives.
3750 2003-09-07 Angus Leeming <leeming@lyx.org>
3752 * LaTeXFeatures.h: remove #include "support/types.h".
3753 * ToolbarBackend.h: remove #include <algorithm>.
3754 * changes.h: remove #include <ctime>.
3755 * debug.h: remove #include <iosfwd>.
3756 * graph.h: remove #include "support/std_string.h".
3757 * lyx_main.h: remove #include <csignal>.
3758 * lyxlex_pimpl.h: remove #include <fstream>.
3759 * sgml.h: remove #include <algorithm>, <utility>.
3760 * toc.h: remove #include "support/std_ostream.h".
3761 Add #include <iosfwd>.
3763 2003-09-07 Angus Leeming <leeming@lyx.org>
3765 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3767 * converter.h: forward declare LatexRunParams.
3768 * encoding.h: remove #include "lyxrc.h".
3769 * lyxtext.h: remove #include "LColor.h".
3770 * lyxtextclass.h: remove #include "support/types.h".
3771 * trans.h: remove #include "tex-accent.h".
3772 * trans_mgr.h: remove #include "tex-accent.h".
3773 * insets/inset.h: remove #include "support/types.h", <vector>.
3774 * insets/insetcollapsable.h: remove #include "LColor.h".
3775 * insets/insetinclude.h: remove #include "dimension.h".
3776 * insets/insetlatexaccent.h: remove #include "dimension.h".
3777 * insets/insetoptarg.h:: remove #include "insettext.h".
3778 * insets/insettext.h: remove #include "dimension.h",
3779 <boost/shared_ptr.hpp>
3781 * insets/renderers.h: add #include "dimension.h".
3782 * insets/updatableinset.h: add #include "support/types.h".
3784 * many .C files: Associated changes.
3786 2003-09-06 Angus Leeming <leeming@lyx.org>
3788 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3789 one, inside testInvariant.
3791 * PrinterParams.C: new file.
3792 * PrinterParams.[Ch]: move the function bodies out of line.
3794 2003-09-06 Angus Leeming <leeming@lyx.org>
3796 * ParagraphParameters.h: forward declare ParameterStruct rather than
3797 including its header file.
3798 (depth): moved out-of-line.
3800 2003-09-06 Angus Leeming <leeming@lyx.org>
3802 * BufferView_pimpl.h:
3805 * lyxfunc.h: forward declare LyXKeySym rather than
3806 #include "frontends/LyXKeySym.h".
3808 * BufferView_pimpl.C:
3811 * lyxfunc.C: associated changes.
3813 2003-09-06 Angus Leeming <leeming@lyx.org>
3815 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3816 As a result, can remove the #include "insets/inset.h" from BufferView.h
3818 2003-09-06 Angus Leeming <leeming@lyx.org>
3820 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3821 As a result, can remove the #include "insets/inset.h" from BufferView.h
3823 2003-09-06 Angus Leeming <leeming@lyx.org>
3829 * bufferview_funcs.C:
3830 * BufferView_pimpl.C:
3835 * ParagraphParameters.C:
3840 * frontends/controllers/ControlDocument.C:
3841 * insets/insetcaption.C: rearrange the #includes into some sort of
3844 * buffer.h: remove #includes ErrorList.h, undo.h
3846 2003-09-06 Angus Leeming <leeming@lyx.org>
3848 * support/types.h: add a 'depth_type' typedef, used to store the
3849 nesting depth of a paragraph.
3852 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3853 defining explicitly.
3856 * paragraph_funcs.h:
3857 * ParagraphParameters.h:
3858 * sgml.h: use lyx::depth_type rather than Paragraph or
3859 ParameterStruct's depth_type.
3862 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3865 * BufferView_pimpl.C:
3867 * ParagraphParameters.C:
3870 * bufferview_funcs.C:
3877 * frontends/LyXView.C:
3878 * frontends/controllers/ControlDocument.C:
3879 * frontends/controllers/ControlErrorList.C:
3880 * insets/insetbibitem.C:
3881 * insets/insetbranch.C:
3882 * insets/insetcaption.C:
3883 * insets/insetcollapsable.C:
3884 * insets/insetenv.C:
3885 * insets/insetert.C:
3886 * insets/insetfloat.C:
3887 * insets/insetfoot.C:
3888 * insets/insetfootlike.C:
3889 * insets/insetnewline.C:
3890 * insets/insetquotes.C:
3891 * insets/insettabular.C:
3892 * insets/insettext.C:
3893 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3895 * frontends/controllers/ControlChanges.C: #include "changes.h".
3897 2003-09-06 Angus Leeming <leeming@lyx.org>
3899 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3900 than #including paragraph.h.
3903 * RowList.h: deleted. Superfluous.
3913 * insets/insettext.h: use ParagraphList_fwd.h rather than
3916 * paragraph.h: don't forward declare ParagraphList.
3919 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3920 rather than ParagraphList.h. paragraph.h is still needed for the
3921 Paragraph::depth_type parameters.
3923 * textcursor.h: enable it to compile stand-alone in light of the
3926 * bufferview_funcs.C:
3938 * frontends/controllers/ControlParagraph.C:
3939 * frontends/controllers/ControlTabular.C:
3940 * insets/insetmarginal.C:
3941 * insets/insetminipage.C:
3942 * insets/insetnote.C:
3943 * insets/insetoptarg.C: add header files needed to compile again.
3945 2003-09-06 Angus Leeming <leeming@lyx.org>
3947 * RowList_fwd.h: new file, forward-declaring Row rather than
3948 #including lyxrow.h.
3953 * insets/insettext.h: use it instead of RowList.h
3955 * bufferview_funcs.C:
3962 * text3.C: #include "RowList.h".
3964 2003-09-05 Angus Leeming <leeming@lyx.org>
3966 * factory.C (createInset):
3967 * vspace.C (c-tor): replace sscanf call with an istringstream.
3968 * ispell.C: re-add missing HP/UX headers.
3969 * lyxserver.C: re-add missing os2 headers.
3971 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3980 * text3.C: re-add missing system headers, needed for 2.95.2.
3982 2003-09-05 Angus Leeming <leeming@lyx.org>
3984 Changes most place everywhere due to the removal of using directives
3985 from support/std_sstream.h.
3987 2003-09-05 Angus Leeming <leeming@lyx.org>
3989 Replace LString.h with support/std_string.h,
3990 Lsstream.h with support/std_sstream.h,
3991 support/LIstream.h with support/std_istream.h,
3992 support/LOstream.h with support/std_ostream.h.
3994 Changes resulting throughout the tree.
3996 2003-09-05 Angus Leeming <leeming@lyx.org>
3998 * sgml.h: ensure that the header file can be compiled stand-alone.
3999 * *.C: strip out redundant #includes. (320 in total.)
4001 2003-09-04 Angus Leeming <leeming@lyx.org>
4003 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4004 here (from getPackages).
4006 * debug.[Ch]: add a new EXTERNAL tag.
4008 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4010 * text2.C (cursorEnd): simplify
4012 (getColumnNearX): adjust
4014 * text.C (computeBidiTables): adjust
4017 * rowpainter.C (paintChars): adjust
4018 (paintSelection): adjust
4019 (paintChangeBar): adjust
4022 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4024 (numberOfSeparators): adjust
4026 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4032 * text3.C: Restricts the mouse click functionality
4033 of insets like bibtex, include, toc and floatlist to the visible
4034 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4035 up the dialogs. Cursor has to be in front of the inset (i.e.
4036 start of row) for this to function.
4038 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4040 * bufferview_funcs.C (currentState): output row information
4042 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4044 * bufferview_funcs.C (currentState): output paragraph position
4046 2003-09-04 Angus Leeming <leeming@lyx.org>
4048 * FloatList.h: move out #include "Floating.h".
4049 * LaTeX.h: move out #include "DepTable.h".
4050 * LyXAction.h: move out #include "funcrequest.h".
4051 * buffer.h: move out #include "author.h", "iterators.h".
4052 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4053 * lyx_main.h: move out #include "errorlist.h".
4054 * lyxfunc.h: move out #include "FuncStatus.h".
4055 * lyxtext: move out #include "lyxcursor.h".
4056 * paragraph_pimpl.h: move out #include "counters.h".
4058 2003-09-03 Angus Leeming <leeming@lyx.org>
4060 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4061 preamble_snippets list, enabling us to add snippets to the preamble
4062 only if the snippet was not there already.
4064 2003-09-04 Angus Leeming <leeming@lyx.org>
4066 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4068 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4070 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4073 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4075 * BranchList.C: point fix, earlier forgotten
4077 2003-09-02 Angus Leeming <leeming@lyx.org>
4079 * box.C (contains): renamed from 'contained' after a fantastic
4082 2003-09-02 John Levon <levon@movementarian.org>
4088 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4090 2003-09-02 John Levon <levon@movementarian.org>
4092 * text2.C: simplification of cursorEnd(), including partial
4095 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4097 * buffer.C (readFile): add a space
4099 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4101 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4103 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * buffer.C (readFile): new function, take a filename and a
4106 ParagraphList::iterator
4108 (readFile): adjust, make it private. don't use setStream, make
4109 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4110 always contain the filename.
4112 * BufferView.C (insertLyXFile): simplify and make it work for
4115 2003-08-30 John Levon <levon@movementarian.org>
4117 * Makefile.am: fix dist (from Kayvan)
4119 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4121 * most files: change to use const Buffer refs
4123 2003-08-27 André Pönitz <poenitz@gmx.net>
4125 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4126 on top of ownerPar().
4128 2003-08-27 John Levon <levon@movementarian.org>
4130 * funcrequest.C: properly initialise POD members
4132 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4134 * lyxtext.h (top_y): move top_y from here
4139 * BufferView_pimpl.[Ch]: to here
4140 * frontends/screen.C:
4141 * insets/insettabular.C:
4142 * insets/insettext.C: adjust
4143 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4145 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4148 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4150 2003-08-26 André Pönitz <poenitz@gmx.net>
4152 * paragraph_func.[Ch] (outerPar): new function
4155 * paragraph_funcs.C:
4156 * paragraph_funcs.h:
4157 * paragraph_pimpl.C:
4158 * text2.C: remove Inset::par_owner
4160 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4165 * text2.C: eliminates the needFullRow/display() stuff
4166 altogether, putting the logic in metrics/draw in the insets.
4168 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4170 * text2.C (redoParagraphInternal, redoParagraphs):
4171 * text.C (redoParagraph): add a call to updateRowPositions at the
4172 end of each 'metrics-like' call. Remove all others.
4173 (getRow): remove the 'y-computing' version.
4174 (getRowNearY): do not compute nor return the real y. Solve the
4175 'y < 0' problem and simplify.
4177 2003-08-22 Angus Leeming <leeming@lyx.org>
4179 * *.[Ch]: clean-up of licence and author blurbs.
4180 Also move config.h out of a few .h files and into a few .C files.
4182 2003-08-22 André Pönitz <poenitz@gmx.net>
4184 * lyxrow.[Ch]: add x_ and *fill_ members
4189 * text2.C: adjust/remove prepareToPrint() calls
4191 2003-08-22 André Pönitz <poenitz@gmx.net>
4193 * lyxrow.[Ch]: add end_ member
4195 * lyxrow_funcs.C: use LyXRow::end_
4197 * lyxtext.h (singleWidth): add LyXFont parameter
4200 * text2.C: adjust LyXText::singleWidth() calls
4202 * text.C (redoParagraph): simplify row breaking logic
4205 2003-08-19 André Pönitz <poenitz@gmx.net>
4207 * funcrequest.C: initialize button_ member
4210 * rowpainter.[Ch]: interface consolidation
4212 2003-08-18 André Pönitz <poenitz@gmx.net>
4215 * BufferView_pimpl.C:
4217 * paragraph_funcs.C:
4219 * text3.C: remove LyXScreen::draw() and fitCursor calls
4221 * BranchList.h: remove spurious semicolons
4223 * MenuBackend.C: fix branchlist related crash
4225 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4233 * bufferparams.[Ch]:
4237 * text3.C: implements the 'branch inset'
4238 idea. This allows the output of various versions of a document
4239 from a single source version, selectively outputing or suppressing
4240 output of parts of the text.
4241 This implementation contains a 'branch list editor' in a separate
4242 tab of the document settings dialog. Branches are user definable
4243 and have a "display colour" to distinguish them on-screen.
4245 ColorHandler was somewhat cleaned up.
4246 (1) make possible a dynamically growing LColor list by allowing
4247 the graphic context cache to grow along (vector);
4248 (2) eliminate an IMHO unnecessary step in colour allocation.
4250 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4252 * BufferView_pimpl.C: compile fix
4254 2003-08-15 André Pönitz <poenitz@gmx.net>
4256 * rowpainter.C: remove extra metrics calls
4258 * lyxtext.h: merge the two constructors into a single one,
4259 pass reference to owner's par list
4261 * BufferView_pimpl.C:
4265 2003-08-15 André Pönitz <poenitz@gmx.net>
4267 * lyxrow_funcs.[Ch]:
4270 * paragraph_funcs.C:
4275 * text_funcs.C: split LyXText::rowlist_ into individual
4276 Paragraph::rows_ chunks
4279 * BufferView_pimpl.[Ch]:
4282 * text3.C: remove toggleSelection()
4284 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4286 * bufferlist.C: beautify two alerts (shorter text of buttons)
4287 * buffer.C: Remove redundant ' ' from message
4289 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4290 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4291 rename VALIGN_CENTER to VALIGN_MIDDLE
4293 2003-08-11 André Pönitz <poenitz@gmx.net>
4295 * lyxtext.h (getPar):
4296 * text.C: new function
4298 2003-08-11 André Pönitz <poenitz@gmx.net>
4301 * tracer.[Ch]: remove unneeded files
4303 * InsetList.[Ch]: remove resizeInsetsLyXText()
4308 * text3.C: merge insertParagraphs() and appendParagraph()
4309 remove breakAgain(), update()
4311 * BufferView_pimpl.[Ch]:
4312 * bufferview_funcs.[Ch]:
4316 * tabular.C: adjust after text & InsetList changes.
4318 2003-08-08 André Pönitz <poenitz@gmx.net>
4320 * text.C (insertChar, backspace): replace rowlist fiddling
4321 with rebreak of full par
4324 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4325 checkParagraph, updateInset): removed
4327 2003-08-07 André Pönitz <poenitz@gmx.net>
4330 * text3.C: merge some LFUN handlers, remove dead code
4332 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4334 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4336 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4338 * text2.C (DEPM): fix part of bug 1255 and 1256
4340 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4342 * BufferView_pimpl.C (workAreaDispatch): change to use
4343 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4344 that are no mouse related.
4346 2003-08-05 André Pönitz <poenitz@gmx.net>
4349 * BufferView_pimpl.[Ch]:
4350 * bufferview_funcs.C:
4352 * text3.C: rip out "deep update"
4354 * textcursor.[Ch] (last_sel_cursor): remove unused member
4356 2003-08-04 André Pönitz <poenitz@gmx.net>
4359 * BufferView_pimpl.[Ch]:
4360 * ParagraphParameters.C:
4361 * bufferview_funcs.C:
4367 * text3.C: replace "complicated" BufferView::update(...) calls with
4370 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4372 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4374 * Makefile.am (lyx_SOURCES): add paper.h
4376 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4378 * Makefile.am: move things around so that both lyx-qt and
4379 lyx-xforms can be built (according to --with-frontend). Then lyx
4380 is a symbolic link to lyx-[firstfrontend]
4382 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4384 * Always use std::endl with lyxerr
4386 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4388 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4390 2003-08-01 André Pönitz <poenitz@gmx.net>
4393 * BufferView_pimpl.[Ch]:
4395 * text3.C: merge BufferView::repaint() and BufferView::update()
4397 2003-08-01 José Matos <jamatos@lyx.org>
4399 * buffer.[Ch]: file_format is no longer a buffer data element.
4401 2003-08-01 André Pönitz <poenitz@gmx.net>
4406 * text2.C: make redoParagraph more independent of current cursor
4408 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4410 * text2.C: remove unneeded members
4412 2003-07-30 André Pönitz <poenitz@gmx.net>
4414 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4416 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4417 create a single function...
4419 * paragraph_funcs.C (moveItem): ... here.
4422 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4424 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4426 * LColor.[Ch]: Add comment and greyedout logical colors.
4428 2003-07-30 André Pönitz <poenitz@gmx.net>
4430 * tabular.C: don't use Assert too heavily. This crashes where it
4433 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4435 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4436 is disabled (bug 1232)
4438 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4440 * factory.C: limited 'arg' scope
4442 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4444 * factory.C: fixed Note submenu issues
4446 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4448 * factory.C: submenu for Note/Comment/Greyedout
4450 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4453 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4455 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4458 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4459 greyedout. Patch provided by Jürgen Spitzmüller.
4461 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4463 * kbmap.C (read): fix error message when reading bind files
4465 2003-07-29 Angus Leeming <leeming@lyx.org>
4467 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4468 certainly does not do what it purports to do. I am doing it, and
4469 us, a favour by killing it.
4471 2003-07-28 José Matos <jamatos@lyx.org>
4473 * buffer.C (readBody, do_writeFile):
4474 * paragraph.C(readParagraph): \end_document replaces \the_end.
4476 2003-07-29 André Pönitz <poenitz@gmx.net>
4479 * BufferView_pimpl.[Ch]:
4483 * textcursor.[Ch]: remove toggleToggle & Co
4485 2003-07-28 José Matos <jamatos@fep.up.pt>
4487 * buffer.C (readParagraph):
4488 * params_func (readParToken, readParagraph):
4489 * paragraph.C (write): \layout -> \begin_layout.
4491 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4493 * lyxlex_pimpl.C (setFile): clean up slightly.
4495 * bufferparams.h: add compressed var
4497 * buffer_funcs.C (readFile): adjust for LyXLex change
4498 (newFile): ditto + simplify
4500 * buffer.C (writeFile): handle writing of compressed files
4502 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4503 Check if the file is compressed and set a bufferparm if so.
4505 * Makefile.am (lyx_LDADD): remove explicit -lz
4507 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4509 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4510 makeDocBookFile): put the real LyX version in the first line of
4514 * version.C.in: remove lyx_docversion
4516 * tabular.C (write_attribute): add a template-based version to
4517 write enums properly
4519 2003-07-28 André Pönitz <poenitz@gmx.net>
4524 * text3.C: use doubles again for x-coordinates. They are needed.
4526 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4528 * messages.C (getLocaleDir): use lyx_localedir()
4530 * lyxlex_pimpl.C (setFile): compress stuff
4532 * buffer.C (writeFile): add some compression stuff
4533 (do_writeFile): new func, dont call expliti close... will this
4536 * Makefile.am (lyx_LDADD): add -lz
4538 2003-07-28 José Matos <jamatos@fep.up.pt>
4540 * buffer.C: increment file format.
4541 * paragraph_funcs (readParagraph, readParToken):
4542 * paragraph.C (readParagraph): add \end_layout.
4544 2003-07-27 Angus Leeming <leeming@lyx.org>
4546 * Makefile.am: remove special casing for configure-time setting of
4547 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4549 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4550 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4552 2003-07-26 André Pönitz <poenitz@gmx.net>
4554 * paragraph_func.[Ch]:
4555 * paragraph.C (realizeFont): inline it whereever it is used
4560 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4563 2003-07-26 André Pönitz <poenitz@gmx.net>
4567 * text2.C: get rid of LyXText::need_break_row
4569 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4571 * toc.[Ch]: put namespace toc inside namespace lyx
4573 * MenuBackend.C (expandToc2): adjust for lyx::toc
4576 * lyxfunc.C (dispatch): adjust for lyx::find
4578 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4579 lyx::find instead. Reorganize a bit.
4580 (LyXReplace): rename to replace
4581 (LyXFind): rename to find
4583 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4586 2003-07-26 André Pönitz <poenitz@gmx.net>
4588 * text.C (setHeightOfRow): restrict scope of temporary variable
4590 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4591 code (never has been used?)
4593 2003-07-27 Asger Alstrup <alstrup@local>
4595 * text.C (fill): Optimise algorithm to exploit that we can reuse
4596 the LyXFont for many characters.
4597 (setHeightOfRow): Same thing.
4598 (rowBreakPoint): Same thing.
4600 2003-07-26 Asger Alstrup <alstrup@local>
4602 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4604 * text.C (singleWidth): Spurious font copying in hot-spot
4605 singleWidth avoided. Reorder tests for arabic for efficiency.
4607 * text.C (fill): handle empty paragraphs better.
4609 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4612 * encoding.h: add includes
4614 * lyxrc.C: remove reading of bind files
4616 * lyx_main.C (init): setup bindings and menus only if we have a
4619 * kbmap.C (read): new method. Do the actual reading of bind
4622 * converter.C (dvipdfm_options):
4625 (output): adapt PAPER_* enums.
4627 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4629 * bufferparams.h: remove paper-related enums from there
4631 * paper.h: New file. A trivial header file to hold paper-related
4632 enums. It should later expand to contain many paper-related
4635 * lyxrc.C: declare extern displayTranslator
4637 2003-07-27 José Matos <jamatos@fep.up.pt>
4639 * tabular.[Ch] (linuxdoc): add support for tables and figures
4642 2003-07-27 José Matos <jamatos@fep.up.pt>
4644 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4645 consistency in both functions.
4646 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4648 2003-07-26 Asger Alstrup <alstrup@local>
4650 * rowpainter.C (paintRows): Change algorithm to work directly on
4651 the insets rather than asking every character in the document
4652 whether its an inset.
4654 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4656 * buffer.C (openFileWrite): factorize some code
4658 2003-07-26 Angus Leeming <leeming@lyx.org>
4661 * lyx_main.[Ch]: replace occurances of system_tempdir with
4664 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4666 * rename Inset to InsetOld
4668 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4670 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4671 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4672 which I think is a bit clearer. EDIT is gone, since it was
4673 premature optimisation, and broken for mathed anyway.
4674 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4675 with cursor positioning in insets as well (math insets still do not
4676 work, but that's a different story anyway.) It mysteriously
4677 crashes sometimes with undo in the first paragraph, but I'm fairly
4678 confident that this is a compiler bug.
4680 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4682 * paragraph.C (Paragraph): adjust for new clone return type
4684 (copyIntoMinibuffer): ditto
4686 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4688 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4689 by not having a special case, and always doing a full rebreak of
4690 the document after undo.
4692 2003-07-23 Angus Leeming <leeming@lyx.org>
4694 * factory.C (createInset): InsetExternal::setParams now takes a
4697 2003-07-23 Angus Leeming <leeming@lyx.org>
4699 * factory.C (createInset): changed interface to the external and
4700 graphics mailers' string2params functions.
4702 2003-07-23 Angus Leeming <leeming@lyx.org>
4704 * factory.C (createInset): pass a
4705 Buffer const * parameter to InsetExternalMailer's string2params.
4707 2003-07-22 John Levon <levon@movementarian.org>
4709 * Thesaurus.h: include the right aiksaurus header
4711 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4713 * MenuBackend.C (expand): check menu shortcuts unconditionally
4715 2003-07-21 Angus Leeming <leeming@lyx.org>
4717 * factory.C (createInset): pass a
4718 buffer_path parameter to InsetGraphicsMailer's string2params.
4720 2003-07-21 Angus Leeming <leeming@lyx.org>
4722 * BufferView_pimpl.C (buffer):
4725 * lyxfunc.C (dispatch):
4726 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4727 rather than the grfx shortcut.
4729 2003-07-21 André Pönitz <poenitz@gmx.net>
4731 * rowpainter.C: remove unused variables
4734 * tabular_funcs.h: move to tabular.C
4735 * Makefile.am: adjust
4737 * tabular.[Ch]: basic optical cleaning
4739 * author.h: pass references, not values
4741 2003-07-18 André Pönitz <poenitz@gmx.net>
4749 * text3.C: two-phase drawing for InsetText and InsetTabular
4750 some float -> int changes.
4752 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4754 * lyx_main.C: fix the fix
4756 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4758 * lyx_main.C: fix a crash in batch mode if no files specified
4761 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4763 * format.[Ch] (papersize): moved to BufferParams
4764 * converter.[Ch] (dvips_options): moved to BufferParams
4765 (dvipdfm_options): moved to anon namespace
4766 * bufferparams.[Ch]: added above functions.
4768 2003-07-17 André Pönitz <poenitz@gmx.net>
4772 * text2.C: don't call inset->update() anymore
4774 * metricsinfo.[Ch]: add convenience constructor
4776 2003-07-16 André Pönitz <poenitz@gmx.net>
4781 * text2.C: replace the LyXCursor::irow_ member with
4782 on-demand computation of the value
4784 2003-07-16 John Levon <levon@movementarian.org>
4786 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4788 2003-07-15 André Pönitz <poenitz@gmx.net>
4791 * text2.C: remove no more needed refresh_row
4793 2003-07-15 André Pönitz <poenitz@gmx.net>
4798 * text3.C: refresh_status tristate -> need_update bool
4800 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4802 * lyxtext.h (init): remove reinit argument (act as if always true)
4803 * text2.C: adjust to that
4805 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4807 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4808 * text3.C: use it to delete selections in some cases
4809 (bugs 441, 673, 702, 954).
4811 2003-07-14 André Pönitz <poenitz@gmx.net>
4813 * rowpainter.[Ch]: reduce interface
4815 2003-07-14 André Pönitz <poenitz@gmx.net>
4817 * BufferView_pimpl.C:
4818 * text2.C: adjust after removing unused BufferView * argument
4820 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4822 * text2.C (init): fix a crash fired on resize
4824 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4826 * buffer.[Ch]: added new closing signal
4827 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4828 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4829 BufferView::Pimpl via the closing the signal
4831 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4833 * buffer.[Ch]: take out all bv-related from buffer
4835 * BufferView_pimpl.[Ch]: connect to new signals
4836 * CutAndPaste.C: removed useless asserts
4837 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4840 * lyxfunc.C: moved view-related funciontality from vc here
4841 * paragraph.C: removed outdated comments
4844 2003-07-10 André Pönitz <poenitz@gmx.net>
4846 * BufferView_pimpl.C:
4850 * text2.C: remove InsetText::InnerCache, clean up consequences
4852 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4854 * ispell.C: fix two typos in error messages
4856 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4858 * Extend Note inset to other forms of annotation like Comment
4859 and Greyedout. Right button click gives dialog.
4861 Files modified or added (+):
4865 * ControlNote.[Ch] +
4867 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4868 frontends/controllers
4872 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4874 * aspell.C: add missing namespace lyx::support
4876 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4878 * BufferView.[Ch] (newFile): Add
4879 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4880 * LaTeX.[Ch] (message): added this signal and use it
4881 * buffer.[Ch] (busy, message): added these signals and use them
4882 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4886 * importer.C: use buffer signals instead of direct bv calling
4887 * lyx_cb.[Ch] (ShowMessage): removed
4890 * paragraph_funcs.C:
4891 * text2.C: use buffer signals
4893 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4895 * introduce namespace lyx::graphics
4897 2003-07-02 André Pönitz <poenitz@gmx.net>
4899 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4901 2003-07-01 André Pönitz <poenitz@gmx.net>
4908 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4909 text*.C to text_func.C
4911 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4913 * introduce namespace lyx::support
4915 2003-06-30 André Pönitz <poenitz@gmx.net>
4920 * text.C: re-enable --with-included-string
4922 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4924 * textcursor.C: add <config.h>
4926 * text.C (getWord): remove const from word_location arg
4928 * lyxvc.C (getLogFile): fix const type order
4930 * lyxtext.h: remove const from word_location arg, add arg name
4932 * lyxlayout.h: currect type on labeltype.
4934 * importer.C: correct \file
4936 * converter.C (intToFormat): use std:: on ret val, ws changes
4938 * bufferlist.h: correct \file
4940 * buffer.C (makeLinuxDocFile): fix const type order
4941 (makeDocBookFile): ditto
4942 (fillWithBibKeys): use std:: on stdlib args.
4944 * CutAndPaste.C: fix authors.
4945 (availableSelections): use std:: on return vector
4947 2003-06-27 André Pönitz <poenitz@gmx.net>
4949 * BufferView_pimpl.C:
4950 * bufferview_funcs.C:
4958 * text3.C: remove LyXCursor::row_ member
4961 * text.C: rename fullRebreak() to partialRebreak() and implement
4962 a fullRebreak() that really bereks fully
4964 * textcursor.h: new struct for cursor-related data
4966 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4968 * lyx_main.C (LyX): get full path of document loaded on the
4971 2003-06-26 André Pönitz <poenitz@gmx.net>
4973 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4974 remove unused/broken operator>,<,>=.
4976 * text.C: remove only use of broken operator<= in an Assert().
4978 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4980 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4981 moved errorlist_.clear to showErrorList
4983 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4985 * converter.C (scanLog, runLaTeX):
4986 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4987 move the bv->showErrorList call to the callers
4988 * lyxfunc.C: i.e. here...
4990 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4991 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4992 namespace, the second to...
4993 * buffer_funcs (BufferFormat, parseErrors): added
4994 * errorlist.C (ErrorList(TeXErrors const &)): removed
4996 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4998 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5000 2003-06-24 "Garst R. Reese" <reese@isn.net>
5004 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5006 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5008 * version.C.in: change docversion to 1.4
5010 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5012 * buffer.C: fix a bug just introduced
5014 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5016 * buffer.[Ch]: added the parseError signal and use it, removed
5018 * BufferView.[Ch] (addError): moved to ...
5019 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5020 to the Buffer::parseError signal to catch (guess what) parse errors
5021 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5023 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5025 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5026 ability to create a buffer and to return an existing one from
5027 the list. Moved these functions to...
5028 * buffer_funcs.[Ch]: added
5029 * BufferView.[Ch] (loadLyXFile): added
5030 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5031 job removed from bufferlist::loadLyXFile.
5032 * buffer.C (setReadOnly): make it work without view
5033 (i.e added an if (users))
5035 2003-06-19 Angus Leeming <leeming@lyx.org>
5038 * LyXAction.C (init):
5039 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5040 with LFUN_DIALOG_SHOW <name> <data>.
5042 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5044 * CutAndPaste.C (availableSelections): small compilation fix for
5045 ancient (gcc 2.9x) compilers
5047 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5049 * text3.C (cursorNext): add tmp var
5051 * text2.C (updateCounters): for function calling out of for clause
5052 (replaceSelectionWithString): ditto
5053 (insertStringAsParagraphs): ditto
5054 (getColumnNearX): add tmp var
5055 (setCursorFromCoordinates): add tmp var
5056 (cursorDownParagraph): add tmp var
5057 (deleteEmptyParagraphMechanism): add tmp var
5059 * text.C (insertChar): add tmp var
5061 * rowpainter.C (paintDepthBar): add tmp var
5063 * CutAndPaste.C (availableSelections): potentially check all
5064 paragraphs in a cut to fill the shown strings.
5066 2003-06-18 André Pönitz <poenitz@gmx.net>
5068 * kbmap.[Ch]: use vector<> instead of list<>
5070 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5072 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5073 pasteSelection with index
5075 * text2.C (pasteSelection): modify, call pasteSelection with index
5077 * paragraph.C (asString): reimplement version with no interval to
5078 call the one with interval.
5080 * lyxtext.h: add index arg to pasteSelection
5082 * MenuBackend.C (MenuItem): handle PasteRecent
5083 (Menu::read::Menutags): add md_pasterecent
5085 (expandPasteRecent): new function
5088 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5090 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5092 (availableSelections): new function
5094 2003-06-17 Angus Leeming <leeming@lyx.org>
5096 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5098 2003-06-17 Angus Leeming <leeming@lyx.org>
5101 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5103 * lyxfunc.C (dispatch): invoke it.
5105 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5107 * iterators.C (operator++, ParPosition): reintroduce some
5108 const_cast for the benefit of older compilers.
5110 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5112 * text3.C (dispatch): do not modify clipboard when doing
5113 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5114 LFUN_DELETE_SKIP on a selection selection
5116 2003-06-16 André Pönitz <poenitz@gmx.net>
5122 * tabular.[Ch]: IU of clone() and getLabelList();
5124 2003-06-13 André Pönitz <poenitz@gmx.net>
5126 * tabular.h: compactification
5128 2003-06-12 André Pönitz <poenitz@gmx.net>
5132 * tabular_funcs.h: some renaming plus whitespace
5134 2003-06-12 André Pönitz <poenitz@gmx.net>
5137 * BufferView_pimpl.C:
5143 * toc.C: Return a Paragraph & for ParIterator::operator*()
5145 2003-06-11 John Levon <levon@movementarian.org>
5149 * ToolbarBackend.C: add "Toolbars" section and
5152 2003-06-10 Angus Leeming <leeming@lyx.org>
5155 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5157 * lyxfunc.C (dispatch): invoke it.
5159 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5161 * main.C: protect <ios> with HAVE_IOS
5162 (main): protect sync_with_stdio with HAVE_IOS
5164 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5166 * text2.C (cutSelection): adjust
5167 (pasteSelection): adjust
5169 * messages.C: handle get of empty string
5171 * main.C (main): use sync_with_stdio(false)
5173 * lyxfunc.C (dispatch): adjust
5175 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5176 (WriteAs): remove unneeded BufferView arg.
5178 * bufferparams.h: use correct types on papersize, papersize2 and
5181 * bufferparams.C (readToken): adjust for type
5182 (writeLaTeX): add missing cases to switch.
5184 * bufferlist.C (quitWriteBuffer): adjust
5187 * buffer.C (asciiParagraph): remove some commented code.
5189 * CutAndPaste.C: remove current_view extern variable.
5190 (cutSelection): add BufferParams arg.
5191 (eraseSelection): add BufferParams arg.
5192 (pasteSelection): add Buffer const & arg
5194 2003-06-07 John Levon <levon@movementarian.org>
5197 * paragraph_funcs.C:
5198 * paragraph_pimpl.C:
5202 * paragraph.C: allow InsetERT to freely space lines,
5203 and some consolidation of code
5205 2003-06-06 José Matos <jamatos@fep.up.pt>
5207 * buffer.C (makeDocBookFile): fix bug #821
5209 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5211 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5213 2003-06-04 Angus Leeming <leeming@lyx.org>
5215 * buffer.C: bump format to 224.
5217 2003-06-05 André Pönitz <poenitz@gmx.net>
5219 * text2.C (redoParagraphs): remove two const_cast<>
5221 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5223 * ParagraphList.h: remove last remnants of NO_STD_LIST
5225 2003-06-03 Angus Leeming <leeming@lyx.org>
5227 * factory.C (createInset): small change to the way InsetExternal's params
5230 2003-06-04 André Pönitz <poenitz@gmx.net>
5232 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5234 * paragraph_pimpl.h:
5235 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5237 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5239 * undo_funcs.C: make some simple cases of undo work again
5241 2003-06-03 John Levon <levon@movementarian.org>
5243 * ispell.C: HPUX doesn't have sys/select.h
5246 2003-06-03 John Levon <levon@movementarian.org>
5248 * CutAndPaste.C: update tabular and include inset
5253 * paragraph.C: remove owningBuffer(), don't pass Buffer
5256 * factory.C: insetGraphicsParams changed
5258 2003-06-02 John Levon <levon@movementarian.org>
5264 * text3.C: remove insetparent
5266 2003-06-02 John Levon <levon@movementarian.org>
5269 * buffer.C: fix inset_iterator.end(), move out of line
5272 2003-06-01 John Levon <levon@movementarian.org>
5274 * text3.C: use a proper cut/paste when doing inset
5275 insert (from Jürgen Spitzmüller)
5277 2003-06-01 John Levon <levon@movementarian.org>
5279 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5281 2003-05-30 André Pönitz <poenitz@gmx.net>
5283 * rowpainter.C: unify second drawing phase
5285 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5287 * trans_mgr.C: remove one case of current_view
5289 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5291 * paragraph_funcs.h: remove paragraph.h include
5293 * paragraph.h: delete NO_STD_LIST stuff
5295 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5297 * buffer.h: remove paragraph.h include
5299 * ParagraphList.C: delete file
5301 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5303 * toc.C (getTocList): adjust
5305 * paragraph_pimpl.C (validate): adjust
5307 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5309 * paragraph.C (Paragraph): adjust
5310 (getPositionOfInset): use const_iterator, adjust
5311 (bibitem): use const_iterator, adjust
5312 (setInsetOwner): adjust
5314 * iterators.C (operator++): adjust
5316 * InsetList.[Ch]: Replace selfmade iterator with standard
5317 vector::iterator also introduce const_iterator. Remove getPos,
5318 getInset and setInset from InsetTable. Adjust accordingly.
5320 * BufferView.C (lockInset): adjust
5321 (ChangeInsets): adjust
5323 * tabular.[Ch]: delete commented same_id functions
5325 2003-05-28 John Levon <levon@movementarian.org>
5327 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5329 2003-05-28 André Pönitz <poenitz@gmx.net>
5331 * metricsinfo.[Ch]: remove 'fullredraw' member
5333 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5335 * lyxtextclass.C (operator): remove caching.
5337 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5341 * text2.C (cursorBottom): adjust
5342 (setCounter): use ParagraphList::find, adjust
5344 * text.C (workWidth): use ParagraphList::find, adjust
5346 * lyxcursor.C (LyXCursor): adjust
5348 * buffer.C (inset_iterator): adjust
5350 * ParagraphList.h: make iterator(value_type) private, make
5351 ParagraphList a friend of iterator.
5353 * ParagraphList.C (find): new function
5355 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5357 2003-05-27 André Pönitz <poenitz@gmx.net>
5359 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5361 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5363 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5365 2003-05-26 John Levon <levon@movementarian.org>
5367 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5369 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5371 * remove same_id from function signatures, adjust.
5373 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5375 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5377 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5379 * paragraph.C (Paragraph): get rid of same_ids parameter
5381 * ParagraphList.C (insert): adjust
5384 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5386 * paragraph_funcs.C (breakParagraph): adjust
5387 (breakParagraphConservative): adjust
5389 * buffer.C (readParagraph): adjust
5391 * ParagraphList.C (insert): take a reference instead of a pointer
5394 * paragraph.[Ch] (id): new function
5396 * bufferlist.C (newFile): adjust
5398 * ParagraphList.C (ParagraphList): adjust
5400 (push_back): take a reference instead of a pointer.
5402 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5404 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5407 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5408 set else use old code.
5410 * ParagraphList.C: remove all NO_NEXT code and only compile this
5411 code of NO_STD_LIST is set.
5413 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5415 * BufferView_pimpl.C:
5425 * graphics/GraphicsConverter.C:
5426 * graphics/PreviewLoader.C: header adjustment
5428 2003-05-23 Angus Leeming <leeming@lyx.org>
5430 * LaTeXFeatures.[Ch] (useBabel): new method.
5431 * bufferparams.C (writeLaTeX): use it.
5433 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5435 * ParagraphList.h (set): remove unused function.
5437 2003-05-23 André Pönitz <poenitz@gmx.net>
5440 * BufferView_pimpl.C:
5444 * undo_funcs.C: setUndo reworked
5446 * iterators.[Ch]: add access to topmost ParagraphList
5448 * lyxtext.[Ch] (workWidth): add a const
5450 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5452 * texrow.[Ch] (increasePos): remove function
5453 * exporter.C (export): removed unused var and outdated comment
5455 2003-05-23 Angus Leeming <leeming@lyx.org>
5457 * latexrunparams.h: rename fragile as moving_arg.
5458 * paragraph.C (simpleTeXOnePar): ditto.
5459 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5461 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5463 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5465 (textUndoOrRedo): comment out a currently unused var.
5467 * paragraph.h (NO_NEXT): enable NO_NEXT
5469 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5471 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5473 * exporter.C (Export): adjust for removeAutoInsets removal.
5475 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5477 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5479 * BufferView.[Ch] (removeAutoInsets): delete function
5481 2003-05-22 Angus Leeming <leeming@lyx.org>
5483 * latexrunparams.h: add a free_spacing variable.
5485 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5486 to pass moving_arg, as the data is stored in runparams.fragile.
5488 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5489 to Inset::latexOptional or to simpleTeXOnePar.
5491 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5492 free_spacing arg to Inset::latexOptional.
5494 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5497 2003-05-22 Angus Leeming <leeming@lyx.org>
5499 * latexrunparams.h: add fragile and use_babel variables.
5501 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5502 * buffer.C (makeLaTeXFile): store this returned value in
5503 runparams.use_babel, thus passing it to the inset::latex methods.
5505 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5506 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5508 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5509 longer has a fragile arg, as it is stored in runparams.fragile.
5511 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5512 moving_arg parameter as the data is stored in runparams.fragile.
5514 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5515 a fragile parameter as the data is stored in runparams.fragile.
5517 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5521 2003-05-22 Angus Leeming <leeming@lyx.org>
5523 * latexrunparams.h: add a 'bool nice' which defaults to false.
5525 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5526 now encapsulated within runparams.
5528 * bufferlist.C (updateIncludedTeXfiles):
5529 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5531 2003-05-22 Angus Leeming <leeming@lyx.org>
5533 * latexrunparams.h: new file containing struct LatexRunParams.
5534 * Makefile.am: add new file.
5536 * LaTeX.[Ch] (c-tor, run):
5537 * buffer.[Ch] (makeLaTeXFile):
5538 * bufferlist.[Ch] (updateIncludedTeXfiles):
5539 * converter.C (convert, scanLog):
5540 * converter.[Ch] (runLaTeX):
5541 * exporter.C (Export):
5542 * paragraph.[Ch] (simpleTeXOnePar):
5543 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5544 * paragraph_funcs.[Ch] (latexParagraphs):
5545 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5546 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5547 pass around a LatexRunParams parameter.
5549 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5551 * paragraph.[Ch]: remove unused constructor
5553 * ParagraphList.C (erase): new function, taking two iterators
5555 2003-05-22 André Pönitz <poenitz@gmx.net>
5557 * undo_funcs.C: remove duplicated code
5559 * iterator.[Ch]: operator=
5561 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5563 * tabular.C (SetMultiColumn): ws changes
5565 * rowpainter.C (paintFirst): get rid of a ->previous
5567 * lyx_cb.C (getPossibleLabel): parlist simplification
5569 * BufferView.C (ChangeInsets): simplify slightly.
5571 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5573 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5574 * lfuns.h: new LFUN_SPACE
5575 * lyxfunc.C: protected space has a new lfun
5576 * paragraph_funcs.C: read new space insets
5578 * factory.C: handle new space insets
5580 2003-05-22 André Pönitz <poenitz@gmx.net>
5583 * BufferView_pimpl.C:
5586 * undo_funcs.C: return a ParIterator from getParFromID.
5588 * iterators.[Ch]: add two const's
5590 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * toc.C (getTocList): adjust
5594 * iterators.[Ch]: rework for parlist
5596 * buffer.C (par_iterator_begin): adjust
5597 (par_iterator_end): adjust
5599 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5601 * BufferView.C (removeAutoInsets): adjust
5602 (ChangeInsets): adjust
5604 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5606 * text.C (top_y): fix bug 1110
5608 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5610 * errorlist.[Ch]: added
5613 * BufferView_pimpl.C:
5614 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5617 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5619 * Makefile.am: ensure that lyx is relinked upon changes to the
5620 various "convenience" libs.
5622 2003-05-20 Angus Leeming <leeming@lyx.org>
5624 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5625 files are compiled in alphabetical order again.
5627 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5629 2003-05-19 Angus Leeming <leeming@lyx.org>
5631 * gettext.[Ch]: remove "char const * _(char const *)".
5633 2003-05-19 André Pönitz <poenitz@gmx.net>
5635 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5644 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5646 2003-05-19 André Pönitz <poenitz@gmx.net>
5650 * lyxtextclass.[Ch]:
5652 * paragraph_funcs.[Ch]:
5654 * text3.C: more insetenv work
5656 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5658 * ParagraphParameters.C (params2string): small bug fixed
5660 2003-05-16 André Pönitz <poenitz@gmx.net>
5663 * bufferview_funcs.C: patch from Kornel Benko to prevent
5664 crash when _(...) is called twice in a statement
5666 2003-05-16 André Pönitz <poenitz@gmx.net>
5673 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5675 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5677 * lyx_main.C (init): remove spurious static_cast
5679 2003-05-14 André Pönitz <poenitz@gmx.net>
5681 * BufferView.C: fix format string
5683 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5685 * BufferView.[Ch] (insertErrors): removed
5686 * BufferView.[Ch] (showErrorList): added
5687 * buffer.C (runChkTeX):
5688 * converter.C (scanLog): call showErrorList instead of inserterrors
5690 2003-05-13 André Pönitz <poenitz@gmx.net>
5692 * BufferView_pimpl.C:
5694 * bufferview_func.C:
5701 * tabular_funcs.h: tostr() from its own header
5703 * ParagraphParameters.C:
5708 * text3.C: STRCONV()
5710 2003-05-12 André Pönitz <poenitz@gmx.net>
5713 * BufferView_pimpl.C:
5717 * ParagraphParameters.C:
5721 * bufferview_funcs.C:
5734 * paragraph_funcs.C:
5738 * text3.C: boost::format -> bformat all over the place
5741 2003-05-09 André Pönitz <poenitz@gmx.net>
5743 * LColor.[Ch]: Pimpl the #include <map> away
5745 2003-05-09 John Levon <levon@movementarian.org>
5747 * bufferlist.C: never remove emergency saves
5749 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5751 * Makefile.am: better lib building
5753 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5755 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5757 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5758 (simpleTeXSpecialChars): adjust
5759 (simpleTeXSpecialChars): adjust
5760 * paragraph.C (simpleTeXOnePar): adjust
5761 * buffer.C (makeLaTeXFile): adjust
5763 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5765 * text2.C (changeDepth): parlist cleanup
5766 (getColumnNearX): ditto
5768 * rowpainter.C (getLabelFont): parlist cleanup
5770 * bufferlist.C (newFile): parlist cleanup
5772 * CutAndPaste.C (eraseSelection): parlist cleanup
5774 * BufferView_pimpl.C (trackChanges): parlist cleanup
5777 * BufferView.C (lockInset): parlist cleanup.
5778 (ChangeInsets): ditto
5780 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5782 * CutAndPaste.h: Update file header.
5784 * CutAndPaste.C: Update file header.
5785 Store the parts cut out of the Document in a limited_stack.
5786 (copySelection): adjust
5787 (pasteSelection): new function, takes the index in the limited stack.
5788 (nrOfParagraphs): adjust
5789 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5790 simplify error inset insertion.
5791 (checkPastePossible): adjust
5793 2003-05-06 John Levon <levon@movementarian.org>
5795 * text2.C: don't cast wrap inset to float
5797 2003-05-05 André Pönitz <poenitz@gmx.net>
5800 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5802 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5803 few naked Paragraph *.
5805 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5807 * bufferparams.C: Output warning if a document with missing
5808 TeX document class is loaded
5809 * exporter.C: Disable TeX exports if the document class is missing
5812 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5813 isTeXClassAvailable()
5815 2003-05-03 John Levon <levon@movementarian.org>
5818 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5819 explicit cursor show/hide
5821 * BufferView_pimpl.h:
5822 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5823 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5825 * lyxfunc.C: hide cursor before dispatching.
5830 * text3.C: remove explicit cursor hides
5832 2003-05-02 André Pönitz <poenitz@gmx.net>
5834 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5837 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5840 * text2.C: tiny whitespace
5842 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5844 * undo_funcs.C: almost only ws changes.
5846 * ParagraphList.C (splice): just return if pl is empty.
5848 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5850 * ParagraphList.C (splice): new function.
5852 * CutAndPaste.C (pasteSelection): use it
5854 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5856 * CutAndPaste.C (pasteSelection): remove the last next and
5857 previous from this file.
5859 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5861 * CutAndPaste.C (pasteSelection): more clean up, user proper
5862 ParagraphList functions for pasteing.
5864 * ParagraphList.C (insert): new function, three arg insert
5866 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5868 * ParagraphList.C (insert): new function, three arg insert
5870 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5873 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5875 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5877 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5879 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5881 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5883 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5884 (copySelection): clean up a bit.
5885 (pasteSelection): use make_pair
5887 * ParagraphList.C (ParagraphList): implement copy constructor
5888 (operator=): implement, base on copy constructor.
5891 * paragraph.C (erase): return a bool
5893 * paragraph_pimpl.C (erasePos): remove function, move contents...
5894 (erase): ... here. Return a bool.
5895 (erase): call erase instead of erasePos.
5897 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5899 * ParagraphList.h: define PitPosPair
5900 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5901 ParagraphList, fix a bug on pasting multiple pars
5902 * text2.C: change interface to C&P
5904 2003-04-30 André Pönitz <poenitz@gmx.net>
5906 * undo_func.C: revert part of yesterday's patch 2
5908 2003-04-30 John Levon <levon@movementarian.org>
5910 * LColor.C: s/tabular/table/
5912 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5914 * text3.C (dispatch): do not convert iterator -> pointer
5915 * undo_funcs.C (setCursorParUndo): ditto
5916 * text_funcs.C (transposeChars): ditto
5918 * text2.C (setLayout): ws changes only
5920 * text.C (breakParagraph): do not convert iterator -> pointer
5922 (acceptChange): ditto
5923 (rejectChange): ditto
5928 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5931 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5933 * text3.C (gotoInset): YABG (yet another bad getChar)
5935 2003-04-29 André Pönitz <poenitz@gmx.net>
5937 * paragraph.h: make operator= private unimplemented as long as
5940 * ParagraphList.C: whitespace
5943 * paragraph_pimpl.[Ch]:
5944 * paragraph_funcs.C:
5946 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5949 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5951 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5953 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5954 * paragraph.[Ch] (erase):
5955 * paragraph_pimpl.[Ch] (erase): change return type and value
5956 * text2.C (cutSelection): some rework
5958 2003-04-28 John Levon <levon@movementarian.org>
5960 * bufferlist.C: changes for unsaved changes dialog
5962 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5964 * bufferlist.C (newFile): set language (messages_) for new
5967 * buffer.C (readFile): ws changes only.
5969 2003-04-28 André Pönitz <poenitz@gmx.net>
5974 * BufferView_pimpl.C:
5975 * BufferView.C: getParFromID related ParagraphList::iterator changes
5977 2003-04-28 André Pönitz <poenitz@gmx.net>
5979 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5982 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5984 * messages.C: remove one more localedir class variable.
5986 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5988 * messages.C (getLocaleDir): singleton generation function
5990 (Messages): add a default constructor.
5992 * main.C (main): do not setup localedir here, do not call
5995 * gettext.C (_): use it.
5996 (gettext_init): delete funciton
5998 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6000 * gettext.C (getLyXMessages): new singleton generating function.
6002 * buffer.C (updateDocLang): adjust
6004 * Makefile.am (messages.o): add target
6005 (main.o): remove target
6007 2003-04-27 John Levon <levon@movementarian.org>
6012 * lyxvc.C: specify cancel button in Alert::prompt
6014 2003-04-26 John Levon <levon@movementarian.org>
6019 * LyXAction.C: add LFUN_INSET_SETTINGS
6021 * lyxfunc.C: don't enable tabular-feature when there's
6022 just any locking inset
6024 2003-04-26 John Levon <levon@movementarian.org>
6026 * bufferlist.C: re-add Cancel to buffer close question
6028 * lyxfunc.C: fix import UI a bit
6030 2003-04-25 John Levon <levon@movementarian.org>
6032 * gettext.C: remove the broken asserts for now
6034 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6036 * messages.C: make case where setlocale cannot comply work better.
6038 * buffer.C (updateDocLang): new function
6039 (changeLanguage): use it
6042 * text2.C (setCounter): use B_ a bit.
6044 * lyxlayout.C (Read): be sure to trim the label strings.
6046 * messages.C (Messages): fix typo in comment
6048 * buffer.C (readFile): set message_ after file is loaded.
6049 (makeDocBookFile): remove double return
6050 (changeLanguage): reset message_ upon language change.
6051 (B_): new func, use this to get translated buffer strings.
6053 * main.C: add myself and Jean Marc as authors.
6055 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6057 * messages.[hC]: pimplify Messages, and three different pimpls to be
6058 used in different circumstances.
6060 * gettext.[Ch]: change for use with new message code.
6062 2003-04-24 André Pönitz <poenitz@gmx.net>
6064 * factory.C: support for eqref
6066 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6068 * messages.[Ch]: add missing char
6070 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6072 * messages.[Ch]: New files
6074 2003-04-18 John Levon <levon@movementarian.org>
6078 * BufferView_pimpl.C:
6082 * text2.C: remove layout-copy/paste (bug 778)
6084 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6086 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6088 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6090 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6091 if they succeed. Act accordingly.
6093 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6095 * text2.C (setCharFont): adjust
6096 (setCounter): adjust
6097 (insertStringAsLines): adjust
6099 * text.C (leftMargin): adjust
6100 (setHeightOfRow): adjust
6102 * rowpainter.C (paintFirst): adjust
6105 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6107 (isFirstInSequence): ditto
6108 (getEndLabel): ditto
6111 * paragraph.C (getParLanguage): comment out some hard stuff.
6113 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6115 (simpleDocBookOnePar): ditto
6116 (makeDocBookFile): use ParagraphList::iterator
6118 * CutAndPaste.C (pasteSelection): adjust
6120 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6122 * text2.C (getFont): adjust
6123 (getLayoutFont): adjust
6124 (getLabelFont): adjust
6126 * paragraph_funcs.C (TeXOnePar): adjust
6128 * buffer.C (simpleLinuxDocOnePar): adjust
6129 (simpleDocBookOnePar): adjust
6131 * CutAndPaste.C (pasteSelection): adjust
6133 * BufferView.C (getEncoding): adjust
6135 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6137 2003-04-16 John Levon <levon@movementarian.org>
6139 * lyxfind.C: use parlist stuff for search/changes
6141 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6143 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6145 * text2.C (deleteEmptyParagraphMechanism): adjust
6147 * text2.[Ch] (ownerParagraph): delete func (both of them
6149 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6151 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6153 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6155 * ParagraphList.C: prepare for NO_NEXT
6157 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6159 * text2.C (getFont): adjust
6160 (getLayoutFont): adjust
6161 (getLabelFont): adjust
6163 * paragraph.C (getFont): adjust
6164 (getLabelFont): adjust
6165 (getLayoutFont): adjust
6167 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6169 2003-04-15 John Levon <levon@movementarian.org>
6173 * lyx_main.C: handle Include in .ui files
6175 2003-04-15 John Levon <levon@movementarian.org>
6177 * MenuBackend.C: make the doc files length shorter
6180 * ToolbarBackend.C: handle toolbar placement flags,
6183 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6185 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6188 * paragraph_funcs.C (TeXOnePar): adjust
6190 * paragraph.C (getLabelFont): add outerfont arg, adjust
6191 (getLayoutFont): ditto
6192 (simpleTeXOnePar): adjust
6194 * paragraph_pimpl.C (realizeFont): delete func
6196 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6198 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6199 row argument, constify cur argument.
6201 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6203 * text2.C (getFont): adjust
6204 (getLayoutFont): adjust
6205 (getLabelFont): adjust
6207 * paragraph_funcs.C (TeXOnePar): adjust
6208 (outerFont): new func...
6209 (realizeFont): ...moved out from here, changed this to facilitate
6212 * paragraph.C (getFont): take outerfont as arg, adjust
6213 (simpleTeXOnePar): add outerfont arg, adjust
6215 * buffer.C (simpleLinuxDocOnePar): adjust
6216 (simpleDocBookOnePar): adjust
6218 * CutAndPaste.C (pasteSelection): adjust
6220 * BufferView.C (getEncoding): adjust
6222 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6224 * text2.C (setCharFont): adjust
6225 (setCounter): adjust
6227 * text.C (leftMargin): adjust
6228 (setHeightOfRow): adjust
6230 * rowpainter.C (paintFirst): adjust
6233 * paragraph_pimpl.C (realizeFont): adjust
6235 * paragraph.C (isFirstInSequence): move from here...
6236 * paragraph_funcs.C (isFirstInSequence): ...to here
6238 * paragraph.C (outerHook): move from here...
6239 * paragraph_funcs.C (outerHook): ...to here
6241 * paragraph.C (depthHook): move from here...
6242 * paragraph_funcs.C (depthHook): ...to here
6244 * paragraph.C (getEndLabel): move from here...
6245 * paragraph_funcs.C (getEndLabel): ...to here
6247 * text2.C (realizeFont): move from here...
6248 * paragraph_funcs.C (realizeFont): ...to here
6250 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6252 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6254 2003-04-14 Angus Leeming <leeming@lyx.org>
6256 * LColor.[Ch]: scrap LColor mathcursor.
6258 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6260 * lyxlex.[Ch] (text): delete function
6261 * trans.C (Load): adjust
6262 * paragraph_funcs.C (readParToken): adjust
6264 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6266 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6267 vector<char> instead of a char[].
6269 * lyxlex_pimpl.C (getString): adjust
6271 (lex): use getString
6275 * lyxlex.C (text): use pimpl_->getString()
6279 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6281 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6282 (makeFontEntriesLayoutSpecific): temp var for par.size()
6283 (setLayout): temp var for ownerParagraphs().end()
6284 (fullRebreak): temp var for rows().end()
6285 (selectionAsString): temp var for boost::next(startpit), realize
6286 that the while really is a regular for loop.
6287 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6288 setCursor in one place.
6289 (setParagraph): temp vr for ownerParagraphs().end()
6290 (updateCounters): make the while loop a for loop
6291 (cutSelection): temp var for ownerParagraphs().end()
6292 (updateInset): make the do {} while() a regular for loop
6293 (getCursorX): use temp vars
6294 (setCurrentFont): use temp vars
6295 (getColumnNearX): use temp vars
6297 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6299 * text.C (transformChar): use temp var for getChar
6300 (computeBidiTables): use temp var for row->par()
6301 (fill): move temp vars for row->par() and pit->layout() earlier in
6303 (labelFill): use temp var for row->par()
6304 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6305 asc and desc, realize that pit never changes and that firstpit is
6306 just a duplicate and not needed. Exchange rit->par() with pit in a
6308 (breakAgain): use a temp var for boost::next(rit)
6309 (breakAgainOneRow): ditto
6310 (breakParagraph): use a temp var for rows().begin()
6311 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6312 (cursorRightOneWord): use temp var for cursor.par() and
6313 cursor.pos(), remove usage of tmpcursor.
6314 (cursorLeftOneWord): use temp var for cursor.par() and
6315 cursor.pos() only set cur at end of function.
6317 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6319 * text.C, text2.C: exchange all usage of Paragraph::next with
6320 boost::next(ParagraphList::iterator)
6322 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6324 * text2.C (cursorTop): simplify implementation
6325 (cursorBottom): ditto
6326 (setParagraph): use ParagraphList::iterator
6327 (setCurrentFont): adjust
6328 (getColumnNearX): adjust
6329 (cursorRight): adjust
6330 (cursorLeft): remove usage of Paragraph::previous
6331 (cursorUpParagraph): ditto
6332 (deleteEmptyParagraphMechanism): slight cleanup
6334 * text.C (isBoundary): take a Paragraph const & instead of a
6336 (addressBreakPoint): ditto
6337 (leftMargin): remove usage of Paragraph::previous.
6338 (setHeightOfRow): ditto
6339 (cursorLeftOneWord): ditto
6340 (selectNextWordToSpellcheck): ditto
6343 (breakParagraph): remove one usage of Paragraph::next
6344 (redoParagraph): ditto
6345 (acceptChange): ditto
6346 (insertChar): adjust
6347 (rowBreakPoint): adjust
6349 * bufferview_funcs.C (toggleAndShow): adjust
6351 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6353 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6354 methods to access it.
6356 * text.C: Added updateRowPositions to compute all row positions.
6357 Make top_y and getRowNearY() to use the cached y position
6359 2003-04-11 John Levon <levon@movementarian.org>
6361 * text.C (rowBreakPoint): reintroduce the labelEnd
6362 checks, code copied from the row fill stuff. Deep voodoo.
6364 * text.C (fill): add a comment and debugging for the
6367 2003-04-11 John Levon <levon@movementarian.org>
6369 * text.C: make sure fullrow insets get wrapped to the next line,
6370 even when they're in a manual label
6372 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6374 * text2.C (insertParagraph): make it take ParagraphList::iterator
6376 (setLayout): make it return ParagraphList::iterator
6377 (redoParagraphs): ditto
6379 (checkParagraph): ditto
6381 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6383 * text2.C: adjust several funcs.
6384 (realizeFont): take a ParagraphList::iterator as arg.
6385 (getLayoutFont): ditto
6386 (getLabelFont): ditto
6387 (setCharFont): ditto
6389 * text.C: adjust several funcs.
6391 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6393 * text.C (selectNextWordToSpellcheck): don't accidentally
6396 2003-04-10 John Levon <levon@movementarian.org>
6398 * ToolbarBackend.C (getIcon): special handling for
6401 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6403 * text2.C (cursorRight): a getChar assert fixed
6405 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6407 * text2.C (getFont): change to take a ParagraphList::iterator
6408 instead of Paragraph*
6409 Adjust several functions.
6411 * text.C (transformChar): change to take a ParagraphList::iterator
6412 instead of Paragraph*
6413 (singleWidth): ditto
6414 Adjust several functions.
6416 * rowpainter.C: adjust several functions
6417 * rowpainter.h:store a ParagraphList::iterator and not a
6421 2003-04-09 John Levon <levon@movementarian.org>
6426 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6427 and the "help" bits as well
6429 2003-04-09 John Levon <levon@movementarian.org>
6432 * ToolbarBackend.C: allow multiple toolbars
6434 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6436 * undo_funcs.C (setCursorParUndo): adjust
6438 * text_funcs.C (transposeChars): adjust
6440 * text3.C (gotoNextInset): adjust
6443 * text2.C (setLayout): adjust
6444 (changeDepth): adjust
6446 (redoParagraphs): adjust
6447 (selectionAsString): adjust
6448 (setParagraph): adjust
6449 (insertInset): adjust
6450 (cutSelection): adjust
6451 (copySelection): adjust
6452 (pasteSelection): adjust
6453 (insertStringAsLines): adjust
6454 (updateInset): adjust
6455 (setCursor): change to take a ParagraphList::iterator parameter
6456 (setCursorIntern): change to take a ParagraphList::iterator parameter
6457 (setCurrentFont): adjust
6458 (cursorLeft): adjust
6459 (cursorRight): adjust
6460 (deleteEmptyParagraphMechanism): adjust
6462 * text.C (breakParagraph): adjust
6463 (insertChar): adjust
6464 (acceptChange): adjust
6465 (rejectChange): adjust
6466 (selectNextWordToSpellcheck): adjust
6467 (changeCase): adjust
6471 * lyxfind.C (SearchForward): adjust
6472 (SearchBackward): adjust
6473 (nextChange): adjust
6475 * lyxcursor.C (par): adjust
6477 * lyxcursor.h: store a ParagraphList::iterator instead of a
6480 * lyx_cb.C (getPossibleLabel): adjust
6482 * bufferview_funcs.C (toggleAndShow): adjust
6484 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6487 * BufferView.C (removeAutoInsets): adjust
6488 (lockedInsetStoreUndo): adjust
6490 2003-04-09 John Levon <levon@movementarian.org>
6492 * ToolbarBackend.C: try icon without argument
6493 if with argument fails
6495 2003-04-08 John Levon <levon@movementarian.org>
6498 * ToolbarBackend.C: add getIcon(), handle tooltip,
6499 and change from "Icon" to "Item".
6501 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6503 * BufferView.C (lockInset): another bad getchar crunched
6505 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6507 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6510 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6512 * lyxfind.C (searchForward, searchBackwards): bug 782
6514 2003-04-07 John Levon <levon@movementarian.org>
6516 * paragraph.C: remove dead comment
6518 * text.C: remove troublesome depth-fiddling code
6519 in leftMargin() and rightMargin() (bug 1017)
6521 * text.C: fix breaking of rows in nested lists
6524 * text2.C (updateCounters): fix up depth values
6527 2003-04-07 John Levon <levon@movementarian.org>
6529 * BufferView_pimpl.C: clear message when doc finishes resizing,
6530 and after a mouse event
6532 * lyxfunc.C: clear message after exiting inset
6534 2003-04-07 John Levon <levon@movementarian.org>
6536 * bufferview_funcs.C: show math status not outside
6537 status in the statusbar
6539 2003-04-07 John Levon <levon@movementarian.org>
6541 * lyxfunc.C: note status changed after a depth change
6543 2003-04-04 Angus Leeming <leeming@lyx.org>
6545 * LaTeX.h: move AuxInfo operator==, != out of line.
6546 Remove LaTeX virtual destructor; nothing derives from it.
6547 Move operator()() out of public area and rename it startscript().
6548 Change protected for private.
6550 2003-04-04 Angus Leeming <leeming@lyx.org>
6553 * text2.C: remove unneeded #includes.
6555 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6557 * text2.C (dEPM): fix the heigth of the next row
6559 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6561 * text.C: squashed an invalid getChar requester + some ws changes
6563 2003-04-03 John Levon <levon@movementarian.org>
6565 * bufferview_funcs.h:
6566 * bufferview_funcs.C:
6569 * text2.C: make getStatus work for the env depth lfuns
6571 2003-04-03 John Levon <levon@movementarian.org>
6573 * bufferview_funcs.h:
6574 * bufferview_funcs.C:
6577 * text2.C: parlistize decDepth(), by merging it with incDepth()
6579 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6581 * lyxrow.h: store a ParagraphList::iterator instead of a
6582 Paragraph* and adjust other class functions to suit.
6584 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6587 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6589 * text2.C (setCursor): do not anchor to cursor row for the time being
6591 2003-04-02 John Levon <levon@movementarian.org>
6598 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6600 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6602 * paragraph.h: make ParagraphList and ParagraphList::iterator
6603 friends of Paragraph.
6605 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6607 * ParagraphList.C: Use the private next_ and previous_ from
6610 2003-04-01 John Levon <levon@movementarian.org>
6614 * Makefile.am: rename, remove defaults gunk
6617 * MenuBackend.C: remove defaults gunk
6620 * Languages.C: remove defaults gunk
6623 * lyx_main.C: error out if files couldn't be found.
6625 2003-04-02 John Levon <levon@movementarian.org>
6627 * text2.C: make incDepth() use parlist
6629 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6631 * undo_funcs.C (firstUndoParagraph): adjust
6633 * text3.C (gotoInset): adjust
6634 (dispatch): adjust, and rewrite loop.
6636 * text2.C (init): adjust, and rewrite loop.
6637 (redoParagraphs): adjust
6638 (updateInset): adjust, and rewrite loop.
6639 (deleteEmptyParagraphMechanism): adjust
6641 * tabular.C (LyXTabular): adjust
6642 (SetMultiColumn): adjust
6645 * lyxtext.[Ch] (ownerParagraph): delete function
6646 (ownerParagraphs): new function returns a ParagraphList.
6648 * BufferView.C (removeAutoInsets): adjust
6649 (insertErrors): adjust
6650 (setCursorFromRow): adjust
6652 2003-04-01 Angus Leeming <leeming@lyx.org>
6654 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6657 2003-04-02 John Levon <levon@movementarian.org>
6663 * text_funcs.C: make transposeChars a free function
6665 * lyxrow_funcs.C: remove wrong comment
6667 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6670 * rowpainter.C: adjust
6675 * lyxrow_funcs. [Ch]: new files
6677 * lyxrow.[Ch]: remove next and previous pointers
6678 (next,previous): remove accessor functions
6679 (isParEnd): move to lyxrow_funcs
6680 (lastPos): move to lyxrow_funcs
6681 (nextRowIsAllInset): move to lyxrow_funcs
6682 (lastPrintablePos): move to lyxrow_funcs
6683 (numberOfSeparators): move to lyxrow_funcs
6684 (numberOfHfills): move to lyxrow_funcs
6685 (numberOfLabelHfills): move to lyxrow_funcs
6686 (hfillExpansion): move to lyxrow_funcs
6690 * bufferview_funcs.C (toggleAndShow): adjust
6692 * RowList.h: Remove class RowList from file leave just a
6695 * RowList.C: delete file
6697 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6700 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6702 * text3.C (cursorPrevious): adjust
6703 (cursorNext): adjust
6706 * text2.C (redoHeightOfParagraph): adjust
6707 (redoDrawingOfParagraph): adjust
6710 * text.C (breakParagraph): adjust
6711 (insertChar): adjust
6714 * rowpainter.C (RowPainter): adjust
6715 (leftMargin): simplify and adjust
6716 (most rowpainter functions): adjust.
6718 * rowpainter.h: store the row as RowList::iterator not as Row*
6720 * lyxcursor.C (row): taka RowList::iterator as arg
6723 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6726 2003-04-01 Angus Leeming <leeming@lyx.org>
6728 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6729 stuff like bool Bool.
6731 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6733 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6736 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6738 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6741 * lyxtext.h (rows): drop one version and leve a const variant that
6742 returns a RowList::iterator.
6744 2003-03-31 Angus Leeming <leeming@lyx.org>
6746 * text.C (fill): ensure that the signature is the same as that in the
6749 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6751 * text2.C (redoParagraphs): adjust
6752 (updateCounters): adjust
6753 (checkParagraph): adjust
6754 (getColumnNearX): adjust and reformat a bit.
6756 * text.C (top_y): adjust
6758 (leftMargin): adjust
6759 (prepareToPrint): adjust
6761 (getRowNearY): adjust
6763 * lyxtext.h: make rowlist_ mutable.
6765 * RowList.h: add const_iterator
6766 * RowList.C: adjust for RowList::const_iterator.
6768 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6771 2003-03-31 John Levon <levon@movementarian.org>
6774 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6776 * lyx_main.C: set default fonts from using lyx_gui funcs
6778 * exporter.C: pdf_mode moved from lyxrc
6781 * lyxfunc.C: changes from above
6783 2003-03-31 John Levon <levon@movementarian.org>
6785 * lyx_main.C: fix to the last fix
6787 2003-03-31 John Levon <levon@movementarian.org>
6789 * bufferlist.C: "Load original" -> "Load Original"
6795 * format.C: more Alert cleanups
6797 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6799 * text2.C (removeParagraph): make it take a RowList::iterator as
6801 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6802 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6804 * text.C (anchor_row): make it take a RowList::iterator as arg,
6806 (computeBidiTables): make it take a const reference to Row instead
6807 of Row pointer, adjust.
6808 (leftMargin): make it take a RowList::iterator as arg, adjust.
6809 (rowBreakPoint): adjust
6810 (breakAgainOneRow): make it take a RowList::iterator as arg,
6812 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6814 * bufferview_funcs.C (toggleAndShow): adjust
6816 2003-03-30 John Levon <levon@movementarian.org>
6820 * boost-inst.C: moved to support
6822 * several files: changes as a result
6824 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6826 * text2.C (LyXText): adjust.
6828 (removeRow): make it take a RowList::iterator as arg, adjust.
6829 (fullRebreak): adjust
6830 (deleteEmptyParagraphMechanism): adjust
6831 (clearPaint): adjust
6834 * text.C (top_y): adjust
6835 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6836 (breakAgain): make it take a RowList::iterator as arg, adjust.
6837 (breakParagraph): adjust
6838 (insertChar): adjust
6841 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6842 need_break_row, and refresh_row.
6844 * text3.C (dispatch): adjust
6846 * text2.C (checkParagraph): adjust
6848 (setCursorFromCoordinates): adjust
6850 * text.C (top_y): adjust
6852 (getRow): make it return a RowList::iterator, adjust
6853 (getRowNearY): make it return a RowList::iterator, adjust
6855 * text2.C (init): adjust
6856 (insertRow): remove function
6857 (insertParagraph): adjust
6858 (redoParagraphs): adjust
6859 (fullRebreak): adjust
6860 (updateCounters): adjust
6862 * text.C (top_y): rewrite to use RowList iterators.
6864 (setHeightOfRow): rewrite to sue RowList iterators.
6865 (appendParagraph): adjust
6866 (breakAgain): adjust
6867 (breakAgainOneRow): adjust
6868 (breakParagraph): adjust
6870 (getRowNearY): adjust, and remove commented code.
6872 * lyxtext.h (firstRow): delete function
6873 (lastRow): delete function
6874 (rows): new function (const and non-const versions.)
6875 (insertRow): delete function
6877 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6879 2003-03-29 John Levon <levon@movementarian.org>
6881 * BufferView_pimpl.C: always update scrollbar top
6882 because pasting text when we're anchored could mean we
6883 miss an update altogether
6885 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6887 * text2.C (init): use rowlist_.end() and not 0.
6888 (insertRow): change to take a RowList::iterator as arg, adjust
6890 (insertParagraph): change to take a RowList::iterator as arg,
6892 (redoParagraphs): remove some debug msgs.
6894 * text.C (appendParagraph): change to take a RowList::iterator
6895 arg, adjust for this.
6896 (breakAgain): add an assert
6897 (breakAgainOneRow): ditto
6899 2003-03-29 John Levon <levon@movementarian.org>
6901 * text2.C: do not clear selection after inc/decDepth
6904 2003-03-29 John Levon <levon@movementarian.org>
6907 * buffer.C: fix broken strerrors according to Lars
6909 2003-03-29 John Levon <levon@movementarian.org>
6911 * converters.C: more Alert cleanups
6913 2003-03-29 John Levon <levon@movementarian.org>
6915 * bufferview_funcs.C: remove pointless Alert
6917 * buffer.C: fix confusing error message when
6918 a template is chmoded 000
6920 2003-03-29 John Levon <levon@movementarian.org>
6924 * BufferView_pimpl.C: Alert fixes
6928 * tabular-old.C: remove unused table compat reading
6930 2003-03-29 John Levon <levon@movementarian.org>
6935 * lyx_cb.C: more Alert cleanups
6937 * lyxfunc.C: don't allow chktex if not latex document
6939 2003-03-29 John Levon <levon@movementarian.org>
6943 * buffer.C: warnings pushed down from support/,
6946 2003-03-29 John Levon <levon@movementarian.org>
6948 * lyxfunc.C: safety check for C-r (revert)
6950 2003-03-29 John Levon <levon@movementarian.org>
6953 * bufferlist.C: several UI fixes using Alert::prompt.
6954 Fix the pointless looping quit code. Fix stupid revert
6959 * lyx_cb.C: use Alert::prompt
6961 * lyx_main.C: remove a silly question
6963 * lyxfunc.C: remove a couple of silly questions,
6966 2003-03-28 John Levon <levon@movementarian.org>
6968 * text2.C: fix bug 974 (End on empty par)
6970 2003-03-28 John Levon <levon@movementarian.org>
6972 * BufferView_pimpl.C:
6974 * lfuns.h: remove do-nothing math greek lfuns
6976 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6978 * lyxgluelength.h (isValidGlueLength): add default arg on
6979 parameter 2. Remove default arg from friend in class.
6981 * lyxlength.h (isValidLength): add default arg on parameter 2.
6982 Remove default arg from friend in class.
6984 * text2.C (LyXText): adjust, initialize refresh_row.
6988 (insertParagraph): adjst
6989 (redoParagraphs): adjust
6990 (fullRebreak): adjust
6991 (updateCounters): adjust
6992 (deleteEmptyParagraphMechanism): first attempt at fixing a
6995 * text.C (top_y): adjust
6996 (setHeightOfRow): adjust
6998 (getRowNearY): adjust
7000 * lyxtext.h: include RowList.h
7001 (~LyXText): not needed anymore, deleted.
7002 (firstRow): modify for RowList
7003 (lastRow): new function
7004 Delete firstrow and lastrow class variables, add a Rowlist
7005 rowlist_ class variable.
7007 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7010 * RowList.C (insert): fix case where it == begin().
7012 2003-03-26 Angus Leeming <leeming@lyx.org>
7014 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7015 the thesaurus dialog.
7017 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7019 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7021 * RowList.[Ch]: new files
7023 * ParagraphList.C (erase): handle the case where it == begin
7026 2003-03-25 John Levon <levon@movementarian.org>
7030 * aspell.C: add new aspell support
7033 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7036 2003-03-25 Angus Leeming <leeming@lyx.org>
7039 * LyXAction.C (init): new LFUN_INSET_INSERT.
7041 * BufferView_pimpl.C (dispatch): split out part of the
7042 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7044 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7047 2003-03-25 Angus Leeming <leeming@lyx.org>
7049 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7051 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7054 * text3.C: remove useless row->height(0)
7056 2003-03-25 John Levon <levon@movementarian.org>
7060 * text3.C: rename the refreshing stuff to better names
7062 2003-03-24 John Levon <levon@movementarian.org>
7064 * BufferView_pimpl.h:
7065 * BufferView_pimpl.C: update layout choice on a mouse
7068 2003-03-23 John Levon <levon@movementarian.org>
7070 * Makefile.am: fix commandtags.h reference
7072 2003-03-22 John Levon <levon@movementarian.org>
7074 * BufferView_pimpl.C:
7079 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7081 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7084 * text.C: take the rtl methods out of line
7086 2003-03-21 André Pönitz <poenitz@gmx.net>
7088 * metricsinfo.[Ch]: new files containing structures to be passed around
7089 during the two-phase-drawing...
7091 2003-03-21 André Pönitz <poenitz@gmx.net>
7093 * lyxtextclass.C: read 'environment' tag.
7095 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7097 * text2.C (removeRow): fix bug 964
7099 2003-03-20 John Levon <levon@movementarian.org>
7103 * text2.C: paint cleanups. Inset::update() dropped font
7106 2003-03-19 John Levon <levon@movementarian.org>
7108 * lyxfunc.C: only fitcursor/markDirty if available()
7110 2003-03-19 John Levon <levon@movementarian.org>
7112 * commandtags.h: rename to ...
7114 * lfuns.h: ... this, and renumber / cleanup
7116 2003-03-19 John Levon <levon@movementarian.org>
7118 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7119 fit the cursor after an lfun
7123 * BufferView_pimpl.h:
7124 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7126 * LyXAction.C: layout-character should have ReadOnly
7128 * ParagraphParameters.C:
7130 * bufferview_funcs.C:
7137 * undo_funcs.C: changes from above
7139 2003-03-18 John Levon <levon@movementarian.org>
7141 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7142 remove it from update()
7144 * lyxfunc.C: update layout choice after an lfun
7146 * text3.C: remove extra updateLayoutChoice()s
7148 2003-03-18 John Levon <levon@movementarian.org>
7150 * text.C: top_y change means full repaint, fix
7151 a drawing bug with cursor movement
7153 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7157 * text2.C: anchor row on setCursor
7159 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7161 * lyxtext.h: remove almost all mutable keywords
7164 * text3.C: remove const keywords accordingly
7166 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7170 (TeXEnvironment): ditto
7173 2003-03-17 John Levon <levon@movementarian.org>
7175 * text.C (rowBreakPoint): remove attempt to fix displayed
7176 math insets inside a manual label
7178 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7180 * lyxtext.h: remove BufferView* as first arg from almost all class
7182 * other files: adjust.
7184 2003-03-17 John Levon <levon@movementarian.org>
7188 * text2.C: more paint cleanups
7190 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7193 * rowpainter.C: remove "smart" background painting code
7195 2003-03-16 John Levon <levon@movementarian.org>
7200 * text3.C: add helper functions for setting refresh_row/y
7202 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7204 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7205 newline inset which *can* get inserted in the pass_thru layouts.
7206 This is primarily for literate documents.
7208 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7210 * buffer.C: increment LYX_FORMAT to 223
7212 2003-03-14 André Pönitz <poenitz@gmx.net>
7214 * textclass.h: prepare for environment handling, ws changes
7215 * lyxlayout.C: read latexheader and latexfooter tags
7217 2003-03-14 John Levon <levon@movementarian.org>
7219 * text2.C: rewrite ::status() a bit
7221 2003-03-13 John Levon <levon@movementarian.org>
7223 * lyxtext.h: add some docs
7225 2003-03-13 John Levon <levon@movementarian.org>
7230 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7232 2003-03-13 John Levon <levon@movementarian.org>
7234 * text3.C: fix appendix redrawing
7236 2003-03-13 John Levon <levon@movementarian.org>
7238 * text.C (setHeightOfRow):
7240 * rowpainter.C: make appendix mark have the text
7241 "Appendix" so the user knows what it is
7244 * LColor.C: s/appendixline/appendix/ from above
7246 2003-03-13 John Levon <levon@movementarian.org>
7248 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7250 * text.C: fix a getChar(pos) bug properly
7252 2003-03-13 Angus Leeming <leeming@lyx.org>
7255 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7256 Probably only temporary. Let's see how things pan out.
7258 * BufferView.C (unlockInset):
7259 * BufferView_pimpl.C (fitCursor):
7260 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7262 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7263 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7265 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7266 new functions that convert ParagraphParameters to and from a string.
7268 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7269 BufferView::Pimpl's dispatch.
7270 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7272 2003-03-13 André Pönitz <poenitz@gmx.net>
7276 * factory.C: make it aware of InsetEnv
7278 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7280 * text2.C (setCursor): never ask for one past last
7281 (setCursor): add some debugging messages.
7283 * text.C (singleWidth): never ask for one past last
7284 (singleWidth): ditto
7286 (rightMargin): ditto
7287 (rowBreakPoint): ditto
7288 (setHeightOfRow): ditto
7289 (prepareToPrint): ditto
7291 * rowpainter.C (paintBackground): never ask for one past last
7292 (paintText): never ask for one past last
7294 * paragraph_pimpl.C (getChar): make the assert stricter, never
7295 allow the one past last pos to be taken
7297 * paragraph.C (getChar): ws changes only
7299 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7300 (numberOfSeparators): ditto
7301 (numberOfHfills): ditto
7303 2003-03-12 John Levon <levon@movementarian.org>
7309 * paragraph_funcs.C: fix per-buffer authorlists
7311 2003-03-12 John Levon <levon@movementarian.org>
7313 * text.C: fix newline in right address
7315 2003-03-12 Angus Leeming <leeming@lyx.org>
7317 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7318 duplicate those in LyXFunc::dispatch.
7322 * ToolbarDefaults.C:
7323 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7324 Add LFUN_FONTFREE_UPDATE.
7326 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7327 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7329 * bufferview_func.[Ch]: several new functions to facilliate
7330 transfer of data to and from the character dialog.
7332 2003-03-12 John Levon <levon@movementarian.org>
7337 * paragraph_funcs.C:
7338 * paragraph_pimpl.C:
7342 * text3.C: remove META_NEWLINE in favour of an inset
7345 * rowpainter.C: remove paintNewline (done by inset)
7347 2003-03-12 John Levon <levon@movementarian.org>
7349 * paragraph_pimpl.C: complain about bad getChar()s
7350 for a while at least
7352 2003-03-12 John Levon <levon@movementarian.org>
7355 * buffer.C: move paragraph read into a separate function,
7356 a little renaming to reflect that.
7359 * bufferparams.C: remove the author_ids map, not necessary now
7362 * factory.C: moved Buffer::readInset to here
7364 * paragraph_funcs.h:
7365 * paragraph_funcs.C: readParagraph free function moved from
7368 * tabular.C: name change
7370 2003-03-12 John Levon <levon@movementarian.org>
7373 * ParagraphParameters.C: move par params input to
7376 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7377 behave like a normal read from the stream wrt reading
7378 a line vs. a \\token
7380 2003-03-12 John Levon <levon@movementarian.org>
7383 * ParagraphParameters.h:
7384 * ParagraphParameters.C: move output code to a
7387 2003-03-12 John Levon <levon@movementarian.org>
7389 * BufferView.C (insertLyXFile):
7392 * tabular.C: use a parlist iterator for creating the
7395 2003-03-12 John Levon <levon@movementarian.org>
7397 * buffer.C: make current_change static local not
7400 2003-03-12 John Levon <levon@movementarian.org>
7402 * buffer.C: fix insertStringAsLines for change tracking
7404 2003-03-12 John Levon <levon@movementarian.org>
7411 * bufferparams.C: move author list into params. Rename some
7412 functions. Move the header reading into a separate token
7413 loop. Move the header token reading into BufferParams.
7415 2003-03-12 John Levon <levon@movementarian.org>
7417 * changes.C: put debug inside lyxerr.debugging() checks
7419 2003-03-11 André Pönitz <poenitz@gmx.net>
7421 * factory.C: make it aware of InsetHFill
7423 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7425 * buffer.C (latexParagraphs): move function from here...
7426 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7429 2003-03-10 Angus Leeming <leeming@lyx.org>
7431 * LyXAction.C (init): fix bug in poplating array with multiple entries
7432 with the same LFUN (spotted by JMarc).
7434 2003-03-10 John Levon <levon@movementarian.org>
7437 * text2.C: move getColumnNearX() near its
7440 2003-03-10 John Levon <levon@movementarian.org>
7442 * text.C: fix break before a minipage
7444 2003-03-10 John Levon <levon@movementarian.org>
7446 * text.C: fix the last commit
7448 2003-03-09 John Levon <levon@movementarian.org>
7452 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7453 bug 365 (don't break before insets unless needed). Don't
7454 return a value > last under any circumstances.
7456 2003-03-09 Angus Leeming <leeming@lyx.org>
7458 * BufferView_pimpl.C (trackChanges, dispatch): call
7459 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7461 2003-03-09 Angus Leeming <leeming@lyx.org>
7463 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7464 than Dialogs::showAboutlyx().
7466 2003-03-09 Angus Leeming <leeming@lyx.org>
7468 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7469 than Dialogs::showTabularCreate().
7471 2003-03-09 John Levon <levon@movementarian.org>
7475 * text2.C: 3rd arg to nextBreakPoint was always the same.
7478 2003-03-08 John Levon <levon@movementarian.org>
7485 * text2.C: Remove the "main" bit from the "main body"
7488 2003-03-08 John Levon <levon@movementarian.org>
7490 * text.C (leftMargin): The left margin of an empty
7491 manual label paragraph should not include the label width
7494 * text.C (prepareToPrint): don't attempt to measure hfills
7495 for empty manual label paragraphs - the answer should be 0
7497 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7499 * CutAndPaste.C: remove commented code and reindent.
7501 2003-03-08 John Levon <levon@movementarian.org>
7504 * lyxfunc.C: move reloadBuffer()
7507 * BufferView.C: to here
7509 * lyxvc.C: add comment
7512 * vc-backend.C: call bv->reload() to avoid
7513 getStatus() check on MENURELOAD
7515 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7517 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7518 to an old format .dep file.
7520 2003-03-07 Angus Leeming <leeming@lyx.org>
7522 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7523 when the LFUN_MOUSE_RELEASE should have been handled by
7524 inset->localDispatch.
7526 2003-03-07 Angus Leeming <leeming@lyx.org>
7528 * BufferView_pimpl.C (dispatch):
7529 * LyXAction.C (init):
7530 * ToolbarDefaults.C (init):
7532 * lyxfunc.C (getStatus):
7533 remove LFUN_INSET_GRAPHICS.
7535 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7537 2003-03-07 Angus Leeming <leeming@lyx.org>
7540 * LyXAction.C (init):
7541 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7543 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7546 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7548 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7549 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7551 2003-03-07 Angus Leeming <leeming@lyx.org>
7553 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7556 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7558 * ParagraphList.C (front): new function
7561 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7563 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7564 and top_row_offset_. removed var first_y.
7566 * text2.C (LyXText, removeRow):
7568 * BufferView_pimpl.C:
7569 use these methods instead of using first_y
7571 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7573 * text2.C (pasteSelection): adjust for checkPastePossible
7575 * CutAndPaste.C: remove Paragraph * buf and replace with
7576 ParagraphList paragraphs.
7577 (DeleteBuffer): delete
7578 (cutSelection): change the tc type to textclass_type
7579 (copySelection): change the tc type to textclass_type
7580 (copySelection): adjust for ParagraphList
7581 (pasteSelection): change the tc type to textclass_type
7582 (pasteSelection): adjust for Paragraphlist
7583 (nrOfParagraphs): simplify for ParagraphList
7584 (checkPastePossible): simplify for ParagraphList
7585 (checkPastePossible): remove unused arg
7587 * ParagraphList.C (insert): handle the case where there are no
7590 * CutAndPaste.h: make CutAndPaste a namespace.
7592 * text3.C (dispatch): adjust
7594 * text.C (breakParagraph): add a ParagraphList as arg
7596 * paragraph_funcs.C (breakParagraph): change to take a
7597 BufferParams and a ParagraphList as args.
7598 (breakParagraphConservative): ditto
7599 (mergeParagraph): ditto
7600 (TeXDeeper): add a ParagraphList arg
7601 (TeXEnvironment): ditto
7604 * buffer.C (readLyXformat2): adjust
7605 (insertStringAsLines): adjust
7606 (latexParagraphs): adjust
7608 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7609 (cutSelection): adjust
7610 (pasteSelection): adjust
7612 * BufferView_pimpl.C (insertInset): adjust
7614 2003-03-05 Angus Leeming <leeming@lyx.org>
7617 * LyXAction.C (init):
7618 * BufferView_pimpl.C (dispatch):
7619 * lyxfunc.C (getStatus):
7620 remove LFUN_CHILD_INSERT.
7622 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7624 2003-03-05 Angus Leeming <leeming@lyx.org>
7627 * LyXAction.C (init):
7628 * src/factory.C (createInset):
7629 * lyxfunc.C (getStatus):
7630 * text3.C (dispatch):
7631 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7633 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7635 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7637 * ParagraphList.C (insert): handle insert right before end()
7638 (erase): fix cases where it can be first or last paragraph.
7640 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7642 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7643 Paragraph::next and Paragraph::previous
7646 * text.C (breakParagraph): adjust
7648 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7649 BufferParams& as arg.
7650 (breakParagraph): use ParagraphList::insert
7651 (breakParagraphConservative): take a Buffer* instead of a
7652 BufferParams& as arg.
7653 (breakParagraphConservative): use ParagraphList::insert.
7655 * buffer.C (insertStringAsLines): un-const it
7656 (insertStringAsLines): adjust
7658 * ParagraphList.C (insert): new function
7660 * CutAndPaste.C (pasteSelection): adjust
7662 * text.C (backspace): adjust
7664 * tabular.C (SetMultiColumn): adjust
7666 * CutAndPaste.C (cutSelection): adjust
7667 (pasteSelection): adjust
7669 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7670 Buffer const * as arg
7672 * ParagraphList.C (erase): new function
7673 * paragraph_funcs.C (mergeParagraph): use it
7674 (mergeParagraph): make it take a Buffer* instead of a
7675 BufferParams* as arg
7677 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7679 (breakParagraphConservative): ditto
7681 * paragraph.h: remove the breakParagraph friend
7683 * paragraph.C (eraseIntern): new function
7684 (setChange): new function
7686 * paragraph_funcs.C (mergeParagraph): make it take a
7687 ParagraphList::iterator instead of a Paragraph *, adjust
7690 * paragraph.h: move an #endif so that the change tracking stuff
7691 also works in the NO_NEXT case.
7693 2003-03-04 Angus Leeming <leeming@lyx.org>
7696 * LyXAction.C: new LFUN_INSET_MODIFY.
7698 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7699 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7701 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7703 * several files: ws changes only
7705 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7706 (TeXEnvironment): ditto
7709 * buffer.C (makeLaTeXFile): adjust
7710 (latexParagraphs): make it take ParagraphList::iterator as args
7712 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7714 * buffer.C (latexParagraphs): adjust
7716 * paragraph.C (TeXOnePar): move function...
7717 (optArgInset): move function...
7718 (TeXEnvironment): move function...
7719 * paragraph_pimpl.C (TeXDeeper): move function...
7720 * paragraph_funcs.C: ...here
7722 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7724 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7726 * buffer.C (readInset): remove compability code for old Figure and
7729 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * buffer.C: ws changes
7734 * BufferView_pimpl.C: ditto
7737 * bufferlist.h: ditto
7741 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7743 * converter.[Ch]: split into itself +
7746 * Makefile.am: += graph.[Ch] + format.[Ch]
7753 * lyxrc.C: added #include "format.h"
7755 2003-02-27 Angus Leeming <leeming@lyx.org>
7757 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7760 * factory.C (createInset): add "label" to the factory.
7762 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7763 string and do no more.
7765 2003-02-27 Angus Leeming <leeming@lyx.org>
7768 * LyXAction.C (init):
7769 * factory.C (createInset):
7770 * BufferView_pimpl.C (dispatch):
7771 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7773 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7775 * lyxfunc.C (dispatch):
7776 * text3.C (dispatch): pass name to params2string.
7778 2003-02-26 Angus Leeming <leeming@lyx.org>
7780 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7782 Rearrange the ~includes. Strip out the unnecessary ones.
7784 * factory.C (createInset): reformat.
7785 create new insets for the various LFUN_XYZ_APPLY lfuns.
7787 2003-02-26 John Levon <levon@movementarian.org>
7790 * lyxrow.C: add isParStart,isParEnd helpers
7792 * paragraph.h: make isInserted/DeletedText take refs
7794 * paragraph_funcs.h:
7795 * paragraph_funcs.C: remove #if 0'd code
7800 * text.C: use lyxrow helpers above.
7801 Move draw and paint routines to RowPainter.
7802 Make several methods use refs not pointers.
7803 Make backgroundColor() const.
7804 Add markChangeInDraw(), isInInset().
7805 Merge changeRegionCase into changeCase.
7806 Make workWidth() shouldn't-happen code into an Assert.
7809 * rowpainter.C: new class for painting a row.
7812 * vspace.C: make inPixels take a ref
7814 2003-02-26 Angus Leeming <leeming@lyx.org>
7816 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7819 2003-02-25 John Levon <levon@movementarian.org>
7821 * ispell.C: give the forked command a more accurate name
7823 2003-02-22 John Levon <levon@movementarian.org>
7826 * toc.C: make TocItem store an id not a Paragraph *
7829 2003-02-21 Angus Leeming <leeming@lyx.org>
7831 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7832 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7833 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7834 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7835 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7836 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7838 * BufferView_pimpl.C (dispatch):
7839 * LyXAction.C (init):
7840 * factory.C (createInset):
7841 * lyxfunc.C (getStatus, dispatch):
7842 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7844 2003-02-21 Angus Leeming <leeming@lyx.org>
7846 * BufferView_pimpl.C (MenuInsertLyXFile):
7847 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7848 * lyxfunc.C (menuNew, open, doImport):
7849 no longer pass a LyXView & to fileDlg.
7851 2003-02-21 Angus Leeming <leeming@lyx.org>
7853 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7854 * LyXAction.C: change, BIBKEY to BIBITEM.
7855 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7856 Change InsetBibKey to InsetBibitem.
7857 Change BIBKEY_CODE to BIBITEM_CODE.
7858 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7859 * factory.C: replace insetbib.h with insetbibitem.h.
7860 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7861 * paragraph.C: replace insetbib.h with insetbibitem.h.
7862 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7863 Change bibkey() to bibitem().
7864 * text.C: remove insetbib.h.
7865 * text2.C: replace insetbib.h with insetbibitem.h.
7866 change bibkey() to bibitem().
7867 * text3.C: remove insetbib.h.
7868 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7870 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7872 * lyxrc.C (output): enclose user email in quotes (in case there are
7875 2003-02-18 John Levon <levon@movementarian.org>
7877 * buffer.h: add std::
7879 2003-02-17 John Levon <levon@movementarian.org>
7885 * pspell.C: reworking. Especially in ispell, a large
7886 number of clean ups and bug fixes.
7888 * lyxfunc.C: fix revert to behave sensibly
7890 2003-02-17 André Pönitz <poenitz@gmx.net>
7893 * commandtags.h: new LFUN_INSERT_BIBKEY
7903 * paragraph_func.C: remove special bibkey handling
7905 2003-02-17 John Levon <levon@movementarian.org>
7907 * text.C (Delete): fix case where delete at the end of
7908 the very first paragraph would not merge the pars
7910 2003-02-17 John Levon <levon@movementarian.org>
7912 * lyxrow.C: fix lastPrintablePos()
7914 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7916 * bufferparams.C (writeLaTeX): add a std:here
7918 * buffer.C: and remove a using directive there
7920 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7922 * buffer.C (makeLaTeXFile): move the code that generates the
7925 * bufferparams.C (writeLaTeX): ... in this new method
7927 * LaTeXFeatures.C (getEncodingSet): make const
7928 (getLanguages): make const
7930 * MenuBackend.C (binding): returns the binding associated to this
7932 (add): sets the status of each item by calling getStatus. Adds
7934 (read): add support for OptSubMenu
7935 (expand): remove extra separator at the end of expanded menu
7937 2003-02-15 John Levon <levon@movementarian.org>
7940 * BufferView_pimpl.C:
7942 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7943 inset code that had no actual effect. Remove unneeded status
7946 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7948 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7951 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7953 * text.C (drawLengthMarker): also draw an arrow marker for
7954 symbolic lengths (medskip...)
7956 2003-02-14 John Levon <levon@movementarian.org>
7959 * tabular.C: better method names
7961 2003-02-14 John Levon <levon@movementarian.org>
7963 * BufferView_pimpl.C:
7968 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7969 it's a more accurate name. Remove some pointless uses.
7971 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7973 * text2.C (LyXText): change order of initilizers to shut off
7976 2003-02-14 John Levon <levon@movementarian.org>
7978 * buffer.C: use ParIterator for getParFromID()
7982 * paragraph_pimpl.h:
7983 * paragraph_pimpl.C: remove unused getParFromID()
7985 2003-02-14 John Levon <levon@movementarian.org>
7987 * buffer.C: remove some very old #if 0'd parse code
7989 2003-02-13 John Levon <levon@movementarian.org>
7993 * text2.C: move hfillExpansion(), numberOfSeparators(),
7994 rowLast(), rowLastPrintable(), numberofHfills(),
7995 numberOfLabelHfills() ...
7998 * lyxrow.C: ... to member functions here.
8003 * text.C: remove LyXText::beginningOfMainBody(), and call
8004 p->beginningOfMainBody() directly. Move the check for
8005 LABEL_MANUAL into the latter.
8012 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8018 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8019 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8021 2003-02-13 John Levon <levon@movementarian.org>
8023 * CutAndPaste.C: remove debug
8025 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8027 * paragraph.C (asString): remove two unused variables
8029 * lyxtextclass.C (readTitleType):
8031 (LyXTextClass): handle new members titletype_ and titlename_
8033 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8035 2003-02-09 John Levon <levon@movementarian.org>
8038 * buffer.C: replace hand-coded list with a map for the dep clean
8040 2003-02-08 John Levon <levon@movementarian.org>
8042 * LaTeX.C: consolidate code into showRunMessage() helper
8044 2003-02-08 John Levon <levon@movementarian.org>
8049 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8050 and pass the size in explicitly
8052 * BufferView_pimpl.h:
8053 * BufferView_pimpl.C:
8055 * BufferView.C: add getCurrentChange()
8057 * BufferView_pimpl.h:
8058 * BufferView_pimpl.C: handle change lfuns
8060 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8061 for changes. Mark pasted paragraphs as new.
8063 * support/lyxtime.h:
8064 * support/lyxtime.C:
8065 * DepTable.C: abstract time_t as lyx::time_type
8068 * LColor.C: add colours for new text, deleted text, changebars
8070 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8071 package use "usenames" option.
8075 * LyXAction.C: add change lfuns
8079 * author.C: author handling
8082 * buffer.C: add a per-buffer author list, with first entry as
8083 current author. Handle new .lyx tokens for change tracking. Output
8084 author list to .lyx file. Output dvipost stuff to .tex preamble.
8085 Bump lyx format to 222.
8088 * bufferlist.C: add setCurrentAuthor() to reset current author details
8092 * bufferparams.C: add param for tracking
8094 * bufferview_funcs.C: output change info in minibuffer
8098 * changes.C: add change-tracking structure
8101 * debug.C: add CHANGES debug flag
8104 * lyxfind.C: add code for finding the next change piece
8107 * lyxrc.C: add user_name and user_email
8110 * lyxrow.C: add a metric for the top of the text line
8113 * text.C: implement accept/rejectChange()
8116 * text.C: paint changebars. Paint new/deleted text in the chosen
8117 colours. Strike through deleted text.
8121 * paragraph_pimpl.h:
8122 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8123 in the current change to the insert functions. Rework erase to
8124 mark text as deleted, adding an eraseIntern() and a range-based
8125 erase(). Implement per-paragraph change lookup and
8128 * paragraph_funcs.C: Fixup paste for change tracking.
8130 * tabular.C: mark added row/columns as new.
8132 * text.C: fix rowLast() to never return -1. Don't allow
8133 spellchecking of deleted text. Track transpose changes. Don't
8134 allow paragraph break or merge where appropriate.
8136 * text2.C: leave cursor at end of selection after a cut.
8138 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8140 * text.C (getLengthMarkerHeight):
8141 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8142 visible on screen too.
8144 2003-02-07 John Levon <levon@movementarian.org>
8146 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8148 2003-02-05 Angus Leeming <leeming@lyx.org>
8150 * lyxserver.C (read_ready): revert my patch of 11 September last year
8151 as it sends PC cpu through the roof. Presumably this means that
8152 the lyxserver will no longer run on an Alpha...
8154 2003-01-30 Angus Leeming <leeming@lyx.org>
8156 * factory.C (createInset): create an InsetCommandParam of type "index"
8157 and use it to 'do the right thing'.
8159 * text2.C (getStringToIndex): ensure that cursor position is always
8160 reset to the reset_cursor position.
8162 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8164 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8167 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8171 * lyxfunc.C: Output messages with identical spelling, punctuation,
8174 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8176 * MenuBackend.C (expandFormats): List only viewable export formats
8179 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8182 * lyxfunc.C (getStatus): Make sure that formats other than
8183 "fax" can also be disabled
8185 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8187 * text3.C (dispatch): put the lfuns that insert insets in 3
8188 groups, and call doInsertInset with appropriate arguments.
8189 (doInsertInset): new function, that creates an inset and inserts
8190 it according to some boolean parameters.
8192 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8194 * buffer.C (readFile): remember to pass on 'par' when calling
8195 readFile recursively.
8197 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8199 * MenuBackend.C (expandFormats): add "..." to import formats.
8201 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8203 * paragraph.C (asString): Remove XForms RTL hacks.
8205 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8206 * buffer.C: fix typo
8208 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8210 * Makefile.am (LIBS): delete var
8211 (lyx_LDADD): add @LIBS@ here instead.
8213 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8215 * Clarify the meaning of "wheel mouse jump"
8217 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8219 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8222 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8224 * importer.C (Loaders): do not preallocate 3 elements in the
8225 vector, since one ends up with 6 elements otherwise
8227 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8229 * DepTable.C (write): write the file name as last element of the
8230 .dep file (because it may contain spaces)
8231 (read): read info in the right order
8233 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8235 * paragraph_pimpl.C (simpleTeXBlanks):
8236 (simpleTeXSpecialChars):
8237 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8239 * tabular.C (latex): add some missing case statements. Reindent.
8241 * MenuBackend.C (expandToc): remove unused variable.
8243 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8252 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8255 2003-01-05 John Levon <levon@movementarian.org>
8258 * BufferView.C: add getEncoding()
8261 * kbsequence.C: do not store last keypress
8264 * lyxfunc.C: store last keypress here instead. Pass encoding
8267 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8269 * lyx_main.C (init): remove annoying error message when following
8270 symbolic links (bug #780)
8272 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8274 * text.C (insertChar):
8275 * lyxrc.C (getDescription): remove extra spaces
8277 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8279 * lyxrc.C (getDescription): remove extra spaces
8281 2002-12-20 John Levon <levon@movementarian.org>
8283 * text3.C: hack fix for page up/down across tall rows
8285 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8287 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8290 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8292 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8293 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8294 thesaurus is not compiled in
8296 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8298 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8300 2002-12-16 Angus Leeming <leeming@lyx.org>
8303 * lyx_main.C (init): remove override_x_deadkeys stuff.
8305 2002-12-12 John Levon <levon@movementarian.org>
8307 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8308 insert. Only remove shift modifier under strict
8311 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8313 * MenuBackend.C (expandToc): fix crash.
8315 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8317 * MenuBackend.C (expandToc): gettext on float names.
8319 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8321 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8322 implement bool empty() [bug 490]
8324 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8326 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8328 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8330 * several files: ws changes
8332 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8334 * text2.C (setCounter): clean up a bit, use boost.format.
8335 (updateCounters): initialize par upon declaration.
8337 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8338 if the layout exists. We do not just store the layout any more.
8339 (SwitchLayoutsBetweenClasses): use boost.format
8341 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8343 * converter.C (convert): if from and to files are the same, use a
8344 temporary files as intermediary
8346 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8349 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8351 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8353 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8355 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8357 * tabular.C (asciiPrintCell): use string(size, char) instead of
8360 * sgml.C (openTag): fix order of arguments to string constructor
8363 * lyxfunc.C (dispatch): use boost.format
8365 * lots of files: change "c" -> 'c'
8367 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8369 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8371 2002-11-25 Angus Leeming <leeming@lyx.org>
8373 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8375 * lyx_main.C (init): compile fix.
8377 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8379 * lyx_cb.C (start): boost.formatify
8380 do not include <iostream>
8382 * lengthcommon.C: ws only
8384 * boost-inst.C,BoostFormat.h: add more explict instantations
8386 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8388 * lots of files: handle USE_BOOST_FORMAT
8390 2002-11-21 John Levon <levon@movementarian.org>
8392 * pspell.C: fix compile
8394 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8396 * lyxfunc.C (dispatch): use boost::format
8400 * lyxfont.C (stateText): use boost::format
8402 * lyx_main.C (LyX): use boost::format
8404 (queryUserLyXDir): ditto
8407 (typedef boost::function): use the recommened syntax.
8409 * importer.C (Import): use boost::format
8411 * debug.C (showLevel): use boost::format
8413 * converter.C (view): use boost::format
8418 * bufferview_funcs.C (currentState): use boost::format
8420 * bufferlist.C (emergencyWrite): use boost::format
8422 * buffer.C (readLyXformat2): use boost::format
8423 (parseSingleLyXformat2Token): ditto
8425 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8427 * LaTeX.C (run): use boost::format
8429 * Chktex.C (scanLogFile): use boost::format
8431 * BufferView_pimpl.C (savePosition): use boost::format
8432 (restorePosition): ditto
8433 (MenuInsertLyXFile): ditto
8435 * BoostFormat.h: help file for explicit instation.
8437 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8439 * tabular.C (latex): Support for block alignment in fixed width
8442 2002-11-17 John Levon <levon@movementarian.org>
8444 * BufferView_pimpl.C:
8446 * lyxfunc.C: split filedialog into open/save
8448 2002-11-08 Juergen Vigna <jug@sad.it>
8450 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8451 by my last patch (hopefully).
8453 2002-11-08 John Levon <levon@movementarian.org>
8462 * toc.C: ParConstIterator, and use it (from Lars)
8464 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8466 * lyxtextclass.[Ch]: revise and add doxygen comments
8468 2002-11-07 John Levon <levon@movementarian.org>
8470 * text.C: fix progress value for spellchecker
8472 * toc.C: fix navigate menu for insetwrap inside minipage
8474 * paragraph_funcs.C: added FIXME for suspect code
8476 2002-11-07 John Levon <levon@movementarian.org>
8478 * BufferView_pimpl.C: fix redrawing of insets
8481 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8483 * text2.C (updateCounters): fix bug 668
8485 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8487 * text3.C (dispatch): Do not make the buffer dirty when moving the
8490 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8492 * vc-backend.C: STRCONV
8495 * text2.C (setCounter): STRCONV
8497 * paragraph.C (asString): STRCONV
8499 * lyxlength.C (asString): STRCONV
8500 (asLatexString): ditto
8502 * lyxgluelength.C (asString): STRCONV
8503 (asLatexString): ditto
8505 * lyxfunc.C (dispatch): STRCONV
8508 * lyxfont.C (stateText): STRCONV
8510 * importer.C (Import): STRCONV
8512 * counters.C (labelItem): STRCONV
8513 (numberLabel): ditto
8514 (numberLabel): remove unused ostringstream o
8519 * bufferview_funcs.C (currentState): STRCONV
8521 * buffer.C (readFile): STRCONV
8522 (asciiParagraph): ditto
8523 (makeLaTeXFile): ditto
8525 * Spacing.C (writeEnvirBegin): STRCONV
8527 * LaTeXFeatures.C (getLanguages): STRCONV
8528 (getPackages): ditto
8530 (getBabelOptions): ditto
8531 (getTClassPreamble): ditto
8532 (getLyXSGMLEntities): ditto
8533 (getIncludedFiles): ditto
8537 (scanAuxFile): ditto
8540 * LString.h: add the STRCONV macros
8542 * BufferView_pimpl.C (savePosition): STRCONV
8543 (restorePosition): ditto
8544 (MenuInsertLyXFile): ditto
8546 * vc-backend.C (scanMaster): change from submatch[...] to
8549 * funcrequest.C: include config.h
8551 * factory.C: include config.h
8553 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8555 * box.C: include config.h
8557 * LaTeX.C (scanAuxFile): change from submatch[...] to
8561 2002-10-25 Angus Leeming <leeming@lyx.org>
8563 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8565 * ispell.[Ch] (setError): new method.
8566 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8567 Use setError() insetead of goto END.
8569 * lyx_cb.C (AutoSave): move out child process into new class
8572 2002-10-30 John Levon <levon@movementarian.org>
8574 * text3.C: make start appendix undoable
8576 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8578 * lyxlength.C (inPixels): Fix returned value.
8580 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8583 2002-10-24 Angus Leeming <leeming@lyx.org>
8585 * lyxgluelength.h: no need to forward declare BufferParams
8586 or BufferView, so don't.
8588 2002-10-21 John Levon <levon@movementarian.org>
8590 * BufferView.C: menuUndo ->undo, redo
8592 * BufferView.h: document, remove dead, make some methods private
8594 * paragraph_funcs.h:
8595 * paragraph_funcs.C:
8596 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8601 * sgml.C: move sgml open/close tag into sgml.C
8603 * bufferview_funcs.h: unused prototype
8606 * lyxfunc.C: remove unused
8609 * text.C: remove unused
8611 2002-10-21 John Levon <levon@movementarian.org>
8615 * BufferView_pimpl.h:
8616 * BufferView_pimpl.C: fix mouse wheel handling based on
8617 patch from Darren Freeman
8619 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8621 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8623 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8625 * lyxlength.C (inPixels): Fix hanfling of negative length.
8626 Fix LyXLength::MU case.
8628 2002-10-16 John Levon <levon@movementarian.org>
8630 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8632 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8634 * converter.C (view): add support for $$i (file name) and $$p
8635 (file path) for the viewer command. If $$i is not specified, then
8636 it is appended to the command (for compatibility with old syntax)
8638 2002-10-14 Juergen Vigna <jug@sad.it>
8640 * undo_funcs.C (textHandleUndo): alter the order in which the
8641 new undopar is added to the LyXText, as we have to set first
8642 the right prev/next and then add it as otherwise the rebuild of
8643 LyXText is not correct. Also reset the cursor to the right paragraph,
8644 with this IMO we could remove the hack in "redoParagraphs()".
8646 2002-10-09 Angus Leeming <leeming@lyx.org>
8648 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8649 to turn off an optimisation if a new inset is to be inserted.
8651 2002-10-11 André Pönitz <poenitz@gmx.net>
8653 * lyxtext.h: make some functions public to allow access
8654 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8656 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8658 * text3.C (dispatch): when changing layout, avoid an infinite loop
8661 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8663 * lyxrc.C (read): treat a viewer or converter command of "none" as
8666 * MenuBackend.C (expandFormats): for an update, also allow the
8667 formats that are not viewable
8669 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8670 script if it is newer than the lyxrc.defaults in user directory
8672 2002-10-07 André Pönitz <poenitz@gmx.net>
8674 * text.C: Vitaly Lipatov's small i18n fix
8676 2002-09-25 Angus Leeming <leeming@lyx.org>
8678 * ispell.h: doxygen fix.
8680 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8682 * buffer.h (readFile): Add a new argument to the method, to allow
8683 reading of old-format templates.
8685 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8687 * toc.C (getTocList): Get TOC from InsetWrap.
8689 2002-09-16 John Levon <levon@movementarian.org>
8691 * lyxfunc.C: check tabular for cut/copy too
8693 2002-09-12 John Levon <levon@movementarian.org>
8698 * factory.C: add header
8700 * paragraph_funcs.h:
8701 * paragraph_funcs.C: cleanup
8703 2002-09-11 John Levon <levon@movementarian.org>
8705 * PrinterParams.h: odd/even default to true
8707 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8709 * PrinterParams.h: update printer parameters for new xforms dialog
8711 2002-09-11 Angus Leeming <leeming@lyx.org>
8713 * lyxserver.C (read_ready): re-write to make it more transparent
8714 and to make it work in coherent fashion under Tru64 Unix.
8716 2002-09-11 André Pönitz <poenitz@gmx.net>
8720 * text3.C: implement LFUN_WORDSEL
8722 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8724 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8725 make floatlist_ a boost::shared_ptr<FloatList>
8727 * lyxtextclass.C: include FloatList.h
8728 (LyXTextClass): initialize floatlist_
8729 (TextClassTags): add TC_NOFLOAT
8730 (Read): match "nofloat" to TC_NOFLOAT and use it.
8731 (readFloat): modify call to floatlist_
8735 * FloatList.[Ch] (FloatList): remove commented out float
8737 (erase): new function
8739 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8741 * MenuBackend.C (expandToc): fix crash when there is no document
8744 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8746 * many files: Add insetwrap.
8748 2002-09-09 John Levon <levon@movementarian.org>
8750 * text2.C: remove confusing and awkward depth wraparound
8752 2002-09-09 John Levon <levon@movementarian.org>
8754 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8757 * buffer.C: remove getIncludeonlyList()
8760 * lyxfunc.C: remove headers
8762 2002-09-09 Juergen Vigna <jug@sad.it>
8764 * text.C (getColumnNearX): fix form Michael this is most
8765 probably a cut&paste bug.
8767 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8769 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8771 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8772 references, ws changes.
8774 * text2.C (init): update counters after init
8775 (insertParagraph): no need to set counter on idividual paragraphs.
8776 (setCounter): access the counters object in the textclass object
8777 on in the buffer object.
8778 (updateCounters): ditto
8780 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8781 shared_ptr<Counters> to avoid loading counters.h in all
8783 (LyXTextClass): initialize ctrs_
8784 (TextClassTags): add TC_COUNTER, and ...
8785 (Read): use it here.
8786 (CounterTags): new tags
8787 (readCounter): new function
8788 (counters): new funtion
8789 (defaultLayoutName): return a const reference
8791 * counters.C (Counters): remove contructor
8792 (newCounter): remove a couple of unneeded statements.
8793 (newCounter): simplify a bit.
8794 (numberLabel): some small formatting changes.
8796 * buffer.[Ch]: remove all traces of counters, move the Counters
8797 object to the LyXTextClass.
8799 2002-09-06 Alain Castera <castera@in2p3.fr>
8801 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8802 package to set the horizontal alignment on fixed width columns.
8805 * lyx_sty.h: added tabularnewline macro def.
8807 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8809 2002-09-06 John Levon <levon@movementarian.org>
8811 * LyXAction.C: tooltips for sub/superscript
8813 * MenuBackend.C: a bit more verbose
8815 * lyxfunc.C: tiny clean
8817 * undo_funcs.C: document undo_frozen
8819 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8821 * counters.C (Counters): add missing algorithm counter.
8823 * text2.C (setCounter): lookup the counter with layouts latexname
8824 instead of by section number.
8825 (setCounter): use a hackish way to lookup the correct enum
8827 a float name->type change
8828 reset enum couners with counter name directly instead of depth value.
8830 * counters.C (Counters): remove the push_backs, change to use the
8831 float type not the float name.
8832 (labelItem): remove unused string, float name->type change
8834 * counters.h: don't include vector, loose the enums and sects vectors
8836 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8838 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8839 (Read): add float->TC_FLOAT to textclassTags
8840 (Read): and handle it in the switch
8841 (readFloat): new function
8843 * FloatList.C (FloatList): comment out the hardcoded float
8846 * lyxlayout.h: ws change.
8848 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8850 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8852 2002-09-03 Angus Leeming <leeming@lyx.org>
8854 * BufferView_pimpl.h: qualified name is not allowed in member
8855 declaration: WorkArea & Pimpl::workarea() const;
8857 * factory.C: added using std::endl directive.
8859 * text3.C: added using std::find and std::vector directives.
8861 2002-08-29 André Pönitz <poenitz@gmx.net>
8864 * text2.C: remove unused member number_of_rows
8867 * BufferView2.C: remove file, move contents to...
8868 * BufferView.C: ... here
8870 * BufferView_pimpl.C:
8871 * factory.C: move more inset creation to factory
8873 * vspace.C: avoid direct usage of LyXText, ws changes
8876 don't provide direct access to WorkArea, use two simple
8877 acessors haveSelction() and workHeight() instead
8880 2002-08-29 John Levon <levon@movementarian.org>
8882 * BufferView_pimpl.C (dispatch): do not continue when
8885 2002-08-28 André Pönitz <poenitz@gmx.net>
8887 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8890 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8892 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8894 * buffer.C: increment LYX_FORMAT to 221
8896 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8897 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8899 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8901 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8903 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8905 * factory.C (createInset): use LyXTextClass::floats
8907 * MenuBackend.C (expandFloatListInsert):
8908 (expandFloatInsert):
8911 * text2.C (setCounter):
8913 * LaTeXFeatures.C (useFloat):
8914 (getFloatDefinitions):
8916 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8918 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8919 floatlist_, with accessor floats().
8921 * FloatList.h: remove global FloatList
8923 2002-08-26 André Pönitz <poenitz@gmx.net>
8925 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8929 * BufferView_pimpl.C:
8930 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8932 2002-08-25 John Levon <levon@movementarian.org>
8934 * LyXAction.C: fix margin note description
8936 2002-08-24 John Levon <levon@movementarian.org>
8940 * bufferview_funcs.C:
8942 * undo_funcs.C: cleanups
8944 * lyxfunc.C: disable CUT/COPY when no selection
8946 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8948 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8949 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8951 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8952 Add backward compatibility to "mono", "gray" and "no".
8954 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8956 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8957 (and file_format >= 200).
8959 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8961 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8963 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8965 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8967 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8969 * BufferView_pimpl.C:
8976 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8977 inset and code to make it work with the paragraph code. The inset
8978 can be anywhere in the paragraph, but will only do the expected
8979 thing in LaTeX if the layout file contains the parameter line
8981 (or more generally, a nonzero value) for that layout.
8983 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8985 * paragraph.h: remove the declaration of undefined counters class
8988 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8990 * text2.C (setCounter): fixed enumeration mis-count as reported by
8991 Dr. Richard Hawkins.
8993 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8995 * paragraph_funcs.h: remove some unneeded includes
8997 * text.C (backspace): pasteParagraph now in global scipe
8999 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9000 (pasteSelection): ditto
9002 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9003 * paragraph_funcs.C (pasteParagraph): ... here
9005 2002-08-20 André Pönitz <poenitz@gmx.net>
9007 * commandtags.h: new LFUNs for swapping/copying table row/colums
9010 * lyxfunc.C: support for new lfuns
9012 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9015 * buffer.[Ch]: remove NO_COMPABILITY stuff
9017 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9019 * boost.C (throw_exception): new file, with helper function for
9020 boost compiled without exceptions.
9025 * ParameterStruct.h:
9026 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9028 * bufferlist.C (emergencyWriteAll): use boost bind
9030 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9032 * text.C: include paragraph_funcs.h
9033 (breakParagraph): breakParagraph is now in global scope
9035 * paragraph_funcs.[Ch]: new files
9037 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9040 * buffer.C: include paragraph_funcs.h
9041 (insertStringAsLines): breakParagraph is now in global scope
9043 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9046 * CutAndPaste.C: include paragraph_funcs.h
9047 (cutSelection): breakParagraphConservative is now in global scope
9048 (pasteSelection): ditto
9050 * buffer.h: declare oprator== and operator!= for
9051 Buffer::inset_iterator
9053 * bufferlist.C (emergencyWrite): don't use fmt(...)
9055 * text3.C: add using std::endl
9057 * BufferView.C (moveCursorUpdate): remove default arg
9059 2002-08-20 André Pönitz <poenitz@gmx.net>
9061 * buffer.[Ch]: move inline functions to .C
9064 * BufferView_pimpl.C:
9066 * buffer.[Ch]: use improved inset_iterator
9069 * paragraph.[Ch]: write one paragraph at a time
9071 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9073 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9074 style if style is not specified.
9076 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9078 * text2.C (setCounter): when searching for right label for a
9079 caption, make sure to recurse to parent insets (so that a caption
9080 in a minipage in a figure float works) (bug #568)
9082 2002-08-20 André Pönitz <poenitz@gmx.net>
9084 * text3.C: new file for LyXText::dispatch() and helpers
9086 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9088 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9090 2002-08-19 André Pönitz <poenitz@gmx.net>
9093 * text.C: new LyXText::dispatch()
9095 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9097 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9099 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9101 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9104 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9106 * Makefile.am: use $(variables) instead of @substitutions@
9108 2002-08-15 André Pönitz <poenitz@gmx.net>
9111 * BufferView_pimpl.C: streamlining mathed <-> outer world
9115 * LyXAction.C: remove unused LFUN_MATH
9117 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9119 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9121 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9123 * paragraph.C (Paragraph): reformat a bit
9124 (cutIntoMinibuffer): use builtin InsetList function instad of
9128 * buffer.C: include boost/bind.hpp, add using std::for_each
9129 (writeFileAscii): use ParagraphList iterators
9130 (validate): use for_each for validate traversal of paragraphs
9131 (getBibkeyList): use ParagraphList iterators
9132 (resizeInsets): use for_each to resizeInsetsLyXText for all
9134 (getParFromID): use ParagraphList iterators
9136 * BufferView2.C (lockInset): use paragraph list and iterators
9138 2002-08-14 John Levon <levon@movementarian.org>
9140 * lyxserver.C: remove spurious xforms include
9142 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9144 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9146 2002-08-13 André Pönitz <poenitz@gmx.net>
9149 * lyxfunc.C: further cleaning
9151 2002-08-13 André Pönitz <poenitz@gmx.net>
9153 * funcrequest.h: new constructor
9155 * funcrequest.C: move stuff here from .h
9158 * BufferView_pimpl.C:
9161 * lyxfunc.C: subsequent changes
9163 * lyxfunc.h: new view() member function
9165 * lyxfunc.C: subsequent changes
9167 2002-08-13 Angus Leeming <leeming@lyx.org>
9170 * BufferView_pimpl.C:
9178 changes due to the changed LyXView interface that now returns references
9179 to member variables not pointers.
9181 2002-08-13 Angus Leeming <leeming@lyx.org>
9183 * WordLangTuple (word, lang_code): return references to strings,
9188 * lyxtext.h: forward-declare WordLangTuple.
9193 * text.C: #include "WordLangTuple.h".
9196 * text.C: (selectNextWordToSpellcheck): constify return type.
9198 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9204 * paragraph_pimpl.h:
9207 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9209 Made updateCounter always count from start of buffer, and removed
9210 second argument (par).
9211 Reverted floats number display to '#'. Perhaps I'll try again when the
9212 code base is sanitized a bit.
9214 2002-08-12 Angus Leeming <leeming@lyx.org>
9216 * buffer.[Ch] (getLabelList): constify.
9218 2002-08-07 André Pönitz <poenitz@gmx.net>
9220 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9222 * funcrequest.h: extension to keep mouse (x,y) position
9224 2002-08-12 Juergen Vigna <jug@sad.it>
9226 * BufferView2.C (insertErrors): forbid undo when inserting error
9229 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9231 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9233 * ParagraphList.[Ch]: new files
9235 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9237 * BufferView2.C (lockInset): ParagraphList changes
9240 * bufferlist.C: ditto
9244 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9246 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9247 unused class variable counter_,
9249 * paragraph.[Ch] (getFirstCounter): delete unused function
9251 * counters.C: include LAssert.h
9252 (reset): add a new function with no arg, change other version to
9253 not have def. arg and to not allow empty arg.
9255 * text2.C (setCounter): remove empty arg from call to Counters::reset
9257 2002-08-11 John Levon <levon@movementarian.org>
9259 * Makefile.am: add WordLangTuple.h
9261 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9263 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9264 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9266 * insets/insettext.C: InsetList changes
9268 * graphics/GraphicsSupport.C (operator()): InsetList changes
9270 * toc.C (getTocList): InsetList changes
9272 * paragraph_pimpl.[Ch]: InsetList changes
9274 * paragraph.[Ch]: InsetList changes
9276 * buffer.C (inset_iterator): InsetList changes
9277 (setParagraph): ditto
9278 * buffer.h (inset_iterator): ditto
9279 * iterators.C (operator++): ditto
9280 * iterators.h: ditto
9282 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9284 * InsetList.[Ch]: new files, most InsetList handling moved out of
9287 * BufferView2.C (removeAutoInsets): InsetList changes
9289 (ChangeInsets): ditto
9291 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9293 * paragraph_pimpl.h (empty): new function
9295 * paragraph.[Ch] (empty): new function
9297 * other files: use the new Paragraph::empty function
9299 2002-08-09 John Levon <levon@movementarian.org>
9301 * lyxtext.h: remove unused refresh_height
9303 2002-08-09 John Levon <levon@movementarian.org>
9310 * paragraph.C: move sgml char escaping out of paragraph
9313 * paragraph.C: remove id setter
9317 * paragraph_pimpl.C: remove dead tex_code_break_column
9319 * bufferview_funcs.C: small cleanup
9321 * lyxfunc.C: remove dead proto
9323 * lyxtext.h: make some stuff private. Remove some dead stuff.
9325 * lyxgluelength.C: make as[LyX]String() readable
9327 2002-08-08 John Levon <levon@movementarian.org>
9332 * ToolbarDefaults.C:
9335 * toc.C: lyxaction cleanup
9337 2002-08-08 John Levon <levon@movementarian.org>
9339 * BufferView2.C: small cleanup
9342 * lyxfind.C: move unnecessary header into the .C
9344 2002-08-08 John Levon <levon@movementarian.org>
9346 * funcrequest.h: just tedious nonsense
9349 * lyx_main.C: cleanups
9352 * vspace.C: remove dead header lyx_main.h
9354 2002-08-07 Angus Leeming <leeming@lyx.org>
9357 * paragraph_pimpl.h:
9358 Forward declare class Counters in paragraph.h by moving the ctrs member
9359 variable into Paragraph::Pimpl.
9360 (counters): new method, returning a reference to pimpl_->ctrs.
9362 * text2.C: ensuing changes.
9364 2002-08-07 John Levon <levon@movementarian.org>
9366 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9368 * BufferView_pimpl.C: announce X selection on double/triple
9371 * lyx_main.C: use correct bool in batch dispatch
9373 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9375 2002-08-07 André Pönitz <poenitz@gmx.net>
9377 * funcrequest.h: new class to wrap a kb_action and its argument
9380 * BufferView_pimpl[Ch]:
9384 * lyxrc.C: subsequent changes
9387 2002-08-07 John Levon <levon@movementarian.org>
9389 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9390 document options change.
9392 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9397 * makefile.am: move counters functionality over from
9398 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9400 2002-08-06 John Levon <levon@movementarian.org>
9402 * WordLangTuple.h: new file for word + language code tuple
9413 * BufferView2.C: use WordLangTuple
9416 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9418 2002-08-06 John Levon <levon@movementarian.org>
9420 * lyx_main.C: fix cmdline batch handling
9422 2002-08-06 André Pönitz <poenitz@gmx.net>
9424 * lyxrc.C: set default for show_banner to true
9426 2002-08-06 John Levon <levon@movementarian.org>
9428 * pspell.C: fix a crash, and allow new aspell to work
9430 2002-08-06 John Levon <levon@movementarian.org>
9433 * kbmap.C: small cleanup
9436 * vspace.C: add const
9438 2002-08-05 John Levon <levon@movementarian.org>
9440 * LyXAction.C: back to tabular-insert
9442 2002-08-04 John Levon <levon@movementarian.org>
9445 * BufferView.C: cosmetic change
9447 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9457 * BufferView2.C: purge all "Lyx" not "LyX" strings
9460 * lyxcursor.C: attempt to add some documentation
9465 * ToolbarDefaults.C:
9466 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9467 merge with LFUN_TABULAR_INSERT
9474 * pspell.C: split up i/pspell implementations into separate
9475 files, many cleanups
9477 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9479 * text2.C: some cleanup
9481 * lyxfunc.C: don't check for isp_command == "none" any more, it
9482 didn't make any sense
9484 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9489 * makefile.am: move counters functionality over
9490 from text2.C/paragraph.[Ch] to counters.[Ch], and
9492 2002-08-02 John Levon <levon@movementarian.org>
9494 * buffer.C: s/lyxconvert/lyx2lyx/
9496 2002-08-02 Angus Leeming <leeming@lyx.org>
9498 * lyxlex.C: revert John's change as it breaks reading of the user
9501 2002-08-02 Angus Leeming <leeming@lyx.org>
9503 * importer.C (Import):
9504 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9505 changes due to LyXView::view() now returning a boost::shared_ptr.
9507 2002-08-02 John Levon <levon@movementarian.org>
9509 * lyxlex.C: small cleanup
9511 2002-08-02 John Levon <levon@movementarian.org>
9513 * text2.C (status): small cleanup, no logic change
9515 2002-08-01 John Levon <levon@movementarian.org>
9518 * buffer.C (writeFile): don't output alerts, caller
9522 * lyx_cb.C: from above
9524 * lyxfunc.C: allow to open non-existent files
9526 2002-07-31 John Levon <levon@movementarian.org>
9528 * lyxserver.C: don't let incidental errors get
9531 2002-07-30 John Levon <levon@movementarian.org>
9533 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9535 2002-07-30 John Levon <levon@movementarian.org>
9538 * lyxserver.C: remove I/O callback too
9540 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9542 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9545 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9547 * many files: strip,frontStrip -> trim,ltrim,rtrim
9549 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9551 * PrinterParams.h: remove extern containsOnly, and include
9552 support/lstrings.h instead.
9554 * LaTeX.C (scanAuxFile): modify because of strip changes
9556 * buffer.C (makeLaTeXFile): ditto
9557 * bufferparams.C (writeFile): ditt
9558 * lyxfont.C (stateText): ditto
9559 * lyxserver.C (read_ready): ditto
9560 * vc-backend.C (scanMaster): ditto
9562 * BufferView_pimpl.h: ws changes
9564 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9566 2002-07-26 André Pönitz <poenitz@gmx.net>
9568 * kb_sequence.C: remove unnedred usings
9570 2002-07-26 Juergen Vigna <jug@sad.it>
9572 * lyxfind.C (LyXReplace): we have to check better if the returned
9573 text is not of theLockingInset()->getLockingInset().
9575 2002-07-25 Juergen Vigna <jug@sad.it>
9577 * lyxfind.C (LyXReplace): don't replace if we don't get the
9580 * undo_funcs.C (createUndo): remove debugging code.
9582 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9584 * buffer.C (parseSingleLyXformat2Token): Use default placement
9585 when reading old floats.
9587 * FloatList.C (FloatList): Change the default placement of figure
9588 and tables to "tbp".
9590 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9592 * MenuBackend.C: using std::max
9594 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9596 * MenuBackend.C (expandToc):
9597 (expandToc2): code moved from xforms menu frontend. It is now
9598 generic and TOCs are transparent to menu frontends.
9600 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9602 * toc.C (getTocList): protect against buf=0
9604 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9605 Menu as first parameter. Now, this calls itself recursively to
9606 expand a whole tree (this will be useful for TOC handling)
9607 (expandFloatInsert): remove 'wide' version of floats
9609 * MenuBackend.h (submenuname): returns the name of the submenu.
9610 (submenu): returns the submenu itself, provided it has been
9611 created by MenuBackend::expand
9613 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9615 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9616 insets which have noFontChange == true. (bug #172)
9618 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9620 * BufferView_pimpl.C: add connection objects and use them...
9623 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9625 * MenuBackend.C (expandLastfiles):
9628 (expandFloatListInsert):
9629 (expandFloatInsert):
9630 (expand): split expand in parts
9632 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9634 * lyx_gui.C: use lyx_gui::exit()
9636 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9638 * LyXAction.C: show the failing pseudo action
9640 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9642 * buffer.C (readFile): Run the lyxconvert script in order to read
9645 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9649 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9651 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9655 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9657 2002-07-22 Herbert Voss <voss@lyx.org>
9660 * lyxlength.[Ch]: add support for the vertical lengths
9662 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9664 * toc.[Ch]: std:: fixes
9666 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9668 * lyxrc.C: do not include lyx_main.h
9670 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9676 * BufferView2.C: include "lyxlex.h"
9679 * bufferparams.h: do not #include "lyxlex.h"
9681 * lyxtextclasslist.C (Add): remove method
9682 (classlist): renamed to classlist_
9684 * paragraph_pimpl.C:
9688 * bufferview_funcs.C:
9693 * toc.C (getTocList): use BufferParams::getLyXTextClass
9695 * toc.C (getTocList): use InsetFloat::addToToc
9697 * toc.[Ch]: new files, containing helper functions to handle table
9700 * lyxfunc.C (dispatch): no need to remove spaces around command
9702 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9703 first command of the sequence; it is not very clever, but I do not
9704 have a better idea, actually
9706 * LyXAction.C (LookupFunc): make sure to remove space at the
9707 beginning and end of the command
9709 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9711 * MenuBackend.C (getMenubar): new method: return the menubar of
9713 (read): treat differently reading of menu and menubar (in
9714 particular, the menubar has no name now)
9715 (Menu::menubar): remove
9717 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9720 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9722 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9723 a bibitem inset in a RTL paragraph.
9725 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9727 * paragraph_pimpl.C: constify
9729 * BufferView_pimpl.C:
9731 * lyxfunc.C: fix dispatch in a nicer way
9733 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9735 * lyxfunc.C (dispatch):
9736 * BufferView_pimpl.C:
9737 * BufferView_pimpl.h:
9739 * BufferView.h: rename Dispatch() to dispatch()
9741 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9743 * lyxlayout.C (Read): honor DependsOn tag
9745 * lyxlayout.[Ch] (depends_on): new method
9747 * version.C.in: update lyx_docversion
9749 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9751 * paragraph.C (validate): remove from here...
9752 * paragraph_pimpl.C (validate): ... and move here
9753 (isTextAt): make it const
9755 * buffer.C (getLists): ws cleanup
9757 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9759 * language.C (read): Use iso8859-1 encoding in latex_lang
9760 (this prevents LyX from crashing when using iso10646-1 encoding).
9762 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9764 * text2.C (toggleInset): if cursor is inside an inset, close the
9765 inset and leave cursor _after_ it
9767 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9769 * lyxfunc.C: move minibuffer completion handling out of here
9771 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9773 * BufferView_pimpl.C:
9774 * LaTeX.C: fix dispatch calls
9776 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9778 * text.C (drawChars): Fix Arabic text rendering.
9780 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9784 * lyxfunc.C: remove message-push/pop
9788 * lyxfunc.C: rationalise some code by removing verboseDispatch
9789 in favour of a bool argument to dispatch()
9791 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9793 * lyx_main.C (init): make sure to read symlinks as absolute paths
9795 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9798 * lyxfunc.C: no need for commandshortcut to be a member
9800 2002-07-15 André Pönitz <poenitz@gmx.net>
9802 * converter.C: add support for $$s (scripts from lib/scripts dir)
9803 * lyx_main.C: white space
9805 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9809 * lyxrc.C: remove second exit confirmation
9811 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9816 * BufferView_pimpl.h:
9817 * BufferView_pimpl.C:
9818 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9820 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9822 * MenuBackend.C (expand): add numeric shortcuts to document menu
9824 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9826 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9828 * lyxfont.C (setLyXFamily):
9835 * buffer.C (asciiParagraph): use ascii_lowercase
9837 2002-07-15 Mike Fabian <mfabian@suse.de>
9839 * lyxlex_pimpl.C (search_kw):
9840 * lyxlex.C (getLongString):
9841 * converter.h (operator<):
9842 * converter.C (operator<):
9843 * buffer.C (parseSingleLyXformat2Token):
9845 * ToolbarDefaults.C (read):
9846 * MenuBackend.C (checkShortcuts):
9848 * LColor.C (getFromGUIName):
9849 (getFromLyXName): use the compare_ascii_no_case instead of
9850 compare_no_case, because in turkish, 'i' is not the lowercase
9851 version of 'I', and thus turkish locale breaks parsing of tags.
9853 2002-07-16 Angus Leeming <leeming@lyx.org>
9855 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9856 now takes a Buffer const & argument.
9858 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9860 * BufferView.C (resize): check there's a buffer to resize
9862 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9864 * lyxfunc.C: remove dead code
9867 * lyxserver.C: use lyx_guii::set_read_callback
9869 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9871 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9872 an inset in a RTL paragraph.
9874 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9876 * lyxfunc.C: repaint after a font size update
9878 2002-07-15 André Pönitz <poenitz@gmx.net>
9880 * lyxlength.C: inBP should be able to return negative values
9882 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9884 * lyxfunc.C: use lyx_gui::update_fonts()
9886 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9888 * lyxfunc.C: use lyx_gui::update_color()
9890 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9896 * lyxrc.C: remove file->new asks for name option, and let
9897 buffer-new take an argument
9899 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9901 * BufferView_pimpl.C: remove unneeded extra repaint()
9903 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9905 * LyXAction.C: allow command-sequence with NoBuffer
9907 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9909 2002-07-10 Angus Leeming <leeming@lyx.org>
9911 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9913 2002-07-09 Angus Leeming <leeming@lyx.org>
9915 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9917 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9919 * lengthcommon.h: whitespace
9921 * lyxfunc.C: update scrollbar after goto paragraph
9923 * lyxtext.h: factor out page break drawing, and fix it so
9924 page break/added space paints as selected nicely
9926 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9928 * BufferView_pimpl.C: add FIXMEs, clean up a little
9930 2002-07-09 André Pönitz <poenitz@gmx.net>
9932 * lyxfont.[Ch]: support for wasy symbols
9934 2002-07-08 André Pönitz <poenitz@gmx.net>
9936 * BufferView_pimpl.C: apply John's patch for #93.
9938 2002-07-05 Angus Leeming <leeming@lyx.org>
9940 * BufferView_pimpl.C (buffer): generate previews if desired.
9942 * LColor.h: add "preview" to the color enum.
9944 * LColor.C (LColor): add a corresponding entry to the items array.
9946 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9949 2002-07-05 Angus Leeming <leeming@lyx.org>
9951 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9952 The body of the code is now in the method that is passed an ostream &
9953 rather than a file name.
9954 Pass an additional only_preamble parameter, useful for the forthcoming
9957 2002-07-03 André Pönitz <poenitz@gmx.net>
9959 * lyxfunc.C: simplify getStatus() a bit for math stuff
9961 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9963 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9965 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9967 * text.C (changeRegionCase): do not change case of all the
9968 document when region ends at paragraph end (bug #461)
9970 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9972 * paragraph.C (startTeXParParams):
9973 (endTeXParParams): add \protect when necessary
9975 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9977 * BufferView_pimpl.C (workAreaExpose): remove warning
9979 2002-06-27 Angus Leeming <leeming@lyx.org>
9981 * Makefile.am: add lyxlayout_ptr_fwd.h.
9983 2002-06-26 André Pönitz <poenitz@gmx.net>
9985 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9987 2002-06-25 Angus Leeming <leeming@lyx.org>
9989 * lyxfunc.C (dispatch): Comment out the call to
9990 grfx::GCache::changeDisplay. The method no longer exists now that the
9991 pixmap generation part of the graphics loader has been moved into
9994 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9996 * text2.C: layout as layout
9998 * text.C: layout as layout
10000 * tabular.C (OldFormatRead): layout as layout
10002 * paragraph_pimpl.C (TeXDeeper): layout as layout
10003 (realizeFont): layout as layout
10005 * paragraph.C (writeFile): layout as layout
10006 (validate): layout as layout
10007 (getFont): layout as layout
10008 (getLabelFont): layout as layout
10009 (getLayoutFont): layout as layout
10010 (breakParagraph): layout as layout
10011 (stripLeadingSpaces): layout as layout
10012 (getEndLabel): layout as layout
10013 (getMaxDepthAfter): layout as layout
10014 (applyLayout): layout as layout
10015 (TeXOnePar): layout as layout
10016 (simpleTeXOnePar): layout as layout
10017 (TeXEnvironment): layout as layout
10018 (layout): layout as layout
10019 (layout): layout as layout
10021 * lyxtextclass.C (compare_name): new functor to work with
10022 shared_ptr, layout as layout
10023 (Read): layout as layout
10024 (hasLayout): layout as layout
10025 (operator): layout as layout
10026 (delete_layout): layout as layout
10027 (defaultLayout): layout as layout
10029 * lyxlayout_ptr_fwd.h: new file
10031 * lyxlayout.C (Read): layout as layout
10033 * lyx_cb.C (MenuInsertLabel): layout as layout
10035 * bufferlist.C (newFile): layout as layout
10037 * buffer.C (readLyXformat2): layout as layout
10038 (parseSingleLyXformat2Token): layout as layout
10039 (insertStringAsLines): layout as layout
10040 (asciiParagraph): layout as layout
10041 (latexParagraphs): layout as layout
10042 (makeLinuxDocFile): layout as layout
10043 (simpleLinuxDocOnePar): layout as layout
10044 (makeDocBookFile): layout as layout
10045 (simpleDocBookOnePar): layout as layout
10046 (getLists): layout as layout
10048 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10050 * CutAndPaste.C (cutSelection): layout as layout
10051 (pasteSelection): layout as layout
10052 (SwitchLayoutsBetweenClasses): layout as layout
10054 * BufferView_pimpl.C (Dispatch): layout as layout
10055 (smartQuote): layout as layout
10057 * BufferView2.C (unlockInset): layout as layout
10059 2002-06-24 André Pönitz <poenitz@gmx.net>
10061 * lyxfunc.C: fix #487
10063 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10067 * lyxfunc.C: remove display_shortcuts, show_banner
10069 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10071 * Buffer_pimpl.C: oops, update on resize
10073 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10080 * BufferView.C: use repaint()
10082 * BufferView_pimpl.h:
10083 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10084 as it's a clearer description. Remove superfluous
10087 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10089 * text.C: fix bug 488. Not ideal, but getting
10090 getWord() to work properly for the insets that
10091 matter is more difficult ...
10093 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10095 * BufferView_pimpl.C:
10098 * lyxfunc.C: remove the six million index lyxfuncs to just
10099 one, and DTRT (bug 458)
10101 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10105 * BufferView_pimpl.h:
10106 * BufferView_pimpl.C: clean up resize() stuff,
10107 and unnecessary updateScreen()s
10109 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10113 * BufferView_pimpl.h:
10114 * BufferView_pimpl.C:
10117 * minibuffer.C: remove focus management of workarea,
10118 not needed. Use screen's greyOut()
10120 2002-06-17 Herbert Voss <voss@lyx.org>
10122 * converter.C: (convert) do not post a message, when converting
10123 fails, let the calling function decide what to do in this case
10125 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10127 * lyxfunc.C: tidy up a little
10129 2002-06-16 <alstrup@diku.dk>
10131 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10132 Got rid of FORMS_H_LOCATION include. Now we are
10135 2002-06-15 LyX Development team <lyx@rilke>
10137 * buffer.[Ch] (sgmlOpenTag):
10138 (sgmlCloseTag): Added support for avoiding pernicious mixed
10139 content. Return number of lines written.
10141 (makeLinuxDocFile):
10142 (makeDocBookFile): Fixed calls to sgml*Tag.
10143 Simple white space clean.
10145 (simpleDocBookOnePar): Simple white space clean.
10147 * tabular.[Ch] (docBook): Renamed to docbook and got another
10148 argument to related with the pernicious mixed content.
10150 (docbookRow): Fixed calls for docbook inset method.
10152 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10154 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10155 so it's X11 independent.
10159 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10161 2002-06-15 Lyx Development team <lyx@electronia>
10163 * intl.h: Renamed getTrans to getTransManager.
10165 2002-06-14 Angus Leeming <leeming@lyx.org>
10167 * Makefile.am: nuke forgotten stl_string_fwd.h.
10169 2002-06-12 Angus Leeming <leeming@lyx.org>
10171 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10173 2002-06-13 Angus Leeming <leeming@lyx.org>
10176 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10178 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10180 * kbmap.C (getiso): add support for cyrillic and greek
10182 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10186 * BufferView_pimpl.h:
10187 * BufferView_pimpl.C: move bogus scrolling logic
10190 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10193 * BufferView_pimpl.C: view->resize() change
10195 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10197 * BufferView_pimpl.C: topCursorVisible
10200 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10204 * lyx_gui.C: move to frontends/
10208 * lyx_main.C: changes from above
10210 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10217 * lyx_main.C: minor tidy
10219 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10221 * BufferView_pimpl.h:
10222 * BufferView_pimpl.C:
10224 * BufferView.C: make painter() const,
10227 * BufferView2.C: use screen() accessor
10230 * lyx_main.C: some minor cleanup
10232 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10234 * BufferView_pimpl.h:
10235 * BufferView_pimpl.C: remove enter/leaveView,
10238 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10243 * BufferView_pimpl.h:
10244 * BufferView_pimpl.C: only construct screen once,
10247 * lyxrc.C: remove pointless comment
10249 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10252 * BufferView.C: remove active() and belowMouse()
10254 * BufferView_pimpl.h:
10255 * BufferView_pimpl.C: use workarea() not workarea_,
10256 and make it use a scoped_ptr instead
10258 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10260 * lyx_gui.C: add debug message on BadWindow
10262 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10264 * sp_spell.C: fdopen is not part of the C++ standard.
10266 * paragraph.C (InsetIterator): use >= instead of ==
10268 2002-06-07 Angus Leeming <leeming@lyx.org>
10270 Fixes needed to compile with Compaq cxx 6.5.
10271 * BufferView_pimpl.C:
10278 * lyxtextclasslist.C:
10283 all c-library variables have been moved into namespace std. Wrap
10284 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10289 Add a using std::abs declaration.
10291 * kbmap.h (modifier_pair):
10292 * paragraph.h (InsetTable, InsetList):
10293 * lyxfont.h (FontBits):
10294 type definition made public.
10296 * bufferlist.C (emergencyWriteAll): the compiler complains that
10297 there is more than one possible lyx::class_fun template to choose from.
10298 I re-named the void specialisation as lyx::void_class_fun.
10300 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10302 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10303 the compiler is is unable to find tostr in write_attribute.
10305 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10307 * buffer.C (sgmlError): hide #warning
10309 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10311 * xtl/*: get rid of xtl, which is not in use anyway
10313 * LyXAction.C (init):
10314 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10315 were unimplemented xtl experimentation
10317 2002-06-04 André Pönitz <poenitz@gmx.net>
10319 * lyxfunc.C: disable array operation on simple formulae
10321 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10323 * converter.C: constify a bit
10325 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10327 * lyx_gui.C: check xforms version correctly
10329 2002-04-30 Herbert Voss <voss@lyx.org>
10331 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10334 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10336 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10337 attempt to register it with a VCS)
10339 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10341 * lyx_main.C (init): honor variables LYX_DIR_13x and
10344 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10348 * lyx_main.C: fix a crash on bad command line,
10349 and give a useful exit status on error
10351 * lyxfunc.C (doImport): allow -i lyx to work
10353 2002-03-30 André Pönitz <poenitz@gmx.net>
10355 * lyxfunc.C: mathed font changes
10357 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10372 * trans_mgr.h: srcdocs, and some minor cleanups
10374 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10376 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10377 call getFont all the time)
10379 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10381 * switch from SigC signals to boost::signals
10383 2002-05-29 André Pönitz <poenitz@gmx.net>
10385 * paragraph_pimpl.C (getChar): don't call size() too often...
10387 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10389 * paragraph_pimpl.C (insertChar): do not try to update tables when
10390 appending (pos == size())
10392 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10393 in order to reduce drastically the number of comparisons needed to
10394 parse a large document
10396 2002-05-29 André Pönitz <poenitz@gmx.net>
10402 * textclasslist.[Ch]:
10403 * sp_ispell.h: whitespace change
10405 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10407 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10408 lyxaction directly now.
10410 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10414 * lyxvc.C: remove unused headers
10416 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10423 * undo_funcs.C: some cleanups. Use shared_ptr
10424 and a template for the undo stacks.
10426 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10428 * BufferView_pimpl.h:
10429 * BufferView_pimpl.C:
10436 * text2.C: use key_state/mouse_state
10438 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10440 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10443 * chset.C: change include order
10444 (loadFile): use boost regex and get rid of LRegex and LSubstring
10446 * Makefile.am (BOOST_LIBS): new variable
10447 (lyx_LDADD): use it
10449 * LaTeX.C: change include order.
10450 (scanAuxFile): use boost regex and get rid of LRegex and
10454 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10459 * FontInfo.C: moved to frontends/xforms/
10462 * FontLoader.C: moved into frontends for GUIIzation
10467 * lyxfunc.C: changes from above
10469 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10471 * LColor.C: remove spurious X include
10473 * BufferView_pimpl.C:
10478 * text2.C: move font metrics to frontends/
10480 2002-05-24 Juergen Vigna <jug@sad.it>
10482 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10483 setting the undo_cursor.
10485 * ParagraphParameters.h: include local includes first.
10487 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10489 * BufferView_pimpl.C:
10490 * BufferView_pimpl.h:
10494 * screen.C: move WorkArea into frontends/
10500 * BufferView2.C: move LyXScreen into frontends/
10504 * lyx_gui.C: move lyxlookup into frontends/xforms/
10506 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10509 * BufferView_pimpl.C:
10519 * bufferview_funcs.C:
10532 * vc-backend.C: move LyX/XFormsView into frontends/
10534 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10546 * text2.C: move Painter to frontends/
10548 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10550 * buffer.C: comment out some some code that depend upon lyx_format
10553 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10554 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10556 * buffer.h (NO_COMPABILITY): turn off compability
10558 * ColorHandler.C: include scoped_array.hpp
10560 * font.C: Use more specific smart_ptr header.
10563 * ShareContainer.h: ditto
10564 * lyx_main.h: ditto
10566 * FontInfo.h: ditto
10567 * BufferView_pimpl.h: ditto
10568 * ColorHandler.h: ditto
10570 * kbmap.C (defkey): change call to shared_ptr::reset
10572 2002-05-21 Juergen Vigna <jug@sad.it>
10574 * buffer.C (insertErtContents): fix to insert ert asis if it is
10575 non empty. Skip it completely if it contains only whitespaces.
10577 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10579 * BufferView_pimpl.C:
10580 * BufferView2.C: clear selection on paste (bug 393)
10582 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10584 * DepTable.C: include ctime
10586 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10588 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10590 2002-05-14 Juergen Vigna <jug@sad.it>
10592 * text.C (breakParagraph): fixed function to honor the keepempty
10593 layout in the right maner and also to permit the right breaking
10594 algorithm on empty or non empyt keepempty paragraphs.
10596 * paragraph.C (breakParagraph): we have to check also if the par
10597 is really empty (!size()) for isempty otherwise we do the wrong
10600 2002-05-10 Juergen Vigna <jug@sad.it>
10602 * buffer.[Ch] : The following are only changes to the ert
10603 compatibility read reading old LaTeX layout and font stuff and
10604 convert it to ERTInsets.
10606 * buffer.h: added isErtInset().
10608 * buffer.C (struct ErtComp): add a fromlayout bool to check
10609 if we're inside a LaTeX layout.
10610 (isErtInset): new helper function.
10611 (insertErtContents): look for other ert insets before this one
10612 and insert the contents there, so that we don't have subsequent
10613 ERT insets with nothing between them. This way we create only one
10614 inset with multiple paragraphs. Also check if we don't insert only
10615 spaces ' ' as they are ignored anyway afterwards in the .tex file
10616 so if we have only spaces we will ignore this latex part in the
10618 (parseSingleLyXformat2Token \\layout): better compatibility when
10619 reading layout-latex stuff.
10620 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10622 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10623 stuff after reading the inset only get the information back from
10626 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10628 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10630 * LaTeXFeatures.C (getBabelOptions): New method.
10632 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10634 * BufferView_pimpl.C (Dispatch): work around missing argument for
10637 2002-05-08 Juergen Vigna <jug@sad.it>
10639 * text.C (leftMargin): handle paragraph leftindent.
10641 * paragraph.C (writeFile): write the new \\leftindent tag.
10642 (validate): handle leftindent code.
10643 (TeXEnvironment): handle paragraphleftindent code again.
10645 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10647 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10648 for paragrap_extra indent code and new token \\leftindent.
10649 (latexParagraphs): handle the leftindent as environment.
10651 * ParameterStruct.h: added leftindent support.
10653 * ParagraphParameters.C (leftIndent): added support functions for
10654 the paragraph left indent.
10656 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10659 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10661 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10664 * text.C (computeBidiTables): No bidi in insetERT.
10666 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10669 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10671 * version.C.in: pre 5
10673 2002-05-02 José Matos <jamatos@fep.up.pt>
10674 * buffer.C (makeDocBookFile): white space changes, add newline to
10676 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10678 * tabular.C (docBook): fix typo.
10680 2002-05-03 Juergen Vigna <jug@sad.it>
10682 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10683 change in LyXText as we can not be sure it was not freed.
10684 (drawOneRow): remove unused code.
10686 * text.C (drawInset): redo the calculation of the need_break_row as
10687 it could have a row which was already freed.
10688 (draw): look at the return value of drawInset and return false if
10689 it also returned false.
10690 (paintRowText): look at the return value of draw and return false if
10691 it also returned false.
10693 * lyxtext.h: added bool return type to drawInset() and draw() so that
10694 if we have a change in the row so that the rowbreak has to be redone
10695 we abort drawing as it will be called again.
10697 2002-05-02 Juergen Vigna <jug@sad.it>
10699 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10700 a change in the maintext also if we're inside an inset.
10701 (Dispatch): set the cursor again after a break line and after the
10702 screen has been updated as it could be we're in a different row.
10704 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10705 to set the cursor behind the pargraph with > size().
10706 (setCursor): check also for the same paragraph when checking where
10707 to put the cursor if we have a NFR inset.
10709 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10710 parts of layout read further up as it still was in the wrong
10713 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10715 * screen.C (drawFromTo): change sine fullRebreak always return
10718 * buffer.C (parseSingleLyXformat2Token): reindent some
10720 * BufferView_pimpl.C (update): change since fullRebreak always
10722 (Dispatch): git rid of the last hardcoded "Standard"s.
10724 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10726 * text2.[Ch] (fullRebreak): make it return void now that we always
10729 2002-04-30 Juergen Vigna <jug@sad.it>
10731 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10732 ert compatibility check for "latex" layout.
10734 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10736 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10737 minipages: use col% instead of p%, and also use the current font.
10738 (makeLaTeXFile): Fix use babel condition.
10739 (parseSingleLyXformat2Token): Correct font when reading old floats.
10741 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10743 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10744 inserting list of floats.
10746 2002-04-25 Herbert Voss <voss@lyx.org>
10748 * MenuBackend.C (expand): don't add the graphics extensions to the
10751 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10753 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10754 non-existing layout, do not complain if it was the default layout
10755 of the original class (bug #342)
10757 2002-04-24 Juergen Vigna <jug@sad.it>
10759 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10760 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10762 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10764 * buffer.C (getBibkeyList): If using \bibliography, return the
10765 option field with the reference itself. Enables us to provide natbib
10766 support when using \bibliography.
10768 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10770 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10772 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10773 natbib is provided by the LaTeX class.
10775 2002-04-23 Juergen Vigna <jug@sad.it>
10777 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10780 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10782 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10784 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10786 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10787 ensuremath around textordmasculine, textordfeminine and
10790 2002-04-19 Juergen Vigna <jug@sad.it>
10792 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10793 reinitializing the buffer otherwise row-dimensions may be wrong.
10794 (update): reset also the selection cursors if they do exits otherwise
10795 their x/y positions may be wrong.
10797 * text2.C (cursorDown): don't enter the inset if we came from a row
10798 above and are one row over the inset.
10800 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10801 really leaving an inset.
10803 2002-04-18 Juergen Vigna <jug@sad.it>
10805 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10806 of the selected paragraph does not have the selected layout also if
10809 * text2.C (setLayout): fixed bug which did not change last selected
10812 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10813 changed the read and substituted \\end_float with \\end_inset!
10815 * BufferView_pimpl.C (cursorPrevious):
10816 (cursorNext): fixed to make it work with rows heigher than the work
10817 area without moving the cursor only the draw of the row.
10818 (workAreaMotionNotify): fix jumping over high rows.
10820 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10822 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10825 2002-04-16 Juergen Vigna <jug@sad.it>
10827 * text2.C (setCursor): set also the irow().
10828 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10830 (cursorDown): support for locking an inset if the x_fix value goes
10831 inside it. That way I can transverse insets too with cursor up/down.
10833 * lyxrow.h: added irow helper function same as other (i) functions.
10835 * BufferView_pimpl.C (cursorPrevious):
10836 (cursorNext): fixed for insets!
10838 2002-04-15 Juergen Vigna <jug@sad.it>
10840 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10841 position otherwise it is wrong in some cases.
10843 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10844 inside the inset before the call.
10846 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10848 * buffer.[Ch] (getBibkeyList): make it const.
10850 2002-04-12 Juergen Vigna <jug@sad.it>
10852 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10854 * text2.C (getCursorX): new helper function
10855 (setCursor): compute also ix_
10856 (setCursorFromCoordinates): set also ix.
10858 * lyxcursor.h: added ix_ and helper functions.
10860 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10862 * buffer.C (insertStringAsLines): dont break paragraph if the this
10863 paragraph is inside an inset which does not permit it!
10865 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10866 also with no chars on this paragraph.
10867 (paintRowText): only paint stuff if it's inside the workarea!
10869 * paragraph.C (breakParagraph): honor keepempty flag and break the
10870 paragraph always below not above.
10872 * BufferView2.C (unlockInset): update the paragraph layout on inset
10873 unlock as we changed paragraph in such a case.
10875 * lyxfind.C (LyXFind): clear the former selection if not found!
10877 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10878 again called in insertChar().
10880 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10881 an inset which uses the whole row!
10882 (rightMargin): ditto.
10883 (insertChar): force a rebreak if we inserted an inset!
10885 2002-03-28 Herbert Voss <voss@lyx.org>
10887 * lyxlength.[Ch]: add inBP() to get the right PS-point
10888 units (BigPoint). With inPixels we have rounding errors
10890 2002-04-11 Juergen Vigna <jug@sad.it>
10892 * text2.C (setCursorFromCoordinates): set iy to the right value.
10893 (setCursor): add check if row->previous exists!
10895 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10896 an old float_type as this was the case in the old code!
10898 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10900 * BufferView2.C (showLockedInsetCursor): use iy
10901 (fitLockedInsetCursor): ditto
10903 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10904 locked insets as there we have the right value now.
10906 * lyxcursor.C: added iy_ variable and iy functions to set to the
10907 baseline of cursor-y of the locked inset.
10909 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10910 (setCursor): fixed for insets which need a full row.
10912 * text.C (rowLastPrintable): don't ignore the last space when before
10913 an inset which needs a full row.
10914 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10915 as last character of a row when before a inset which needs a full row.
10917 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10919 * version.C.in: update date
10921 * text2.C (fullRebreak): try to always return true and see what
10924 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10926 * MenuBackend.C (expand): use Floating::listName
10928 * FloatList.C (FloatList): add listName argument to the built-in
10931 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10932 text associated with the float.
10934 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10936 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10938 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10940 * ShareContainer.h: add a couple of missing typenames.
10942 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10944 * lyxrc.C (getDescription): use _() correctly rather than N_().
10946 2002-03-28 Herbert Voss <voss@lyx.org>
10948 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10949 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10951 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10953 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10954 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10956 2002-03-29 Juergen Vigna <jug@sad.it>
10958 * lyxfunc.C (dispatch): add a missing fitCursor call.
10960 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10961 it was scrolled by a cursor move, so return the bool status.
10963 * BufferView.C (fitCursor): return the bool flag also to the outside
10964 world as this is needed.
10966 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10968 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10969 call the edit() as it is not needed (and wrong) IMO.
10970 (workAreaButtonPress): set the screen_first variable before evt.
10971 unlock the inset as this may change screen_first and then we have
10972 a wrong y position for the click!
10974 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10976 * MenuBackend.C (expand): another translation that I missed
10978 2002-03-28 Juergen Vigna <jug@sad.it>
10980 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10982 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10984 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10986 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10988 * MenuBackend.C (expand): fix export/view/update when there is no
10991 2002-03-27 Herbert Voss <voss@lyx.org>
10993 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10996 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10998 * bufferview_funcs.C (currentState): only show paragraph number
10999 for is DEVEL_VERSION is set.
11001 * lyxfunc.C (dispatch): put warning in INFO channel
11003 * MenuBackend.C (expand): translate the name of floats
11005 * FloatList.C (FloatList): mark the float names for translation
11007 * converter.C (convert): use LibScriptSearch
11009 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11011 * MenuBackend.C (defaults): fix default menu (we might as well get
11014 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11016 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11019 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11021 * lyxvc.C: reorder includes.
11023 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11025 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11028 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11030 * CutAndPaste.C: change layouts earlier on paste
11031 to avoid crashing when calling getFont()
11033 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11035 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11038 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11040 * WorkArea.C: remove 'Pending' debug message.
11042 * most files: ws cleanup
11044 * buffer.[Ch]: ws changes
11046 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11048 2002-03-21 Juergen Vigna <jug@sad.it>
11050 * tabular.C (SetMultiColumn): collapse also the contents of the
11051 cells and set the last border right. Added a Buffer const * param.
11053 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11055 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11058 2002-03-19 Juergen Vigna <jug@sad.it>
11060 * text2.C (clearSelection): reset also xsel_cache.
11062 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11063 where it needs to be called (John tells us to do so too :)
11064 (selectionLost): reset sel_cache.
11066 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11068 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11070 * text2.C (setCursorIntern): put debuging code in INSETS channel
11072 2002-03-19 André Pönitz <poenitz@gmx.net>
11074 * lyxfunc.C: tiny whitespace change
11076 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11078 * ToolbarDefaults.C (init):
11079 * LyXAction.C (init):
11081 * BufferView_pimpl.C (Dispatch):
11082 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11084 2002-03-19 Allan Rae <rae@lyx.org>
11086 * exporter.C (Export): removeAutoInsets before doing anything else.
11087 While I've just introduced a dependency on BufferView this really is
11088 the best place to clean the buffer otherwise you need to cleanup in
11089 a dozen places before calling export or cleanup in a dozen functions
11092 * converter.C (runLaTeX):
11093 (scanLog): Better handling of removeAutoInsets and screen updates.
11095 * lyxfunc.C (dispatch): small whitespace changes
11097 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11099 * WorkArea.C (C_WorkAreaEvent): return a value.
11100 (event_cb): return 1 if we handled the event, 0 otherwise.
11102 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11104 2002-03-18 Juergen Vigna <jug@sad.it>
11106 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11107 (GetAdditionalWidth): ditto.
11108 (RightLine): ditto.
11111 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11112 inset if we're there actually (probably not used right now but this
11113 is the direction to go for unifying code).
11114 (paste): disable code to clear the selection.
11116 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11117 inside an InsetText and move the check further up as it is in the
11120 * text2.C (pasteSelection): set a selection over the pasted text.
11122 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11124 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11125 and libgraphics to build on Cygwin.
11127 2002-03-15 Juergen Vigna <jug@sad.it>
11129 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11130 inserting an Inset into the paragraph. I know this is not the best
11131 fix but we already use current_view in CutAndPaste so we will remove
11132 all of it's using at the same time.
11134 * buffer.C (sgmlError): deactivated function till it is rewritten in
11135 the right mode, now it can create problems.
11137 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11138 before accessing it.
11140 2002-03-14 Juergen Vigna <jug@sad.it>
11142 * undo_funcs.C (textHandleUndo): do the right thing when updating
11143 the inset after the undo/redo.
11145 * text2.C (setCursor): just some testcode for #44 not ready yet.
11147 * undo_funcs.C (textHandleUndo): set the next() and previous()
11148 pointers of the paragraph to 0 before deleting otherwise we have
11149 problems with the Paragraph::[destructor].
11151 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11152 on a paragraph insertion.
11154 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11156 * buffer.C (asciiParagraph): use += operator for char append to
11159 * paragraph.C (getFontSettings): compare >= not just >
11160 (highestFontInRange): ditto
11163 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11165 * paragraph.C: change several algorithm to be more appripriate for
11166 the problem domain. This is lookip in FontList and in the InsetList.
11168 2002-03-13 André Pönitz <poenitz@gmx.net>
11171 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11173 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11178 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11180 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11182 * Painter.C (display): anon helper function, adjust code for this
11184 (pixmap): remove function.
11186 * Painter.h: remove private display variable.
11188 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11190 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11192 * WorkArea.[Ch]: remove figinset_canvas cruft.
11194 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11196 * lyxtextclass.C (operator): add one item cache optimization.
11198 * bufferlist.h: doxy changes
11200 * bufferlist.C: ws changes
11202 * DepTable.[Ch] (ext_exist): place const in the right spot.
11204 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11206 (workAreaExpose): call resizeInsets when the with BufferView changes.
11207 (Dispatch): adjust for protectedBlank removal
11208 (specialChar): call updateInset if the insert went ok.
11210 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11211 specialChar instead.
11213 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11215 * BufferView.h: doxy change
11217 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11219 * lyxtextclass.C (operator[]): remove non-const version
11220 (defaultLayout): remove non-const version
11222 2002-03-12 Juergen Vigna <jug@sad.it>
11224 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11225 did resize the LyXText too.
11227 * buffer.C (readLyXformat2): set layout information on newly allocated
11230 * tabular.C (OldFormatRead): set layout information on the paragraph.
11232 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11234 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11236 2002-03-11 Juergen Vigna <jug@sad.it>
11238 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11240 (resizeCurrentBuffer): force also the insets to resize themselfes.
11241 (moveCursorUpdate): fixed up for InsetText.
11243 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11246 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11247 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11248 value of Dialogs::tooltipsEnabled().
11249 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11251 2002-03-08 Juergen Vigna <jug@sad.it>
11253 * BufferView_pimpl.C (updateInset): update inset inside inset also
11254 if it isn't inside theLockingInset().
11256 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11258 * buffer.C (asciiParagraph): redo some of the word and line length
11260 (getLists): look for Caption instead of caption.
11262 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11264 * buffer.C (Buffer): initialize niceFile to true
11266 (makeLinuxDocFile):
11267 (makeDocBookFile): make sure niceFile is true on exit
11269 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11271 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11273 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11275 * LyXSendto.C: remove.
11276 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11277 * lyx_gui.C: remove now-redundant comment.
11278 * ColorHandler.h: remove forward declaration of class WorkArea.
11279 * lyxfunc.C: remove #include "WorkArea.h".
11281 2002-03-07 Juergen Vigna <jug@sad.it>
11283 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11284 got moved away with the DEPM and also set the inset_owner always
11285 right which before could have been omitted.
11287 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11289 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11290 wanted layout is not found.
11292 2002-03-07 Juergen Vigna <jug@sad.it>
11294 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11296 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11298 * paragraph.C (breakParagraph): use default layout not layout of
11300 (Paragraph): clear ParagraphParameters.
11302 2002-03-06 Juergen Vigna <jug@sad.it>
11304 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11305 otherwise it would not be a valid lenght. Fixed a special case in
11306 the minipage compatibility read where we end the document with a
11309 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11310 was set as it could be 0 for InsetTexts first entry.
11312 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11314 * paragraph.C (writeFile): if layout is empty write out
11315 defaultLayoutName().
11317 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11318 file without named layout we set layout to defaultLayoutName().
11320 2002-03-06 Juergen Vigna <jug@sad.it>
11322 * CutAndPaste.C (copySelection): set layout for new paragraph.
11324 * text.C (prepareToPrint): leave ERT inset left aligned
11325 (leftMargin): don't indent paragraphs inside ERT insets
11327 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11329 * paragraph.C (breakParagraph): dont call clear do the work manually
11331 * paragraph.[Ch] (clear): remove function
11333 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11335 * paragraph.C (Paragraph): dont call clear, the work has already
11338 * lyxtextclass.C (operator): assert if n is empty
11340 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11341 work manually instead.
11343 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11345 * BufferView_pimpl.C: protect selectionLost against text == 0
11347 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11349 * text.C (breakParagraph): fix a setting layout to '0' problem.
11351 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11353 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11354 final location of file, for the included files, and graphics.
11356 2002-03-05 Juergen Vigna <jug@sad.it>
11358 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11360 2002-03-04 Juergen Vigna <jug@sad.it>
11362 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11364 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11365 last column of multicolumn cells.
11366 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11368 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11370 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11371 file if it doesn't go to a temporary file.
11373 * buffer.C (sgmlOpenTag):
11374 (sgmlCloseTag): remove extra newline insertion.
11376 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11378 * text.C (getRowNearY): comment out debug msg
11380 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11382 * text2.C: first -> first_y
11384 * text.C (getRowNearY): add some attemts at a possible
11385 optimization, not working.
11387 * tabular.[Ch]: add BufferParams to several function so that newly
11388 created paragraph can be initialized to he default layotu for the
11391 * tabular-old.C (ReadOld): add buf->params to call of Init
11393 * screen.C: rename text->first to text->first_y
11395 * paragraph.C (breakParagraph): always set layout in the broken
11398 * lyxtextclass.C (Read): remove lowercase
11401 (delete_layout): ditto
11403 * lyxtext.h: rename first -> first_y
11405 * lyxlayout.C (Read): remove lowercase
11408 (obsoleted_by): ditto
11410 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11412 * buffer.C (insertErtContents): add params are to InsetERT
11413 (parseSingleLyXformat2Token): add code to check if a paragraphs
11414 layout really exist.
11415 (parseSingleLyXformat2Token): add params to several inset
11417 (asciiParagraph): remove lowercase, do the layout comparisons with
11420 * BufferView_pimpl.C (cursorNext): first -> first_y
11421 (resizeCurrentBuffer): first -> first_y
11422 (updateScrollbar): first -> first_y
11423 (scrollCB): first -> first_y
11424 (workAreaMotionNotify): first -> first_y
11425 (workAreaButtonPress): first -> first_y
11426 (checkInsetHit): first -> first_y
11427 (cursorPrevious): first -> first_y
11428 (cursorNext): first -> first_y
11429 (Dispatch): add buffer_->params to severl inset contructors
11431 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11433 * lyxlayout.C (Read): remove some debug info that I forgot.
11435 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11436 clean up the code slightly.
11437 (makeLinuxDocFile): ditto
11438 (makeDocBookFile): ditto
11440 * text2.C: layout as string
11442 * text.C: layout as string
11444 * paragraph_pimpl.C: layout as string
11446 * paragraph.[Ch]: layout as string
11448 * lyxtextclasslist.[Ch]: layout as string
11450 * lyxtextclass.[Ch]: layout as string
11452 * lyxtext.h: layout as string
11454 * lyxlayout.[Ch]: layout as string
11456 * lyx_cb.C: layout as string
11458 * bufferview_funcs.C: layout as string
11460 * bufferparams.C: layout as string
11462 * buffer.C: layout as string
11464 * LyXView.[Ch]: layout as string
11466 * LaTeXFeatures.[Ch]: layout as string
11468 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11470 * BufferView_pimpl.C: change current_layout to string, remove
11475 (workAreaButtonRelease): layout as string
11477 * BufferView2.C (unlockInset): adjust
11479 * vspace.C (asLatexCommand): use an explict temp variable.
11481 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11483 * Makefile.am: use FRONTEND_*
11485 2002-03-01 Juergen Vigna <jug@sad.it>
11487 * tabular.C (SetWidthOfMulticolCell): changed to something better
11488 I hope but still work in progress.
11489 (recalculateMulticolumnsOfColumn): renamed function from
11490 recalculateMulticolCells as it is more appropriate now.
11491 (SetWidthOfCell): calculate multicols better.
11493 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11495 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11497 * lyxfunc.C (processKeySym): print sequence also if it is
11498 `deleted' (complete)
11500 * kbsequence.C (print): print sequence even if it is deleted
11501 (complete would be a better word, actually).
11503 * lyxfunc.C (dispatch): print complete options after a prefix key
11505 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11507 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11509 * text2.C (setCharFont): eliminate setCharFont code duplication.
11511 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11513 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11514 LFUN_TABULAR_FEATURE (bug #177)
11516 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11518 * Makefile.am: remove figure.h
11520 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11522 * Bufferview_pimpl.C:
11534 * text2.C: remove #include "lyx_gui_misc.h".
11536 * LaTeX.C: added #include <cstdio>
11538 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11540 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11541 that the paragraph following this one can have.
11543 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11545 * vspace.C (asLatexCommand): fix bogus gcc warning
11547 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11549 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11551 * text2.C (setLayout): get rid of redundant code
11553 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11555 * text2.C (incDepth): make sure depth cannot be increased beyond
11558 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11560 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11561 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11563 * PainterBase.h (image):
11564 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11565 a LyXImage const *.
11567 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11571 * BufferView_pimpl.C:
11572 * BufferView_pimpl.h:
11592 * sp_spell.C: remove fig inset, and the crap house of
11593 cards that follows it
11595 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11600 * os2_errortable.h:
11601 * nt_defines.h: move .h into support/
11603 * vms_defines.h: remove
11605 * WorkArea.C: add space in debug output
11609 * buffer.C: add WITH_WARNINGS
11613 * bufferlist.C: s/retrive/retrieve/, add docs
11622 * chset.C: add docs
11624 * lyxgui.C: add ID to X error handler
11626 * lyxtestclass.c: fix typo
11628 2002-02-26 Juergen Vigna <jug@sad.it>
11630 * tabular_funcs.C (write_attribute): changed so that some default
11631 attributes are not written at all.
11632 (getTokenValue): set default values before trying to read the
11633 value so we have the return value always set as default if we don't
11634 find the token we search for.
11636 * tabular.C (Write): write bools as bools not as strings!
11638 2002-02-22 Juergen Vigna <jug@sad.it>
11640 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11641 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11643 * text.C (leftMargin): don't add an indent for paragraphs inside
11644 tabular cells (fix #208).
11646 2002-02-21 José Matos <jamatos@fep.up.pt>
11648 * tabular.C (docBook): fixed support for long tables.
11650 2002-02-20 Juergen Vigna <jug@sad.it>
11652 * text2.C (getFont): get the drawing font of the Inset if this
11653 paragraph is inside an inset (only important for InsetERT for now).
11655 * buffer.C (insertErtContents): use new lanugage params in ERT
11658 * CutAndPaste.C: commenting out seemingly uneeded code.
11660 2002-02-19 Allan Rae <rae@lyx.org>
11662 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11663 Iterators might be simple to use but they also get invalidated.
11664 (removeAutoInsets): renamed saved cursor tracking variables and added
11665 some comments to clarify what everything does.
11667 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11674 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11675 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11678 * vc-backend.h: remove #include "support/syscall.h"
11682 * converter.C: rearrange #includes in Lars' approved fashion.
11684 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11685 forward declare class Timeout in the header file.
11687 * XFormsView.C: changes due to the above.
11689 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11690 similar to LyXView.
11692 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11693 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11695 2002-02-18 José Matos <jamatos@fep.up.pt>
11697 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11700 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11702 * a lot of small ws changes
11703 * add a lot of using std::XXX
11704 * use std construcs some places where approp.
11705 * use some exisint stuff from lyxfunctional where approp.
11706 * Make file changes to use partial linking (lets test this now...)
11708 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11712 remove #include "support/syscontr.h" as it's redundant. Always has been.
11720 change Systemcalls::System to Systemcalls::Wait and
11721 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11722 No change of functionality, just reflects the stripped down Systemcalls
11725 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11727 * debug.[Ch]: add a GRAPHICS type to the enum.
11729 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11731 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11733 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11736 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11738 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11739 match the changes below.
11741 * text2.C (toggleInset): if there is not editable inset at cursor
11742 position, try to see if cursor is _inside_ a collapsable inset
11745 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11747 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11748 document menu has a nice checkbox
11750 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11752 * lyxlength.C (asLatexString): change PW to output as percent of
11755 * lengthcommon.C: change '%' to 't%'
11757 * lyxfunc.C (dispatch): a few comments from Martin
11759 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11763 * BufferView_pimpl.h:
11764 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11767 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11769 * vspace.C (inPixels): fix compiler warning
11771 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11773 * lyxfunc.C (getStatus): fix status message for disabled commands.
11775 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11777 * BufferView_pimpl.C: fix crash on close buffer
11778 during selection (#227)
11780 2002-01-27 Herbert Voss <voss@lyx.org>
11782 * buffer.C: link old Figure to new graphic inset
11784 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11786 * FontLoader.C (getFontinfo): Change the latex font names in order
11787 to match the names of type1inst.
11789 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11791 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11793 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11794 (extchanged): ditto
11796 (remove_files_with_extension): ditto
11797 (remove_file): ditto
11800 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11801 document is smaller than the work area height. Do not initialize
11802 static variables to 0.
11804 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11806 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11808 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11809 LFUN_LAYOUT_PARAGRAPHS.
11811 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11812 tabular. It is possible to provide a possible cell, which will
11813 typically be the actcell from the corresponding insettabular
11815 * lyxfunc.C (getStatus): small cleanup; disable
11816 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11819 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11821 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11823 * paragraph.C (startTeXParParams):
11824 (endTeXParParams): new methods. The LaTeX code to
11825 start/end paragraph formatting
11826 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11827 empty (fixes bug #200)
11829 * vspace.C (inPixels): adapt to the change below
11830 (inPixels): [later] more cleanups (remove unused variables)
11832 * lyxlength.C (inPixels): change to use a width and a height as
11835 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11837 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11838 Replaced with \paperwidth
11840 * DepTable.C (insert): add std:: qualifier
11842 2002-01-18 Allan Rae <rae@lyx.org>
11844 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11847 * text.C (drawInset): Turned out I didn't know enough about how
11848 rebreaking worked. This fixes most of the redraw problems. I see
11849 an occasional cursor trail when a line is broken now and the cursor
11850 placement can seem out by a few pixels also after a rebreak.
11852 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11854 * buffer.C (parseSingleLyXformat2Token): update because minipage
11855 width is now a LyXLength
11857 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11859 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11862 2002-01-17 Juergen Vigna <jug@sad.it>
11864 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11866 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11867 is set correctly and the inset is updated correctly.
11869 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11871 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11872 the beginning of the loop.
11874 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11876 * lyxrc.C: improve help for use_scalable_fonts
11878 2002-01-17 Allan Rae <rae@lyx.org>
11880 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11882 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11884 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11885 make sure to set their inset_owner to the right value (bug #171)
11887 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11890 * DepTable.C: Implement mtime checking to reduce time spent doing
11893 2002-01-16 Juergen Vigna <jug@sad.it>
11895 * tabular.C (GetAdditionalHeight): one of error fixed.
11897 * lyxrc.C (output): small fix in writing use_pspell.
11899 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11901 * sp_base.h: #include LString.h
11903 2002-01-16 Allan Rae <rae@lyx.org>
11905 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11906 Can someone check this please?
11908 * text.C (drawInset): It was possible that p.row would be removed by
11909 breakAgainOneRow upsetting a few other settings. There may be another
11910 small tweak possible by setting need_break_row = 0 when p.row has been
11911 removed but I don't know enough about the logic here.
11913 2002-01-15 Allan Rae <rae@lyx.org>
11915 * text.C (insertChar): removed conditional truism.
11917 * BufferView2.C (removeAutoInsets): More tweaks.
11918 cur_par_prev could be a stray pointer. Check for trailing empty line
11919 in case last line was cur_par and only had an error inset on it.
11921 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11923 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11926 * vc-backend.C (most methods):
11927 * exporter.C (Export):
11928 * converter.C (convert):
11930 * LyXSendto.C (SendtoApplyCB):
11931 * lyxfunc.C (dispatch):
11935 * lyx_cb.C (AutoSave):
11937 * BufferView_pimpl.C (MenuInsertLyXFile):
11938 * buffer.C (runChktex): use Buffer::filePath().
11940 * buffer.h: rename filename to filename_; rename filepath to
11941 filepath_ and make it private
11942 (filePath): new method
11944 * buffer.C (writeFile): use fileName()
11947 * lyx_main.C (init): fix starting of LyX when the binary is a
11948 link from so,ewhere else.
11950 * minibuffer.C: include <cctype> for isprint
11952 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11954 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11955 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11956 name clash with InsetCollapsable's width function.
11958 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11960 * lastfiles.C: include <iterator>
11962 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11964 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11967 * buffer.C (makeLaTeXFile): ditto.
11968 Also make loop operation more transparent.
11970 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11972 * ToolbarDefaults.C: remove trailing comma closing namespace.
11974 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11976 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11979 * trans.C (Load): comment out unused variable, allowed.
11981 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11983 * minibuffer.[Ch] (append_char): new method to recieve input from the
11984 drop-down completion browser. If a key was pressed, then recieve this
11985 char and append it to the existing string.
11986 (peek_event): modify the positioning data passed to the completion
11987 browser so that it can be placed above the minibuffer rather than below.
11988 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11990 * LyXAction.C (init): alloe error-next for readonly documents.
11992 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11995 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11997 * bufferlist.C (readFile): create the buffer _after_ checking that
12000 * lyxfunc.C (verboseDispatch): fix handling of arguments
12002 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12004 * lyxrc.C: use string::erase() instead of initializing to "".
12007 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12009 * BufferView_pimpl.h:
12010 * BufferView_pimpl.C:
12013 * text2.C: tell X when we have made a selection for copying
12015 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12017 * BufferView_pimpl.C (MenuInsertLyXFile):
12018 * lyxfunc.C (menuNew):
12020 (doImport): add shortcuts to directory buttons
12022 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12025 * lyxfunc.C (setStatusMessage):
12026 (getStatusMessage): new methods
12027 (getStatus):use setStatusMessage instead of setErrorMessage
12028 (dispatch): when function is disabled, set error message here
12029 [instead of in getStatus previously]
12031 * BufferView_pimpl.C (workAreaButtonRelease): update
12032 toolbar/menubar here too.
12034 2002-01-13 Allan Rae <rae@lyx.org>
12036 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12037 Now seems indestructible. Remaining task is to audit all other
12038 code affected by deleteEmptyParagraphMechanism. One small quirk
12039 left is that an empty document with an error in the preamble can
12040 be made to report an error but no error box appears. I don't know
12042 (removeAutoInsets): Improved comments.
12044 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12047 * Thesaurus.C: update for Aiksaurus 0.14
12049 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12051 * text2.C (firstParagraph): removed member function, all uses
12052 replaces with ownerParagraph
12053 (redoParagraphs): here
12054 (updateInset): here
12055 (toggleAppendix): here
12056 * BufferView2.C (insertErrors): here
12057 (setCursorFromRow): here
12059 2002-01-13 Allan Rae <rae@lyx.org>
12061 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12062 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12063 There is still a way to segfault this although you may have to do this
12064 multiple times: Have an InsetERT with an unknown command in it.
12065 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12066 <down-arrow>, <Enter> again, View->DVI, BANG!
12068 * text2.C (setCursor):
12069 (deleteEmptyParagraphMechanism):
12070 * lyxtext.h (setCursor):
12071 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12072 Making use of the return value may help fix other bugs.
12074 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12076 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12078 * LyXView.C (updateMenubar): call MenuBar::update here
12079 (updateToolbar): but not here
12080 (showState): do not update toolbar/menubar
12082 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12083 should need to care about that.
12085 * lyxfunc.C (verboseDispatch): simplify a bit
12086 (getStatus): have a version which takes a pseudoaction, and
12087 another which requires a (kb_action,string).
12089 * LyXAction.C (retrieveActionArg): make it work also when action
12090 is not a pseudo-action.
12091 (getActionName): simplify a bit
12094 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12096 * lyxfunc.C (verboseDispatch): new families of methods with
12097 several ways to specify a command and a bool to indicate whether
12098 the command name and shortcut should be displayed in minibuffer
12099 (eventually, we could extend that to a finer bitmask like
12100 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12101 (dispatch): the pristine dispatch command which just, well,
12102 dispatchs! Note it still sets its result to minibuffer; I'm not
12105 * lyxfunc.h: remove setHintMessage
12107 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12109 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12111 * BufferView_pimpl.C (specialChar): delete new inset if we have
12112 not been able to insert it.
12114 * kbmap.C: revert to using int instead of kb_action, since all we
12115 are dealing with is pseudo-actions.
12117 * LyXAction.C (searchActionArg): change to return int instead of
12118 kb_action, since the result is a pseudoaction.
12120 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12122 * buffer.C (insertErtContents): Fix (partially) the font bug.
12124 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12126 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12127 as the other one is broken on my machine!
12129 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12132 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12134 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12136 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12137 reflect their actual use. Provide compatibility code for older lyxrc
12140 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12142 change names of popup font variables in line with the changes to lyxrc.C
12144 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12146 * buffer.C (asciiParagraph): avoid outputing a word twice after
12149 * lyxrc.C (getDescription): document that document_path and
12150 template_path can be empty.
12152 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12154 * LaTeXFeatures.C (getMacros):
12155 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12157 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12159 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12161 (getPackages): rename feature "floats" to "float". Use an array to
12162 iterate over 'simple' features (i.e. just a \usepackage). Add
12163 handling of "amsmath" (renamed from "amsstyle").
12165 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12167 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12170 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12172 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12173 FuncStaus::FuncStatus & FuncStaus::some_method().
12175 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12177 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12178 of the func_satus stuff. Edited and massaged in various ways by
12181 * lyxfunc.C (getStatus): use FuncStatus
12183 2002-01-08 Juergen Vigna <jug@sad.it>
12185 * text.C (nextBreakPoint): use function Inset::isChar().
12187 * paragraph.C (TeXOnePar): use function
12188 Inset::forceDefaultParagraphs.
12190 * buffer.C (latexParagraphs): use function
12191 Inset::forceDefaultParagraphs.
12193 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12195 * lyx_gui.C (init): set the style of the menu popups to
12196 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12198 2002-01-07 Juergen Vigna <jug@sad.it>
12200 * text.C (setHeightOfRow): small fix
12201 (prepareToPrint): don't look at alignment if we don't have the place
12204 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12206 * box.C: New file. Move the Box methods and functions out of box.h,
12207 following Lars' suggestion.
12209 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12211 * box.h: #include "support/LOstream.h", needed for inlined function.
12214 * lyxtextclasslist.C: added some using std declarations.
12216 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12218 * box.h: make signed dimensions to allow insets wider than
12219 the screen (bug #162)
12221 * BufferView_pimpl.C: add some insetHit debug
12223 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12225 * vc-backend.C: add FIXME
12227 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12229 * lyxfunc.C (getStatus): enable code for showing math font status
12232 2002-01-07 Juergen Vigna <jug@sad.it>
12234 * text.C (nextBreakPoint): removed debug output not needed anymore.
12236 2002-01-06 Juergen Vigna <jug@sad.it>
12238 * text.C (nextBreakPoint): fixed up this function we had this bug
12239 since ever but now hopefully we break row better.
12240 (insertChar): we have to check if an inset is the next char as it
12241 could now happen that a large inset is causing a break.
12243 2002-01-05 Juergen Vigna <jug@sad.it>
12245 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12246 if it doesn't like to be drawed.
12248 2002-01-04 Juergen Vigna <jug@sad.it>
12250 * BufferView2.C (lockInset): forgot to set a cursor.
12252 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12254 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12256 * FormMathsPanel.C:
12259 * form_maths_panel.C:
12260 * form_maths_panel.h:
12261 * form_maths_panel.fd: implemented sub- and super- buttons in math
12264 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12265 (or ^ space) to be used as in TeX (req'd by André).
12267 * lyxfunc.C: Allow ^ and _ again to be used both as
12268 super/subscript (mathed) and as themselves (in text).
12270 2002-01-03 Allan Rae <rae@lyx.org>
12272 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12273 "LyX" or the filename of the current buffer if it has one. This is a
12274 modified form of John Levon's patch.
12276 * XFormsView.C (setWindowTitle): also set icon title.
12278 * LyXView.h (setWindowTitle): signature changed.
12279 * XFormsView.h (setWindowTitle): ditto.
12281 2002-01-02 Juergen Vigna <jug@sad.it>
12283 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12285 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12287 * screen.C (topCursorVisible): introduce a temp var for
12288 text->cursor.row(), handle the case where this row is null. (kindo
12291 * text2.C (setCursor): add a couple of asserts.
12293 * paragraph.h (inset_iterator): add -> operator
12295 * paragraph.[Ch] (autoDeleteInsets): remove member function
12297 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12298 cursor pos correctly and handle inset deletion by itself.
12299 (insertErrors): move iterator declaration out of for expression
12301 * lyxtextclass.C: add <algorithm>
12303 * Makefile.am: added the new files to sources, removed layout.C
12305 * layout.C: removed file
12307 * layout.h: remove LYX_DUMMY_LAYOUT
12309 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12313 * lyxtextclass.[Ch]:
12314 * lyxtextclasslist.[Ch]: new files
12316 * include order changes to a lot of files, also changes because of
12319 2001-12-27 Juergen Vigna <jug@sad.it>
12321 * buffer.C (asciiParagraph): more fixes.
12323 * tabular.C (ascii): make ascii export support export of only the
12324 data separated by a column-delimiter.
12325 (ascii): better support for ascii export.
12327 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12329 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12331 * tabular_funcs.C: use a "using std::getline" instead of the
12332 previous fix from Angus (necessary for cxx + lyxstring)
12334 2001-12-24 Juergen Vigna <jug@sad.it>
12336 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12338 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12339 problems. First check a minipage also if we have some ert-contents
12340 (not only on par->size(), second set the right depth of the paragraph
12341 on the relink to the root-paragraph-list!
12343 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12344 which then did not anymore update the main paragraphs on undo/redo!
12346 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12348 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12349 code. Support all font-changing funcs (even those which are not in
12350 menu currently). Support for reporting font settings in
12351 mathed (disabled until Andre provides a function on mathed's side).
12353 * func_status.h (toggle): small helper function to set toggle
12356 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12358 * tabular_funcs.C: getline -> std::getline
12360 2001-12-21 Juergen Vigna <jug@sad.it>
12362 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12363 accessed and could be 0 (I couldn't generate this but it seems
12366 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12368 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12369 * tabular_funcs.h: here and include iosfwd
12371 2001-12-20 Juergen Vigna <jug@sad.it>
12373 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12374 inside inset but undo_par was.
12376 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12378 * Thesaurus.C: always include <config.h> in sources.
12382 * box.h: do not include <config.h> in header files
12384 * text.C (paintLastRow): remove unused variable
12386 * text.C (transformChar):
12388 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12390 * Painter.C (text):
12391 * font.C (width): rewrite to use uppercase() instead of
12394 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12396 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12398 * lyxfind.C: clean up of find failure position change
12400 2001-12-20 Juergen Vigna <jug@sad.it>
12402 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12404 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12405 (TeXRow): added to LaTeX a single tabular row.
12406 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12407 (Latex): simplified and finally good LT-h/f support.
12408 (various_functions): just small adaptions for LT-h/f support.
12410 * tabular_funcs.[hC]: added and moved here all not classfunctions
12413 2001-12-19 Juergen Vigna <jug@sad.it>
12415 * tabular.[Ch]: better support for longtabular options (not finished
12418 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12420 * text.C (paintLastRow): use the label font instead of the font of
12421 the last character to compute the size of *_BOX. This makes more
12422 sense and avoids a crash with empty paragraphs.
12423 Use Painter::rectangle to draw EMPTY_BOX.
12425 2001-12-19 Juergen Vigna <jug@sad.it>
12427 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12428 the paragraphs if the replaced paragraph is not the first one!
12429 Tried to delete not used paragraphs but does not work yet so for
12430 now it's inside #ifdef's and by default off!
12432 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12434 * MenuBackend.C: include "lyx_main.h" instead of declaring
12435 lastfiles (actually was declared as LastFiles* instead of a
12438 2001-12-17 Juergen Vigna <jug@sad.it>
12440 * tabular.C (AppendColumn): applied John's fix
12442 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12446 * BufferView_pimpl.h:
12447 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12450 * box.h: new start of class for above
12452 * lyxfunc.C: ignore space-only minibuffer dispatches.
12453 Show the command name when it doesn't exist
12455 * minibuffer.C: don't add empty lines to the history
12457 * minibuffer.C: add a space on dropdown completion
12459 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12461 * text.C: fix line above/below drawing in insets
12463 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12465 * lyxlength.C (LyXLength): Initialize private variables.
12467 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12469 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12470 when inserting error insets.
12472 2001-12-13 Juergen Vigna <jug@sad.it>
12474 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12475 actually sometimes the before-paragraph.
12476 (setUndo): don't clear the redostack if we're not actually undoing!
12478 2001-12-06 Juergen Vigna <jug@sad.it>
12480 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12481 and fixed redoing of main paragraph, so we can use it now ;)
12483 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12485 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12487 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12490 2001-12-13 André Pönitz <poenitz@gmx.net>
12493 * undo_func.C: minor cleanup
12495 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12497 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12498 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12499 font in urw-fonts package which is marked as -urw-fontspecific and
12500 does not work (incidentally, changing the encoding in the
12501 fonts.dir of this package to -adobe-fontspecific fixes the
12504 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12505 is a crash when undoing first paragraph (Juergen, please take a
12506 look). THis does not mean the undo fix is wrong, just that it
12509 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12510 the (Paragraph*) version when needed instead of duplicating the
12513 * text.C (workWidth): use Inset::parOwner to find out where the
12514 inset has been inserted. This is a huge performance gain for large
12515 documents with lots of insets. If Inset::parOwner is not set, fall
12516 back on the brute force method
12518 * paragraph_pimpl.C (insertInset):
12519 * paragraph.C (Paragraph):
12520 (cutIntoMinibuffer): set parOwner of insets when
12521 inserting/removing them
12523 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12525 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12531 * mathed/formulabase.C:
12532 * mathed/math_cursor.[Ch]:
12533 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12536 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12538 * lyxlength.[Ch] (operator!=): new function
12540 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12542 * text.C (workWidth): use Inset::parOwner to find out where the
12543 inset has been inserted. This is a huge performance gain for large
12544 documents with lots of insets. If Inset::parOwner is not set, fall
12545 back on the brute force method
12547 * paragraph_pimpl.C (insertInset):
12548 * paragraph.C (Paragraph):
12549 (cutIntoMinibuffer): set parOwner of insets when
12550 inserting/removing them
12552 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12554 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12556 * tabular-old.C (getTokenValue):
12557 * tabular.C (getTokenValue):
12558 (write_attribute): new versions for LyXLength
12559 (everywhere): adjust the use of widths
12561 * tabular.h: change the type of widths from string to LyXLength
12563 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12565 * paragraph.C: fixed missing line number count when exporting
12566 Environments to LaTeX file
12568 * buffer.C: added informational message for checking line numbers.
12570 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12572 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12573 paragraph, do the 'double space' part, but not the 'empty
12576 * text.C (workWidth): small optimization
12577 (getLengthMarkerHeight): use minimal size for negative lengths.
12579 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12581 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12583 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12585 2001-12-11 André Pönitz <poenitz@gmx.net>
12588 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12590 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12592 * text2.C: keep selection on a setFont()
12594 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12596 * lyx_cb.C: another bv->text misuse, from insert label
12598 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12601 * kbsequence.C: re-instate nmodifier mask
12603 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12605 * lyx_main.h: make lyxGUI private.
12607 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12609 * lyxfind.C: place the cursor correctly on failed search
12611 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12613 * text.C (getLengthMarkerHeight): for small heights, the arrows
12614 are not always on top/bottom of the text
12615 (drawLengthMarker): smaller arrows; take the left margin in
12616 account; draw also vfills.
12618 (paintLastRow): remove special code for vfill and standard spaces,
12619 since everything is handled in drawLengthMarker now.
12621 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12623 * buffer.C (insertErtContents): try to handle font and language
12624 interaction a bit better.g
12626 * ColorHandler.C (updateColor): change the hash to cover the whole
12627 LColor enum, ws cleanup
12628 (getGCLinepars): ditto
12629 (getGCLinepars): only lookup in the linecache once.
12631 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12633 * iterators.C (operator++): Make the iterator more robust
12635 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12637 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12639 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12642 * text.C: better added space drawing
12644 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12647 * BufferView2.C: fix layout combo update on inset unlock
12649 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12651 * Makefile.am: don't compile unused files
12653 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12657 * LyXAction.C: remove old LFUN_LAYOUTNO
12659 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12661 * paragraph_pimpl.h:
12662 * paragraph_pimpl.C: isTextAt() doesn't need font param
12664 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12667 * lyxlex.C: little cleanup
12669 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12671 * BufferView_pimpl.C: fix insertAscii for insets
12673 2001-12-05 Juergen Vigna <jug@sad.it>
12675 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12676 set the right font on the "multi" paragraph paste!
12678 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12684 * lyxlength.C: remove out-commented code.
12686 * BufferView_pimpl:
12700 * vc-backend.C: change "while(" to "while ("
12702 * lyxlength.[Ch]: add zero function to check if length is zero or
12704 * lyxgluelength.C: use it
12706 2001-12-05 Allan Rae <rae@lyx.org>
12708 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12709 Works for 2.95.3, from what I understand of Garst's reports this should
12710 work for other g++ versions. We're screwed if the abs(int) definition
12711 changed between bugfix releases of gcc.
12713 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12715 * text.C: fix chapter label offset !
12717 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12720 * text.C: fix hfill at end of line, clean up
12722 2001-12-04 Juergen Vigna <jug@sad.it>
12724 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12725 that we force an update of the inset and it's owners if neccessary.
12727 2001-12-03 Juergen Vigna <jug@sad.it>
12729 * text.C (rowLast): simplified code
12731 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12733 * lyxfunc.C: fix show options on timeout
12735 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * screen.C (topCursorVisible): scroll half a page when the cursor
12738 reached top of bottom of screen
12740 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12742 * minibuffer.C: deactivate on loss of focus
12744 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12746 * vspace.[Ch] (operator!=): add operator.
12748 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12750 * BufferView_pimpl.C: refuse to open an inset when
12751 there's a selection.
12753 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12755 * BufferView_pimpl.C: allow to click on RHS of full row insets
12757 2001-11-30 Juergen Vigna <jug@sad.it>
12759 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12760 insets for undo reasons.
12762 2001-11-28 André Pönitz <poenitz@gmx.net>
12764 * vspace.[Ch]: cosmetical changes
12766 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12776 * kbsequence.C: part re-write of old kb code
12779 * WorkArea.C: remove Lgb_bug_find_hack
12781 2001-11-30 José Matos <jamatos@fep.up.pt>
12783 * buffer.C (makeDocBookFile): add a comment to point a hack.
12784 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12785 Fixed a double write of labels.
12787 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12790 * LaTeX.h Fixed bug in LaTeX class where it would not
12791 re-run latex if no depfiles were changed, but the .dvi was removed.
12793 2001-11-28 André Pönitz <poenitz@gmx.net>
12795 * all the files from the change on 2001/11/26:
12796 use lyx::layout_type instead of LyXTextClass::size_type
12797 use lyx::textclass_type instead of LyXTextClassList::size_type
12799 2001-11-29 Juergen Vigna <jug@sad.it>
12801 * text.C: added support for paragraph::isFreeSpacing()
12803 * buffer.C: same as above
12805 * paragraph.h: inserted isFreeSpacing() function to enable
12806 FreeSpacing inside InsetERT.
12808 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12809 of the paragraph's in the cut/copy buffer to 0!
12811 * text2.C (removeRow): remove the assert as it can!
12813 * lyxtext.h: added helper function firstRow returning firstrow and
12814 made firstrow private again.
12816 * BufferView2.C (lockInset): don't relock if we're already locked!
12818 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12819 the only paragraph.
12820 (removeRow): added Assert::(firstrow)
12822 * debug.C: forgot to add INSETTEXT here.
12824 2001-11-28 Juergen Vigna <jug@sad.it>
12826 * sp_spell.C (initialize): changed error text to more general
12827 spellchecker command use (not only ispell!)
12829 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12831 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12833 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12835 * vspace.C: initialise lyxgluelength on failure
12837 2001-11-28 Allan Rae <rae@lyx.org>
12839 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12840 declaration & definition that looks like a function declaration.
12842 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12844 * BufferView2.C (copy):
12845 (copyEnvironment): do not clear the selection when doing a copy.
12847 * text.C (paintFirstRow): compilation fix
12849 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12851 * tabular.C (Latex): correct line count when writing latex.
12853 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12855 * paragraph_pimpl.h:
12856 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12859 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12863 * LColor.C: change vfillline->added_space
12865 * text.C: add markers and text for added space
12867 * vspace.C: fix comment
12869 2001-11-28 André Pönitz <poenitz@gmx.net>
12871 * paragraph.C: whitespace changes
12872 * all the other files from the change on 2001/11/26:
12873 change *::pos_type into lyx::pos_type
12875 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12877 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12878 language of the document when inserting error insets.
12880 2001-11-26 André Pönitz <poenitz@gmx.net>
12882 * BufferView_pimpl.[Ch]:
12890 * paragraph_pimpl.[Ch]:
12893 * text2.C: reduce header dependencies, introduce type for positions
12895 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12897 * <various>: change to use Alert.h
12899 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12901 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12902 when encountering an unknown token.
12903 (readLyXformat2): Show an error message if there were unknown tokens.
12905 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12908 * BufferView_pimpl.C:
12912 * text2.C: use par->isInset()
12914 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12916 * paragraph_pimpl.h:
12917 * paragraph_pimpl.C: cleanup
12919 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12921 * text2.C (removeRow):
12922 * text.C (setHeightOfRow): remove useless (and costly) call to
12925 2001-11-20 Allan Rae <rae@lyx.org>
12927 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12928 Now need Inset*::checkInsertChar() to return true for appropriate
12929 cases so that the characters in the minibuffer will actually be
12932 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12934 * text.C: change the order of the includes.
12935 (workWidth): initialize it at once.
12936 (workWidth): make maxw unsigned
12937 (setHeightOfRow): remove unused variable (inset)
12938 (selectSelectedWord): remove unused variable (inset)
12939 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12941 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12943 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12944 server is not running.
12946 (closeConnection): add debug info when server is disabled.
12948 * ColorHandler.C (getGCForeground): send debug message to GUI
12951 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12953 * kbmap.C (bind): modify because return conventions of
12954 kb_sequence::parse have changed.
12956 * kbsequence.C (parse): only ignore spaces and not any stupid
12957 control character. This avoids tests like s[i] <= ' ', which are
12958 guaranteed to fail with 8bit characters and signed chars.
12959 Change return code to string::npos when there have been no error
12960 (0 was a bad idea when error is at first character)
12962 2001-11-14 José Matos <jamatos@fep.up.pt>
12965 * buffer.C (simpleDocBookOnePar): removed unused argument.
12967 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12969 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12970 insets which are part of a word. Paragraph::isLetter takes care of
12971 that now. Use Paragraph::isInset to identify insets.
12972 (selectSelectedWord): do not test for hyphenation break.
12974 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12975 that protected spaces are considered as spaces.
12977 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12980 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12983 * lyxserver.C: fix it. and small cleanup.
12985 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12987 * BufferView_pimpl.C: use inline helpers
12990 * LaTeXFeatures.C: fix typos
12993 * Spacing.C: move spacing_string into class
12995 * ToolbarDefaults.C: move stuff into namespace anon
12997 * layout.h: update enum
12999 * lyxfunc.C: use better debug
13001 * minibuffer.h: fix typo
13005 * WorkArea.C: add and use Debug::WORKAREA
13009 * text2.C: code re-organisation, inline helpers
13011 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13013 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13014 std::vector.empty().
13016 2001-11-09 Allan Rae <rae@lyx.org>
13018 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13019 '\n's after tables. Tabular and ERT inset work now makes this no
13022 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13025 * minibuffer.C: fix crash, improve drop-down completion
13027 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13030 * lyxserver.C: invalidate fd's when doing endPipe()
13032 2001-11-08 José Matos <jamatos@fep.up.pt>
13034 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13035 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13038 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13040 2001-11-07 José Matos <jamatos@fep.up.pt>
13043 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13046 * buffer.C (sgmlOpenTag):
13047 * buffer.C (sgmlCloseTag): removed debug info.
13049 * buffer.h (sgmlOpenTag):
13050 * buffer.h (sgmlCloseTag): made public.
13052 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13054 * buffer.C (saveParamsAsDefaults):
13055 * lyx_cb.C (MenuLayoutSave): remove
13057 * LyXAction.C (init):
13059 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13061 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13063 * buffer.C (setPaperStuff): removed from here...
13065 * bufferparams.C (setPaperStuff): ... and moved there.
13067 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13071 * XFormsView.C: add support for drop-down completion
13073 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13075 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13078 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13080 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13083 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13085 * lyx_main.C: change ref to known bugs
13087 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13089 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13090 to work around older babel problems.
13092 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13094 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13096 2001-10-24 Juergen Vigna <jug@sad.it>
13098 * tabular-old.C (ReadOld): below variable changes reflected.
13100 * tabular.[Ch]: added ltType struct for longtable header/footer
13101 defines and changed all instances where they are used. Added
13102 future support for double top/bottom rows.
13104 2001-10-24 José Matos <jamatos@fep.up.pt>
13106 * buffer.h (docbookHandleCaption):
13107 * buffer.C (docbookHandleCaption): removed unused function.
13108 (makeDocBookFile): moved docbook supported version to v4.1.
13110 2001-10-24 José Matos <jamatos@fep.up.pt>
13113 * tabular.C (docbookRow): new function to export docbook code of a row.
13114 (DocBook): now honors the longtable flags.
13116 2001-10-23 José Matos <jamatos@fep.up.pt>
13119 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13120 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13122 * buffer.C (makeLinuxDocFile):
13123 (makeDocBookFile): reworked the preamble, more clean, and with
13124 support for lyx defined entities. Changed the document declaration
13125 to be more XML friendly.
13127 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13128 if we need to output XML that should be done with a filter.
13130 2001-10-22 Juergen Vigna <jug@sad.it>
13132 * sp_pspell.h (class PSpell): add alive function needed in the
13133 controller to see if the spellchecker could be started.
13135 2001-10-22 Juergen Vigna <jug@sad.it>
13137 * buffer.C (insertStringAsLines): modify the font for inserting
13138 chars in certain conditions by calling checkInsertChar(font).
13140 2001-10-19 Juergen Vigna <jug@sad.it>
13142 * text.C (workWidth): use getRow instead of wrong algorithm.
13143 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13145 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13150 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13152 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13154 * text.C (workWidth): do not search for the exact row when
13155 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13156 optimization for big documents.
13158 2001-10-18 Juergen Vigna <jug@sad.it>
13160 * text.C (workWidth): new function with added Inset * parameter.
13162 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13164 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13166 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13167 change return type of getColumnNearX.
13170 * text.C (changeRegionCase): use uppercase/lowercase instead of
13173 (rightMargin): simplify code by factoring out the uses of
13178 (appendParagraph): use Paragraph::size_type
13180 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13182 * vspace.C (asLatexString): add a missing break
13184 2001-10-15 Herbert Voss <voss@perce.de>
13186 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13188 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13190 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13193 2001-10-10 André Pönitz <poenitz@gmx.net>
13195 * lyxfunc.C: removed greek_kb_flag.
13197 2001-10-10 Herbert Voss <voss@perce.de>
13199 * lyx_main.C: delete global string help_lyxdir.
13201 2001-10-09 Herbert Voss <voss@perce.de>
13203 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13205 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13207 * lyx_main.C: added global string help_lyxdir.
13209 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13211 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13213 * lyxrc.C (set_font_norm_type): support iso8859-4
13215 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13217 * LaTeX.C (deplog): add another regex for MikTeX
13219 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13221 * lyxrc.C (set_font_norm_type): support iso8859-3
13223 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13225 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13227 * LaTeXFeatures.C: remove special case of french and index
13229 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13230 before \begin{document}). This solves several incompatibilities.
13232 2001-10-03 Garst Reese <reese@isn.net>
13234 * lyx_cb.C: change CheckTex error msg.
13236 2001-10-03 José Matos <jamatos@fep.up.pt>
13238 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13240 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13242 * .cvsignore: update
13244 * lyx_main.C (commandLineVersionInfo): use new style version info.
13246 * buffer.C (writeFile):
13248 (makeLinuxDocFile):
13249 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13251 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13253 * version.h: update to use stuff in version.C
13255 * version.C.in: new file. Contains version information determined
13256 at compile time. This is a merging of version.h and
13259 2001-10-03 Juergen Vigna <jug@sad.it>
13261 * BufferView_pimpl.C (update): don't change "dirty" status in
13264 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13266 * WorkArea.C (c-tor): re-position version string slightly.
13268 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13270 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13271 revert to previous code.
13273 WorkArea.[Ch]: (show, destroySplash): methods removed.
13275 WorkArea.C: rework code so that it's an amalgam of the codes before and
13276 after the splash screen was moved to WorkArea.
13278 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13281 * vspace.C (inPixels):
13284 * buffer.C (insertStringAsLines):
13285 (asciiParagraph): fix types to be large enough
13287 * lyxlex_pimpl.h: change member status from short to int
13289 * layout.h: fix type of endlabeltype
13292 * kbsequence.C (parse): change return type to string::size_type
13294 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13297 * Bullet.C (bulletSize):
13298 (bulletEntry): do not use short ints as parameters
13300 * BufferView2.C (insertLyXFile): change a char to an int.
13302 * WorkArea.C (WorkArea): remove unneeded floats in computation
13304 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13306 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13308 * paragraph.C (asString): Do not ignore newline/hfill chars when
13309 copying to the clipboard.
13311 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13313 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13314 after a multi-line inset.
13316 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13318 * paragraph.C (validate): Set NeedLyXFootnoteCode
13320 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13322 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13323 and decrease-error to decrease.
13325 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13327 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13328 it more readable (should be equivalent)
13330 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13332 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13334 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13336 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13337 of a cursor (row, etc.) after a character has been deleted
13338 (deleteEmptyParagraphMechanism): call the method above on _all_
13339 cursors held by the LyXText when a double space has been
13342 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13344 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13346 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13348 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13349 background. Use greyOut() and the new show() methods to toggle between
13350 the foreground and background. Add code to remove the splash after
13351 its initial showing.
13353 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13354 (create_forms): no longer call Dialogs::showSplash.
13356 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13358 * .cvsignore: add version_info.h
13360 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13362 * version_info.h.in: new file
13364 * Makefile.am: add version_info.h.in
13366 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13367 version_info.h instead of VERSION_INFO
13369 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13371 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13372 The ERT inset now returns string().
13374 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13376 * lyxtext.h, text.C (selectNextWord): renamed as
13377 selectNextWordToSpellcheck.
13379 * text.C (selectNextWordToSpellcheck): Modified to not select
13380 words inside an ERT inset.
13382 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13384 * lyx_cb.C (MenuLayoutSave): change a bit the question
13386 * sp_base.h: include <sys/types.h>
13388 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13390 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13392 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13394 * several files: fix typos in user-visible strings
13396 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13398 * text2.C (pasteSelection): do not set the selection, since it
13399 will be cleared later. Actually, the intent was to fix the way the
13400 selection was set, but I figured rmoving the code was just as good.
13402 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13404 * FontLoader.C (available): Check if font is available without
13407 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13409 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13411 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13413 * lyxrc.[Ch]: added display_graphics variable and associated code.
13415 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13417 * bufferparams.C (hasClassDefaults): new method. Returns true if
13418 the buffer parameters correspond to known class defaults
13420 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13422 * XFormsView.C (show): set minimum size to the main window.
13424 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13426 * text2.C (copySelection):
13428 * lyxfind.C (LyXReplace):
13429 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13430 LyXText::selectionAsString.
13432 * paragraph.C (asString): add "label" argument to the second form
13434 * text2.C (selectionAsString): add "label" argument and pass it to
13435 Paragraph::asString.
13437 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13439 * lyx_main.C (commandLineHelp): remove version information
13441 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13443 * lyx_main.C: add -version commandline option
13445 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13447 * paragraph.h: make the optional constructor arg required instead.
13448 some modifications to other files because of this.
13450 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13452 * lyxserver.C (C_LyXComm_callback): make it static
13454 * lyx_main.C (error_handler): make it static
13456 * lyx_gui.C (LyX_XErrHandler): make it static
13458 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13460 * WorkArea.C: make the extern "C" methods static.
13462 * Makefile.am (lyx_LDADD): simplify
13464 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13466 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13467 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13469 * LyXAction.C (init):
13470 * lyxfunc.C (dispatch): associated code removal.
13472 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13474 * lyxfont.h (isSymbolFont): shut off warning
13476 * text.C (setHeightOfRow):
13477 (getVisibleRow): fix crash with empty paragraphs which have a
13480 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13482 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13485 2001-09-04 José Matos <jamatos@fep.up.pt>
13488 * tabular.C (docbook): rename docBook method to docbook.
13490 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13492 * Makefile.am: add dependencies to main.o.
13494 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13496 * FontLoader.C (available): Return false if !lyxrc.use_gui
13498 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13500 * FontInfo.C (query):
13501 * converter.C (view):
13502 * importer.C (Import):
13503 * exporter.C (Export): Can not -> cannot.
13505 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13507 * BufferView_pimpl.C: allow to create index inset even if
13510 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13512 * buffer.C (getLists): replace boost::tie code with an explicit pair
13513 as boost::tie can break some compilers.
13515 * iterators.h: Added a std:: declaration to the return type of
13518 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13520 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13523 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13525 * iterators.[Ch]: New files. Provide paragraph iterators.
13527 * buffer.C (changeLanguage): Use paragraph iterators.
13528 (isMultiLingual): ditto
13530 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13532 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13534 * FontLoader.C: Support for cmr font.
13536 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13538 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13539 (available): New method.
13541 * FontInfo.C (getFontname): Use scalable fonts even when
13542 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13545 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13547 * converter.C (Formats::view): reverted! Incorrect fix.
13549 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13551 * converter.C (Formats::view): only output the -paper option
13552 if the dvi viewer is xdvi, thereby fixing bug #233429.
13554 2001-08-23 Herbert Voss <voss@perce>
13556 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13558 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13560 * Spacing.h (Spacing): Set space to Default on in the default
13563 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13565 * vc-backend.h (RCS::versionString): add RCS to version
13566 (CVS::versionString): add CVS to version
13568 * vc-backend.C (scanMaster): do not add CVS to version.
13569 (scanMaster): do not add RCS to version
13571 * lyxvc.C (versionString): new method
13573 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13575 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13577 * Spacing.C (set): initialize fval
13579 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13581 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13584 2001-08-16 Juergen Vigna <jug@sad.it>
13586 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13588 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13590 * BufferView_pimpl.C:
13593 * text2.C: setParagraph takes linespacing now
13595 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13597 * LyxAction.C: add internal LFUN_CITATION_INSERT
13599 * LyXView.C: actually apply fix
13601 * bufferlist.C: fix open non-existent file
13603 * lyxfind.C: fix indentation
13605 * lyxfunc.C: remove unneeded assert, fix typo
13607 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13609 * MenuBackend.C: use "Floatname List"
13611 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13613 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13614 when converting LaTeX layout to insetERT.
13615 Generate a non-collapsed float when reading old float
13617 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13619 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13622 2001-08-13 Juergen Vigna <jug@sad.it>
13624 * text.C (fill): return 0 instead of 20 as this seems to be the more
13627 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13629 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13632 2001-08-13 Juergen Vigna <jug@sad.it>
13634 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13636 (SearchBackward): comment out the unlocking of the inset_owner this
13637 should not be needed!
13639 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13641 * Many files: Remove inherit_language, and add latex_language
13643 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13644 collapsible insets.
13646 2001-08-10 Juergen Vigna <jug@sad.it>
13648 * text.C (prepareToPrint): fixed hfill-width in draw!
13650 * BufferView2.C (selectLastWord): save the selection cursor as this
13651 now is cleared in the function LyXText::clearSelection!
13653 2001-08-08 Juergen Vigna <jug@sad.it>
13655 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13656 BACKSPACE type functions.
13658 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13659 is only cutted from the document but not put in the cut-buffer, where
13660 still the old stuff should be.
13662 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13664 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13666 * tabular.C (SetWidthOfCell): fixed special case where the width
13668 (LeftLine): handle '|' in align_special.
13670 (LeftAlreadyDrawed): ditto
13671 (SetWidthOfCell): ditto
13673 2001-08-07 Juergen Vigna <jug@sad.it>
13675 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13677 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13679 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13680 * lyxlex.[hC]: ditto
13682 2001-08-06 Juergen Vigna <jug@sad.it>
13684 * text.C (getVisibleRow): fix up row clearing a bit.
13686 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13688 * minibuffer.C: make sure the X server sees the changes in the input.
13690 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13692 * paragraph.C (getFont): split into...
13693 (getLabelFont): this
13694 (getLayoutFont): and this
13695 * paragraph_pimpl.C (realizeFont): calling this
13697 * text2.C (getFont): split into...
13698 (getLayoutFont): this
13699 (getLabelFont): and this
13700 (realizeFont): all three calling this
13702 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13705 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13707 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13709 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13711 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13712 layouts from the Quote inset insertion.
13714 2001-08-03 Juergen Vigna <jug@sad.it>
13716 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13718 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13719 only if status not is already CHANGED_IN_DRAW (second level).
13721 * text.C (draw): don't set the need_break_row when inside an
13724 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13726 * buffer.C (parseSingleLyXformat2Token): handle more latex
13729 * bufferview_funcs.[hC]: change function names to
13730 begin with small char, adjust other files.
13732 2001-08-02 André Pönitz <poenitz@gmx.net>
13735 BufferView_pimpl.C: remove broken special code for math-greek
13737 2001-08-02 Juergen Vigna <jug@sad.it>
13739 * BufferView_pimpl.C (update): redone this function so that we
13740 update the text again if there was a CHANGE_IN_DRAW.
13742 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13743 (drawFromTo): added a new internal bool which is used by draw() and
13745 (general): some cursor drawing problems fixed.
13747 2001-08-01 Juergen Vigna <jug@sad.it>
13749 * lyxfind.C (LyXFind): fixed
13750 (SearchForward): ditto
13751 (SearchBackward): ditto
13753 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13754 spurius drawing of the cursor in the main area.
13756 * text2.C (status): small fix which could lead to a segfault!
13757 (clearSelection): remove unneeded BufferView param.
13759 2001-08-01 André Pönitz <poenitz@gmx.net>
13761 * lyxfunc.C: small change due to changed mathed interface
13763 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13765 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13767 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13769 * lyxfunc.c: fail gracefully if file doesn't exist
13774 * BufferView_pimpl.C: IsDirWriteable() proto changed
13776 * LyXView.C: fix updateWindowTitle() to store the last title
13778 2001-07-31 Juergen Vigna <jug@sad.it>
13780 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13781 the font (wrong since using of Paragraph::highestFontInRange).
13783 * paragraph.C (highestFontInRange): added a default_size parameter.
13785 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13786 (setHeightOfRow): reformat
13788 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13790 * converter.[hC] + affected files: move to (inital-char)lowercase
13793 * ParagraphParameters.C (ParagraphParameters): remove commented code
13795 * PainterBase.[Ch]: remove commented code
13797 * LaTeXFeatures.h: add "bool floats" for float.sty
13799 * LaTeXFeatures.C (LaTeXFeatures): init floats
13800 (require): handle float
13801 (getPackages): do it with floats
13803 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13805 * BufferView_pimpl.C (Dispatch): improve handling of
13806 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13808 * commandtags.h: #include lyxfont.h here temporarily to avoid
13811 * bufferlist.h: include LString.h here.
13813 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13815 * text2.C (getStringToIndex): new method.
13817 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13819 * *: Reduced header file dependencies all over.
13821 2001-07-30 Baruch Even <baruch@lyx.org>
13823 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13825 2001-07-29 Baruch Even <baruch@lyx.org>
13827 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13829 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13831 * ParameterStruct.h (endif): add a default constructor to make
13832 sure that all variables is initialized.
13834 * ParagraphParameters.C (ParagraphParameters): adjust
13836 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13838 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13839 index; also, check that there is something to index, and that it
13840 does not span over several paragraphs.
13841 (doubleClick): use WHOLE_WORD_STRICT for double click.
13843 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13845 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13848 2001-07-26 Baruch Even <baruch@lyx.org>
13850 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13851 an InsetFig figure, backwards compatible reading of old figure code.
13853 2001-07-27 Juergen Vigna <jug@sad.it>
13855 * text2.C: font.realize function adaption.
13857 * text.C (draw): add a warnings lyxerr text if needed.
13859 * layout.C: font.realize function adaption.
13861 * language.C: add inherit_language and implement it's handlings
13863 * bufferview_funcs.C (StyleReset): remove language parameter from
13864 font creation (should be language_inherit now).
13866 * bufferparams.C (writeFile): handle ignore_language.
13868 * paragraph.C (getFontSettings): the language has to be resolved
13869 otherwise we have problems in LyXFont!
13871 * lyxfont.C (lyxWriteChanges): added document_language parameter
13872 (update): removed unneeded language parameter
13874 * paragraph.C (validate): fixed wrong output of color-package when
13875 using interface colors for certain fonts in certain environments,
13876 which should not seen as that on the final output.
13878 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13880 * BufferView_pimpl.C:
13885 * LyXAction.C: add thesaurus support
13888 * lyxfind.C: add "once" parameter, for thesaurus, to not
13889 move to the next match
13891 2001-07-26 Juergen Vigna <jug@sad.it>
13893 * lyxfont.C (realize): honor ignore_language too!
13896 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13898 * text.C (draw): one place more for ignore_language to not draw
13901 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13903 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13905 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13907 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13908 the minipage conversion problem.
13910 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13912 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13915 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13917 * BufferView.h: don't forward declare WorkArea
13919 * BufferView.C: don't include WorkArea.h
13921 2001-07-25 André Pönitz <poenitz@gmx.net>
13925 * lyxfunc.C: new LFUN 'math-space'
13927 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13929 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13931 * text2.C (toggleInset): call open/close
13933 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13935 * lyxfunc.C (dispatch): add debug for the disabled case
13937 * font.C (buttonText): make similar to rectText
13939 * buffer.C (readInset): comment out parsing of insetlist and
13942 * PainterBase.C (rectText): small correction
13944 * BufferView_pimpl.C: comment out insettheorem and insetlist
13945 * LyXAction.C: ditto
13946 * commandtags.h: ditto
13948 2001-07-24 Juergen Vigna <jug@sad.it>
13950 * text.C (draw): honor the ignore_language.
13952 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13954 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13956 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13959 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13961 * lyxtext.h: remove unused (and unimplemented) methods
13963 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13965 * text.C (getVisibleRow): honor background color
13968 * Painter.h: remove default color argument for fillRectangle
13970 * text.C (backgroundColor): new method
13972 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13974 * text.C (getVisibleRow): adjust
13976 * font.[Ch] (rectText): new method, metrics
13977 (buttonText): new method, metrics
13979 * PainterBase.[hC]: make rectText and buttonText always draw and take
13982 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13984 * ToolbarDefaults.C (read):
13985 * MenuBackend.C (read): allow escaping in all strings
13987 * BufferView_pimpl.C (insertAndEditInset): new method.
13988 (Dispatch): use insertAndEditInset whenever appropriate.
13990 * BufferView_pimpl.C (insertNote): removed
13992 * BufferView_pimpl.C (smartQuote): new method, moved from
13993 BufferView; if an insetquote cannot be inserted, insert a '"'
13996 * BufferView2.C: remove insertCorrectQuote();
13998 * lyxfunc.C (getStatus): Add support for all remaingin
13999 inset-insert lfuns.
14001 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14003 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14004 command (necessary to pass " as parameter of self-insert.
14006 * text.C (selectWordWhenUnderCursor):
14007 (selectWord): add word_location parameter
14008 (selectWordWhenUnderCursor): same + remove special code for word
14010 (selectNextWord): use kind() to guess type of insetspecialchar,
14013 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14014 (insertErtContents): create ert insets as collapsed.
14015 (readInset): better compatibility code for Info inset.
14017 2001-07-20 Juergen Vigna <jug@sad.it>
14019 * lyxfunc.C (dispatch): use always LyXFind now!
14021 * text2.C (init): add a reinit flag so that the LyXText can be
14022 reinited instead of deleted and reallocated (used in InsetText).
14024 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14030 2001-07-18 Juergen Vigna <jug@sad.it>
14032 * text.C (selectNextWord): handle insets inside inset by calling
14033 always the bv->text functions so that we can go up the_locking_inset!
14035 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14036 in strange locations when inside an inset!
14038 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14039 handling to include insets.
14041 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14043 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14045 * LyXAction.C (init):
14047 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14048 LIGATURE_BREAK, since the name is so stupid.
14050 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14052 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14055 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14057 * sp_form.[Ch]: remove.
14059 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14061 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14064 * src/buffer.C (readInset): ditto.
14066 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14068 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14069 menuSeparator(), endOfSentenceDot(), ldots() and
14070 hyphenationPoint(), which are therefore removed.
14071 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14073 * LyXAction.C (init):
14074 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14076 * paragraph.C (getWord): removed.
14078 * BufferView_pimpl.C (Dispatch): use last word or selection for
14079 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14081 * lyx_main.C (queryUserLyXDir): do not ask before creating
14082 user_dir, except if it has been named explicitely.
14084 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14086 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14087 a document of zero size.
14089 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14091 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14092 approriately in the c-tor and in require().
14093 (getPackages): output the appropriate LaTeX for natbib support.
14095 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14096 variables "use_natbib" and "use_numerical_citations" when reading the
14098 (readInset): read the various natbib cite commands.
14099 (validate): white-space change.
14101 * bufferparams.[Ch]: new variables "bool use_natbib" and
14102 "bool use_numerical_citations".
14103 (writeFile): output them in the LyX file.
14105 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14107 * lyxfunc.C (getStatus): add support for all the inset insertion
14110 * text2.C (insertInset):
14111 * paragraph.C (insetAllowed):
14112 * BufferView_pimpl.C (insertInset): update to take in account the
14113 renaming of insertInsetAllowed
14115 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14117 * text2.C (getInset): new method. returns inset at cursor position.
14119 * BufferView_pimpl.C (Dispatch): changes because of this.
14121 * LyXAction.C (init): rename open-stuff to inset-toggle.
14123 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14125 * text2.C (toggleInset): renamed from openStuff; use
14128 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14130 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14132 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14134 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14136 * buffer.C (readLyXformat2): Add filename to the error dialog
14138 2001-07-18 Juergen Vigna <jug@sad.it>
14140 * tabular.C (GetCellNumber): put an assert here instead of the check!
14142 2001-07-17 Juergen Vigna <jug@sad.it>
14144 * BufferView_pimpl.C (toggleSelection): adapted too.
14146 * text.C (selectNextWord): adapted for use with insets.
14147 (selectSelectedWord): ditto
14149 2001-07-17 Juergen Vigna <jug@sad.it>
14151 * sp_spell.C (PSpell): fix initialitation order.
14153 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14155 * paragraph.C: spacing
14157 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14159 * sp_spell.C: repair language selection for pspell
14161 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14163 * lyxfunc.h: change more methods to begin with lower char.
14165 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14167 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14168 for unknown layouts.
14170 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14172 * buffer.C (readLyXformat2): Generate an error dialog if there are
14175 2001-07-16 Juergen Vigna <jug@sad.it>
14177 * sp_spell.C: always compile ISpell part.
14179 * lyxrc.C: added use_pspell entry and it's handling.
14181 2001-07-13 Juergen Vigna <jug@sad.it>
14183 * sp_spell.C: removed double includes.
14185 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14187 Consistent use of Lsstream.h:
14188 * Lsstream.h: added using std::stringstream for consistencies sake.
14190 * buffer.C: removed using std::stringstream
14192 * lyxfont.C (stateText):
14193 * paragraph.C (asString):
14194 * text.C (selectNextWord, selectSelectedWord):
14195 * text2.C (setCounter):
14196 * vspace.C (asString, asLatexString):
14197 std::ostringstream -> ostringstream.
14199 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14201 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14202 * commandtags.h: add LFUN_HELP_ABOUTLYX
14203 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14205 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14207 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14209 * lyx_gui_misc.C: remove spellchecker
14210 * lyxfunc.C: showSpellchecker
14212 * sp_ispell.h: added
14213 * sp_pspell.h: added
14214 * sp_spell.C: added
14215 * sp_form.[Ch]: removed
14216 * spellchecker.[Ch]: removed
14218 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14220 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14222 (simpleTeXSpecialChars): Simply print the input character without
14223 any special translation if pass_thru is set.
14225 * layout.h: Added bool pass_thru to layout class for being able to
14226 implement pass through of a paragraph for Literate Programming.
14228 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14229 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14230 * layout.C (Read): add "passthru" to list of layout tags and add
14231 code to set the pass_thru boolean when it is read.
14233 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14235 * trans_decl.h: remove allowed from KmodInfo
14237 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14238 remove allowed code
14241 * paragraph_pimpl.C (erase): use boost::prior
14243 * Painter.C (text): use data() instead of c_str() when length is
14245 * WorkArea.C (putClipboard): ditto
14246 * font.h (width): ditto
14248 * BufferView2.C: use it-> instead of (*it). for iterators
14250 * paragraph_pimpl.C: ditto
14251 * paragraph.C: ditto
14252 * minibuffer.C: ditto
14253 * language.C: ditto
14255 * encoding.C: ditto
14256 * counters.C: ditto
14257 * converter.C: ditto
14259 * Variables.C: ditto
14260 * TextCache.C: ditto
14261 * MenuBackend.C: ditto
14262 * LyXAction.C: ditto
14264 * FloatList.C: ditto
14265 * DepTable.C: ditto
14266 * ColorHandler.C (LyXColorHandler): ditto
14268 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14270 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14272 * text2.C (openStuff): reintroduce this method (which had been
14273 nuked in NEW_INSETS frenzy).
14275 * lyxfunc.C (Dispatch): when an action has not been handled, use
14276 its name in the error message, not its number.
14278 * paragraph.C (inInset): change method name to begin with lowercase.
14281 * text2.C: updates because of this.
14283 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14285 * ToolbarDefaults.C (add): add spaces in error message
14287 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14289 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14290 (readLyXformat2): rename return_par to first_par, use lyxlex's
14291 pushToken and remove the manual push handling.
14292 (parseSingleLyXformat2Token): add another ert comp. variable:
14293 in_tabular, rename return_par to first_par. handle newlines better
14295 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14297 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14299 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14301 * text2.C (getParFromID): removed
14303 * buffer.C (getParFromID): new method moved form lyxtext.
14304 * BufferView2.C (insertErrors): adjust
14305 (setCursorFromRow): adjust
14306 * BufferView_pimpl.C (restorePosition): adjust
14307 * lyxfunc.C (Dispatch): adjust
14308 * undo_funcs.C (textUndo): adjust
14310 (textHandleUndo): adjust
14311 (textHandleUndo): adjust
14313 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14315 * buffer.C: up' the LYX_FORMAT
14317 * lyxfont.h: turn NO_LATEX on as default
14319 * buffer.C (insertErtContents): new methods of tex style compability.
14320 (parseSingleLyXformat2Token): use it several places.
14321 * tabular.C (OldFormatRead): and here
14323 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14325 * text2.C: remove some commented code.
14328 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14329 * trans.C: changes because of the above.
14331 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14333 * text2.C (setCounter): Fix counters bug with bibliography layout.
14335 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14337 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14338 own member functions
14339 (simpleTeXSpecialChars): ditto
14341 2001-07-06 Juergen Vigna <jug@sad.it>
14343 * a lot of files: changed the access to LyXText::status and the
14344 call of undo-functions.
14346 * undo.[Ch]: added a inset_id to the undo informations.
14348 * undo_funcs.[Ch]: added and moved here all undo functions.
14350 * lyxtext.h: give the status enum a weight, made status_ a private
14351 variable and made accessor functions for it, removed the whole bunch
14352 of undo-functions as they are now in their own file, make some
14353 functions publically available. Added function ownerParagraph with
14356 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14357 made InInset() a const function, added getParFromID() function.
14359 * buffer.[Ch]: added const version for inset_iterator functions,
14360 added getInsetFromID() function.
14362 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14363 changed undo functions for new version.
14365 2001-07-05 Juergen Vigna <jug@sad.it>
14367 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14368 unknow mechanism does not call the proper constructor but only this
14369 one also if I request the other!?
14371 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14373 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14375 * text2.C (LyXText): use initialization lists.
14377 * lyxtext.h (Selection): initialize set_ and mark_
14378 (init): remove method
14380 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14382 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14384 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14386 * screen.[Ch]: change method names to begin with lowercase
14388 * BufferView_pimpl.C (updateScrollbar): simplify further and
14389 hopefully make it a bit faster.
14391 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14393 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14394 calling directly xforms functions.
14396 * Painter.C (Painter):
14397 * lyx_cb.C (MenuWrite):
14398 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14401 * lyx_gui.C: remove bogus guiruntime extern declaration.
14403 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14405 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14407 (redoDrawingOfParagraph): ditto
14408 (redoParagraphs): ditto
14409 (cutSelection): don't create a object for CutAndPaste use the
14410 static method directly
14411 (pasteSelection): ditto
14413 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14416 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14418 * modifications to some other files because of this.
14420 * Makefile.am (lyx_SOURCES): add XFormsView
14422 * XFormsView.[Ch]: new files
14424 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14425 the main window. Move the gui dependent stuff to XFormsView
14427 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14429 * tabular.C (GetCellInset): update cur_cell also in the row/col
14430 version of this function.
14432 * lyxfunc.C: no need to include figure_form.h here.
14438 * lyxvc.C: no need to include forms.h here.
14440 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14442 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14444 * lyxfunc.C (Dispatch):
14446 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14447 constructor argument.
14449 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14451 * paragraph.C (Paragraph): dont't clear, and just set layout.
14452 (makeSameLayout): use params's copy contructor.
14454 * ParagraphParameters.[Ch] (makeSame): delete method
14456 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14458 * Variables.[Ch]: fix indentation, rename set to isSet
14460 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14462 * lyxfunc.C (Dispatch): fix typo
14464 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14466 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14469 * bufferlist.C: include assert.h for emergencyWrite().
14471 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14473 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14474 give up at last (bug #425202) !
14476 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14482 * spellchecker.C: strip spellchecker options and bring up
14483 preferences tab instead
14485 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14487 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14488 the istringstream constructor
14490 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14492 * paragraph.C (getLayout): fix return value
14494 * paragraph.h: do not declare getLayout as inline.
14496 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14498 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14500 * lyxcursor.h (operator<): new func
14501 (operator>): new func
14502 (operator>=): new func
14503 (operator<=): new func
14505 * text.C (changeCase): use selection.start and selection.end
14506 (changeRegionCase): require from to be <= to. Require par to be a
14509 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14511 2001-06-27 Juergen Vigna <jug@sad.it>
14513 * text.C (cursorLeftOneWord): changed to return the cursor and added
14514 overlay with BufferView * parameter which calls this one.
14516 (selectWord): use new getWord function.
14517 (changeCase): renamed from changeWordCase as and extended to work
14518 also on selections.
14520 * lyxtext.h: added enum word_location
14522 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14523 changeCase as this operates now also on selections.
14525 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14527 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14529 * many files: send debug output to Debug::INFO instead of
14532 * converter.C (View):
14534 (Move): send debug output to Debug::FILES instead of console.
14536 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14538 * lyxfunc.C (getStatus): use func_status
14540 * func_status.h: new header, describing the results of
14541 LyXFunc::getStatus;
14543 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14546 2001-06-25 The LyX Project <jug@sad.it>
14548 * buffer.C (sgmlOpenTag):
14550 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14552 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14554 * text2.C: remove some dead code
14556 * tabular.C (GetCellInset): store the last cell checked (gotten)
14558 * tabular.h: add the helper for the speedup
14560 * lyxtext.h: remove some dead code
14562 2001-06-26 The LyX Project <Asger>
14564 * paragraph.C: Change export to LaTeX of alignment to
14565 \begin{center} and family for better roundtrip work with reLyX.
14567 * Tune the math drawing a bit.
14569 2001-06-25 The LyX Project <Asger>
14571 * LColor.C (LColor): New color for math background. New color
14574 2001-06-25 The LyX Project <jug@sad.it>
14576 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14578 * lyxfunc.C (Open):
14579 * bufferlist.C (newFile): do not restrict to files ending with
14582 * BufferView_pimpl.C (MenuInsertLyXFile):
14584 2001-06-24 The LyX Project <jug@sad.it>
14586 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14589 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14591 * lyxtext.h: rename most methods to begin with a small char.
14592 Lots of changes because of this.
14594 * paragraph.C (Paragraph): do not call fitToSize
14595 (erase): call Pimpl::erase
14596 (insertChar): call Pimpl::insertChar
14597 (insertInset): call Pipl::insertInset
14598 (breakParagraph): do not call fitToSize
14599 (breakParagraphConservative): do not call fitToSize
14600 (fitToSize): remove method
14602 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14604 2001-06-24 The LyX Project <Asger>
14606 * Fix Qt compilation^2
14608 2001-06-24 The LyX Project <jug@sad.it>
14610 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14611 depthHook(getDepth()-1).
14614 * ParagraphParameters.h:
14615 * ParameterStruct.h: change type of depth to unsigned int ==
14616 depth_type. Many adaptations to other files before of that.
14618 2001-06-24 The LyX Project <Asger>
14620 * Fix Qt compilation.
14622 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14624 * paragraph.h: renamed several methods to begin with small letter.
14625 several changes to many parts of the code because of this.
14627 2001-06-23 The LyX Project <jug@sad.it>
14629 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14630 rewritten to discard all double spaces when KeepEmpty is off
14631 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14632 to only handle newlines but not fiddle with spaces and friends.
14634 * lyxfunc.C (MenuNew): when doing 'new from template', use
14635 template_path as default directory
14637 2001-06-23 The LyX Project <Asger>
14639 * Clean-up of header file includes all over
14640 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14642 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14644 * paragraph.h: renamed from lyxparagraph.h
14646 2001-06-23 Asger <lyx@violet.home.sad.it>
14648 * Buffer.h: Removed Buffer::resize
14649 * BufferList.h: Removed BufferList::resize
14650 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14651 the document lazily when we change the width, or the font settings.
14653 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14655 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14657 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14659 * buffer.h: remove out of date comment
14661 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14664 * screen.C: fix "theoretical" GC leak
14666 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14668 * LaTeX.C (scanAuxFile):
14669 (deplog): remove trailing \r when reading stream (useful under
14672 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14674 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14675 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14676 and BufferView::theLockingInset(Inset*), so should use them and not
14677 access bv_->text->the_locking_inset directly.
14679 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14681 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14684 * tex-defs.h: remove old unused file
14686 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14688 * BufferView_pimpl.C: fix typo, remove minibuffer message
14689 when buffer has loaded
14691 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14693 * lyxfunc.C (Dispatch): use stringstream
14694 (MenuNew): use stringstream
14695 (Open): use stringstream
14697 * importer.C (Import): use stringstream
14699 * bufferview_funcs.C (CurrentState): use stringstream
14701 * LaTeX.C (run): use stringstream
14703 * BufferView_pimpl.C (savePosition): use stringstream
14704 (restorePosition): use stringstream
14705 (MenuInsertLyXFile): use stringstream
14707 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14720 * vspace.C: removed // -*- C++ -*- as first line.
14723 * version.h: added // -*- C++ -*- as first line.
14725 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14727 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14729 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14732 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14734 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14737 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14739 * gettext.C: include LString.h even when --disable-nls is on.
14741 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14743 * converter.h (Get): changed argument type from int to
14744 FormatList::size_type to avoid unnecessary conversion.
14746 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14749 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14751 * gettext.h: include LString.h even when --disable-nls is on.
14753 2001-06-07 Juergen Vigna <jug@sad.it>
14755 * text.C (BreakAgain): subst spaces with tabs.
14757 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14758 (resizeInsetsLyXText): set force on resizeLyXText.
14760 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14762 * gettext.h (gettext_init):
14763 (locale_init): use a real definition instead of a macro
14765 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14767 * Bufferview_pimpl.C:
14769 * LColor.C: further lcolor tidies
14771 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14773 * BufferView_pimpl.C (updateScrollbar): simplify.
14775 * BufferView2.C: don't include insets/insetinfo.h, change
14776 prototype for insertInset and call the Pimpl version. let
14777 updateInset call Pimpl version.
14779 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14780 gotoInset to BufferView::Pimpl
14782 2001-06-01 Juergen Vigna <jug@sad.it>
14784 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14785 inside a LockingInset (is the update needed at all?).
14787 2001-05-31 Juergen Vigna <jug@sad.it>
14789 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14790 here not the old one otherwise how should we compare it afterwards
14793 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14798 * FontInfo.C: bring C functions into global namespace when
14801 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14803 * LString.h: make sure config.h has been loaded before LString.h.
14805 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14806 (one for each char read by EatLine!).
14808 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14811 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14813 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14814 to the same as the par we break from
14816 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14818 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14820 * MenuBackend.C (expand): also create menu entries for wide
14821 versions of the floats.
14823 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14825 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14827 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14828 frontends/Makefile.am
14834 * tabular.C (getTokenValue): add std::
14836 * tabular-old.C (getTokenValue): add std::
14837 (getTokenValue): ditto
14838 (getTokenValue): ditto
14840 * screen.C (ToggleSelection): adjust
14842 * lyxtext.h: put selection cursors inside a Selection struct.
14844 * lyxfunc.C (moveCursorUpdate): adjust
14846 * lyxfont.C (latexWriteStartChanges): add std::
14848 * lyxfind.C: adjust
14850 * font.h: delete with(char const *, LyXFont const &)
14852 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14854 * FontInfo.C (getFontname): add std::
14856 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14857 (workAreaButtonPress): adjust
14858 (tripleClick): adjust
14860 (moveCursorUpdate): adjust
14863 * BufferView2.C (gotoInset): adjust
14865 2001-05-30 Juergen Vigna <jug@sad.it>
14867 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14868 to check pspell I add this as default as I now have new pspell
14869 libraries and they seem to use this.
14871 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14873 * text2.C (CutSelection): make the cursor valid before the call to
14876 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14878 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14879 relied on 0 terminated strings and other horrors. Bug found due to
14880 the new assert in lyxstring!
14882 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14885 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14887 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14890 * lyxfunc.C (processKeySym): change method of getting to the
14893 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14894 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14895 * BufferView_pimpl.[Ch]: here as private methods.
14897 2001-05-28 Juergen Vigna <jug@sad.it>
14899 * text.C (SetHeightOfRow): added the update() call again as it is
14900 needed to initialize inset dimensions!
14902 2001-05-16 Juergen Vigna <jug@sad.it>
14904 * text2.C (SetCharFont): Add new function with BufferView * and
14905 bool toggleall parameters for setting insets internal fonts.
14906 (SetFont): Freeze the undo as we may change fonts in Insets and
14907 all this change should be inside only one Undo!
14909 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14910 setting font's in insets as for them we have the SetFont function!
14912 2001-05-15 Juergen Vigna <jug@sad.it>
14914 * text2.C (ClearSelection): to be sure we REALLY don't have any
14917 * tabular.C (TeXCellPreamble): fixed the left border problem for
14920 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14922 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14925 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14927 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14928 LFUN_BREAKPARAGRAPH.
14930 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14931 help test to "internal only", similar for LFUN_INSERT_URL
14933 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14934 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14935 auto_region_delete and deadkeys.
14937 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14940 * LColor.C: remove some dead entries, tidy a little
14942 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14944 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14946 (Dispatch): implement LFUN_ESCAPE
14948 * commandtags.h: add LFUN_ESCAPE
14950 * LyXAction.C (init): add entry for LFUN_ESCAPE
14952 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14953 Remove commented code.
14954 (insertNote): moved here
14955 (open_new_inset): moved here
14957 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14960 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14962 * kbmap.C (findbinding): clean it up and make it work correctly.
14964 * lyx_main.C (init): do not pass argc and argv as parameters
14966 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14968 * buffer.C: fix path for OS/2 & Win32
14972 * lyx_main.C: Added os:: class.
14974 * os2_defines.h: update
14976 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14978 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14979 better by trying again with reduced state.
14981 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14983 * lyxrc.C (read): print error about invalid key sequence only when
14984 debugging (because not all latinX keysyms are known to some X
14987 * kbsequence.C (getiso): add a few std:: qualifiers
14988 (getiso): comment out extra return statement.
14990 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14992 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14994 (Dispatch): enhance the accent inset a bit. (not perfect)
14996 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14998 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15000 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15002 * bufferlist.C (emergencyWrite): fix assert() call
15004 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15006 * text.C (InsertChar): Added trivial patch to only send the "you
15007 can not do multiple spaces this way" message once during a
15010 2001-05-08 Baruch Even <baruch@lyx.org>
15012 * Makefile.am: Changed order of libraries to get LyX to link properly
15013 with the gnome frontend.
15015 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15017 * LaTeXFeatures.h: add a std:: qualifier
15019 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15021 * paragraph.C (String): use stringstream
15023 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15025 * paragraph.C (writeFile): remove footflag arg
15027 * buffer.C (makeLaTeXFile): use stringstream
15028 (latexParagraphs): remove footnot gurba
15030 * LaTeXFeatures.C (getPackages): use stringstream
15031 (getMacros): likewise
15032 (getTClassPreamble): likewise
15033 (getFloatDefinitions): new method
15035 * paragraph.C (writeFile): reindent
15038 * WorkArea.h: revert the xpos + etc changes.
15040 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15042 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15044 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15045 (pasteSelection): likewise
15046 * text2.C (CreateUndo): likewise
15048 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15050 * minibuffer.C (peek_event): temporarily reduce the functionality
15051 of the minibuffer (to allow args on lfuns)
15053 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15054 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15056 * buffer.C (readInset): add compability reading of old float
15057 lists, add reading of new style float list.
15058 (readInset): avoid reevaluation of inscmd.getCmdName()
15059 (getLists): reindent
15061 * MenuBackend.C (MenuItem): implement parsing of
15062 md_floatlistinsert and md_floatinsert.
15063 (expand::LastFiles): move initalizaton of iterators out of loop,
15064 avoid reevaluation.
15065 (expand::Documents): introduce typdedef vector<string> Strings,
15067 (expand::ExportFormats): introduce typedef vector<Format const *>
15068 Formats, and use it.
15069 (expand): implement FloatListInsert and FloatInsert.
15071 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15072 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15073 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15075 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15077 (Dispatch::LFUN_FLOAT_LIST): implement
15079 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15081 * LaTeX.C (run): Fix problem with --export code.
15083 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15085 * BufferView.[Ch] (workarea): removed.
15086 (getClipboard) new method; wrapper for workarea()->getClipboard()
15088 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15091 * WorkArea.h (width, height, xpos, ypos): These methods all
15092 returned the dimensions of the work_area sub-area of WorkArea,
15093 resulting in a position error if the WorkArea were resized. Now
15094 return the dimensions of the entire WorkArea.
15096 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15098 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15100 * LaTeX.C (deplog): correct the syntax of regex reg1
15102 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15104 * undo.C: remove !NEW_INSETS cruft
15106 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15108 * text2.C: remove !NEW_INSETS cruft
15110 * text.C: remove !NEW_INSETS cruft
15112 * tabular.C: remove !NEW_INSETS cruft
15114 * spellchecker.C: remove !NEW_INSETS cruft
15116 * lyxtext.h: remove !NEW_INSETS cruft
15118 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15120 * lyxfunc.C: remove !NEW_INSETS cruft
15122 * lyxfind.C: remove !NEW_INSETS cruft
15124 * lyx_cb.C: remove !NEW_INSETS cruft
15126 * figureForm.C: remove !NEW_INSETS cruft
15128 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15130 * buffer.[Ch]: remove !NEW_INSETS cruft
15132 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15134 * CutAndPaste.C: remove !NEW_INSETS cruft
15136 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15138 * BufferView2.C: remove !NEW_INSETS cruft
15140 * BufferView.h: remove !NEW_INSETS cruft
15142 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15144 * Lsstream.h: include LString.h before the sstream headers to
15145 fix problem with gcc 2.95.3 and lyxstring
15147 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15149 * lyx_main.C: add using directives when needed for C functions
15150 declared in std:: namespace.
15152 2001-04-27 Juergen Vigna <jug@sad.it>
15154 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15155 (SetHeightOfRow): comment out the update call should not be needed!
15157 2001-04-13 Juergen Vigna <jug@sad.it>
15159 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15160 (LyXTabular): tried to minimize operator= operations (and realized
15161 hopfully Lars wish).
15163 2001-04-27 Juergen Vigna <jug@sad.it>
15165 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15167 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15169 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15171 * buffer.C (readInset): hack to make listof algorithm work
15173 * BufferView_pimpl.C: hack to make listof algorithm work
15175 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15177 * LyXAction.C: removed all !NEW_INSETS cruft
15178 (init): moved lfun_item in method
15180 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15182 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15184 * BufferView2.C (theLockingInset): white space.
15186 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15188 * minibuffer.C: include <iostream>
15190 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15192 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15194 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15196 * text.[Ch] (TransposeChars): new method
15198 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15200 * call message directly through LyXView instead of through LyXFunc
15201 * BufferView2.C: adjust
15202 * BufferView_pimpl.C: adjust
15203 * FontLoader.C: adjust
15205 * bufferview_funcs.C: adjust
15206 * converter.C: adjust
15207 * figureForm.C: adjust
15208 * importer.C: adjust
15210 * lyx_gui_misc.C: adjust
15211 * lyxfunc.C: adjust
15214 + more files in subdirs
15216 * lyxparagraph.h (size): move up int file
15219 * adjust all uses of Assert to lyx::Assert.
15221 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15222 lyxfunctional in namespace lyx
15223 * layout.C (hasLayout): ditto
15226 (delete_layout): ditto
15227 (NumberOfClass): ditto
15228 * converter.C (GetFormat): ditto
15233 * bufferlist.C (getFileNames): ditto
15234 (emergencyWriteAll): ditto
15237 * MenuBackend.C (hasSubmenu): ditto
15240 * BufferView_pimpl.C (getInsetByCode): ditto
15242 2001-04-18 Juergen Vigna <jug@sad.it>
15244 * vspace.C (asLatexString): fixed the 100% problem.
15246 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15248 * lyxfunc.C (Dispatch):
15250 * minibuffer.h: add a few std:: qualifiers
15252 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15254 * minibuffer.[Ch]: reimplement so that commands is initiated and
15255 run from lyxfunc, simplified som handling, and made the completion
15256 and history code for complete. wip.
15258 * lyxfunc.C (processKeySym): call message
15259 (miniDispatch): new temporary method
15260 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15261 (LFUN_MESSAGE): implement
15262 (LFUN_MESSAGE_PUSH): implement
15263 (LFUN_MESSAGE_POP): implement
15264 (initMiniBuffer): the initial/defualt minibuffer message.
15266 * lyxfont.[Ch]: inline some more getters
15268 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15270 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15272 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15273 (AutoSave): use LFUN_MESSAGE
15274 (Reconfigure): ditto
15276 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15278 * figureForm.C: use LFUN_MESSAGE
15280 * converter.C (runLaTeX): use LFUN_MESSAGE
15282 * bufferview_funcs.C: use LFUN_MESSAGE
15284 (changeDepth): ditto
15286 * bufferparams.h: use boost::
15288 * bufferlist.h: inherit privately from noncopyable
15290 * bufferlist.C (loadLyXFile): remove some commented code.
15292 * buffer.C (runChktex): use LFUN_MESSAGE
15294 * ShareContainer.h: inherit privately from noncopyable
15296 * ParagraphParameters.[hC] (depth): inline it.
15298 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15300 (message): new method
15301 (messagePush): ditto
15302 (messagePop): ditto
15303 (show): init minibuffer
15304 (showState): direct call
15306 * LaTeX.[Ch]: inherit privately from noncopyable
15307 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15308 instead of WriteStatus.
15310 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15312 * BufferView_pimpl.C (buffer): don't init minibuffer
15313 (workAreaButtonPress): use LFUN_MESSAGE
15314 (workAreaButtonRelease): ditto
15315 (savePosition): ditto
15316 (restorePosition): ditto
15317 (MenuInsertLyXFile): ditto
15318 (workAreaExpose): don't init minibuffer
15319 (update): remove commented code, simplify
15321 * BufferView2.C (openStuff): use LFUN_MESSAGE
15322 (toggleFloat): ditto
15325 (copyEnvironment): ditto
15326 (pasteEnvironment): ditto
15331 (updateInset): remove some commented code
15333 * lastfiles.h: inherit privately from noncopyable
15336 * lyx_main.h: ditto
15338 * lyxlex_pimpl.h: ditto
15340 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15341 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15342 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15344 * LyXAction.h: inherit privately from noncopyable, add methods
15345 func_begin, func_end, returning iterators to the func map.
15347 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15348 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15349 (func_begin): new method
15350 (func_end): new method
15352 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15354 (copySelection): ditto
15355 (pasteSelection): ditto
15357 * BufferView.C: whitespace change
15358 * BufferView.h: inherit privately from noncopyable
15360 2001-04-16 Allan Rae <rae@lyx.org>
15362 * tabular-old.C (l_getline):
15363 * spellchecker.C (sc_check_word):
15364 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15365 an unrecognised preprocessor directive. So ensure they're wrapped.
15367 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15369 * src/exporter.C (Export): Give an error message when path to file
15372 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15374 * LaTeX.C (deplog): Always check that foundfile exists.
15376 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15379 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15381 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15383 * tabular.[Ch] (getLabelList): implement new method
15385 * minibuffer.h: comment ouf setTiimer
15387 * minibuffer.C (ExecutingCB): constify res
15388 (peek_event): constify s
15389 (Set): constify ntext
15390 (Init): constify nicename
15392 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15394 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15395 (savePosition): use two params to Minibuffer::Set
15396 (restorePosition): ditto
15398 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15400 * lyx_main.C: include language.h
15402 * Makefile.am (lyx_main.o): add language.h
15404 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15410 * CutAndPaste.C: include gettext.h
15412 * lyxfont.h: remove old hack with ON and OFF.
15415 * lyxfont.h: do not include language.h...
15420 * bufferview_funcs.C:
15426 * paragraph.C: ... but do it here instead
15428 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15430 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15432 * tabular.C: small reformat
15434 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15437 (BreakParagraph): ditto
15438 (SetOnlyLayout): ditto
15441 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15444 * lastfiles.C: removed most using decl, add std:: where needed
15446 * buffer.C: ws changes
15448 * MenuBackend.C (class compare_format): put into anon namespace
15449 (expand): constify label, names, action, action2
15452 * text.C (SingleWidth): constify font
15453 (IsBoundary): constify rtl2
15454 (GetVisibleRow): constify ww
15456 * LaTeX.C (deplog): constify logfile
15458 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15460 (workAreaExpose): constify widthChange, heightChange
15462 * lyxrow.C (par): moved
15465 * lyxrow.h: as inlines here
15467 * lyxfont.h (shape): moved from lyxfont.C
15468 (emph): moved from lyxfont.C
15470 * lyxfont.C (LyXFont): use initialization list for all
15472 (shape): move to lyxfont.h as inline
15473 (emph): move to lyxfont.h as inline
15476 2001-04-04 Juergen Vigna <jug@sad.it>
15478 * vspace.C: had to include stdio.h for use of sscanf
15480 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15483 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15484 independent of xforms.
15486 2001-04-02 Juergen Vigna <jug@sad.it>
15488 * spellchecker.C: fixed namespace placing!
15490 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15492 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15493 the LyXParagraph * is 0.
15495 2001-03-29 Juergen Vigna <jug@sad.it>
15497 * vspace.C: added support for %, c%, p%, l%.
15498 (stringFromUnit): added helper function.
15499 (asLatexString): changed to give right results for the %-values.
15501 * buffer.C: convert the widthp in a width%.
15503 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15505 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15508 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15509 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15511 * lyx_cb.[Ch]: see above.
15513 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15517 * lyx.[Ch]: replaced by figure_form.[Ch].
15521 * lyxfunc.C: changed headers associated with above changes.
15523 2001-03-27 Juergen Vigna <jug@sad.it>
15525 * BufferView_pimpl.C: set the temporary cursor right!
15527 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15529 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15531 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15533 * LString.h: removed "using std::getline"!
15535 * BufferView_pimpl.C (Dispatch): changes due to changes in
15536 InsetInclude::Params.
15538 * buffer.C (tag_name): removed redundant break statements as they were
15539 producing lots of warnings with my compiler.
15541 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15543 * LString.h: add "using std::getline" when using the real <string>.
15545 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15547 * buffer.C: removed bitset usage.
15548 PAR_TAG moved to an anonymous name space.
15549 (tag_name): new funtion, also in the anonymous namespace.
15550 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15551 (makeDocBookFile): clean code. Completed transition from string arrays
15553 (SimpleDocBookOnePar): code clean.
15555 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15557 * tabular.C: add some comments.
15559 2001-03-22 Juergen Vigna <jug@sad.it>
15561 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15562 compatibility read a bit and fixed bug with minipage in different
15565 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15567 * buffer.C (pop_tag): removed.
15568 (push_tag): removed.
15569 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15570 array replaced with vector. Added support for CDATA sections.
15571 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15573 (makeDocBookFile): XML conformant declaration of CDATA section,
15574 fixed bug related to <emphasis> in the first paragraph char.
15575 (sgmlOpenTag): exclude empty tags.
15576 (sgmlCloseTag): ditto.
15578 * buffer.h (pop_tag): removed.
15579 (push_tag): removed.
15581 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15583 * language.h (Languages): added size_type and size().
15585 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15587 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15588 response on compability reading of minipages. One probliem is that
15589 the old usage of minipages was «flertydig»
15591 * several files here and in subdirs: don't use static at file
15592 scope use anon namespaces instead.
15594 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15596 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15597 LaTeX output. This is necessary for Literate document
15600 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15602 * buffer.C: insert hfill when needed.
15604 * tabular.C (l_getline): use string::erase, small whitespace change.
15606 * BufferView_pimpl.C: try the anon namespace.
15607 * WorkArea.C: ditto
15609 2001-03-16 Juergen Vigna <jug@sad.it>
15611 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15612 otherwise it won't open options-dialogs.
15614 * buffer.C: honor pextraWidth(p) on converting minipages.
15616 * tabular.C (l_getline): changed the functions to strip trailing \r.
15618 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15620 * BufferView_pimpl.C:
15621 * minibuffer..C: added "using SigC::slot" declaration.
15623 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15625 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15631 * paragraph.C: ditto
15633 * lyxtext.h: NO_PEXTRA
15635 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15637 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15638 * ParameterStruct.h: ditto
15639 * ParagraphParameters.h: ditto
15640 * lyxparagraph.h: ditto
15642 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15644 * buffer.C: add compability for minipage alignment.
15645 (latexParagraphs): remove unwanted pextra check.
15647 * several files: remove CXX_WORKING_NAMESPACES
15649 * buffer.C (pop_tag): tie is in namespace boost
15651 * BufferView.h: noncopyable is in namespace boost
15653 * lyx_main.h: ditto
15656 * lastfiles.h: ditto
15657 * bufferlist.h: ditto
15658 * ShareContainer.h: ditto
15660 * LyXAction.h: ditto
15663 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15665 * Merging changes from BRANCH_MVC back into HEAD.
15667 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15669 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15671 * BufferView_pimpl.C: change from intl.C
15675 * Makefile.am: move combox.*
15681 * intl.C: remove dialog (covered by prefs)
15683 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15685 * lyxfunc.C (Dispatch): removed redundant break statement.
15687 2001-03-14 Juergen Vigna <jug@sad.it>
15689 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15691 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15693 * buffer.C: add hack to fix compability reading of minipages.
15695 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15697 * buffer.C (getLists): Cleanup.
15699 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15701 * lyxfont.C (update): don't honor toggleall on font size.
15703 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15707 * Makefile.am: moved to frontends/xforms/
15711 * BufferView_pimpl.C: changes for moved mathpanel
15713 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15715 * gettext.h: fix gettext_init() in --disable-nls
15717 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15719 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15721 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15724 * lyx.h: strip external form
15726 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15728 * BufferView_pimpl.C: add comment, destroySplash()
15730 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15732 * BufferView_pimpl.C:
15736 * lyxfunc.C: use re-worked insetinclude
15738 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15740 * buffer.C: add using std::stringstream.
15742 * lyx_cb.C: readd using std::ios.
15744 * buffer.C: add using std::map.
15746 * BufferView_pimpl.C: add using std::vector.
15748 * ShareContainer.h: add std:: to swap.
15750 * buffer.h: add some typedefs
15751 * buffer.C (getLists): use them
15752 (getLists): renamed from getTocList.
15753 add a counter for the different float types and use it in the
15755 (getLists): use the same counter for the NEW_INSETS and the "non"
15758 * lyx_cb.h: remove unused items, includes, using etc.
15760 * ShareContainer.h: remove some commented code, add more comments
15761 and "documentation".
15763 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15765 * buffer.C (getTocList): make the list also when NEW_INSETS is
15768 * buffer.h: remove TocType
15770 * buffer.C (getTocList): change to return a map<string,
15771 vector<TocItem> >, implement for dynamic number of list.
15773 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15774 * text2.C (PasteSelection): adjust
15775 * CutAndPaste.C (pasteSelection): adjust
15777 * FloatList.C (FloatList): update from the new_insets branch.
15778 * Floating.[Ch]: ditto
15779 * LaTeXFeatures.C: ditto
15781 * lyxlex_pimpl.C: ditto
15783 * paragraph.C (Last): remove when NEW_INSETS is defined.
15785 * other file: changes because of the above.
15787 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15789 * lyxparagraph.h: rename next to next_, previous to previous_,
15790 make them private for NEW_INSETS. Rename Next() to next(),
15791 Previous() to previous().
15793 * other files: changes because of the above.
15795 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15798 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15801 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15803 * main.C (main): pass lyx_localedir to gettext_init().
15805 * gettext.h: remove locale_init and gettext_init macros
15807 * gettext.C (locale_init): new function
15808 (gettext_init): new function
15810 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15813 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15815 * Moved credits to frontends:
15816 * credits.[Ch]: removed
15817 * credits_form.[Ch]: removed
15818 * lyx_gui_misc.C: remove credits stuff
15821 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15823 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15825 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15826 unneeded destructor.
15828 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15829 a standalone pointer again.
15831 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15833 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15839 * ToolbarDefaults.C:
15848 * BufferView_pimpl.C: use new file dialog in GUII
15851 * lyx_cb.C: remove LayoutsCB to Toolbar
15853 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15855 * ShareContainer.h (get): add std:: qualifier
15857 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15859 * ShareContainer.h: define a proper ShareContainer::value_type
15860 type (and use typename to please compaq cxx)
15862 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15864 * lyxparagraph.h: move serveral local vars to
15865 ParameterStruct/ParagraphParameters., use ShareContainer in
15866 FontTable., make vars in FontTable private and add getter and
15869 * paragraph.C: changes because of the above.
15871 * lyxfont.h: remove copy constructor and copy assignment. (the
15872 default ones is ok), move number inside FontBits. move inlines to
15875 * lyxfont.C: add number to initializaton of statics, move several
15876 inlines here. constify several local vars. some whitespace
15877 cleanup. Dont hide outerscope variables.
15879 * Spacing.h: add two new constructors to match the set methods.
15881 * ShareContainer.h: new file, will perhaps be moved to support
15883 * ParameterStruct.h: new file
15885 * ParagraphParameters.h: new file
15887 * ParagraphParameters.C: new file
15889 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15890 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15892 * BufferView_pimpl.C: ParagraphParameter changes.
15893 * buffer.C: Likewise.
15894 * bufferview_funcs.C: Likewise.
15895 * text.C: Likewise.
15896 * text2.C: Likewise.
15898 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15900 * lyxfind.C (LyXReplace): do not redefine default argument in
15902 (IsStringInText): ditto
15903 (SearchForward): ditto
15904 (SearchBackward): ditto
15906 2001-03-06 Juergen Vigna <jug@sad.it>
15908 * lyxfind.C (IsStringInText): put parentes around expressions.
15910 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15912 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15914 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15916 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15918 * stl_string_fwd.h: add comment
15920 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15923 * tabular.C: remove unused DocBook methods
15929 killed DO_USE_DEFAULT_LANGUAGE
15931 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15933 * lyx_gui.C: do not include language.h.
15935 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15936 arguments in function implementation.
15938 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15940 * BufferView_pimpl.C: add <ctime>
15942 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15944 * BufferView_pimpl.C: add using std::find_if
15946 2001-02-27 José Matos <jamatos@fep.up.pt>
15948 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15951 2001-02-11 José Matos <jamatos@fep.up.pt>
15953 * buffer.C (makeDocBookFile): command styles now have a parameter as
15954 "title" by default.
15956 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15958 * layout_forms.[Ch]: removed
15959 * lyx_cb.[Ch]: out character
15960 * lyx_gui.C: out character
15961 * lyx_gui_misc.C: out character
15962 * bufferview_funcs.C: : out character,
15963 added toggleall as parameter in ToggleAndShow
15965 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15967 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15969 * text2.C (SetCurrentFont): Disable number property at boundary.
15971 2001-02-26 Juergen Vigna <jug@sad.it>
15973 * lyxfunc.C (getStatus): added a string argument override function so
15974 that this is correctly called from LyXFunc::Dispatch if it contains a
15975 do_not_use_argument which is used!
15976 (Dispatch): added check for "custom" export and call appropriate func.
15978 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15980 * lyxrc.C: Add language_command_local, language_use_babel and
15981 language_global_options.
15983 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15985 * buffer.C (makeLaTeXFile): Use language_use_babel and
15986 language_global_options.
15988 2001-02-23 Juergen Vigna <jug@sad.it>
15990 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15991 which works with LyXText and putted it inside BufferView. Here now we
15992 only call for that part the BufferView::Dispatch() function.
15994 * BufferView.C (Dispatch): added.
15996 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15997 functions which needs to use a LyXText over from LyXFunc.
15998 (MenuInsertLyXFile): added
15999 (getInsetByCode): added
16000 (moveCursorUpdate): added
16001 (static TEXT): added
16003 2001-02-22 Juergen Vigna <jug@sad.it>
16005 * BufferView_pimpl.C (update): call a status update to see if LyXText
16008 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16010 * vc-backend.C (revert): implement for CVS
16011 (getLog): implement for CVS
16013 2001-02-20 Juergen Vigna <jug@sad.it>
16015 * text2.C (ClearSelection): added BufferView param for inset_owner call
16017 * lyxfunc.C (TEXT): added this function and use it instead of
16018 directly owner->view()-text of getLyXText().
16020 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16022 * src/layout_forms.C: out preamble
16023 * src/layout_forms.h: out preamble
16024 * src/lyx_cb.C: out preamble
16025 * src/lyx_cb.h: out preamble
16026 * src/lyx_gui.C: out preamble
16027 * src/lyx_gui_misc.C: out preamble
16028 * src/lyxfunc.C: connect with guii preamble
16030 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16032 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16034 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16036 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16037 whether to run bibtex.
16039 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16041 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16043 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16045 * Makefile.am (lyx_SOURCES): removed bibforms.h
16047 * vspace.h: doxygen
16049 * text.C (GetVisibleRow): make several local vars const
16051 * tabular.C: small cleanup.
16053 * lyxserver.C (callback): use compare instead of strncmp
16055 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16056 inlines to after class or to paragraph.C
16058 * lyxfont.h: remove friend operator!=
16060 * converter.h: move friend bool operator< to non friend and after
16063 * combox.h: small cleanup
16065 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16066 to inlines after class def.
16068 * buffer.C (pop_tag): use string operations instead of strcmp
16070 * bmtable.c: doxygen, small cleanup
16072 * LaTeX.h: remove friend operator==
16074 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16086 * BufferView_pimpl.C:
16087 * BufferView.[Ch]: remove cruft
16089 2001-02-14 Juergen Vigna <jug@sad.it>
16091 * lyxfunc.C: removed #if 0 unused code
16093 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16095 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16097 * text2.C (SetSelection): added a BufferView * parameter
16099 2001-02-13 Juergen Vigna <jug@sad.it>
16101 * lyxfunc.C (Dispatch): fixed protected blank problem.
16102 * BufferView2.C (protectedBlank): added LyxText * parameter.
16104 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16105 (AppendColumn): same as above for column_info.
16107 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16108 (moveCursorUpdate): use a LyXText param for support of InsetText.
16110 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16111 (tripleClick): ditto
16113 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16115 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16117 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16119 * text2.C (SetSelection): set correct update status if inset_owner
16120 (ToggleFree): ditto
16122 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16124 * tabular.C: remove some commented code.
16126 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16128 * BufferView_pimpl.C: call hideSplash()
16130 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16133 * bibforms.h: remove
16136 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16137 add LFUN_CHILD_CREATE
16139 * counters.h: fix tiny typo
16144 * lyx.C: move splash to frontends/xforms/
16146 * lyx_gui_misc.C: move Include and Bibform to frontends
16148 * lyxvc.h: clarify comment
16150 * vspace.C: tiny housekeeping
16152 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16154 * text.C (PrepareToPrint): RTL Fix.
16156 * paragraph.C (GetUChar): New method.
16157 (String): Use GetUChar.
16159 * buffer.C (asciiParagraph): Use GetUChar.
16161 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16163 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16165 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16168 * buffer.C: rename to getLogName(), handle
16169 build log / latex log nicely
16171 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16174 * MenuBackend.h: remove support for reference menuitem type.
16176 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16178 * BufferView_pimpl.C: housekeeping
16179 * BufferView_pimpl.h:
16184 * minibuffer.h: move Timeout GUI-I
16186 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16188 * lyxrc.C (read): Update converters data-structures.
16190 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16192 * LaTeX.h (operator!=): add operator != for Aux_Info
16194 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16196 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16198 * LaTeXLog.C: deleted, useful code moved to Buffer
16201 * buffer.C: new function getLatexLogName()
16207 * lyxfunc.C: use frontends for LaTeX and VC logs
16209 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16211 * LaTeX.h: yet another std:: that Allan forgot.
16213 * Variables.C (set): renamed from isset(), because this clashes
16214 with some HP-UX macros (grr).
16216 2001-02-06 Allan Rae <rae@lyx.org>
16218 * LaTeX.h: Another bug fix. Missing std:: this time.
16220 2001-02-04 Allan Rae <rae@lyx.org>
16222 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16223 floats problem. I've left it commented out because it's not quite
16224 correct. It should also test that the current object is a table or
16225 figure inset. But I haven't gotten around to figuring out how to do
16226 that. I *think* it'll be something like: "table" == inset.type()
16228 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16231 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16233 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16234 all the citation/databases/styles in the auxilary file.
16235 (run): Rerun latex if there was a babel language error.
16237 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16239 * text.C (Backspace): Preserve the font when changing newline char
16241 (BreakParagraph): If the cursor is before a space, delete the space.
16243 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16245 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16247 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16248 new argument (code).
16249 (ChangeCitationsIfUnique): New method.
16251 * paragraph.C (GetPositionOfInset): Handle bibkey.
16253 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16255 * BufferView_pimpl.h: change type of Position::par_pos to
16256 LyXParagraph::size_type.
16258 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16260 * BufferView_pimpl.C (savePosition, restorePosition): Write
16261 messages to minibuffer.
16263 2001-01-28 José Matos <jamatos@fep.up.pt>
16265 * buffer.C (makeDocBookFile): adds support for document language.
16266 A silly restriction on the name of LatexCommand types where removed.
16267 Added support for CDATA sections, allows to chars unescaped, used
16268 among others in code, to avoid escape < and >.
16270 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16272 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16273 saved positions instrad of a stack. Furthermore, a position is
16274 stored using paragraph id/paragraph position.
16276 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16277 Remove LFUN_REF_BACK.
16279 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16281 * converter.C (dvipdfm_options): New method.
16283 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16285 * vspace.C (isValidLength): Fix for empty input string.
16287 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16289 * LyXAction.C (init): change description of LFUN_FIGURE to
16292 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16294 * LaTeX.C: add using directive
16296 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16298 * MenuBackend.C (expand): Fix the sorting of the formats.
16300 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16302 * lyx_main.C: tiny error message fix
16304 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16306 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16307 calling fl_initialize(). This fixes the problem with ',' as
16308 decimal separator in text files.
16310 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16312 * trans.C (process): Fix the keymap bug.
16314 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16316 * LaTeX.C (scanAuxFiles): New method. Provides support for
16317 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16318 (scanLogFile) Scan for "run BibTeX" messages.
16320 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16321 OT1 font encoding. Also, load the aecompl package if the ae
16324 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16326 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16328 * texrow.C (increasePos): turn two error messages into debug
16331 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16333 * LaTeX.C (scanAux): Handle the \@input macro.
16334 (runBibTeX): Use scanAux().
16336 * language.C (latex_options_): New field.
16338 * LaTeXFeatures.C (getMacros): Add language macros.
16340 * buffer.C (makeLaTeXFile): Small fix.
16342 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16344 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16346 * text2.C: add a using directive.
16348 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16353 * lyxfunc.C: kill LyXBell.
16355 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16357 * text.C (IsBoundary): Remove the error message
16359 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16361 * lyxrc.C (setDefaults): Correct initialization value for
16364 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16366 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16369 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16370 and GotoNextNote().
16372 * src/LyXAction.C: Added reference-next.
16374 * text.C (InsertChar): Use contains instead of strchr.
16376 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16378 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16380 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16381 alignment commands (when needed).
16383 * text.C (InsertChar): Add ':' to number separator chars.