1 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * bufferlist.C (exists): use bind and equal_to instead of
6 * lyxtextclasslist.C (NumberOfClass): ditto
8 * cursor.C (insert): use for_each instead of explicit for loop
10 * bufferlist.C (getFileNames): use std::transform and
11 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
13 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
16 * buffer.C (changeLanguage): use for_each instead of explicit for
18 (hasParWithID): implement using getParFromID
20 * LaTeXFeatures.C: ws change only
22 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
25 * BufferView_pimpl.C (trackChanges): use for_each instead of
28 2004-11-04 André Pönitz <poenitz@gmx.net>
31 * undo.C (textUndoOrRedo): fix crash when creating undo information.
33 * dociterator.C (asDocIterator): use hard assert again.
35 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
37 * lyxlength.C (asLatexString): rewrite so that it does not use
40 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
42 * text3.C (specialChar, dispatch): make sure cursor moves to the
43 right after inserting an inset
45 2004-11-02 José Matos <jamatos@lyx.org>
47 * output_docbook.C (docbook):
48 * paragraph.C (getID):
49 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
50 garantee that the output is always legal.
52 * tabular.C (docbook):
53 * outputprams.[Ch]: remove mixed contents.
55 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
57 * text2.C (setCounter): prevent endless loop
59 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
61 * exporter.C (copyFile): use the mover instead of support::copy()
62 * exporter.C (Export): pass format and latex name to copyFile()
63 * exporter.h (addExternalFile): document
64 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
66 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
68 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
70 2004-10-30 José Matos <jamatos@lyx.org>
72 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
73 text and no inset or font change. This allows to use CDATA
74 sections just for the whole paragraph.
76 2004-10-30 José Matos <jamatos@lyx.org>
78 * paragraph.C (getFirstWord): remove unused variable.
80 2004-10-30 José Matos <jamatos@lyx.org>
82 * paragraph.C (getFirstWord): the content should always be escaped
84 (simpleDocBookOnePar):
85 * output_docbook.C (makeEnvironment): replace reference to CDATA
88 2004-10-30 José Matos <jamatos@lyx.org>
90 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
92 2004-10-30 José Matos <jamatos@lyx.org>
94 * output_docbook.C (makeParagraphs):
95 * paragraph.[Ch] (emptyTag): for docbook and company, if the
96 standard paragraph has only a given type of content drop the wrapper.
98 2004-10-29 José Matos <jamatos@lyx.org>
100 * output_docbook.C (makeEnvironment):
102 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
104 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
106 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
107 (cleanID): sanitize any id.
109 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
111 * buffer.C, lyxlex_pimpl.C:
112 * lyxlex_pimpl.C (setFile):
113 s/getExtFromContents/getFormatFromContents/
115 2004-10-28 José Matos <jamatos@lyx.org>
117 * output_docbook.C (makeEnvironment): move id to broadest possible
120 * sgml.C (openTag): apply substitution of <> for all attributes.
122 2004-10-28 José Matos <jamatos@lyx.org>
124 * buffer.C (makeLinuxDocFile, makeDocBookFile):
125 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
126 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
128 * sgml.[Ch]: new version for open and closeTag for paragraph and
129 for strings. Now they handle the ids of paragraphs.
131 2004-10-26 Angus Leeming <leeming@lyx.org>
133 * Makefile.am: add mover.[Ch].
135 * converter.C (convert, move): use the new Movers to move external
136 files to the temp directory.
138 * lyx_main.C (init): ensure that the global system_movers data
141 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
144 * mover.[Ch]: new files, defining a Mover as a utility to move an
145 external file between directories and, if necessary, manipulate this
146 file using a helper script.
148 2004-10-25 José Matos <jamatos@lyx.org>
150 * output_docbook.C (makeCommand): merge two if's that tested the
153 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
155 * sgml.C (escapeString): fix warning in a better way
157 2004-10-25 José Matos <jamatos@lyx.org>
159 * sgml.C (escapeString): import the require boosts header file for
160 tie, and avoid a signed unsigned comparison.
162 2004-10-25 José Matos <jamatos@lyx.org>
164 * sgml.h: add #include <string>
166 2004-10-25 José Matos <jamatos@lyx.org>
168 * sgml.[Ch] (escapeString): new function to escape all the string.
170 2004-10-24 José Matos <jamatos@lyx.org>
172 * paragraph.[Ch] (getFirstWord): new function to get the first
173 word. Useful for description.
174 (simpleDocBookOnePar): remove depth argument, add another that
175 says where to start the paragraph.
177 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
178 use the new functions to fix cleanly the support for descriptions.
180 2004-10-24 José Matos <jamatos@lyx.org>
182 * buffer.C (makeLinuxDocFile, makeDocBookFile):
183 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
184 * output_linuxdoc.C (linuxdocParagraphs):
185 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
186 add buffer as argument.
188 2004-10-24 José Matos <jamatos@lyx.org>
190 * output_docbook.C (makeEnvironment, searchEnvironment): place
191 CDATA inside paragraphs and fix scope for listitems.
193 2004-10-24 José Matos <jamatos@lyx.org>
195 * output_docbook.C: remove using statement for stack.
197 2004-10-23 José Matos <jamatos@lyx.org>
199 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
200 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
201 docbook. The new scheme is recursive and makes use of iterators, the
202 same as latex export works.
203 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
204 directly with the paragraph contents. This code was moved up to
205 output_docbook.C (docbookParagraphs).
206 * sgml.C (openTag, closeTag): removed unneeded newlines.
207 (closeEnvTags) removed.
209 2004-10-23 André Pönitz <poenitz@gmx.net>
211 * undo.C (textUndoOrRedo):
212 * dociterator.C (asDocIterator): work around crash
214 * cursor.C (getStatus): replace ASSERT by more verbose error message
215 and manual correction of the problem. Should increase stability
216 while providing more sensible information.
218 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
220 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
222 * bufferlist.C (previous, next): new methods
225 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
227 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
229 * buffer.C (makeDocBookFile): add dsssl stylesheet control
230 entities to preamble.
232 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
234 * messages.C (Pimpl): strip off translation context information
236 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
238 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
239 the cursor is correct (bug 1694)
241 2004-10-13 José Matos <jamatos@lyx.org>
243 * output_docbook.C (docbookParagraphs): fix closing tags in the
246 2004-10-09 José Matos <jamatos@lyx.org>
248 * buffer.C: format up to 237.
249 * bufferparams.C (write): use tostr to convert booleans to strings.
251 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
253 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
255 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
257 * LaTeX.C: implement use of babel language in xindy.
259 2004-10-05 José Matos <jamatos@lyx.org>
261 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
262 Add new translators to help reading and writing the lyx file.
264 2004-10-05 José Matos <jamatos@lyx.org>
266 * ParagraphParameters.C (read):
267 * text.C (readParToken): replace nexToken by more appropriate lex
270 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
272 * LaTeX.C (runMakeIndex):
273 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
274 (usually 'makeindex') configurable.
276 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
277 with a variable rather than with a number.
279 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
281 * output_latex.C (TeXOnePar): make sure font setting is the first
282 thing that gets output (and the last at the end). Should fix bug
285 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
287 * pch.h: use proper signal include
289 * LaTeX.h: Use preferred calling of Boost.Signal
292 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
294 * pch.h: dont include <boost/function/function0.hpp>
296 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
298 * paragraph_pimpl.h: remove usage of ShareContainer
300 * paragraph_pimpl.C: remove initialization of ShareContainer.
302 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * BufferView.C (putSelectionAt): change the semantics when
307 backwards == true: now, this just swaps cursor and anchor wrt the
310 * BufferView.h (putSelectionAt): add some documentation
312 * lyxfind.C (findBackwards): rewrite using while(). In particular,
313 make sure backwardChar is done at least once (to avoid getting
315 (findNextChange): use putSelectionAt in the forward direction
316 (operator()): use Paragraph::isWord
318 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
320 * Spacing.C (set): c_str fix
322 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
324 * lyx_cb.C (Reconfigure): quote the name of configure script in
325 case it contains spaces
327 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
331 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
332 (BOOST_LIBS): use top_buildir when looking for the file
334 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
336 * pch.h: do not use include boost/format.hpp, multiple symbols
337 will result (gcc bug)
340 2004-08-23 José Matos <jamatos@lyx.org>
342 * bufferparams.C (readToken): fix reading of the author field.
344 2004-08-20 José Matos <jamatos@lyx.org>
346 * lyxrc.C: remove support/translator.h inclusion since it is not used.
348 2004-08-20 José Matos <jamatos@lyx.org>
350 * lyxlex.[Ch] (findToken): remove function.
352 * ParagraphParameters.C (findToken):
353 * bufferparams.C (findToken): replace call for previous function
354 with local copy. This local function has one more argument, the
355 read string argument.
357 2004-08-16 José Matos <jamatos@lyx.org>
359 * ParagraphParameters.C (write):
360 * Spacing.C (writeFile):
361 * bufferparams.C (writeLaTeX):
362 * lyx_cb.C (Reconfigure):
363 * paragraph.C (write):
364 * tabular.C (write): remove unnecessary space at end of line.
367 2004-08-16 José Matos <jamatos@lyx.org>
369 * text.C (readParagraph): remove debug message.
371 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
373 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
376 * output_plaintext.C (asciiParagraph): set depth correctly
378 * outputparams.h: add member depth
380 * paragraph_funcs.C (ownerPar): remove.
382 * text2.C (setCounter): remove first_pit; comment out some
383 non-working code that uses ownerPar
385 * BufferView.C (getParentLanguage): remove. Not used anymore, and
388 2004-08-16 José Matos <jamatos@lyx.org>
390 * text.C (readParToken, readParagraph, read): report all unknown tokens.
391 For the same level of importance use the same chanel to report problems.
392 (read): add code to deal with \begin_body and \end_body.
395 2004-08-15 José Matos <jamatos@lyx.org>
397 * lyxlex.C (getString): fix comment, buffer::readBody is now
400 * tex-strings.C (string_papersize): Default -> default,
401 Custom -> custom, for consistency with other options.
403 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
407 * Makefile.am: support pch
409 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
411 * text.C (readParToken): remove the static LyXFont variable and
412 pass it as a parameter instead. This fixes a nasty bug where an
413 inset will be inserted with a bad font in some situations
414 (readParagraph): adapt
416 * text2.C (setCounter): reduce number of calls to pars_[pit]
418 * text.C (singleWidth): add an assert, fix a test
420 * rowpainter.C (paintText): reduce number of calls to singleWidth
422 * paragraph.C (isHfill):
425 2004-08-14 André Pönitz <poenitz@gmx.net>
430 * lyxtext.h (several functions): use a Paragraph & argument
433 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
435 * metricsinfo.h: add a new field ltr_pos to PainterInfo
437 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
439 * text.C (singleWidth): remove useless test
441 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
443 * tabular.h: remove bogus comments
445 * tabular.C (getDescentOfRow):
446 (isPartOfMultiColumn): add assertions
448 * lyxlength.C (inPixels): remove #warning
450 2004-08-14 André Pönitz <poenitz@gmx.net>
452 * paragraph.h: inline getChar()
454 * BufferView.h: remove unused declarations
456 2004-08-14 José Matos <jamatos@lyx.org>
458 * Buffer.[Ch] (readDocument): new name for old readBody.
459 * Buffer.C: new file format, new keywords: \begin_document,
460 \begin_header, \begin_body, \end_body.
462 * bufferparams.C (readToken): replace all calls to lex.nextToken
463 by lex.next(). Do the same to eatLine except where really needed.
465 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
466 line when writing to the lyx file.
468 * output_plaintext.C (asciiParagraph): fix Bibliography style
471 * text.C (read): fix end of file handling.
473 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
475 * MenuBackend.C (Menu::operator[]): new method to access
476 individual menu items
477 (Menu::hasFunc): new method. search for an item that corresponds
479 (MenuBackend::specialMenu): new method
480 (MenuBackend::expand): if a special menu has been set, skip
481 entries whose func() appears in this menu
483 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
485 * text3.C: use Debug::DEBUG a bit more
487 * text.C (leftMargin): try to simplify a tiny bit change var x to
488 l_margin. Dont output the wide margins always.
489 (rightMargin): no margin in inner texts
491 * rowpainter.h (nestMargin): new func
492 (changebarMargin): new func
493 (rightMargin): new func
495 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
499 * factory.C (createInset): modify setDrawFrame
501 * cursor.C: use Debug::DEBUG a bit more
503 2004-08-14 André Pönitz <poenitz@gmx.net>
506 * Makefile.am: new files to accomodate an 'external' (x,y)-position
507 cache for all insets in (at least partially) visible (top-level)
510 * BufferView_pimpl.C: reset external coord cache before every update.
511 This means the coord cache only contains valid entries.
513 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
516 * BufferView_pimpl.C (getInsetByCode): move function out of class
517 and change in to a template in anon namespace. Also fix to do what
520 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
523 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
525 (breakParagraph): rename par to par_offset and use a local
526 reference. Add code to keep the language over a rebreak.
527 (breakParagraphConservative): rename par to par_offset, use a
529 (mergeParagraph): ditto
531 (isFirstInSequence): ditto
532 (outerFont): rename pit to par_offset
534 * paragraph.C: ws change
539 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
541 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
544 * paragraph.C (simpleTeXOnePar): when we have a \item with
545 optional argument, enclose the argument with curly brackets (in
546 case it contains a closing square bracket)
550 * text3.C (checkInsetHit): constify
552 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
554 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
557 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
559 Fix toggling of collapsable insets with the mouse (bug 1558)
561 * lyxfunc.C (dispatch): adapt to LCursor changes
563 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
564 make sure that dispatch is not invoked twice
566 * cursor.C (needsUpdate): new method
567 (dispatch): return void
568 (result): new method, to access the DispatchResult of the cursor.
570 2004-08-13 José Matos <jamatos@lyx.org>
572 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
574 2004-08-13 André Pönitz <poenitz@gmx.net>
576 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
578 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
581 2004-08-12 André Pönitz <poenitz@gmx.net>
583 * text3.C: take out the 'cursor right' form insertInset and only
584 do it in those places when it is really needed. Fixes crash on
587 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
589 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
591 * BufferView_pimpl.C (setBuffer): initialize the current font of
592 the underlying LyXText
594 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
596 * kbsequence.C (print): use UI native formatting for menu
599 * text.C (insertChar): call Paragraph::insertChar with a font
602 * paragraph.C (insertInset, insertChar): the version that takes a
603 LyXFont argument is now a wrapper around the other one (the
604 opposite used to be true).
606 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
607 argument. Font setting is done in Paragraph now.
609 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
611 * outputparams.h: add new members intitle and lang.
613 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
614 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
616 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
618 * text3.C (dispatch): remove special handling of button 4 and 5,
619 it is now taken care of in the frontend code.
621 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
623 * Spacing.h: add <string> (STLPort compile fix)
625 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
627 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
629 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
631 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
634 * converter.C (showMessage): inherit from unary_function, make
637 * buffer.C (writeFile): initialize retval
639 * InsetList.h: rename private variable list to list_
640 * InsetList.[Ch]: adjust accordingly.
642 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
644 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
645 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
646 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
647 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
648 * ParagraphParameters.C, LaTeXFeatures.C: replace
649 "support/std_sstream.h" with <sstream>
651 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
653 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
654 * lyxsocket.C (LyXServerSocket): ditto
655 (serverCallback): ditto
657 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
659 * LaTeXFeatures.C: check release date when loading jurabib.
661 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
663 * lyxserver.C (startPipe): call register_socket_callback
664 (endPipe): call unregister_socket_callback
666 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
668 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
669 (LyXServerSocket): register the callback
670 (LyXServerSocket): unregister the callback
671 (fd): delete function
672 (serverCallback): improve error checking and setup the callbacks.
673 (dataCallback): change arg to fd.
674 (writeln): new func (copied fro the client socket) used for server
676 (LyXDataSocket): simplify
677 (~LyXDataSocket): close ann unregiser callback
678 (server): delete function
679 (fd): delete function
680 (readln): small changes, improve some std::string usage
681 (writeln): constify a bit
683 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
685 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
688 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
690 * BufferView_pimpl.C (setBuffer): set the layout combox value only
691 after it has been populated
693 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
695 * text2.C (insertInset): move cursor when inserting inset.
697 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
699 * kbmap.C (findbindings): a couple of new methods. returns a
700 container of kb_sequence objects. The real work is done by the
701 private recursive version
702 (printbindings): uses findbindings to print out a bracketed list
703 of bindings (renamed from findbinding).
705 * MenuBackend.C (binding): use kb_keymap::findbindings
707 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
709 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
711 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
713 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
715 * paragraph.C (isWord): return true on insets that report
718 * text.C (getWord): use Paragraph::isWord to decide what is in a
719 word and what is not; fix bug 1609.
721 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
723 * tex-strings.C: add "none" to string_paperpackages[], fixes
724 off-by-one-error in the paperpackage selection.
727 * tex-strings.[Ch]: char const * string[n]
728 -> char const * const string[]
730 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
732 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
733 command, return early.
735 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
737 * debug.h: add DEBUG to enum and fix size of ANY.
739 * debug.C: add support for Debug::DEBUG
740 (showTags): cast errorTags.level to unsigned int
742 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
743 (redoCurrentBuffer): ditto
744 (updateScrollbar): ditto
745 * cursor.C (dispatch): ditto
746 * text2.C (setLayout): ditto
748 (updateCounters): ditto
750 (deleteEmptyParagraphMechanism): ditto
752 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
754 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
755 annotations to cleanup the Makefile slightly.
757 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
759 * lyxrc.C: do not set user_email to a default value but use empty
760 instead. The entry used to be translated, which does not work
761 since at the point where lyxrc is constructed there is no
762 translation service available
764 * messages.C (getLocaleDir): remove and use directly
765 lyx_localedir() instead
767 2004-06-02 Angus Leeming <leeming@lyx.org>
769 Fix crash caused by dereferencing null pointer 'exportdata' in
770 OutputParams by creating a new ExportData variable on the heap,
771 storing it in a boost::shared_ptr.
772 The crash was triggered when generating an Instant Preview
773 of an external inset.
775 * Makefile.am: add outputparams.C
777 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
778 (c-tor): allocate memory to it.
780 * exporter.C (c-tor): associated changes.
782 2004-06-01 Angus Leeming <leeming@lyx.org>
784 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
785 contains data before calling isInset(0). (Bug 1513.)
787 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
789 * exporter.C (checkOverwrite): new method
790 * exporter.C (copyFile): new method
791 * exporter.C (Export): copy referenced files to the document dir
792 * exporter.[Ch]: new class ExportedFile
793 * exporter.[Ch]: new class ExportData. Contains currently the
794 names of referenced external files
795 * outputparams.h: add exportdata member.
797 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
799 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
802 2004-05-19 Angus Leeming <leeming@lyx.org>
807 * lyxfunc.C: small changes due to the introduction of namespace
808 lyx::frontend and the moving of namespace biblio to lyx::biblio.
810 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
812 * text3.C (dispatch): supress update when only moving the cursor
813 * cursor.C (selHandle): remove commented code
815 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
817 * paragraph.C (startTeXParParams): correct column count
818 * CutAndPaste.C (pasteSelection): remove const_cast
819 * output_docbook.C (docbookParagraphs): remove const_cast
820 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
821 const_cast and return ParagraphList::const_iterator
822 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
823 * output_plaintext.C (writeFileAscii): remove const_cast
824 * paragraph.[Ch] (simpleTeXOnePar): make const
825 * paragraph_funcs.C (outerPar): use const iterators
826 * paragraph_pimpl.C (validate): use const iterators
827 * text.C (setHeightOfRow): use const iterators
829 2004-05-17 Angus Leeming <leeming@lyx.org>
832 * LyXAction.C (init): new LFUN_INSET_REFRESH.
834 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
835 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
836 if the citation engine has changed.
838 2004-05-14 José Matos <jamatos@lyx.org>
840 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
841 if the textclass does not provide it. Have it different for sgml and
843 support the language of document.
844 * output_docbook.C (docbookParagraphs):
845 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
846 first anchor as the id of the paragraph, remove special case code.
847 * sgml.C (escapeChar): escape only < & >.
849 2004-05-14 Angus Leeming <leeming@lyx.org>
851 * bufferparams.h: move biblio::CiteEngine enum here to minimize
852 dependencies on src/frontends/controllers/biblio.h. Define a
853 CiteEngine_enum wrapper class to enable the enum to be forward
856 2004-05-12 Angus Leeming <leeming@lyx.org>
858 * buffer.C: up LYX_FORMAT to 234.
859 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
860 use_numerical_citations with a single biblio::CiteEngine cite_engine
862 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
864 2004-05-13 José Matos <jamatos@lyx.org>
867 * converter.C (Converter, readFlags): add xml member.
868 * outputparams.h: add XML flavor.
869 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
871 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
873 * lyxfunc.C (dispatch):
874 (getStatus): fix handling of LFUN_SEQUENCE
876 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
878 * debug.C (showLevel): do not forget the end-of-line marker
880 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
882 * kbmap.C (read): do not stop parsing a bind file when an error
885 2004-04-29 Angus Leeming <leeming@lyx.org>
890 * text2.C: wrap a bunch of #warning statements
891 inside #ifdef WITH_WARNINGS blocks.
893 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
895 * buffer.C: increment format to 233.
897 2004-04-28 Angus Leeming <leeming@lyx.org>
899 * BufferView_pimpl.C:
902 s/updateToolbar()/updateToolbars()/
903 s/Toolbar.h/Toolbars.h/
905 2004-04-28 Angus Leeming <leeming@lyx.org>
907 * BufferView.[Ch] (c-tor):
908 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
909 No longer passes these data to the WorkArea generator.
911 2004-04-28 Angus Leeming <leeming@lyx.org>
913 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
915 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
917 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
919 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
921 * output_latex.C (TeXEnvironment): make sure that there is a line
922 break before \end{foo} for the last paragraph of a document
923 (TeXOnePar): if the paragraph is at the end of the document (or
924 inset) and the language has to be reset, then make sure that the
925 line break is _before_ the language command, not after (fixes bug
926 1225); also make sure that the language reset command is the first
927 thing after the paragraph (to ensure proper nesting of
928 environments and thus fix bug 1404)
930 2004-04-21 John Levon <levon@movementarian.org>
933 * ToolbarBackend.C: make "name" be a programmatic name
934 and a gui_name field.
936 * lyxfunc.C: display the minibuffer on M-x
938 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
940 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
943 2004-04-19 Angus Leeming <leeming@lyx.org>
945 * BufferView_pimpl.C (setBuffer): changed preview interface.
947 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
950 2004-04-19 John Levon <levon@movementarian.org>
952 * BufferView_pimpl.C:
953 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
955 2004-04-05 Angus Leeming <leeming@lyx.org>
957 * text.C (redoParagraphs): add call to updateCounters(), thereby
958 fixing the missing "Figure #:" label from the caption of a
961 2004-04-13 Angus Leeming <leeming@lyx.org>
963 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
964 cursor is clicked out of an inset.
966 2004-04-13 Angus Leeming <leeming@lyx.org>
968 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
969 than an InsetOld one.
971 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
973 * format.[Ch]: add editor to Format
974 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
975 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
977 2004-04-08 André Pönitz <poenitz@gmx.net>
979 * metricsinfo.h: remove PainterInfo::width member
981 2004-04-08 Angus Leeming <leeming@lyx.org>
983 * lyx_sty.C (boldsymbol_def): modify so that it outputs
984 "\providecommand" rather than "\newcommand", thereby preventing
985 clashes with packages that define "\boldsymbol" themselves.
988 2004-04-08 Angus Leeming <leeming@lyx.org>
990 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
991 thereby squashing an unnecessary warning.
993 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
995 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
998 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1000 * BufferView.C (setCursor): call redoParagraph (some insets could
1002 (putSelectionAt): remove the 'double update' trick
1004 * BufferView_pimpl.C (fitCursor): call refreshPar
1005 (workAreaDispatch): remove an uneeded update call
1006 (dispatch): remove some manual update calls
1008 * cursor.[Ch]: remove cached_y_, updatePos
1009 (selHandle): set noUpdate when appropriate
1011 * lyxfunc.C (dispatch): track if we need an update
1013 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1015 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1016 (paintSelection): cheap optimization, do not call cursorX when not
1018 (paintPars): change signature
1021 (paintTextInset): adjust
1025 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1027 * lengthcommon.C: compilation fix: remove explicit array size from
1028 unit_name[] and friends
1030 2004-04-05 Angus Leeming <leeming@lyx.org>
1032 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1034 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1035 present only for the preferences dialog.
1036 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1038 2004-04-05 Angus Leeming <leeming@lyx.org>
1040 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1041 to enable the frontends to export changes to lyxrc correctly.
1043 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1045 2004-04-07 André Pönitz <poenitz@gmx.net>
1047 * cursor.[Ch] (selClear, adjust): remove math
1049 * cursor_slice.C: more agressive assert
1052 * BufferView_pimpl.C: rework mouse event dispatch
1059 2004-04-05 André Pönitz <poenitz@gmx.net>
1061 * cursor.[Ch] (valign, halign...): remove unneeded functions
1063 2004-04-05 Angus Leeming <leeming@lyx.org>
1065 * lyxlength.[Ch] (unit_name et al.): const-correct.
1067 2004-04-05 Angus Leeming <leeming@lyx.org>
1069 * BufferView_pimpl.C:
1078 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1080 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1082 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1084 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1086 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1087 * BufferView_pimpl.[Ch] (getStatus)
1088 * BufferView.[Ch] (getStatus): add
1089 * lyxfunc.C (getStatus): move lfuns handled in
1090 BufferView::dispatch to te function above
1091 * Cursor.C (setSelection): set selection() = true
1093 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1095 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1097 2004-03-31 Angus Leeming <leeming@lyx.org>
1099 * lyxfunc.C (dispatch): Fall through to the generic
1100 Dialogs::show("preamble").
1102 2004-03-31 Angus Leeming <leeming@lyx.org>
1104 * lyxfunc.C (dispatch): Fall through to the generic
1105 Dialogs::show("spellchecker").
1107 2004-03-31 Angus Leeming <leeming@lyx.org>
1109 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1112 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1117 * insetiterator.[Ch]:
1122 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1124 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1126 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1127 insets where we are putting the cursor.
1129 2004-03-31 Angus Leeming <leeming@lyx.org>
1132 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1134 * lyxrc.[Ch] (read, write): overloaded member functions taking
1135 a std::[io]stream arguments.
1137 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1139 2004-03-31 Angus Leeming <leeming@lyx.org>
1141 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1142 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1144 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1145 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1147 2004-03-31 Angus Leeming <leeming@lyx.org>
1149 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1150 the LFUN_ALL_INSETS_TOGGLE code.
1152 2004-03-30 Angus Leeming <leeming@lyx.org>
1154 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1155 has died. Fall through to the generic Dialogs::show("document").
1157 2004-03-30 Angus Leeming <leeming@lyx.org>
1160 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1161 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1163 * lyxfunc.C (getStatus, dispatch): define the actions for these
1164 lfuns. Little more than a cut and pste job from ControlDocument.C
1166 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1168 2004-03-30 Angus Leeming <leeming@lyx.org>
1171 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1172 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1174 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1175 open/closed state of ollapsable insets. Usage:
1177 all-inset-toggle <state> <name>, where
1178 <state> == "open" || "closed" || "toggle" and
1179 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1181 * lyxtext.h, text2.C (toggleInset): removed.
1183 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1184 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1185 now passes LFUN_INSET_TOGGLE to the found inset.
1187 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1188 is now invoked as "all-insets-toggle toggle branch".
1190 2004-03-30 Angus Leeming <leeming@lyx.org>
1194 * pariterator.[Ch]: added/corrected header blurb.
1196 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1198 * dociterator.[Ch]: add an inset_ member
1199 (backwardPos): implemented
1200 (backwardPos, forwardPos): use inset_ when the stack is empty.
1201 (doc_iterator_begin, doc_iterator_end): implemented
1202 * pariterator.[Ch]: adjust, add begin, end
1203 * insetiterator.[Ch]: adjust, add begin, end
1207 * BufferView_pimpl.C:
1208 * CutAndPaste.C: adjust
1210 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1212 * buffer.C: increment file format to 232.
1213 * LaTeXFeatures.C: add bibtopic package.
1214 * bufferparams.[Ch]: param \use_bibtopic.
1216 * lyxrc.[Ch]: add lyxrc bibtex_command
1217 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1219 * buffer.C: increment file format to 231.
1221 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1223 * dociterator.C: implement forwardPar
1224 * iterators.[Ch]: remove, replaced by
1225 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1227 * BufferView_pimpl.C:
1230 * bufferview_funcs.C:
1236 * Makefile.am: adjust
1238 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1240 * CutAndPaste.C (pasteSelection): fix 2 crashes
1241 (eraseSelection): fix a crash
1242 * paragraph_funcs.C: remove a warning
1244 2004-03-28 Angus Leeming <leeming@lyx.org>
1247 * LyXAction.C (init): new LFUN_PRINT.
1249 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1251 2004-03-27 Angus Leeming <leeming@lyx.org>
1254 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1256 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1258 2004-03-27 Angus Leeming <leeming@lyx.org>
1260 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1261 insetlist always contains non-null pointers to insets.
1263 2004-03-26 Angus Leeming <leeming@lyx.org>
1265 * src/BufferView_pimpl.C:
1266 * src/CutAndPaste.C:
1269 * src/output_plaintext.C:
1270 * src/outputparams.h:
1271 * src/paragraph_funcs.C:
1275 * src/frontends/controllers/ControlErrorList.C:
1276 * src/frontends/gtk/FileDialogPrivate.C:
1277 * src/frontends/gtk/GPainter.C:
1278 * src/frontends/gtk/GToolbar.C:
1279 * src/frontends/qt2/QRef.C:
1280 * src/mathed/math_scriptinset.C: squash compiler warnings.
1282 2004-03-26 Angus Leeming <leeming@lyx.org>
1284 * ispell.C (LaunchIspell::start):
1285 * lyx_cb.C (AutoSaveBuffer::start):
1286 invoke run(DontWait) rather than runNonBlocking().
1288 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1290 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1292 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1294 * kbsequence.C (print): adjust
1296 * kbmap.C (printKeySym): rename and change signature
1297 (printKey): use LyXKeySym::print()
1299 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1301 * undo.C: add using std::advance to compile for stlport
1303 2004-03-24 Angus Leeming <leeming@lyx.org>
1305 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1306 it leads to a crash when no buffer is present.
1308 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1309 Martin Vermeer <martin.vermeer@hut.fi>
1311 * lyxfunc.C (dispatch):
1312 * bufferparams.C (readToken): use the new LColor::setColor
1314 * LColor.[Ch] (setColor): new version that takes two strings as
1315 argument and creates a new color entry if necessary
1317 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1319 * buffer.C (makeLaTeXFile): if the main latex file that is
1320 processed is usually a subdocument of some master, then pretend
1321 for a while that it is actually the master
1323 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1325 * buffer.C (getLabelList):
1326 (getBibkeyList): use getMasterBuffer()
1327 (getMasterBuffer): new method. Returns the main document in the
1328 case where one is using included documents.
1330 2004-03-25 André Pönitz <poenitz@gmx.net>
1334 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1336 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1338 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1339 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1341 * ParameterStruct.h: merge with ParagraphParameters
1343 * lyxtext.h: remove LyXText::parOffset() and getPar()
1345 * text3.C: Remove all 'manual' update calls. We do now one per user
1346 interaction which is completely sufficient.
1350 * BufferView_pimpl.C:
1351 * FontIterator.[Ch]:
1353 * ParagraphParameters.[Ch]:
1358 * cursor_slice.[Ch]:
1365 * output_docbook.[Ch]:
1366 * output_latex.[Ch]:
1367 * output_linuxdoc.[Ch]:
1368 * output_plaintext.[Ch]:
1370 * paragraph_funcs.[Ch]:
1371 * paragraph_pimpl.[Ch]:
1379 * frontends/controllers/ControlDocument.C:
1380 * frontends/controllers/ControlErrorList.C:
1381 * frontends/controllers/ControlSpellchecker.C:
1384 * insets/insetbase.h:
1385 * insets/insetbibitem.C:
1386 * insets/insetbox.C:
1387 * insets/insetbranch.C:
1388 * insets/insetcaption.C:
1389 * insets/insetcharstyle.C:
1390 * insets/insetcharstyle.h:
1391 * insets/insetcollapsable.C:
1392 * insets/insetcollapsable.h:
1393 * insets/insetert.C:
1394 * insets/insetfloat.C:
1395 * insets/insetfoot.C:
1396 * insets/insetmarginal.C:
1397 * insets/insetnote.C:
1398 * insets/insetoptarg.C:
1399 * insets/insettabular.C:
1400 * insets/insettext.C:
1401 * insets/insettext.h:
1402 * insets/insetwrap.C:
1403 * mathed/math_mboxinset.C:
1404 * mathed/math_nestinset.C:
1405 * mathed/math_scriptinset.C:
1406 * mathed/math_scriptinset.h:
1409 2004-03-24 Angus Leeming <leeming@lyx.org>
1411 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1412 deal with any child processes that have finished but are waiting to
1413 communicate this fact to the rest of LyX.
1415 2004-03-24 Angus Leeming <leeming@lyx.org>
1417 64-bit compile fixes.
1419 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1420 (c-tor): pass lyx::pos_types rather than ints.
1422 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1425 * text.C (Delete): compile fix.
1426 (getPar): ensure that function declaration is the same as that in
1429 2004-03-23 Angus Leeming <leeming@lyx.org>
1431 * ispell.C (LaunchIspell):
1432 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1433 a boost::shred_ptr rather than a std::auto_ptr.
1435 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1437 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1438 handle LFUN_FILE_INSERT_*
1440 * lyxrc.C (setDefaults, getDescription, output, read):
1441 * lyxrc.h: remove ps_command
1443 2004-03-22 Angus Leeming <leeming@lyx.org>
1445 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1446 Ensure that error_handler is processed once only and that all data
1447 is saved before attempting to output any warning messages.
1449 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1451 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1453 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1455 2004-03-19 André Pönitz <poenitz@gmx.net>
1457 * cursor.[Ch] (reset): take main text inset as argument
1459 * BufferView: adjust
1460 * BufferView_pimpl.C: adjust
1462 * paragraph.[Ch]: fix completely broken operator=()
1464 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1466 * LColor.C (getFromLyXName): make sure that the color name is used
1469 2004-03-17 Angus Leeming <leeming@lyx.org>
1472 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1474 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1475 dialog and to kill a forked process.
1477 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1479 * text2.C (setCursorFromCoordinates): fix font problem
1481 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1483 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1484 bogus "rebuild cursor" code
1486 2004-03-11 André Pönitz <poenitz@gmx.net>
1488 * buffer.[Ch]: use InsetText instead of LyXText as container for
1491 * dociterator.[Ch]: drop the BufferView * member which is not needed
1492 anymore after the change to buffer.C
1494 * paragraph_funcs.C:
1498 * BufferView_pimpl.[Ch]:
1500 * cursor_slice.[Ch]: adjust
1502 * text3.C: fix bug in mathDispatch
1504 2004-03-08 André Pönitz <poenitz@gmx.net>
1506 * undo.[Ch]: use 'StableDocumentIterator' as base for
1509 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1512 * bufferparams.[Ch]: add jurabib support and param.
1514 * LaTeX.C: add FIXME/comment.
1516 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1518 * buffer.C: increment file format to 230.
1520 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1522 * cursor.C (dispatch): avoid infinite loops
1524 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1526 * rowpainter.C (paintSelection): fix x coordinates
1528 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1530 * text.C (rowBreakPoint): fix breaking before displayed insets
1532 2004-03-01 André Pönitz <poenitz@gmx.net>
1534 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1536 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1540 * BufferView_pimpl.C:
1548 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1554 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1555 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1557 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1559 * Bidi.[Ch] (computeTables): const correctness
1560 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1561 fill_hfill, fill_label_hfill and x from Row
1562 * lyxtext.h: prepareToPrint returns a RowMetrics
1563 * rowPainter.C: adjust
1564 * text.C (prepareToPrint): use width, not textWidth. adjust
1565 (redoParagraphInternal, cursorX): adjust
1566 * text2.C (getColumnNearX): adjust
1567 (init): put a default value to the top LyXText::width
1569 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1571 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1573 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1575 * lyxtext.h: add FontIterator class
1577 * text.C (FontIterator, operator*, operator->, operator++): add
1578 (rowBreakPoint, setRowWidth): adjust (fixing a
1581 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1583 * BufferView_pimpl.C (workAreaDispatch): allow also
1584 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1586 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1588 * text.C (rowBreakPoint): fix a bug showing with very large insets
1590 2004-02-25 André Pönitz <poenitz@gmx.net>
1593 * cursor.[Ch]: move some mathed specific code to mathed
1595 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1597 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1598 use_tempdir in preferences
1599 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1601 * lyx_main.C: ensure that tempdir is valid
1602 * lyxlex.h: correct typo
1603 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1604 * paragraph.[Ch] (isMultiLingual): make const
1605 * cursor.[Ch] (openable): make const
1607 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1609 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1611 2004-02-20 André Pönitz <poenitz@gmx.net>
1613 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1615 * cursor.[Ch]: prepare for localized getStatus()
1621 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1623 2004-02-20 André Pönitz <poenitz@gmx.net>
1625 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1627 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1629 * text2.C (setCursorFromCoordinates): switch to absolute coords
1631 (cursorDown): adjust
1632 * text3.C (dispatch): adjust
1634 2004-02-16 André Pönitz <poenitz@gmx.net>
1636 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1639 * cursor_slice.[Ch]: remove unneeded acessor function
1641 * lyxtext.h: rename rtl() to isRTL()
1649 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1651 * rowpainter.C (paintSelection): coord fix
1653 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1655 * Spacing.C: compile fix
1657 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1659 * cursor.C (dispatch): restore current_ before returning
1661 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1663 * text2.C (cursorUp, cursorDown): fix coords
1666 2004-02-12 André Pönitz <poenitz@gmx.net>
1671 * text3.C: add LCursor & parameter to most cursor movement functions
1672 remove usage of LyXText::cursorRow() and cursorPar()
1674 * cursor.[Ch]: add textRow() needed members
1677 * BufferView_pimpl.C:
1680 * BufferView_pimpl.C: adjust
1682 2004-02-11 André Pönitz <poenitz@gmx.net>
1686 * BufferView_pimpl.C: shift undo/redo handling
1688 * cursor.[Ch]: fix mathed crash
1691 * lyxtext.h: move selectionAsText to LCursor
1699 * rowpainter.C: fix excessive drawing
1701 2004-02-06 André Pönitz <poenitz@gmx.net>
1704 * BufferView_pimpl.[Ch]:
1705 * text3.C: move some text specific LFUN handling
1707 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1709 * text3.C (checkInsetHit): adjust coords
1710 * text2.C (getColumnNearX): adjust coords
1711 (edit): adjust coords
1712 * text.C (getRowNearY): add two asserts
1714 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1717 * format.C: add using std::distance to compile on gcc 2.95/stlport
1719 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1721 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1723 2004-02-04 André Pönitz <poenitz@gmx.net>
1725 * BufferView.[Ch] (insertInset):
1726 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1731 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1733 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1734 on the default clause of the switch
1735 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1736 wasn't catched by LCursor::dispatch
1738 2004-02-03 André Pönitz <poenitz@gmx.net>
1741 * cursor.[Ch]: some additional asserts
1743 * undo.[Ch]: remove LyXText dependency in interface
1747 * lyxtext.h (firstPar, lastPar): remove dead functions
1752 * paragraph.[Ch]: adjust
1754 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1756 * lyxfind.C (find): fix argument order in call to ::find
1758 2004-02-02 André Pönitz <poenitz@gmx.net>
1760 * cursor.[Ch]: remove direct access to anchor
1762 * text.C: remove findText() hack
1764 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1766 * iterators.[Ch] (lockPath): remove in favour of...
1767 * BufferView.[Ch] (setCursor): this addition
1768 * BufferView.C (putSelectionAt): adjust
1769 * undo.C (performUndoOrRedo): adjust
1770 * lyxfunc.C (dispatch): adjust
1772 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1774 * iterators.C (lockPath): add a missing slice
1775 * undo.C (performUndoOrRedo): remove redundant positioning code
1777 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1779 * vc-backend.C (scanMaster): ";" -> ';'
1781 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1783 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1784 std::binary_function
1786 * lyxtextclass.C (compare_name): rename to...
1787 (LayoutNamesEqual): ...this
1789 * lyxlex_pimpl.C (compare_tags): inherit from
1790 std::binary_function, put back into anon namespace
1792 * lyxfind.C (MatchString): inherig from std::binary_function
1793 (findChange): use empty() istead of !size()
1795 * format.C (FormatNamesEqual): new functor
1802 * converter.C (compare_Converter): rename to...
1803 (ConverterEqual): ...this, and fixup a bit.
1804 (getConverter): use it, and make function const
1805 (getNumber): use it, and make function const
1809 * bufferlist.C: add using boost::bind
1811 * MenuBackend.C (MenuNamesEqual): new functor
1812 (hasMenu): use it, and make function const
1813 (hasSubmenu): use nested bind to get rid of compare_memfun.
1815 2004-01-30 André Pönitz <poenitz@gmx.net>
1817 * BufferView_pimpl.C:
1820 * cursor_slice.[Ch]:
1823 * paragraph_funcs.C:
1824 * paragraph_funcs.h:
1828 * text3.C: move some of the edit(x,y) handling to the insets
1829 some coordinate changes.
1831 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1833 * text.C: add using statements for std::advance and std::distance
1835 * paragraph.C: add using statement for std::distance
1837 * lyxfind.C: add using statement for std::advance
1839 * cursor.C (region): remove std:: from swap
1840 (openable): use nucleus in stead of operator->
1842 * BufferView.C: add using statements for std::distance and std::swap
1844 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1846 * iterators.C: Remove the pimple, move the needed structures to
1847 the header file. Create accessor for the positions stack.
1848 (asPosIterator): remove function
1850 * PosIterator.C (PosIterator): move constructors to top of file
1851 (PosIterator): reimplement the constructor taking a ParIterator in
1853 (setFrom): new function
1854 (operator!=): inline it
1856 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1858 * lyxfind.C (replaceAll): use std::advance
1860 * iterators.h: inherit from std::iterator.
1862 * PosIterator.C (advance, distance): remove
1863 * PosIterator.h: interit from std::iterator.
1865 2004-01-26 André Pönitz <poenitz@gmx.net>
1868 * BufferView_pimpl.[Ch]:
1872 * bufferview_funcs.C:
1882 * output_linuxdoc.C:
1883 * output_plaintext.C:
1885 * paragraph_funcs.[Ch]:
1886 * paragraph_pimpl.[Ch]:
1892 * text3.C: more IU: dumps most of the rest of the mathcursor
1893 implementation into cursor.[Ch]; "globalize" a bit of it.
1895 2004-01-25 Angus Leeming <leeming@lyx.org>
1897 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1899 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1901 * LaTeXFeatures.h: add nice_ and nice() const
1902 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1904 2004-01-20 André Pönitz <poenitz@gmx.net>
1907 * BufferView_pimpl.C:
1909 * bufferview_funcs.C:
1911 * cursor_slice.[Ch]:
1922 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1923 LCursor and mathcursor parts to LCursor and InsetBase.
1925 2004-01-15 André Pönitz <poenitz@gmx.net>
1927 * cursor_slice.[Ch]: add a few covienience functions
1929 * funcrequest.[Ch]: remove BufferView * member
1931 * BufferView_pimpl.C:
1938 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1940 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1942 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1943 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1945 2004-01-13 André Pönitz <poenitz@gmx.net>
1948 * lyxtext.h: hide cursor and selection anchor behind accessor function
1951 * BufferView_pimpl.[Ch]:
1953 * bufferview_funcs.C:
1963 * cursor_slice.[Ch]: some integer type changes for inset unification
1965 * lyxcursor.[hC]: remove, it's CursorSlice now.
1968 * BufferView_pimpl.[Ch]:
1969 * bufferview_funcs.C:
1975 * textcursor.[Ch]: adjust
1977 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1979 * text2.C (undoSpan): add and use
1980 * text.C (breakParagraph): use undoSpan (fix bug 578)
1983 2004-01-08 Angus Leeming <leeming@lyx.org>
1985 * BufferView_pimpl.C (MenuInsertLyXFile):
1986 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1987 * lyxfunc.C (menuNew, open, doImport):
1988 FileFilterList change to the FileDialog open and save functions.
1990 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1992 * ShareContainer.h: make isEqual and isUnique adaptable
1994 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1996 2004-01-07 Angus Leeming <leeming@lyx.org>
1999 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2001 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2003 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2004 functions replacing find, replace and replaceAll.
2006 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2007 LFUN_WORDFIND(FORWARD|BACKWARD).
2009 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2011 * text.C (breakParagraph): remove an outdated #warning
2013 2004-01-07 André Pönitz <poenitz@gmx.net>
2015 * lyxfind.C: somewhat clearer logic
2017 * text.C: prevent crash in cursorX on unitialized row cache
2019 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2021 * lyxcursor.[Ch] (operator>): add
2022 * textcursor.C (selStart, selEnd): use std::min and std::max
2024 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2026 * Chktex.C: include boost/format.hpp
2028 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2030 * InsetList.C: replace functor MathcIt with adaptable functor
2032 (insetIterator): modify accordingly
2034 * BranchList.h: move the BranchNamesEqual functor here from...
2035 * BranchList.C: ... to here
2037 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2039 (add): replace a finding loop with std::find_if.
2041 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2043 * output_docbook.C: moving LatexParam functionality into
2046 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2048 * buffer.C: increment format to 229.
2050 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2053 * lyx_sty.[Ch]: remove minipageindent_def
2059 * text3.C: remove LFUN_INSET_MINIPAGE
2061 2003-12-28 Angus Leeming <leeming@lyx.org>
2063 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2065 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2067 * text2.C (setParagraph): fix off-by-one crash
2069 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2071 * output_docbook.C: header stuff for AGU
2073 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2075 * text2.C (redoCursor): remove
2078 * BufferView_pimpl.C: remove calls to redoCursor and
2079 setCursor(cursor.par(), cursor.pos()) all around
2081 2003-12-15 Angus Leeming <leeming@lyx.org>
2083 * buffer.C: up the format to 228.
2085 2003-12-15 André Pönitz <poenitz@gmx.net>
2087 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2092 * BufferView_pimpl.C:
2101 2003-12-15 Angus Leeming <leeming@lyx.org>
2103 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2104 than getFromGUIName to manipulate the color.
2106 2003-12-14 Angus Leeming <leeming@lyx.org>
2108 * BranchList.[Ch]: minimize the API.
2109 (Branch::getBranch, getColor): now return a 'const &'.
2110 (Branch::setSelected) now returns a bool set to true if the
2111 selection status changes.
2112 (BranchList::clear, size, getColor, setColor, setSelected,
2113 allBranches, allSelected, separator): removed.
2114 (BranchList::find): new functions, returning the Branch with
2116 (BranchList::add, remove): return a bool indicating that
2117 the operation was successful.
2119 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2120 new InsetBranch::isBranchSlected member function.
2122 * LColor.[Ch]: mimimize the API.
2123 (fill): renamed as addColor and made private.
2124 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2125 versions of these functions taking a string arg have been removed.
2127 * bufferparams.C (readToken):
2128 * lyxfunc.C (dispatch):
2129 * lyxrc.C (read): changes due to the altered BranchList and
2132 * factory.C (createInset, readInset): changes due to altered
2135 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2138 * lyxfunc.C: remove insetminipage. "minipage-insert"
2139 now produces a frameless minipage box inset.
2141 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2143 * textcursor.[Ch] (selStart,selEnd): add new methods
2144 remove selection::start, end, use LyXCursor::operator<
2145 * lyxcursor.[Ch] (operator<): add
2146 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2147 * BufferView.[Ch] (unsetXSel): add
2148 * text2.C (clearSelection): use unsetXSel,adjust
2151 * rowpainter.C: adjust
2152 * bufferview_funcs.C (put_selection_at): adjust
2154 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2156 * BufferView_pimpl.C: small coord. correction
2158 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2160 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2161 dragging over the splash screen.
2163 2003-12-11 Angus Leeming <leeming@lyx.org>
2165 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2166 as it is now handled in LyXText::dispatch.
2168 * text3.C (doInsertInset): remove a level of nesting.
2170 2003-12-11 Angus Leeming <leeming@lyx.org>
2172 * factory.C (createInset): changes due to the changed interface to
2173 InsetCommandMailer::string2params.
2175 2003-12-10 Angus Leeming <leeming@lyx.org>
2177 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2178 'dialog-show-new-inset <inset name>'
2180 2003-12-10 Angus Leeming <leeming@lyx.org>
2182 * buffer.C: up the format to 227.
2184 * factory.C: the box inset is now identified simply by 'Box'.
2186 2003-12-10 Angus Leeming <leeming@lyx.org>
2188 * buffer.C: up the format to 226.
2190 * factory.C: the note inset is now identified simply by 'Note'.
2192 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2194 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2195 when a pit is enough. Standarize a couple of loops.
2197 2003-12-05 Angus Leeming <leeming@lyx.org>
2199 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2200 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2201 data to the re-worked "log" dialog.
2203 2003-12-03 André Pönitz <poenitz@gmx.net>
2209 * paragraph_funcs.C:
2211 * text2.C: use Inset::getText instead of Inset::getParagraph
2213 2003-12-03 André Pönitz <poenitz@gmx.net>
2217 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2218 InsetText::read() as LyXText::read()
2220 2003-12-02 Angus Leeming <leeming@lyx.org>
2222 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2223 type. Add a comment in the implementation that the function uses
2224 the stream's bad() function rather than fail() as the std::streams
2227 2003-12-02 André Pönitz <poenitz@gmx.net>
2229 * lyxlex.[Ch]: make interface more similar to std::stream
2231 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2233 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2235 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2237 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2239 * vspace.[Ch]: remove VSpace::NONE
2241 2003-12-01 André Pönitz <poenitz@gmx.net>
2244 * lyxtext.h: move ParagraphList member to LyXText
2245 rename LyXText::ownerParagraphs to LyXText::paragraph
2248 * bufferview_funcs.C:
2258 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2260 * undo.C: fix cursor positioning
2262 2003-12-01 John Levon <levon@movementarian.org>
2264 * BufferView_pimpl.C: fix a crash on exit with
2267 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2269 * BranchList.C: fix setSelected() method.
2271 2003-11-28 André Pönitz <poenitz@gmx.net>
2273 * ParagraphParameters.[Ch]:
2274 * ParameterStruct.h: remove space above/below from Paragraph to
2277 * BufferView_pimpl.C:
2283 * paragraph_funcs.C:
2289 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2291 * factory.C: Syntax change for CharStyles
2293 2003-11-28 André Pönitz <poenitz@gmx.net>
2298 * buffer.[Ch]: move LyXText member
2300 2003-11-28 André Pönitz <poenitz@gmx.net>
2302 * BufferView.[Ch]: make LyXText * text a private member
2304 * BufferView_pimpl.C:
2315 * output_plaintext.C: cleanup
2317 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2320 * lyxtextclass.[Ch]: parametrize SGML document header
2322 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2325 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2328 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2330 * text2.C (setFont): rework using PosIterator (no more recursive)
2331 (setCharFont): no more needed
2332 (setLayout): no more selection cursors fiddling (done by redoCursor)
2333 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2334 destroy remaining ones)
2336 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2338 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2340 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2343 * text3.C: adjust + re-allow multi par depth changes
2344 * textcursor.C: simplify a bit
2346 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2352 * src/output_docbook.C:
2353 * src/output_latex.C:
2358 * src/text2.C: Introducing a number of tags parametrizing various
2359 XML formats that we may want to support
2361 2003-11-25 André Pönitz <poenitz@gmx.net>
2363 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2365 * lyxtext.h (leftMargin/rightMargin): simplify interface
2372 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2374 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2375 master file to any child files. Fixes bug 546.
2377 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2379 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2381 2003-11-24 André Pönitz <poenitz@gmx.net>
2383 * rowpainter.C: simplification
2385 * text2.C (updateCounters): remove call to redoParagraph on
2386 changed labels as this is far too expensive.
2388 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2390 * converter.C (convert): fix a crash: this function gets
2391 called with buffer == 0 from importer code.
2393 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2395 * text3.C (cursorPrevious): make sure that we do not compare
2396 iterators form different containers.
2399 * rowpainter.C (paintSelection): make sure that we do not compare
2400 iterators from different containers.
2402 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2403 iterators from different ParagraphList containers.
2406 * text2.C (LyXText): change order of initialization slightly
2407 (operator=): new function. copy all variables except cache_par_
2408 (moveUp): make sure that we do not compare iterators from
2409 different ParagraphList constainers.
2412 * text.C (firstPar): new function
2413 (lastPar): new function
2414 (endPar): new function
2416 * lyxtext.h: move things around and group public functions, public
2417 variables, private functions, private variables
2419 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2421 * factory.C: change call to InsetERT constructor to avoid
2422 additional invocation of method status
2423 * text2.C (toggleInset): remove redundant update() call
2424 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2425 instead of a Bufferview pointer
2427 2003-11-21 André Pönitz <poenitz@gmx.net>
2429 * rowpainter.C: simplification
2431 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2433 * text3.C (dispatch): make possible to extend a word/row selection
2436 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2438 * lyxtext.h: x0_,y0_ -> xo_,yo_
2439 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2440 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2441 * rowpainter.C (paintRows): paint full paragraphs
2443 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2445 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2448 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2450 * lyxtext.h: add x0_, y0_
2451 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2452 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2454 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2456 * text2.C (setCursorIntern): move the x_target update here *
2457 * text3.C: change some bv() to true/false in calls to
2458 cursorUp/Down/Right/Left
2459 * cursor.C: use helper function.
2461 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2463 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2464 * paragraph_funcs.[Ch]: correct comment
2465 * rowpainter.C: do not paint selections away from bv->cursor()
2466 Fix a long standing selection painting bug.
2467 * text3.C: generalize mouse-selection code to LyXTexts other that
2469 * textcursor.C: do not use y coords if we can use par offsets
2471 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2473 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2474 cursor position after e.g. inset insert)
2476 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2478 * lyxfind.C (replace): adjust to locking removal + some
2481 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2483 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2486 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2489 * output_docbook.C: XML sanitation: new layout
2490 parameters InnerTag and CommandDepth
2492 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2494 * BufferView_pimpl.C:
2496 * text3.C: Fix the insertion and modification of button-style
2499 2003-11-13 André Pönitz <poenitz@gmx.net>
2501 * InsetList.[Ch]: remove deleteLyXText
2503 * paragraph.[Ch]: cache beginOfBody position
2508 * text3.C: remove superfluous update() calls
2512 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2514 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2515 * BufferView.C (fitLockedInsetCursor): remove
2516 * cursor.[Ch] (getDim): add
2517 * text.C (getRowNearY): add faster version
2518 * text3.C: remove some update calls
2520 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2532 * text3.C: The Character Style /XML short element patch.
2534 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2537 * factory.C: Small step to solving 'unable to insert some insets'
2540 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2542 * cursor.[Ch] (updatePos): new function for updating the y
2543 position of the tip inset
2544 * bufferview_funcs.C (put_selection_at):
2545 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2547 2003-11-11 André Pönitz <poenitz@gmx.net>
2549 * text.C: remove big comment on invalid Paragraph pointers as it is
2552 2003-11-11 André Pönitz <poenitz@gmx.net>
2554 * text_funcs.[Ch]: merge with ...
2562 * Makefile.am: remove text_funcs.[Ch]
2564 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2566 * cursor.C (getPos): return absolute cached y coord
2568 * BufferView_pimpl.C (fitCursor): new simplistic code
2569 (workAreaDispatch): add a fitCursor call
2571 2003-11-10 André Pönitz <poenitz@gmx.net>
2574 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2576 2003-11-10 André Pönitz <poenitz@gmx.net>
2578 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2579 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2580 indicate that the cursor needs to leave an inset
2582 * lyxtext.h: remove inset locking
2584 * cursor.[Ch]: re-implement functionality provided by inset locking
2587 * BufferView_pimpl.[Ch]:
2589 * bufferview_funcs.[Ch]:
2601 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2603 * PosIterator.[Ch]: replace the stack with a vector, add inset
2605 * iterators.[C]: adjust
2607 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2609 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2611 * paragraph_funcs.C (readParToken): put the correct id in the
2612 error item, not the id of the top paragraph
2614 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2616 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2617 * bufferview_funcs.C (put_selection_at): use the above
2619 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2621 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2623 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2625 * output_linuxdoc.h:
2626 * output_plaintext.h:
2628 * output_docbook.h: add #include statements
2630 2003-11-05 José Matos <jamatos@lyx.org>
2632 * output_docbook.[Ch]:
2633 * output_latex.[Ch]:
2634 * output_linuxdoc.[Ch]:
2635 * output_plaintext.[Ch]: New files for output formats.
2636 * output.[Ch]: New file for helper functions.
2639 * paragraph_funcs.[Ch]: output functions moved to new files.
2641 * outputparams.h: rename of latexrunparams.h
2649 * paragraph_funcs.[Ch]:
2650 * paragraph_pimpl.[Ch]:
2651 * tabular.[Ch]: rename ascii to plaintext
2652 and LatexRunParams to OutputParams.
2654 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2656 * iterators.[Ch] (text): require bv argument
2657 * undo.C (recordUndo):
2658 * lyxfunc.C (dispatch):
2659 * bufferview_funcs.C (put_selection_at): adjust
2661 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2663 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2665 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2667 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2670 2003-11-04 André Pönitz <poenitz@gmx.net>
2672 * cursor.[Ch]: restructure
2675 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2677 * iterators.[Ch] (asCursor): remove
2679 * lfuns.h: remove LFUN_INSET_EDIT
2685 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2687 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2689 * lyxfind.[Ch]: complete overhaul
2690 * BufferView_pimpl.C:
2692 * paragraph.[Ch] (insert): add
2694 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2698 * text.C: remove dead spellcheck code
2700 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2702 * dispatchresult.h: add a val setter
2704 * cursor.C (dispatch): use a tempvar for data_[i]
2706 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2708 * PosIterator.[Ch]: compile fix
2710 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2712 * text.C (cursorPar): deactivate the cursor cache
2714 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2716 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2718 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2720 * text3.C (dispatch): adjust for new DisptchResult semantics.
2722 * lyxfunc.C (dispatch): handle update when return from
2723 Cursor::dispatch, adjust for new DispatchResult semantics.
2725 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2726 DispatchResult(true) mean to not update. Add class functions for
2727 setting dispatched and update, as well as reading.
2729 * cursor.C (dispatch): don't handle update here
2731 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2733 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2734 * trans_mgr.C: adjust
2736 * paragraph_funcs.C (readParToken): exception safety
2738 * lyxvc.h: store the vcs pointer in a scoped_ptr
2741 * lyxsocket.C (serverCallback): exception safety
2743 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2745 * ispell.C (clone): make it return a auto_ptr
2747 * factory.C (createInset): exception safety
2748 (readInset): exception safety
2750 * bufferlist.C (newBuffer): exception safety
2752 * Thesaurus.C (Thesaurus): use initialization for aik_
2754 * MenuBackend.C (expandToc): exception safety.
2756 2003-11-03 André Pönitz <poenitz@gmx.net>
2760 * bufferview_funcs.C: remove getInsetFromId()
2763 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2769 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2771 * PosIterator.C (distance, advance): new
2772 * bufferview_funcs.[Ch] (put_selection_at): new
2773 * iterators.[Ch] (lockPath): new
2775 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2777 * iterators.[Ch] (asPosIterator): added
2778 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2779 * PosIterator.[Ch]: added
2781 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2785 * cursor.C (dispatch):
2786 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2788 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2789 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2790 contructor, add a class function dispatched. Remove operator>=
2792 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2794 * debug.C: only use the default constructor for debugstream
2797 * main.C (main): include debug.h and setup the lyxerr streambuf
2800 2003-10-31 José Matos <jamatos@lyx.org>
2802 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2804 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2805 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2806 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2807 * paragraph_pimpl.C (simpleTeXSpecialC):
2808 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2809 add LatexRunParams argument.
2811 * exporter.C (Export): change call accordingly.
2813 * latexrunparams.h: add new member to take care of the other backends.
2814 2003-10-30 José Matos <jamatos@lyx.org>
2816 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2817 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2818 factorise code for paragraph output.
2820 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2823 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2825 * text3.C (dispatch):
2826 * lyxfunc.C (dispatch):
2827 * cursor.C (dispatch):
2828 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2830 * dispatchresult.h: make the dispatch_result_t ctor explicit
2832 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2835 * buffer.C: small refactoring of docbook stuff
2837 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2839 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2842 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2844 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2845 operator dispatch_result_t, and operators for == != and >=
2847 * cursor.C (dispatch): adjust for operator dispatch_result_t
2848 removal. comment out call to update
2850 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2852 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2860 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2863 * dispatchresult.h: new file, DispatchResult broken out of
2866 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2868 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2870 * text.C (rowBreakPoint): put a hack inside #if 0
2872 2003-10-28 André Pönitz <poenitz@gmx.net>
2876 * paragraph_funcs.C:
2879 * text2.C: general cleanup (lots of small stuff)
2881 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2883 * text2.C (cursorEnd): simple fix to the "end key goes to one
2884 before the end on last row" bug
2886 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2888 * text.C (backspace): fix the "zombie characters"
2890 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2892 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2894 2003-10-27 André Pönitz <poenitz@gmx.net>
2896 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2898 * factory.C: handle new InsetPagebreak, InsetLine
2900 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2901 and move handling into new InsetPagebreak, InsetLine
2903 * BufferView_pimpl.C:
2905 * ParagraphParameters.C:
2906 * ParameterStruct.h:
2911 * paragraph_funcs.C:
2912 * paragraph_pimpl.C:
2918 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2921 * lyxrow_funcs.[Ch]:
2927 * text3.C: remove lastPos uses in favour of Row::endpos
2929 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2931 * undo.C (performUndoOrRedo): fix two crashes by setting a
2932 cursor by hand and reordering some calls. Use bv->lockInset instead
2933 of inset->edit because the latter loses cursor information
2935 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2937 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2939 (rowBreakPoint): fix width. change point to point + 1.
2940 Add a missing check.
2942 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2945 * lyxfunc.C: fix (at least partly) the problems
2946 with the Nav menu and headers inside branch insets
2949 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2951 * paragraph.C (getChar): add strong asserts
2953 * lyxrow_funcs.C (lastPos): remove hideous hack
2955 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2956 (fill): adjust to that (avoid an infinite loop)
2958 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2960 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2962 2003-10-23 André Pönitz <poenitz@gmx.net>
2964 * RowList_fwd.h: change list<> to vector<> to gain speed
2965 after suggestion from Alfredo
2967 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2969 * lyxtext.h: move the bidi stuff from here...
2972 * Bidi.[Ch]: ... to here
2974 2003-10-23 André Pönitz <poenitz@gmx.net>
2977 * text.C (isLastRow, isFirstRow): new functions
2979 * paragraph.h: new width cache member
2981 * rowpainter.C: replace RowList::iterator with Row & where possible
2983 * lyxfunc.C: replace several view()->text with a single call
2985 * toc.C: fix 'unused' warning
2987 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2989 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2990 when woring with stream::pos_type
2991 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2993 2003-10-22 André Pönitz <poenitz@gmx.net>
2996 * text.C: use Row & instead of RowList::iterator
2998 * lyxrow.h: rename end() to endpos()
3004 2003-10-22 Angus Leeming <leeming@lyx.org>
3006 * buffer.[Ch] (fully_loaded): new member function, returning true
3007 only when the file has been loaded fully.
3008 Used to prevent the premature generation of previews and by the
3009 citation inset to prevent computation of the natbib-style label.
3011 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3012 templates are all set up.
3014 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3016 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3018 * text.C: fixed an "oops" in the "is a bit silly"
3021 2003-10-21 André Pönitz <poenitz@gmx.net>
3023 * FuncStatus.[Ch]: small stuff, whitespace
3025 * lyxfont.[Ch]: operator<<() for debug reasons
3029 * lyxtext.h: whitespace, spelling
3031 * paragraph.C: naming of variables
3034 * text2.C: small stuff
3037 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3039 * text.C: (1) finish off the inset display() work;
3040 (2) fix the "is a bit silly" bug (accessing char
3043 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3045 * text.C: re-introduce display() for insets, fixing the
3046 various bugs (stretch of line above, math inset
3049 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3051 * text.C (rightMargin): remove spurious semicolon
3053 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3056 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3058 * text3.C: fix one crash due to wrong cursor def
3060 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3062 * vc-backend.C (scanMaster): make the regex static
3064 * LaTeX.C (scanAuxFile): make the regexs static
3066 * text3.C (doInsertInset, dispatch, dispatch):
3067 * text2.C (cursorUp, cursorDown):
3068 * text.C (selectNextWordToSpellcheck):
3069 * BufferView_pimpl.C (dispatch):
3070 * lyxfunc.C (dispatch): localDispatch -> dispatch
3072 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3074 * lyxsocket.C: include <cerrno>
3076 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3078 * lyxfunc.C (dispatch): remove textcache stuff
3080 * bufferlist.C (release): remove textcache stuff
3083 * TextCache.C: delete file
3084 * TextCache.h: delete file
3086 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3088 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3089 delete of the bv_->text.
3090 (resizeCurrentBuffer): remove texcache stuff
3091 (workAreaResize): ditto
3093 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3095 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3098 2003-10-16 André Pönitz <poenitz@gmx.net>
3105 * text3.C: speed up by storing y positions per paragraph plus per-row
3106 offset instead of having a 'full' y position in the row.
3108 2003-10-15 André Pönitz <poenitz@gmx.net>
3112 * undo.[Ch]: make undo aware of inner insets
3114 2003-10-14 Angus Leeming <leeming@lyx.org>
3116 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3117 static member functions LyX::ref() and LyX::cref.
3118 (lastfiles): new accessor functions for the new lastfiles_ member var.
3119 (addLyXView, views_): add a new LyXView to the list of views_.
3120 (updateInset): loop over all LyXViews to call their own updateInset
3121 member function, returning a pointer to the Buffer owning the inset.
3123 * BufferView_pimpl.C (loadLyXFile):
3124 * MenuBackend.C (expandLastfiles):
3125 * bufferlist.C (MenuWrite, QuitLyX):
3126 lastfiles is no longer a global variable.
3127 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3129 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3130 static function. Access through LyX::cref().emergencyCleanup().
3132 2003-10-14 André Pönitz <poenitz@gmx.net>
3134 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3136 * undo.[Ch]: restoring part of 'undo in insets'
3139 * undo_funcs.[Ch]: merge with undo.[Ch]
3141 * tabular.C: small cleansing stuff
3143 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3145 * paragraph_funcs.C (readParToken): report unknown insets as error
3146 boxes. Use the outer paragraph as location (also for unknown
3149 * factory.C (readInset): do not abort on reading an unknown inset.
3150 Eat it and return 0.
3152 2003-10-13 Angus Leeming <leeming@lyx.org>
3154 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3156 * lyxrc.C: displayTranslator is now a function,
3157 declared in GraphicsTypes.h.
3159 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3161 * format.C: new placeholder $$a to pass the socket address.
3163 * bufferlist.[Ch]: new function getBufferFromTmp.
3165 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3166 files in the temporary dir.
3168 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3170 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3172 * Makefile.am: add lyxsocket.[Ch].
3174 * lyx_main.C (error_handler): handle SIGPIPE.
3176 2003-10-13 André Pönitz <poenitz@gmx.net>
3178 * BufferView_pimpl.C:
3183 * undo_funcs.[Ch]: use paroffset_type instead of
3184 ParagraphList::iterators to prevent multiple conversion
3185 (and get a more robust interface)
3187 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3189 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3191 * text3.C (dispatch): ditto
3193 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3195 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3196 move the onlyfile, use onlyfile instead of foundfile in a couple
3199 * DepTable.C (update): flush the error stream a bit more
3201 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3203 * lyxserver.C (callback): adjust
3205 * lyxfunc.C (getStatus): add a missing brace in commented code
3206 (ensureBufferClean): reindent
3207 (dispatch): delete version taking a string
3209 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3211 * LaTeX.C (deplog): move found file handlig from here...
3212 (handleFoundFile): .. to new function here.
3213 (deplog): make sure to discover several files mentioned on the
3216 2003-10-10 André Pönitz <poenitz@gmx.net>
3223 * text3.C: fix some of the tabular crashes
3225 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3227 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3229 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3231 2003-10-09 André Pönitz <poenitz@gmx.net>
3233 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3236 * BufferView_pimpl.C:
3237 * bufferview_funcs.C:
3248 * undo_funcs.C: adjust
3250 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3252 * text2.C (incrementItemDepth): new function, use a backtracking
3253 algorithm to discover the correct item depth.
3254 (resetEnumCounterIfNeeded): new function, use a backtracking
3255 algorithm to discover if counter reset is needed.
3256 (setCounter): use them. Simplify a bit. Add different labels for
3257 different item depths for itemize.
3259 * paragraph.C (Paragraph): remove initialization of enumdepth
3262 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3263 enumerate and itemize. Change the type of itemdepth to signed char.
3265 2003-10-08 André Pönitz <poenitz@gmx.net>
3267 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3272 * tabular.[Ch]: fix crash after 'row-insert'
3274 2003-10-08 Angus Leeming <leeming@lyx.org>
3276 Fix doxygen warnings.
3278 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3279 Remove CutAndPaste:: prefix from header file declaration.
3281 * LColor.h (fill): remove LColor:: prefix from declaration.
3283 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3284 use lyx::depth_type rather than Paragraph::depth_type so that
3285 header file and .C file match.
3287 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3289 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3290 * aspell.C: \file aspell_local.C -> \file aspell.C
3291 * gettext.C: \file gettext.C -> \file src/gettext.C
3292 * gettext.h: \file gettext.h -> \file src/gettext.h
3293 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3294 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3295 * text.C: \file text.C -> \file src/text.C
3297 * toc.C: move comment so that doxygen is not confused.
3299 2003-10-07 Angus Leeming <leeming@lyx.org>
3301 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3303 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3306 * aspell_local.h: add forgotten std::string's.
3308 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3315 * text3.C: The Box patch. Fancybox support, minipage, parbox
3317 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3323 * ParagraphParameters.h:
3333 * lyxtextclasslist.h:
3336 * paragraph_pimpl.C:
3337 * textcursor.h: add <string> and other small fixes to make Lars'
3338 std::string patch compile with STLport.
3340 2003-10-06 Angus Leeming <leeming@lyx.org>
3342 * LColor.h: Add missing #include <string>.
3344 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3346 * All most all file in all subdirs: Make <string> be the prefered
3347 way of getting to std::string, add using declarations.
3349 2003-10-06 André Pönitz <poenitz@gmx.net>
3351 * metricsinfo.C: initialize LyXFont before changing attribute.
3352 (fixes the 'math in \emph is upright' bug)
3354 2003-10-06 André Pönitz <poenitz@gmx.net>
3356 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3358 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3361 * paragraph_pimpl.C: Small fixes to build using STLport
3363 2003-10-02 André Pönitz <poenitz@gmx.net>
3366 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3368 2003-10-01 André Pönitz <poenitz@gmx.net>
3370 * factory.C: assert early
3372 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3374 * lyx_main.C: remove the global debug object
3376 * debug.h: adjust for new debugstream
3378 * debug.C: adjust for new debugstream and keep the global debug
3381 2003-09-22 Angus Leeming <leeming@lyx.org>
3383 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3384 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3385 an incomplete class LyXFont.
3387 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3389 * factory.C: bug fix in branches
3391 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3393 * lyxfunc.C (processKeySym): adjust
3395 (dispatch): change arg name from ev to func, adjust
3396 (sendDispatchMessage): ditto
3398 * lyx_main.C (defaultKeyBindings): adjust keybindings
3399 (deadKeyBindings): ditto
3401 * kbsequence.C (addkey): return a FuncRequest
3403 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3405 * kbmap.C (bind): take a FuncRequest as arg, adjust
3408 (defkey): change to take a FuncRequest as arg, adjust
3409 (findbinding): take a FuncRequest as arg, adjust.
3411 * funcrequest.h (operator=): added
3413 * funcrequest.C (FuncRequest): default kb_action changed from
3414 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3416 * buffer.C (dispatch): simplify
3417 (dispatch): adjust to take a FuncRequest as arg, adjust
3419 * boost.C (assertion_failed): change assertion message slightly
3421 * ToolbarBackend.C (read): simplify
3423 * MenuBackend.C (binding): adjust call to findbinding, add a
3424 message if no binding is found.
3426 (expandToc): correct by adding a empty FuncRequest
3428 * LyXAction.C: include <boost/assert.hpp>
3429 (isPseudoAction): delete function
3430 (LookupFunc): change name to...
3431 (lookupFunc): this. change return type to FuncRequest.
3432 (getActionName): take kb_action as arg, simplify
3433 (funcHasFlag): add an assert, simplify.
3435 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3437 * toc.C (action): return a FuncRequest, simplify
3439 * lyxfunc.C (processKeySym): adjust
3440 (getStatus): delete version that takes an int.
3442 (dispatch): delete version that takes action as int
3444 (sendDispatchMessage): simplify and adjust
3446 * funcrequest.C (getArg): take unsigned int as arg
3448 * ToolbarBackend.C (read): adjust
3449 (add): delete version that takes func as a string.
3450 (getIton): take a FuncRequest as arg
3452 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3455 * MenuBackend.C (MenuItem): add a new construct that only takes a
3456 Kind, simplify the constructor use for submenus.
3458 (expandLastfiles): adjust
3459 (expandDocuments): adjust
3460 (expandFormats): adjust
3461 (expandFloatListInsert): adjust
3462 (expandFloatInsert): adjust
3463 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3465 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3466 Remove class variables lyx_pseudo_map and lyx_arg_map
3468 * LyXAction.C (searchActionArg): delete function
3469 (getPseudoAction): delete function
3470 (retrieveActionArg): delete function
3471 (LookupFunc): make it return kb_action, simplify.
3472 (getActionName): simplify
3474 * factory.C (createInset): fix new bug
3476 2003-09-19 Angus Leeming <leeming@lyx.org>
3478 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3479 masterFilename_ parameter in the include inset.
3481 * factory.C (createInset): changes due to the changes to InsetInclude.
3483 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3485 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3487 2003-09-18 Angus Leeming <leeming@lyx.org>
3490 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3491 Inset::fillWithBibKeys.
3492 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3494 2003-09-18 Angus Leeming <leeming@lyx.org>
3496 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3498 (ctor): pass and store a 'Buffer const &'
3499 (buffer): new member function.
3501 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3502 '*this' to the LaTeXFeatures ctor.
3504 2003-09-18 Angus Leeming <leeming@lyx.org>
3510 * text.C: rename EnumLColor as LColor_color.
3512 2003-09-18 Angus Leeming <leeming@lyx.org>
3514 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3515 remove #include "insets/insetbase.h" from cursor.h.
3517 2003-09-18 Angus Leeming <leeming@lyx.org>
3519 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3520 InsetOld_code to remove #include "inset.h".
3522 * iterators.C: add #include "insets/inset.h"
3524 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3526 * BufferView.C: remove more locking stuff that apparently doesn't
3527 do anything sensible.
3529 2003-09-16 André Pönitz <poenitz@gmx.net>
3532 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3535 2003-09-16 Angus Leeming <leeming@lyx.org>
3537 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3539 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3542 * paragraph.h: remove #include "lyxfont.h". Forward declare
3545 2003-09-16 Angus Leeming <leeming@lyx.org>
3547 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3548 of support/textutils.h.
3549 (isWord): move the contents of support/textutils.h's IsWordChar here.
3555 * text2.C: add #include "paragraph.h".
3558 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3560 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3566 * LaTeX.C: use namespace alias for lyx::support::os
3568 2003-09-16 Angus Leeming <leeming@lyx.org>
3571 * bufferview_funcs.C:
3574 * paragraph_pimpl.C:
3576 * text.C: add #include "LColor.h".
3578 2003-09-16 Angus Leeming <leeming@lyx.org>
3580 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3581 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3583 Store the FontBits::color variable as an int rather than as an
3584 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3587 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3588 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3589 string calls together.
3591 * lyxrc.C: add #include "LColor.h".
3593 2003-09-15 Angus Leeming <leeming@lyx.org>
3595 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3598 2003-09-15 Angus Leeming <leeming@lyx.org>
3600 * LColor.h: add an EnumLColor wrapper for LColor::color.
3602 * lyxfont.[Ch] (color, setColor, realColor):
3603 * lyxtext.h, text.C (backgroundColor):
3604 pass EnumLColor args to/from the functions, rather than LColor::color
3608 * lyxtext.h: forward declare EnumLColor.
3610 * lyx_main.C: add #include "LColor.h".
3612 2003-09-15 Angus Leeming <leeming@lyx.org>
3614 * .cvsignore: add lyx-gtk.
3616 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3621 * ParagraphParameters.C
3625 * bufferview_funcs.C
3635 * vc-backend.C: remove usage of STRCONV
3637 2003-09-15 Angus Leeming <leeming@lyx.org>
3639 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3640 explicitly define the color passed to the painter.
3642 2003-09-15 Angus Leeming <leeming@lyx.org>
3644 * bufferparams.C (BufferParams): reorder member initializers to avoid
3647 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3649 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3650 * text.C (updateRowPositions): remove an unusual nop
3652 2003-09-12 André Pönitz <poenitz@gmx.net>
3654 * BufferView_pimpl.C:
3663 * Counters.[Ch]: finish the 'automatic counters' job
3665 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3667 * aspell.C: include <boost/assert.cpp> (compile fix)
3669 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3671 * boost.C (assertion_failed): use lyx::support::abort instead of
3674 2003-09-10 Angus Leeming <leeming@lyx.org>
3676 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3677 with their _fwd progeny.
3679 2003-09-09 Angus Leeming <leeming@lyx.org>
3681 134 files throughtout the source tree: replace 'using namespace abc;'
3682 directives with the appropriate 'using abc::xyz;' declarations.
3684 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3686 * boost.C (emergencyCleanup): moved here from LAssert.c
3687 (assertion_failed): new function, called by BOOST_ASSERT
3689 * several files: change Assert to BOOST_ASSERT
3691 2003-09-09 Angus Leeming <leeming@lyx.org>
3693 * buffer.[Ch]: Add an Impl class and move Buffer's member
3694 variables into it. As a result move several header files out of
3697 Add header files to lots of .C files all over the tree as a result.
3699 2003-09-09 Angus Leeming <leeming@lyx.org>
3701 * buffer.[Ch]: make Buffer's member variables private. Add
3704 Lots of changes all over the tree as a result.
3706 2003-09-08 Angus Leeming <leeming@lyx.org>
3708 * graph.C: #include <config.h>.
3710 2003-09-08 Angus Leeming <leeming@lyx.org>
3714 * BufferView_pimpl.C:
3743 * toc.C: remove redundant using directives.
3745 2003-09-07 Angus Leeming <leeming@lyx.org>
3747 * LaTeXFeatures.h: remove #include "support/types.h".
3748 * ToolbarBackend.h: remove #include <algorithm>.
3749 * changes.h: remove #include <ctime>.
3750 * debug.h: remove #include <iosfwd>.
3751 * graph.h: remove #include "support/std_string.h".
3752 * lyx_main.h: remove #include <csignal>.
3753 * lyxlex_pimpl.h: remove #include <fstream>.
3754 * sgml.h: remove #include <algorithm>, <utility>.
3755 * toc.h: remove #include "support/std_ostream.h".
3756 Add #include <iosfwd>.
3758 2003-09-07 Angus Leeming <leeming@lyx.org>
3760 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3762 * converter.h: forward declare LatexRunParams.
3763 * encoding.h: remove #include "lyxrc.h".
3764 * lyxtext.h: remove #include "LColor.h".
3765 * lyxtextclass.h: remove #include "support/types.h".
3766 * trans.h: remove #include "tex-accent.h".
3767 * trans_mgr.h: remove #include "tex-accent.h".
3768 * insets/inset.h: remove #include "support/types.h", <vector>.
3769 * insets/insetcollapsable.h: remove #include "LColor.h".
3770 * insets/insetinclude.h: remove #include "dimension.h".
3771 * insets/insetlatexaccent.h: remove #include "dimension.h".
3772 * insets/insetoptarg.h:: remove #include "insettext.h".
3773 * insets/insettext.h: remove #include "dimension.h",
3774 <boost/shared_ptr.hpp>
3776 * insets/renderers.h: add #include "dimension.h".
3777 * insets/updatableinset.h: add #include "support/types.h".
3779 * many .C files: Associated changes.
3781 2003-09-06 Angus Leeming <leeming@lyx.org>
3783 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3784 one, inside testInvariant.
3786 * PrinterParams.C: new file.
3787 * PrinterParams.[Ch]: move the function bodies out of line.
3789 2003-09-06 Angus Leeming <leeming@lyx.org>
3791 * ParagraphParameters.h: forward declare ParameterStruct rather than
3792 including its header file.
3793 (depth): moved out-of-line.
3795 2003-09-06 Angus Leeming <leeming@lyx.org>
3797 * BufferView_pimpl.h:
3800 * lyxfunc.h: forward declare LyXKeySym rather than
3801 #include "frontends/LyXKeySym.h".
3803 * BufferView_pimpl.C:
3806 * lyxfunc.C: associated changes.
3808 2003-09-06 Angus Leeming <leeming@lyx.org>
3810 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3811 As a result, can remove the #include "insets/inset.h" from BufferView.h
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>
3824 * bufferview_funcs.C:
3825 * BufferView_pimpl.C:
3830 * ParagraphParameters.C:
3835 * frontends/controllers/ControlDocument.C:
3836 * insets/insetcaption.C: rearrange the #includes into some sort of
3839 * buffer.h: remove #includes ErrorList.h, undo.h
3841 2003-09-06 Angus Leeming <leeming@lyx.org>
3843 * support/types.h: add a 'depth_type' typedef, used to store the
3844 nesting depth of a paragraph.
3847 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3848 defining explicitly.
3851 * paragraph_funcs.h:
3852 * ParagraphParameters.h:
3853 * sgml.h: use lyx::depth_type rather than Paragraph or
3854 ParameterStruct's depth_type.
3857 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3860 * BufferView_pimpl.C:
3862 * ParagraphParameters.C:
3865 * bufferview_funcs.C:
3872 * frontends/LyXView.C:
3873 * frontends/controllers/ControlDocument.C:
3874 * frontends/controllers/ControlErrorList.C:
3875 * insets/insetbibitem.C:
3876 * insets/insetbranch.C:
3877 * insets/insetcaption.C:
3878 * insets/insetcollapsable.C:
3879 * insets/insetenv.C:
3880 * insets/insetert.C:
3881 * insets/insetfloat.C:
3882 * insets/insetfoot.C:
3883 * insets/insetfootlike.C:
3884 * insets/insetnewline.C:
3885 * insets/insetquotes.C:
3886 * insets/insettabular.C:
3887 * insets/insettext.C:
3888 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3890 * frontends/controllers/ControlChanges.C: #include "changes.h".
3892 2003-09-06 Angus Leeming <leeming@lyx.org>
3894 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3895 than #including paragraph.h.
3898 * RowList.h: deleted. Superfluous.
3908 * insets/insettext.h: use ParagraphList_fwd.h rather than
3911 * paragraph.h: don't forward declare ParagraphList.
3914 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3915 rather than ParagraphList.h. paragraph.h is still needed for the
3916 Paragraph::depth_type parameters.
3918 * textcursor.h: enable it to compile stand-alone in light of the
3921 * bufferview_funcs.C:
3933 * frontends/controllers/ControlParagraph.C:
3934 * frontends/controllers/ControlTabular.C:
3935 * insets/insetmarginal.C:
3936 * insets/insetminipage.C:
3937 * insets/insetnote.C:
3938 * insets/insetoptarg.C: add header files needed to compile again.
3940 2003-09-06 Angus Leeming <leeming@lyx.org>
3942 * RowList_fwd.h: new file, forward-declaring Row rather than
3943 #including lyxrow.h.
3948 * insets/insettext.h: use it instead of RowList.h
3950 * bufferview_funcs.C:
3957 * text3.C: #include "RowList.h".
3959 2003-09-05 Angus Leeming <leeming@lyx.org>
3961 * factory.C (createInset):
3962 * vspace.C (c-tor): replace sscanf call with an istringstream.
3963 * ispell.C: re-add missing HP/UX headers.
3964 * lyxserver.C: re-add missing os2 headers.
3966 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3975 * text3.C: re-add missing system headers, needed for 2.95.2.
3977 2003-09-05 Angus Leeming <leeming@lyx.org>
3979 Changes most place everywhere due to the removal of using directives
3980 from support/std_sstream.h.
3982 2003-09-05 Angus Leeming <leeming@lyx.org>
3984 Replace LString.h with support/std_string.h,
3985 Lsstream.h with support/std_sstream.h,
3986 support/LIstream.h with support/std_istream.h,
3987 support/LOstream.h with support/std_ostream.h.
3989 Changes resulting throughout the tree.
3991 2003-09-05 Angus Leeming <leeming@lyx.org>
3993 * sgml.h: ensure that the header file can be compiled stand-alone.
3994 * *.C: strip out redundant #includes. (320 in total.)
3996 2003-09-04 Angus Leeming <leeming@lyx.org>
3998 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3999 here (from getPackages).
4001 * debug.[Ch]: add a new EXTERNAL tag.
4003 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4005 * text2.C (cursorEnd): simplify
4007 (getColumnNearX): adjust
4009 * text.C (computeBidiTables): adjust
4012 * rowpainter.C (paintChars): adjust
4013 (paintSelection): adjust
4014 (paintChangeBar): adjust
4017 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4019 (numberOfSeparators): adjust
4021 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4027 * text3.C: Restricts the mouse click functionality
4028 of insets like bibtex, include, toc and floatlist to the visible
4029 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4030 up the dialogs. Cursor has to be in front of the inset (i.e.
4031 start of row) for this to function.
4033 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4035 * bufferview_funcs.C (currentState): output row information
4037 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4039 * bufferview_funcs.C (currentState): output paragraph position
4041 2003-09-04 Angus Leeming <leeming@lyx.org>
4043 * FloatList.h: move out #include "Floating.h".
4044 * LaTeX.h: move out #include "DepTable.h".
4045 * LyXAction.h: move out #include "funcrequest.h".
4046 * buffer.h: move out #include "author.h", "iterators.h".
4047 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4048 * lyx_main.h: move out #include "errorlist.h".
4049 * lyxfunc.h: move out #include "FuncStatus.h".
4050 * lyxtext: move out #include "lyxcursor.h".
4051 * paragraph_pimpl.h: move out #include "counters.h".
4053 2003-09-03 Angus Leeming <leeming@lyx.org>
4055 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4056 preamble_snippets list, enabling us to add snippets to the preamble
4057 only if the snippet was not there already.
4059 2003-09-04 Angus Leeming <leeming@lyx.org>
4061 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4063 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4065 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4068 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4070 * BranchList.C: point fix, earlier forgotten
4072 2003-09-02 Angus Leeming <leeming@lyx.org>
4074 * box.C (contains): renamed from 'contained' after a fantastic
4077 2003-09-02 John Levon <levon@movementarian.org>
4083 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4085 2003-09-02 John Levon <levon@movementarian.org>
4087 * text2.C: simplification of cursorEnd(), including partial
4090 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4092 * buffer.C (readFile): add a space
4094 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4096 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4098 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4100 * buffer.C (readFile): new function, take a filename and a
4101 ParagraphList::iterator
4103 (readFile): adjust, make it private. don't use setStream, make
4104 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4105 always contain the filename.
4107 * BufferView.C (insertLyXFile): simplify and make it work for
4110 2003-08-30 John Levon <levon@movementarian.org>
4112 * Makefile.am: fix dist (from Kayvan)
4114 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4116 * most files: change to use const Buffer refs
4118 2003-08-27 André Pönitz <poenitz@gmx.net>
4120 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4121 on top of ownerPar().
4123 2003-08-27 John Levon <levon@movementarian.org>
4125 * funcrequest.C: properly initialise POD members
4127 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4129 * lyxtext.h (top_y): move top_y from here
4134 * BufferView_pimpl.[Ch]: to here
4135 * frontends/screen.C:
4136 * insets/insettabular.C:
4137 * insets/insettext.C: adjust
4138 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4140 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4143 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4145 2003-08-26 André Pönitz <poenitz@gmx.net>
4147 * paragraph_func.[Ch] (outerPar): new function
4150 * paragraph_funcs.C:
4151 * paragraph_funcs.h:
4152 * paragraph_pimpl.C:
4153 * text2.C: remove Inset::par_owner
4155 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4160 * text2.C: eliminates the needFullRow/display() stuff
4161 altogether, putting the logic in metrics/draw in the insets.
4163 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4165 * text2.C (redoParagraphInternal, redoParagraphs):
4166 * text.C (redoParagraph): add a call to updateRowPositions at the
4167 end of each 'metrics-like' call. Remove all others.
4168 (getRow): remove the 'y-computing' version.
4169 (getRowNearY): do not compute nor return the real y. Solve the
4170 'y < 0' problem and simplify.
4172 2003-08-22 Angus Leeming <leeming@lyx.org>
4174 * *.[Ch]: clean-up of licence and author blurbs.
4175 Also move config.h out of a few .h files and into a few .C files.
4177 2003-08-22 André Pönitz <poenitz@gmx.net>
4179 * lyxrow.[Ch]: add x_ and *fill_ members
4184 * text2.C: adjust/remove prepareToPrint() calls
4186 2003-08-22 André Pönitz <poenitz@gmx.net>
4188 * lyxrow.[Ch]: add end_ member
4190 * lyxrow_funcs.C: use LyXRow::end_
4192 * lyxtext.h (singleWidth): add LyXFont parameter
4195 * text2.C: adjust LyXText::singleWidth() calls
4197 * text.C (redoParagraph): simplify row breaking logic
4200 2003-08-19 André Pönitz <poenitz@gmx.net>
4202 * funcrequest.C: initialize button_ member
4205 * rowpainter.[Ch]: interface consolidation
4207 2003-08-18 André Pönitz <poenitz@gmx.net>
4210 * BufferView_pimpl.C:
4212 * paragraph_funcs.C:
4214 * text3.C: remove LyXScreen::draw() and fitCursor calls
4216 * BranchList.h: remove spurious semicolons
4218 * MenuBackend.C: fix branchlist related crash
4220 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4228 * bufferparams.[Ch]:
4232 * text3.C: implements the 'branch inset'
4233 idea. This allows the output of various versions of a document
4234 from a single source version, selectively outputing or suppressing
4235 output of parts of the text.
4236 This implementation contains a 'branch list editor' in a separate
4237 tab of the document settings dialog. Branches are user definable
4238 and have a "display colour" to distinguish them on-screen.
4240 ColorHandler was somewhat cleaned up.
4241 (1) make possible a dynamically growing LColor list by allowing
4242 the graphic context cache to grow along (vector);
4243 (2) eliminate an IMHO unnecessary step in colour allocation.
4245 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4247 * BufferView_pimpl.C: compile fix
4249 2003-08-15 André Pönitz <poenitz@gmx.net>
4251 * rowpainter.C: remove extra metrics calls
4253 * lyxtext.h: merge the two constructors into a single one,
4254 pass reference to owner's par list
4256 * BufferView_pimpl.C:
4260 2003-08-15 André Pönitz <poenitz@gmx.net>
4262 * lyxrow_funcs.[Ch]:
4265 * paragraph_funcs.C:
4270 * text_funcs.C: split LyXText::rowlist_ into individual
4271 Paragraph::rows_ chunks
4274 * BufferView_pimpl.[Ch]:
4277 * text3.C: remove toggleSelection()
4279 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4281 * bufferlist.C: beautify two alerts (shorter text of buttons)
4282 * buffer.C: Remove redundant ' ' from message
4284 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4285 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4286 rename VALIGN_CENTER to VALIGN_MIDDLE
4288 2003-08-11 André Pönitz <poenitz@gmx.net>
4290 * lyxtext.h (getPar):
4291 * text.C: new function
4293 2003-08-11 André Pönitz <poenitz@gmx.net>
4296 * tracer.[Ch]: remove unneeded files
4298 * InsetList.[Ch]: remove resizeInsetsLyXText()
4303 * text3.C: merge insertParagraphs() and appendParagraph()
4304 remove breakAgain(), update()
4306 * BufferView_pimpl.[Ch]:
4307 * bufferview_funcs.[Ch]:
4311 * tabular.C: adjust after text & InsetList changes.
4313 2003-08-08 André Pönitz <poenitz@gmx.net>
4315 * text.C (insertChar, backspace): replace rowlist fiddling
4316 with rebreak of full par
4319 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4320 checkParagraph, updateInset): removed
4322 2003-08-07 André Pönitz <poenitz@gmx.net>
4325 * text3.C: merge some LFUN handlers, remove dead code
4327 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4329 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4331 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4333 * text2.C (DEPM): fix part of bug 1255 and 1256
4335 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4337 * BufferView_pimpl.C (workAreaDispatch): change to use
4338 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4339 that are no mouse related.
4341 2003-08-05 André Pönitz <poenitz@gmx.net>
4344 * BufferView_pimpl.[Ch]:
4345 * bufferview_funcs.C:
4347 * text3.C: rip out "deep update"
4349 * textcursor.[Ch] (last_sel_cursor): remove unused member
4351 2003-08-04 André Pönitz <poenitz@gmx.net>
4354 * BufferView_pimpl.[Ch]:
4355 * ParagraphParameters.C:
4356 * bufferview_funcs.C:
4362 * text3.C: replace "complicated" BufferView::update(...) calls with
4365 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4367 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4369 * Makefile.am (lyx_SOURCES): add paper.h
4371 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4373 * Makefile.am: move things around so that both lyx-qt and
4374 lyx-xforms can be built (according to --with-frontend). Then lyx
4375 is a symbolic link to lyx-[firstfrontend]
4377 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4379 * Always use std::endl with lyxerr
4381 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4383 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4385 2003-08-01 André Pönitz <poenitz@gmx.net>
4388 * BufferView_pimpl.[Ch]:
4390 * text3.C: merge BufferView::repaint() and BufferView::update()
4392 2003-08-01 José Matos <jamatos@lyx.org>
4394 * buffer.[Ch]: file_format is no longer a buffer data element.
4396 2003-08-01 André Pönitz <poenitz@gmx.net>
4401 * text2.C: make redoParagraph more independent of current cursor
4403 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4405 * text2.C: remove unneeded members
4407 2003-07-30 André Pönitz <poenitz@gmx.net>
4409 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4411 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4412 create a single function...
4414 * paragraph_funcs.C (moveItem): ... here.
4417 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4419 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4421 * LColor.[Ch]: Add comment and greyedout logical colors.
4423 2003-07-30 André Pönitz <poenitz@gmx.net>
4425 * tabular.C: don't use Assert too heavily. This crashes where it
4428 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4430 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4431 is disabled (bug 1232)
4433 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4435 * factory.C: limited 'arg' scope
4437 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4439 * factory.C: fixed Note submenu issues
4441 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4443 * factory.C: submenu for Note/Comment/Greyedout
4445 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4448 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4450 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4453 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4454 greyedout. Patch provided by Jürgen Spitzmüller.
4456 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4458 * kbmap.C (read): fix error message when reading bind files
4460 2003-07-29 Angus Leeming <leeming@lyx.org>
4462 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4463 certainly does not do what it purports to do. I am doing it, and
4464 us, a favour by killing it.
4466 2003-07-28 José Matos <jamatos@lyx.org>
4468 * buffer.C (readBody, do_writeFile):
4469 * paragraph.C(readParagraph): \end_document replaces \the_end.
4471 2003-07-29 André Pönitz <poenitz@gmx.net>
4474 * BufferView_pimpl.[Ch]:
4478 * textcursor.[Ch]: remove toggleToggle & Co
4480 2003-07-28 José Matos <jamatos@fep.up.pt>
4482 * buffer.C (readParagraph):
4483 * params_func (readParToken, readParagraph):
4484 * paragraph.C (write): \layout -> \begin_layout.
4486 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4488 * lyxlex_pimpl.C (setFile): clean up slightly.
4490 * bufferparams.h: add compressed var
4492 * buffer_funcs.C (readFile): adjust for LyXLex change
4493 (newFile): ditto + simplify
4495 * buffer.C (writeFile): handle writing of compressed files
4497 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4498 Check if the file is compressed and set a bufferparm if so.
4500 * Makefile.am (lyx_LDADD): remove explicit -lz
4502 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4504 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4505 makeDocBookFile): put the real LyX version in the first line of
4509 * version.C.in: remove lyx_docversion
4511 * tabular.C (write_attribute): add a template-based version to
4512 write enums properly
4514 2003-07-28 André Pönitz <poenitz@gmx.net>
4519 * text3.C: use doubles again for x-coordinates. They are needed.
4521 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4523 * messages.C (getLocaleDir): use lyx_localedir()
4525 * lyxlex_pimpl.C (setFile): compress stuff
4527 * buffer.C (writeFile): add some compression stuff
4528 (do_writeFile): new func, dont call expliti close... will this
4531 * Makefile.am (lyx_LDADD): add -lz
4533 2003-07-28 José Matos <jamatos@fep.up.pt>
4535 * buffer.C: increment file format.
4536 * paragraph_funcs (readParagraph, readParToken):
4537 * paragraph.C (readParagraph): add \end_layout.
4539 2003-07-27 Angus Leeming <leeming@lyx.org>
4541 * Makefile.am: remove special casing for configure-time setting of
4542 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4544 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4545 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4547 2003-07-26 André Pönitz <poenitz@gmx.net>
4549 * paragraph_func.[Ch]:
4550 * paragraph.C (realizeFont): inline it whereever it is used
4555 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4558 2003-07-26 André Pönitz <poenitz@gmx.net>
4562 * text2.C: get rid of LyXText::need_break_row
4564 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * toc.[Ch]: put namespace toc inside namespace lyx
4568 * MenuBackend.C (expandToc2): adjust for lyx::toc
4571 * lyxfunc.C (dispatch): adjust for lyx::find
4573 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4574 lyx::find instead. Reorganize a bit.
4575 (LyXReplace): rename to replace
4576 (LyXFind): rename to find
4578 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4581 2003-07-26 André Pönitz <poenitz@gmx.net>
4583 * text.C (setHeightOfRow): restrict scope of temporary variable
4585 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4586 code (never has been used?)
4588 2003-07-27 Asger Alstrup <alstrup@local>
4590 * text.C (fill): Optimise algorithm to exploit that we can reuse
4591 the LyXFont for many characters.
4592 (setHeightOfRow): Same thing.
4593 (rowBreakPoint): Same thing.
4595 2003-07-26 Asger Alstrup <alstrup@local>
4597 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4599 * text.C (singleWidth): Spurious font copying in hot-spot
4600 singleWidth avoided. Reorder tests for arabic for efficiency.
4602 * text.C (fill): handle empty paragraphs better.
4604 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4607 * encoding.h: add includes
4609 * lyxrc.C: remove reading of bind files
4611 * lyx_main.C (init): setup bindings and menus only if we have a
4614 * kbmap.C (read): new method. Do the actual reading of bind
4617 * converter.C (dvipdfm_options):
4620 (output): adapt PAPER_* enums.
4622 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4624 * bufferparams.h: remove paper-related enums from there
4626 * paper.h: New file. A trivial header file to hold paper-related
4627 enums. It should later expand to contain many paper-related
4630 * lyxrc.C: declare extern displayTranslator
4632 2003-07-27 José Matos <jamatos@fep.up.pt>
4634 * tabular.[Ch] (linuxdoc): add support for tables and figures
4637 2003-07-27 José Matos <jamatos@fep.up.pt>
4639 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4640 consistency in both functions.
4641 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4643 2003-07-26 Asger Alstrup <alstrup@local>
4645 * rowpainter.C (paintRows): Change algorithm to work directly on
4646 the insets rather than asking every character in the document
4647 whether its an inset.
4649 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4651 * buffer.C (openFileWrite): factorize some code
4653 2003-07-26 Angus Leeming <leeming@lyx.org>
4656 * lyx_main.[Ch]: replace occurances of system_tempdir with
4659 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4661 * rename Inset to InsetOld
4663 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4665 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4666 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4667 which I think is a bit clearer. EDIT is gone, since it was
4668 premature optimisation, and broken for mathed anyway.
4669 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4670 with cursor positioning in insets as well (math insets still do not
4671 work, but that's a different story anyway.) It mysteriously
4672 crashes sometimes with undo in the first paragraph, but I'm fairly
4673 confident that this is a compiler bug.
4675 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4677 * paragraph.C (Paragraph): adjust for new clone return type
4679 (copyIntoMinibuffer): ditto
4681 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4683 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4684 by not having a special case, and always doing a full rebreak of
4685 the document after undo.
4687 2003-07-23 Angus Leeming <leeming@lyx.org>
4689 * factory.C (createInset): InsetExternal::setParams now takes a
4692 2003-07-23 Angus Leeming <leeming@lyx.org>
4694 * factory.C (createInset): changed interface to the external and
4695 graphics mailers' string2params functions.
4697 2003-07-23 Angus Leeming <leeming@lyx.org>
4699 * factory.C (createInset): pass a
4700 Buffer const * parameter to InsetExternalMailer's string2params.
4702 2003-07-22 John Levon <levon@movementarian.org>
4704 * Thesaurus.h: include the right aiksaurus header
4706 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4708 * MenuBackend.C (expand): check menu shortcuts unconditionally
4710 2003-07-21 Angus Leeming <leeming@lyx.org>
4712 * factory.C (createInset): pass a
4713 buffer_path parameter to InsetGraphicsMailer's string2params.
4715 2003-07-21 Angus Leeming <leeming@lyx.org>
4717 * BufferView_pimpl.C (buffer):
4720 * lyxfunc.C (dispatch):
4721 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4722 rather than the grfx shortcut.
4724 2003-07-21 André Pönitz <poenitz@gmx.net>
4726 * rowpainter.C: remove unused variables
4729 * tabular_funcs.h: move to tabular.C
4730 * Makefile.am: adjust
4732 * tabular.[Ch]: basic optical cleaning
4734 * author.h: pass references, not values
4736 2003-07-18 André Pönitz <poenitz@gmx.net>
4744 * text3.C: two-phase drawing for InsetText and InsetTabular
4745 some float -> int changes.
4747 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4749 * lyx_main.C: fix the fix
4751 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4753 * lyx_main.C: fix a crash in batch mode if no files specified
4756 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4758 * format.[Ch] (papersize): moved to BufferParams
4759 * converter.[Ch] (dvips_options): moved to BufferParams
4760 (dvipdfm_options): moved to anon namespace
4761 * bufferparams.[Ch]: added above functions.
4763 2003-07-17 André Pönitz <poenitz@gmx.net>
4767 * text2.C: don't call inset->update() anymore
4769 * metricsinfo.[Ch]: add convenience constructor
4771 2003-07-16 André Pönitz <poenitz@gmx.net>
4776 * text2.C: replace the LyXCursor::irow_ member with
4777 on-demand computation of the value
4779 2003-07-16 John Levon <levon@movementarian.org>
4781 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4783 2003-07-15 André Pönitz <poenitz@gmx.net>
4786 * text2.C: remove no more needed refresh_row
4788 2003-07-15 André Pönitz <poenitz@gmx.net>
4793 * text3.C: refresh_status tristate -> need_update bool
4795 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4797 * lyxtext.h (init): remove reinit argument (act as if always true)
4798 * text2.C: adjust to that
4800 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4802 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4803 * text3.C: use it to delete selections in some cases
4804 (bugs 441, 673, 702, 954).
4806 2003-07-14 André Pönitz <poenitz@gmx.net>
4808 * rowpainter.[Ch]: reduce interface
4810 2003-07-14 André Pönitz <poenitz@gmx.net>
4812 * BufferView_pimpl.C:
4813 * text2.C: adjust after removing unused BufferView * argument
4815 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4817 * text2.C (init): fix a crash fired on resize
4819 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4821 * buffer.[Ch]: added new closing signal
4822 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4823 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4824 BufferView::Pimpl via the closing the signal
4826 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4828 * buffer.[Ch]: take out all bv-related from buffer
4830 * BufferView_pimpl.[Ch]: connect to new signals
4831 * CutAndPaste.C: removed useless asserts
4832 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4835 * lyxfunc.C: moved view-related funciontality from vc here
4836 * paragraph.C: removed outdated comments
4839 2003-07-10 André Pönitz <poenitz@gmx.net>
4841 * BufferView_pimpl.C:
4845 * text2.C: remove InsetText::InnerCache, clean up consequences
4847 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4849 * ispell.C: fix two typos in error messages
4851 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4853 * Extend Note inset to other forms of annotation like Comment
4854 and Greyedout. Right button click gives dialog.
4856 Files modified or added (+):
4860 * ControlNote.[Ch] +
4862 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4863 frontends/controllers
4867 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4869 * aspell.C: add missing namespace lyx::support
4871 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4873 * BufferView.[Ch] (newFile): Add
4874 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4875 * LaTeX.[Ch] (message): added this signal and use it
4876 * buffer.[Ch] (busy, message): added these signals and use them
4877 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4881 * importer.C: use buffer signals instead of direct bv calling
4882 * lyx_cb.[Ch] (ShowMessage): removed
4885 * paragraph_funcs.C:
4886 * text2.C: use buffer signals
4888 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4890 * introduce namespace lyx::graphics
4892 2003-07-02 André Pönitz <poenitz@gmx.net>
4894 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4896 2003-07-01 André Pönitz <poenitz@gmx.net>
4903 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4904 text*.C to text_func.C
4906 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4908 * introduce namespace lyx::support
4910 2003-06-30 André Pönitz <poenitz@gmx.net>
4915 * text.C: re-enable --with-included-string
4917 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4919 * textcursor.C: add <config.h>
4921 * text.C (getWord): remove const from word_location arg
4923 * lyxvc.C (getLogFile): fix const type order
4925 * lyxtext.h: remove const from word_location arg, add arg name
4927 * lyxlayout.h: currect type on labeltype.
4929 * importer.C: correct \file
4931 * converter.C (intToFormat): use std:: on ret val, ws changes
4933 * bufferlist.h: correct \file
4935 * buffer.C (makeLinuxDocFile): fix const type order
4936 (makeDocBookFile): ditto
4937 (fillWithBibKeys): use std:: on stdlib args.
4939 * CutAndPaste.C: fix authors.
4940 (availableSelections): use std:: on return vector
4942 2003-06-27 André Pönitz <poenitz@gmx.net>
4944 * BufferView_pimpl.C:
4945 * bufferview_funcs.C:
4953 * text3.C: remove LyXCursor::row_ member
4956 * text.C: rename fullRebreak() to partialRebreak() and implement
4957 a fullRebreak() that really bereks fully
4959 * textcursor.h: new struct for cursor-related data
4961 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4963 * lyx_main.C (LyX): get full path of document loaded on the
4966 2003-06-26 André Pönitz <poenitz@gmx.net>
4968 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4969 remove unused/broken operator>,<,>=.
4971 * text.C: remove only use of broken operator<= in an Assert().
4973 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4975 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4976 moved errorlist_.clear to showErrorList
4978 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4980 * converter.C (scanLog, runLaTeX):
4981 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4982 move the bv->showErrorList call to the callers
4983 * lyxfunc.C: i.e. here...
4985 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4986 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4987 namespace, the second to...
4988 * buffer_funcs (BufferFormat, parseErrors): added
4989 * errorlist.C (ErrorList(TeXErrors const &)): removed
4991 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4993 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4995 2003-06-24 "Garst R. Reese" <reese@isn.net>
4999 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5001 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5003 * version.C.in: change docversion to 1.4
5005 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5007 * buffer.C: fix a bug just introduced
5009 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5011 * buffer.[Ch]: added the parseError signal and use it, removed
5013 * BufferView.[Ch] (addError): moved to ...
5014 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5015 to the Buffer::parseError signal to catch (guess what) parse errors
5016 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5018 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5020 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5021 ability to create a buffer and to return an existing one from
5022 the list. Moved these functions to...
5023 * buffer_funcs.[Ch]: added
5024 * BufferView.[Ch] (loadLyXFile): added
5025 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5026 job removed from bufferlist::loadLyXFile.
5027 * buffer.C (setReadOnly): make it work without view
5028 (i.e added an if (users))
5030 2003-06-19 Angus Leeming <leeming@lyx.org>
5033 * LyXAction.C (init):
5034 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5035 with LFUN_DIALOG_SHOW <name> <data>.
5037 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5039 * CutAndPaste.C (availableSelections): small compilation fix for
5040 ancient (gcc 2.9x) compilers
5042 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5044 * text3.C (cursorNext): add tmp var
5046 * text2.C (updateCounters): for function calling out of for clause
5047 (replaceSelectionWithString): ditto
5048 (insertStringAsParagraphs): ditto
5049 (getColumnNearX): add tmp var
5050 (setCursorFromCoordinates): add tmp var
5051 (cursorDownParagraph): add tmp var
5052 (deleteEmptyParagraphMechanism): add tmp var
5054 * text.C (insertChar): add tmp var
5056 * rowpainter.C (paintDepthBar): add tmp var
5058 * CutAndPaste.C (availableSelections): potentially check all
5059 paragraphs in a cut to fill the shown strings.
5061 2003-06-18 André Pönitz <poenitz@gmx.net>
5063 * kbmap.[Ch]: use vector<> instead of list<>
5065 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5067 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5068 pasteSelection with index
5070 * text2.C (pasteSelection): modify, call pasteSelection with index
5072 * paragraph.C (asString): reimplement version with no interval to
5073 call the one with interval.
5075 * lyxtext.h: add index arg to pasteSelection
5077 * MenuBackend.C (MenuItem): handle PasteRecent
5078 (Menu::read::Menutags): add md_pasterecent
5080 (expandPasteRecent): new function
5083 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5085 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5087 (availableSelections): new function
5089 2003-06-17 Angus Leeming <leeming@lyx.org>
5091 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5093 2003-06-17 Angus Leeming <leeming@lyx.org>
5096 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5098 * lyxfunc.C (dispatch): invoke it.
5100 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5102 * iterators.C (operator++, ParPosition): reintroduce some
5103 const_cast for the benefit of older compilers.
5105 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5107 * text3.C (dispatch): do not modify clipboard when doing
5108 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5109 LFUN_DELETE_SKIP on a selection selection
5111 2003-06-16 André Pönitz <poenitz@gmx.net>
5117 * tabular.[Ch]: IU of clone() and getLabelList();
5119 2003-06-13 André Pönitz <poenitz@gmx.net>
5121 * tabular.h: compactification
5123 2003-06-12 André Pönitz <poenitz@gmx.net>
5127 * tabular_funcs.h: some renaming plus whitespace
5129 2003-06-12 André Pönitz <poenitz@gmx.net>
5132 * BufferView_pimpl.C:
5138 * toc.C: Return a Paragraph & for ParIterator::operator*()
5140 2003-06-11 John Levon <levon@movementarian.org>
5144 * ToolbarBackend.C: add "Toolbars" section and
5147 2003-06-10 Angus Leeming <leeming@lyx.org>
5150 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5152 * lyxfunc.C (dispatch): invoke it.
5154 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5156 * main.C: protect <ios> with HAVE_IOS
5157 (main): protect sync_with_stdio with HAVE_IOS
5159 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5161 * text2.C (cutSelection): adjust
5162 (pasteSelection): adjust
5164 * messages.C: handle get of empty string
5166 * main.C (main): use sync_with_stdio(false)
5168 * lyxfunc.C (dispatch): adjust
5170 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5171 (WriteAs): remove unneeded BufferView arg.
5173 * bufferparams.h: use correct types on papersize, papersize2 and
5176 * bufferparams.C (readToken): adjust for type
5177 (writeLaTeX): add missing cases to switch.
5179 * bufferlist.C (quitWriteBuffer): adjust
5182 * buffer.C (asciiParagraph): remove some commented code.
5184 * CutAndPaste.C: remove current_view extern variable.
5185 (cutSelection): add BufferParams arg.
5186 (eraseSelection): add BufferParams arg.
5187 (pasteSelection): add Buffer const & arg
5189 2003-06-07 John Levon <levon@movementarian.org>
5192 * paragraph_funcs.C:
5193 * paragraph_pimpl.C:
5197 * paragraph.C: allow InsetERT to freely space lines,
5198 and some consolidation of code
5200 2003-06-06 José Matos <jamatos@fep.up.pt>
5202 * buffer.C (makeDocBookFile): fix bug #821
5204 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5206 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5208 2003-06-04 Angus Leeming <leeming@lyx.org>
5210 * buffer.C: bump format to 224.
5212 2003-06-05 André Pönitz <poenitz@gmx.net>
5214 * text2.C (redoParagraphs): remove two const_cast<>
5216 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5218 * ParagraphList.h: remove last remnants of NO_STD_LIST
5220 2003-06-03 Angus Leeming <leeming@lyx.org>
5222 * factory.C (createInset): small change to the way InsetExternal's params
5225 2003-06-04 André Pönitz <poenitz@gmx.net>
5227 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5229 * paragraph_pimpl.h:
5230 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5232 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5234 * undo_funcs.C: make some simple cases of undo work again
5236 2003-06-03 John Levon <levon@movementarian.org>
5238 * ispell.C: HPUX doesn't have sys/select.h
5241 2003-06-03 John Levon <levon@movementarian.org>
5243 * CutAndPaste.C: update tabular and include inset
5248 * paragraph.C: remove owningBuffer(), don't pass Buffer
5251 * factory.C: insetGraphicsParams changed
5253 2003-06-02 John Levon <levon@movementarian.org>
5259 * text3.C: remove insetparent
5261 2003-06-02 John Levon <levon@movementarian.org>
5264 * buffer.C: fix inset_iterator.end(), move out of line
5267 2003-06-01 John Levon <levon@movementarian.org>
5269 * text3.C: use a proper cut/paste when doing inset
5270 insert (from Jürgen Spitzmüller)
5272 2003-06-01 John Levon <levon@movementarian.org>
5274 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5276 2003-05-30 André Pönitz <poenitz@gmx.net>
5278 * rowpainter.C: unify second drawing phase
5280 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * trans_mgr.C: remove one case of current_view
5284 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5286 * paragraph_funcs.h: remove paragraph.h include
5288 * paragraph.h: delete NO_STD_LIST stuff
5290 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5292 * buffer.h: remove paragraph.h include
5294 * ParagraphList.C: delete file
5296 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5298 * toc.C (getTocList): adjust
5300 * paragraph_pimpl.C (validate): adjust
5302 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5304 * paragraph.C (Paragraph): adjust
5305 (getPositionOfInset): use const_iterator, adjust
5306 (bibitem): use const_iterator, adjust
5307 (setInsetOwner): adjust
5309 * iterators.C (operator++): adjust
5311 * InsetList.[Ch]: Replace selfmade iterator with standard
5312 vector::iterator also introduce const_iterator. Remove getPos,
5313 getInset and setInset from InsetTable. Adjust accordingly.
5315 * BufferView.C (lockInset): adjust
5316 (ChangeInsets): adjust
5318 * tabular.[Ch]: delete commented same_id functions
5320 2003-05-28 John Levon <levon@movementarian.org>
5322 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5324 2003-05-28 André Pönitz <poenitz@gmx.net>
5326 * metricsinfo.[Ch]: remove 'fullredraw' member
5328 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5330 * lyxtextclass.C (operator): remove caching.
5332 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5336 * text2.C (cursorBottom): adjust
5337 (setCounter): use ParagraphList::find, adjust
5339 * text.C (workWidth): use ParagraphList::find, adjust
5341 * lyxcursor.C (LyXCursor): adjust
5343 * buffer.C (inset_iterator): adjust
5345 * ParagraphList.h: make iterator(value_type) private, make
5346 ParagraphList a friend of iterator.
5348 * ParagraphList.C (find): new function
5350 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5352 2003-05-27 André Pönitz <poenitz@gmx.net>
5354 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5356 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5358 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5360 2003-05-26 John Levon <levon@movementarian.org>
5362 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5364 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5366 * remove same_id from function signatures, adjust.
5368 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5370 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5372 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5374 * paragraph.C (Paragraph): get rid of same_ids parameter
5376 * ParagraphList.C (insert): adjust
5379 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5381 * paragraph_funcs.C (breakParagraph): adjust
5382 (breakParagraphConservative): adjust
5384 * buffer.C (readParagraph): adjust
5386 * ParagraphList.C (insert): take a reference instead of a pointer
5389 * paragraph.[Ch] (id): new function
5391 * bufferlist.C (newFile): adjust
5393 * ParagraphList.C (ParagraphList): adjust
5395 (push_back): take a reference instead of a pointer.
5397 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5399 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5402 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5403 set else use old code.
5405 * ParagraphList.C: remove all NO_NEXT code and only compile this
5406 code of NO_STD_LIST is set.
5408 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5410 * BufferView_pimpl.C:
5420 * graphics/GraphicsConverter.C:
5421 * graphics/PreviewLoader.C: header adjustment
5423 2003-05-23 Angus Leeming <leeming@lyx.org>
5425 * LaTeXFeatures.[Ch] (useBabel): new method.
5426 * bufferparams.C (writeLaTeX): use it.
5428 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5430 * ParagraphList.h (set): remove unused function.
5432 2003-05-23 André Pönitz <poenitz@gmx.net>
5435 * BufferView_pimpl.C:
5439 * undo_funcs.C: setUndo reworked
5441 * iterators.[Ch]: add access to topmost ParagraphList
5443 * lyxtext.[Ch] (workWidth): add a const
5445 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5447 * texrow.[Ch] (increasePos): remove function
5448 * exporter.C (export): removed unused var and outdated comment
5450 2003-05-23 Angus Leeming <leeming@lyx.org>
5452 * latexrunparams.h: rename fragile as moving_arg.
5453 * paragraph.C (simpleTeXOnePar): ditto.
5454 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5456 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5458 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5460 (textUndoOrRedo): comment out a currently unused var.
5462 * paragraph.h (NO_NEXT): enable NO_NEXT
5464 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5466 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5468 * exporter.C (Export): adjust for removeAutoInsets removal.
5470 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5472 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5474 * BufferView.[Ch] (removeAutoInsets): delete function
5476 2003-05-22 Angus Leeming <leeming@lyx.org>
5478 * latexrunparams.h: add a free_spacing variable.
5480 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5481 to pass moving_arg, as the data is stored in runparams.fragile.
5483 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5484 to Inset::latexOptional or to simpleTeXOnePar.
5486 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5487 free_spacing arg to Inset::latexOptional.
5489 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5492 2003-05-22 Angus Leeming <leeming@lyx.org>
5494 * latexrunparams.h: add fragile and use_babel variables.
5496 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5497 * buffer.C (makeLaTeXFile): store this returned value in
5498 runparams.use_babel, thus passing it to the inset::latex methods.
5500 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5501 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5503 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5504 longer has a fragile arg, as it is stored in runparams.fragile.
5506 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5507 moving_arg parameter as the data is stored in runparams.fragile.
5509 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5510 a fragile parameter as the data is stored in runparams.fragile.
5512 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5514 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5516 2003-05-22 Angus Leeming <leeming@lyx.org>
5518 * latexrunparams.h: add a 'bool nice' which defaults to false.
5520 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5521 now encapsulated within runparams.
5523 * bufferlist.C (updateIncludedTeXfiles):
5524 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5526 2003-05-22 Angus Leeming <leeming@lyx.org>
5528 * latexrunparams.h: new file containing struct LatexRunParams.
5529 * Makefile.am: add new file.
5531 * LaTeX.[Ch] (c-tor, run):
5532 * buffer.[Ch] (makeLaTeXFile):
5533 * bufferlist.[Ch] (updateIncludedTeXfiles):
5534 * converter.C (convert, scanLog):
5535 * converter.[Ch] (runLaTeX):
5536 * exporter.C (Export):
5537 * paragraph.[Ch] (simpleTeXOnePar):
5538 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5539 * paragraph_funcs.[Ch] (latexParagraphs):
5540 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5541 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5542 pass around a LatexRunParams parameter.
5544 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5546 * paragraph.[Ch]: remove unused constructor
5548 * ParagraphList.C (erase): new function, taking two iterators
5550 2003-05-22 André Pönitz <poenitz@gmx.net>
5552 * undo_funcs.C: remove duplicated code
5554 * iterator.[Ch]: operator=
5556 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5558 * tabular.C (SetMultiColumn): ws changes
5560 * rowpainter.C (paintFirst): get rid of a ->previous
5562 * lyx_cb.C (getPossibleLabel): parlist simplification
5564 * BufferView.C (ChangeInsets): simplify slightly.
5566 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5568 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5569 * lfuns.h: new LFUN_SPACE
5570 * lyxfunc.C: protected space has a new lfun
5571 * paragraph_funcs.C: read new space insets
5573 * factory.C: handle new space insets
5575 2003-05-22 André Pönitz <poenitz@gmx.net>
5578 * BufferView_pimpl.C:
5581 * undo_funcs.C: return a ParIterator from getParFromID.
5583 * iterators.[Ch]: add two const's
5585 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5587 * toc.C (getTocList): adjust
5589 * iterators.[Ch]: rework for parlist
5591 * buffer.C (par_iterator_begin): adjust
5592 (par_iterator_end): adjust
5594 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5596 * BufferView.C (removeAutoInsets): adjust
5597 (ChangeInsets): adjust
5599 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5601 * text.C (top_y): fix bug 1110
5603 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5605 * errorlist.[Ch]: added
5608 * BufferView_pimpl.C:
5609 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5612 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5614 * Makefile.am: ensure that lyx is relinked upon changes to the
5615 various "convenience" libs.
5617 2003-05-20 Angus Leeming <leeming@lyx.org>
5619 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5620 files are compiled in alphabetical order again.
5622 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5624 2003-05-19 Angus Leeming <leeming@lyx.org>
5626 * gettext.[Ch]: remove "char const * _(char const *)".
5628 2003-05-19 André Pönitz <poenitz@gmx.net>
5630 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5639 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5641 2003-05-19 André Pönitz <poenitz@gmx.net>
5645 * lyxtextclass.[Ch]:
5647 * paragraph_funcs.[Ch]:
5649 * text3.C: more insetenv work
5651 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5653 * ParagraphParameters.C (params2string): small bug fixed
5655 2003-05-16 André Pönitz <poenitz@gmx.net>
5658 * bufferview_funcs.C: patch from Kornel Benko to prevent
5659 crash when _(...) is called twice in a statement
5661 2003-05-16 André Pönitz <poenitz@gmx.net>
5668 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5670 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5672 * lyx_main.C (init): remove spurious static_cast
5674 2003-05-14 André Pönitz <poenitz@gmx.net>
5676 * BufferView.C: fix format string
5678 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5680 * BufferView.[Ch] (insertErrors): removed
5681 * BufferView.[Ch] (showErrorList): added
5682 * buffer.C (runChkTeX):
5683 * converter.C (scanLog): call showErrorList instead of inserterrors
5685 2003-05-13 André Pönitz <poenitz@gmx.net>
5687 * BufferView_pimpl.C:
5689 * bufferview_func.C:
5696 * tabular_funcs.h: tostr() from its own header
5698 * ParagraphParameters.C:
5703 * text3.C: STRCONV()
5705 2003-05-12 André Pönitz <poenitz@gmx.net>
5708 * BufferView_pimpl.C:
5712 * ParagraphParameters.C:
5716 * bufferview_funcs.C:
5729 * paragraph_funcs.C:
5733 * text3.C: boost::format -> bformat all over the place
5736 2003-05-09 André Pönitz <poenitz@gmx.net>
5738 * LColor.[Ch]: Pimpl the #include <map> away
5740 2003-05-09 John Levon <levon@movementarian.org>
5742 * bufferlist.C: never remove emergency saves
5744 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5746 * Makefile.am: better lib building
5748 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5750 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5752 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5753 (simpleTeXSpecialChars): adjust
5754 (simpleTeXSpecialChars): adjust
5755 * paragraph.C (simpleTeXOnePar): adjust
5756 * buffer.C (makeLaTeXFile): adjust
5758 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5760 * text2.C (changeDepth): parlist cleanup
5761 (getColumnNearX): ditto
5763 * rowpainter.C (getLabelFont): parlist cleanup
5765 * bufferlist.C (newFile): parlist cleanup
5767 * CutAndPaste.C (eraseSelection): parlist cleanup
5769 * BufferView_pimpl.C (trackChanges): parlist cleanup
5772 * BufferView.C (lockInset): parlist cleanup.
5773 (ChangeInsets): ditto
5775 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5777 * CutAndPaste.h: Update file header.
5779 * CutAndPaste.C: Update file header.
5780 Store the parts cut out of the Document in a limited_stack.
5781 (copySelection): adjust
5782 (pasteSelection): new function, takes the index in the limited stack.
5783 (nrOfParagraphs): adjust
5784 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5785 simplify error inset insertion.
5786 (checkPastePossible): adjust
5788 2003-05-06 John Levon <levon@movementarian.org>
5790 * text2.C: don't cast wrap inset to float
5792 2003-05-05 André Pönitz <poenitz@gmx.net>
5795 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5797 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5798 few naked Paragraph *.
5800 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5802 * bufferparams.C: Output warning if a document with missing
5803 TeX document class is loaded
5804 * exporter.C: Disable TeX exports if the document class is missing
5807 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5808 isTeXClassAvailable()
5810 2003-05-03 John Levon <levon@movementarian.org>
5813 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5814 explicit cursor show/hide
5816 * BufferView_pimpl.h:
5817 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5818 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5820 * lyxfunc.C: hide cursor before dispatching.
5825 * text3.C: remove explicit cursor hides
5827 2003-05-02 André Pönitz <poenitz@gmx.net>
5829 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5832 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5835 * text2.C: tiny whitespace
5837 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5839 * undo_funcs.C: almost only ws changes.
5841 * ParagraphList.C (splice): just return if pl is empty.
5843 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5845 * ParagraphList.C (splice): new function.
5847 * CutAndPaste.C (pasteSelection): use it
5849 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5851 * CutAndPaste.C (pasteSelection): remove the last next and
5852 previous from this file.
5854 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5856 * CutAndPaste.C (pasteSelection): more clean up, user proper
5857 ParagraphList functions for pasteing.
5859 * ParagraphList.C (insert): new function, three arg insert
5861 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5863 * ParagraphList.C (insert): new function, three arg insert
5865 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5868 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5870 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5872 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5874 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5876 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5878 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5879 (copySelection): clean up a bit.
5880 (pasteSelection): use make_pair
5882 * ParagraphList.C (ParagraphList): implement copy constructor
5883 (operator=): implement, base on copy constructor.
5886 * paragraph.C (erase): return a bool
5888 * paragraph_pimpl.C (erasePos): remove function, move contents...
5889 (erase): ... here. Return a bool.
5890 (erase): call erase instead of erasePos.
5892 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5894 * ParagraphList.h: define PitPosPair
5895 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5896 ParagraphList, fix a bug on pasting multiple pars
5897 * text2.C: change interface to C&P
5899 2003-04-30 André Pönitz <poenitz@gmx.net>
5901 * undo_func.C: revert part of yesterday's patch 2
5903 2003-04-30 John Levon <levon@movementarian.org>
5905 * LColor.C: s/tabular/table/
5907 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5909 * text3.C (dispatch): do not convert iterator -> pointer
5910 * undo_funcs.C (setCursorParUndo): ditto
5911 * text_funcs.C (transposeChars): ditto
5913 * text2.C (setLayout): ws changes only
5915 * text.C (breakParagraph): do not convert iterator -> pointer
5917 (acceptChange): ditto
5918 (rejectChange): ditto
5923 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5926 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5928 * text3.C (gotoInset): YABG (yet another bad getChar)
5930 2003-04-29 André Pönitz <poenitz@gmx.net>
5932 * paragraph.h: make operator= private unimplemented as long as
5935 * ParagraphList.C: whitespace
5938 * paragraph_pimpl.[Ch]:
5939 * paragraph_funcs.C:
5941 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5944 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5946 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5948 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5949 * paragraph.[Ch] (erase):
5950 * paragraph_pimpl.[Ch] (erase): change return type and value
5951 * text2.C (cutSelection): some rework
5953 2003-04-28 John Levon <levon@movementarian.org>
5955 * bufferlist.C: changes for unsaved changes dialog
5957 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5959 * bufferlist.C (newFile): set language (messages_) for new
5962 * buffer.C (readFile): ws changes only.
5964 2003-04-28 André Pönitz <poenitz@gmx.net>
5969 * BufferView_pimpl.C:
5970 * BufferView.C: getParFromID related ParagraphList::iterator changes
5972 2003-04-28 André Pönitz <poenitz@gmx.net>
5974 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5977 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5979 * messages.C: remove one more localedir class variable.
5981 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5983 * messages.C (getLocaleDir): singleton generation function
5985 (Messages): add a default constructor.
5987 * main.C (main): do not setup localedir here, do not call
5990 * gettext.C (_): use it.
5991 (gettext_init): delete funciton
5993 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5995 * gettext.C (getLyXMessages): new singleton generating function.
5997 * buffer.C (updateDocLang): adjust
5999 * Makefile.am (messages.o): add target
6000 (main.o): remove target
6002 2003-04-27 John Levon <levon@movementarian.org>
6007 * lyxvc.C: specify cancel button in Alert::prompt
6009 2003-04-26 John Levon <levon@movementarian.org>
6014 * LyXAction.C: add LFUN_INSET_SETTINGS
6016 * lyxfunc.C: don't enable tabular-feature when there's
6017 just any locking inset
6019 2003-04-26 John Levon <levon@movementarian.org>
6021 * bufferlist.C: re-add Cancel to buffer close question
6023 * lyxfunc.C: fix import UI a bit
6025 2003-04-25 John Levon <levon@movementarian.org>
6027 * gettext.C: remove the broken asserts for now
6029 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6031 * messages.C: make case where setlocale cannot comply work better.
6033 * buffer.C (updateDocLang): new function
6034 (changeLanguage): use it
6037 * text2.C (setCounter): use B_ a bit.
6039 * lyxlayout.C (Read): be sure to trim the label strings.
6041 * messages.C (Messages): fix typo in comment
6043 * buffer.C (readFile): set message_ after file is loaded.
6044 (makeDocBookFile): remove double return
6045 (changeLanguage): reset message_ upon language change.
6046 (B_): new func, use this to get translated buffer strings.
6048 * main.C: add myself and Jean Marc as authors.
6050 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6052 * messages.[hC]: pimplify Messages, and three different pimpls to be
6053 used in different circumstances.
6055 * gettext.[Ch]: change for use with new message code.
6057 2003-04-24 André Pönitz <poenitz@gmx.net>
6059 * factory.C: support for eqref
6061 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6063 * messages.[Ch]: add missing char
6065 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6067 * messages.[Ch]: New files
6069 2003-04-18 John Levon <levon@movementarian.org>
6073 * BufferView_pimpl.C:
6077 * text2.C: remove layout-copy/paste (bug 778)
6079 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6081 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6083 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6085 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6086 if they succeed. Act accordingly.
6088 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6090 * text2.C (setCharFont): adjust
6091 (setCounter): adjust
6092 (insertStringAsLines): adjust
6094 * text.C (leftMargin): adjust
6095 (setHeightOfRow): adjust
6097 * rowpainter.C (paintFirst): adjust
6100 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6102 (isFirstInSequence): ditto
6103 (getEndLabel): ditto
6106 * paragraph.C (getParLanguage): comment out some hard stuff.
6108 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6110 (simpleDocBookOnePar): ditto
6111 (makeDocBookFile): use ParagraphList::iterator
6113 * CutAndPaste.C (pasteSelection): adjust
6115 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6117 * text2.C (getFont): adjust
6118 (getLayoutFont): adjust
6119 (getLabelFont): adjust
6121 * paragraph_funcs.C (TeXOnePar): adjust
6123 * buffer.C (simpleLinuxDocOnePar): adjust
6124 (simpleDocBookOnePar): adjust
6126 * CutAndPaste.C (pasteSelection): adjust
6128 * BufferView.C (getEncoding): adjust
6130 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6132 2003-04-16 John Levon <levon@movementarian.org>
6134 * lyxfind.C: use parlist stuff for search/changes
6136 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6138 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6140 * text2.C (deleteEmptyParagraphMechanism): adjust
6142 * text2.[Ch] (ownerParagraph): delete func (both of them
6144 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6146 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6148 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6150 * ParagraphList.C: prepare for NO_NEXT
6152 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6154 * text2.C (getFont): adjust
6155 (getLayoutFont): adjust
6156 (getLabelFont): adjust
6158 * paragraph.C (getFont): adjust
6159 (getLabelFont): adjust
6160 (getLayoutFont): adjust
6162 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6164 2003-04-15 John Levon <levon@movementarian.org>
6168 * lyx_main.C: handle Include in .ui files
6170 2003-04-15 John Levon <levon@movementarian.org>
6172 * MenuBackend.C: make the doc files length shorter
6175 * ToolbarBackend.C: handle toolbar placement flags,
6178 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6180 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6183 * paragraph_funcs.C (TeXOnePar): adjust
6185 * paragraph.C (getLabelFont): add outerfont arg, adjust
6186 (getLayoutFont): ditto
6187 (simpleTeXOnePar): adjust
6189 * paragraph_pimpl.C (realizeFont): delete func
6191 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6193 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6194 row argument, constify cur argument.
6196 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6198 * text2.C (getFont): adjust
6199 (getLayoutFont): adjust
6200 (getLabelFont): adjust
6202 * paragraph_funcs.C (TeXOnePar): adjust
6203 (outerFont): new func...
6204 (realizeFont): ...moved out from here, changed this to facilitate
6207 * paragraph.C (getFont): take outerfont as arg, adjust
6208 (simpleTeXOnePar): add outerfont arg, adjust
6210 * buffer.C (simpleLinuxDocOnePar): adjust
6211 (simpleDocBookOnePar): adjust
6213 * CutAndPaste.C (pasteSelection): adjust
6215 * BufferView.C (getEncoding): adjust
6217 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6219 * text2.C (setCharFont): adjust
6220 (setCounter): adjust
6222 * text.C (leftMargin): adjust
6223 (setHeightOfRow): adjust
6225 * rowpainter.C (paintFirst): adjust
6228 * paragraph_pimpl.C (realizeFont): adjust
6230 * paragraph.C (isFirstInSequence): move from here...
6231 * paragraph_funcs.C (isFirstInSequence): ...to here
6233 * paragraph.C (outerHook): move from here...
6234 * paragraph_funcs.C (outerHook): ...to here
6236 * paragraph.C (depthHook): move from here...
6237 * paragraph_funcs.C (depthHook): ...to here
6239 * paragraph.C (getEndLabel): move from here...
6240 * paragraph_funcs.C (getEndLabel): ...to here
6242 * text2.C (realizeFont): move from here...
6243 * paragraph_funcs.C (realizeFont): ...to here
6245 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6247 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6249 2003-04-14 Angus Leeming <leeming@lyx.org>
6251 * LColor.[Ch]: scrap LColor mathcursor.
6253 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6255 * lyxlex.[Ch] (text): delete function
6256 * trans.C (Load): adjust
6257 * paragraph_funcs.C (readParToken): adjust
6259 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6261 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6262 vector<char> instead of a char[].
6264 * lyxlex_pimpl.C (getString): adjust
6266 (lex): use getString
6270 * lyxlex.C (text): use pimpl_->getString()
6274 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6276 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6277 (makeFontEntriesLayoutSpecific): temp var for par.size()
6278 (setLayout): temp var for ownerParagraphs().end()
6279 (fullRebreak): temp var for rows().end()
6280 (selectionAsString): temp var for boost::next(startpit), realize
6281 that the while really is a regular for loop.
6282 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6283 setCursor in one place.
6284 (setParagraph): temp vr for ownerParagraphs().end()
6285 (updateCounters): make the while loop a for loop
6286 (cutSelection): temp var for ownerParagraphs().end()
6287 (updateInset): make the do {} while() a regular for loop
6288 (getCursorX): use temp vars
6289 (setCurrentFont): use temp vars
6290 (getColumnNearX): use temp vars
6292 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6294 * text.C (transformChar): use temp var for getChar
6295 (computeBidiTables): use temp var for row->par()
6296 (fill): move temp vars for row->par() and pit->layout() earlier in
6298 (labelFill): use temp var for row->par()
6299 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6300 asc and desc, realize that pit never changes and that firstpit is
6301 just a duplicate and not needed. Exchange rit->par() with pit in a
6303 (breakAgain): use a temp var for boost::next(rit)
6304 (breakAgainOneRow): ditto
6305 (breakParagraph): use a temp var for rows().begin()
6306 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6307 (cursorRightOneWord): use temp var for cursor.par() and
6308 cursor.pos(), remove usage of tmpcursor.
6309 (cursorLeftOneWord): use temp var for cursor.par() and
6310 cursor.pos() only set cur at end of function.
6312 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6314 * text.C, text2.C: exchange all usage of Paragraph::next with
6315 boost::next(ParagraphList::iterator)
6317 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6319 * text2.C (cursorTop): simplify implementation
6320 (cursorBottom): ditto
6321 (setParagraph): use ParagraphList::iterator
6322 (setCurrentFont): adjust
6323 (getColumnNearX): adjust
6324 (cursorRight): adjust
6325 (cursorLeft): remove usage of Paragraph::previous
6326 (cursorUpParagraph): ditto
6327 (deleteEmptyParagraphMechanism): slight cleanup
6329 * text.C (isBoundary): take a Paragraph const & instead of a
6331 (addressBreakPoint): ditto
6332 (leftMargin): remove usage of Paragraph::previous.
6333 (setHeightOfRow): ditto
6334 (cursorLeftOneWord): ditto
6335 (selectNextWordToSpellcheck): ditto
6338 (breakParagraph): remove one usage of Paragraph::next
6339 (redoParagraph): ditto
6340 (acceptChange): ditto
6341 (insertChar): adjust
6342 (rowBreakPoint): adjust
6344 * bufferview_funcs.C (toggleAndShow): adjust
6346 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6348 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6349 methods to access it.
6351 * text.C: Added updateRowPositions to compute all row positions.
6352 Make top_y and getRowNearY() to use the cached y position
6354 2003-04-11 John Levon <levon@movementarian.org>
6356 * text.C (rowBreakPoint): reintroduce the labelEnd
6357 checks, code copied from the row fill stuff. Deep voodoo.
6359 * text.C (fill): add a comment and debugging for the
6362 2003-04-11 John Levon <levon@movementarian.org>
6364 * text.C: make sure fullrow insets get wrapped to the next line,
6365 even when they're in a manual label
6367 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6369 * text2.C (insertParagraph): make it take ParagraphList::iterator
6371 (setLayout): make it return ParagraphList::iterator
6372 (redoParagraphs): ditto
6374 (checkParagraph): ditto
6376 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6378 * text2.C: adjust several funcs.
6379 (realizeFont): take a ParagraphList::iterator as arg.
6380 (getLayoutFont): ditto
6381 (getLabelFont): ditto
6382 (setCharFont): ditto
6384 * text.C: adjust several funcs.
6386 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6388 * text.C (selectNextWordToSpellcheck): don't accidentally
6391 2003-04-10 John Levon <levon@movementarian.org>
6393 * ToolbarBackend.C (getIcon): special handling for
6396 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6398 * text2.C (cursorRight): a getChar assert fixed
6400 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6402 * text2.C (getFont): change to take a ParagraphList::iterator
6403 instead of Paragraph*
6404 Adjust several functions.
6406 * text.C (transformChar): change to take a ParagraphList::iterator
6407 instead of Paragraph*
6408 (singleWidth): ditto
6409 Adjust several functions.
6411 * rowpainter.C: adjust several functions
6412 * rowpainter.h:store a ParagraphList::iterator and not a
6416 2003-04-09 John Levon <levon@movementarian.org>
6421 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6422 and the "help" bits as well
6424 2003-04-09 John Levon <levon@movementarian.org>
6427 * ToolbarBackend.C: allow multiple toolbars
6429 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6431 * undo_funcs.C (setCursorParUndo): adjust
6433 * text_funcs.C (transposeChars): adjust
6435 * text3.C (gotoNextInset): adjust
6438 * text2.C (setLayout): adjust
6439 (changeDepth): adjust
6441 (redoParagraphs): adjust
6442 (selectionAsString): adjust
6443 (setParagraph): adjust
6444 (insertInset): adjust
6445 (cutSelection): adjust
6446 (copySelection): adjust
6447 (pasteSelection): adjust
6448 (insertStringAsLines): adjust
6449 (updateInset): adjust
6450 (setCursor): change to take a ParagraphList::iterator parameter
6451 (setCursorIntern): change to take a ParagraphList::iterator parameter
6452 (setCurrentFont): adjust
6453 (cursorLeft): adjust
6454 (cursorRight): adjust
6455 (deleteEmptyParagraphMechanism): adjust
6457 * text.C (breakParagraph): adjust
6458 (insertChar): adjust
6459 (acceptChange): adjust
6460 (rejectChange): adjust
6461 (selectNextWordToSpellcheck): adjust
6462 (changeCase): adjust
6466 * lyxfind.C (SearchForward): adjust
6467 (SearchBackward): adjust
6468 (nextChange): adjust
6470 * lyxcursor.C (par): adjust
6472 * lyxcursor.h: store a ParagraphList::iterator instead of a
6475 * lyx_cb.C (getPossibleLabel): adjust
6477 * bufferview_funcs.C (toggleAndShow): adjust
6479 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6482 * BufferView.C (removeAutoInsets): adjust
6483 (lockedInsetStoreUndo): adjust
6485 2003-04-09 John Levon <levon@movementarian.org>
6487 * ToolbarBackend.C: try icon without argument
6488 if with argument fails
6490 2003-04-08 John Levon <levon@movementarian.org>
6493 * ToolbarBackend.C: add getIcon(), handle tooltip,
6494 and change from "Icon" to "Item".
6496 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6498 * BufferView.C (lockInset): another bad getchar crunched
6500 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6502 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6505 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6507 * lyxfind.C (searchForward, searchBackwards): bug 782
6509 2003-04-07 John Levon <levon@movementarian.org>
6511 * paragraph.C: remove dead comment
6513 * text.C: remove troublesome depth-fiddling code
6514 in leftMargin() and rightMargin() (bug 1017)
6516 * text.C: fix breaking of rows in nested lists
6519 * text2.C (updateCounters): fix up depth values
6522 2003-04-07 John Levon <levon@movementarian.org>
6524 * BufferView_pimpl.C: clear message when doc finishes resizing,
6525 and after a mouse event
6527 * lyxfunc.C: clear message after exiting inset
6529 2003-04-07 John Levon <levon@movementarian.org>
6531 * bufferview_funcs.C: show math status not outside
6532 status in the statusbar
6534 2003-04-07 John Levon <levon@movementarian.org>
6536 * lyxfunc.C: note status changed after a depth change
6538 2003-04-04 Angus Leeming <leeming@lyx.org>
6540 * LaTeX.h: move AuxInfo operator==, != out of line.
6541 Remove LaTeX virtual destructor; nothing derives from it.
6542 Move operator()() out of public area and rename it startscript().
6543 Change protected for private.
6545 2003-04-04 Angus Leeming <leeming@lyx.org>
6548 * text2.C: remove unneeded #includes.
6550 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6552 * text2.C (dEPM): fix the heigth of the next row
6554 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6556 * text.C: squashed an invalid getChar requester + some ws changes
6558 2003-04-03 John Levon <levon@movementarian.org>
6560 * bufferview_funcs.h:
6561 * bufferview_funcs.C:
6564 * text2.C: make getStatus work for the env depth lfuns
6566 2003-04-03 John Levon <levon@movementarian.org>
6568 * bufferview_funcs.h:
6569 * bufferview_funcs.C:
6572 * text2.C: parlistize decDepth(), by merging it with incDepth()
6574 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6576 * lyxrow.h: store a ParagraphList::iterator instead of a
6577 Paragraph* and adjust other class functions to suit.
6579 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6582 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6584 * text2.C (setCursor): do not anchor to cursor row for the time being
6586 2003-04-02 John Levon <levon@movementarian.org>
6593 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6595 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6597 * paragraph.h: make ParagraphList and ParagraphList::iterator
6598 friends of Paragraph.
6600 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6602 * ParagraphList.C: Use the private next_ and previous_ from
6605 2003-04-01 John Levon <levon@movementarian.org>
6609 * Makefile.am: rename, remove defaults gunk
6612 * MenuBackend.C: remove defaults gunk
6615 * Languages.C: remove defaults gunk
6618 * lyx_main.C: error out if files couldn't be found.
6620 2003-04-02 John Levon <levon@movementarian.org>
6622 * text2.C: make incDepth() use parlist
6624 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6626 * undo_funcs.C (firstUndoParagraph): adjust
6628 * text3.C (gotoInset): adjust
6629 (dispatch): adjust, and rewrite loop.
6631 * text2.C (init): adjust, and rewrite loop.
6632 (redoParagraphs): adjust
6633 (updateInset): adjust, and rewrite loop.
6634 (deleteEmptyParagraphMechanism): adjust
6636 * tabular.C (LyXTabular): adjust
6637 (SetMultiColumn): adjust
6640 * lyxtext.[Ch] (ownerParagraph): delete function
6641 (ownerParagraphs): new function returns a ParagraphList.
6643 * BufferView.C (removeAutoInsets): adjust
6644 (insertErrors): adjust
6645 (setCursorFromRow): adjust
6647 2003-04-01 Angus Leeming <leeming@lyx.org>
6649 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6652 2003-04-02 John Levon <levon@movementarian.org>
6658 * text_funcs.C: make transposeChars a free function
6660 * lyxrow_funcs.C: remove wrong comment
6662 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6665 * rowpainter.C: adjust
6670 * lyxrow_funcs. [Ch]: new files
6672 * lyxrow.[Ch]: remove next and previous pointers
6673 (next,previous): remove accessor functions
6674 (isParEnd): move to lyxrow_funcs
6675 (lastPos): move to lyxrow_funcs
6676 (nextRowIsAllInset): move to lyxrow_funcs
6677 (lastPrintablePos): move to lyxrow_funcs
6678 (numberOfSeparators): move to lyxrow_funcs
6679 (numberOfHfills): move to lyxrow_funcs
6680 (numberOfLabelHfills): move to lyxrow_funcs
6681 (hfillExpansion): move to lyxrow_funcs
6685 * bufferview_funcs.C (toggleAndShow): adjust
6687 * RowList.h: Remove class RowList from file leave just a
6690 * RowList.C: delete file
6692 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6695 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6697 * text3.C (cursorPrevious): adjust
6698 (cursorNext): adjust
6701 * text2.C (redoHeightOfParagraph): adjust
6702 (redoDrawingOfParagraph): adjust
6705 * text.C (breakParagraph): adjust
6706 (insertChar): adjust
6709 * rowpainter.C (RowPainter): adjust
6710 (leftMargin): simplify and adjust
6711 (most rowpainter functions): adjust.
6713 * rowpainter.h: store the row as RowList::iterator not as Row*
6715 * lyxcursor.C (row): taka RowList::iterator as arg
6718 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6721 2003-04-01 Angus Leeming <leeming@lyx.org>
6723 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6724 stuff like bool Bool.
6726 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6728 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6731 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6733 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6736 * lyxtext.h (rows): drop one version and leve a const variant that
6737 returns a RowList::iterator.
6739 2003-03-31 Angus Leeming <leeming@lyx.org>
6741 * text.C (fill): ensure that the signature is the same as that in the
6744 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6746 * text2.C (redoParagraphs): adjust
6747 (updateCounters): adjust
6748 (checkParagraph): adjust
6749 (getColumnNearX): adjust and reformat a bit.
6751 * text.C (top_y): adjust
6753 (leftMargin): adjust
6754 (prepareToPrint): adjust
6756 (getRowNearY): adjust
6758 * lyxtext.h: make rowlist_ mutable.
6760 * RowList.h: add const_iterator
6761 * RowList.C: adjust for RowList::const_iterator.
6763 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6766 2003-03-31 John Levon <levon@movementarian.org>
6769 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6771 * lyx_main.C: set default fonts from using lyx_gui funcs
6773 * exporter.C: pdf_mode moved from lyxrc
6776 * lyxfunc.C: changes from above
6778 2003-03-31 John Levon <levon@movementarian.org>
6780 * lyx_main.C: fix to the last fix
6782 2003-03-31 John Levon <levon@movementarian.org>
6784 * bufferlist.C: "Load original" -> "Load Original"
6790 * format.C: more Alert cleanups
6792 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6794 * text2.C (removeParagraph): make it take a RowList::iterator as
6796 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6797 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6799 * text.C (anchor_row): make it take a RowList::iterator as arg,
6801 (computeBidiTables): make it take a const reference to Row instead
6802 of Row pointer, adjust.
6803 (leftMargin): make it take a RowList::iterator as arg, adjust.
6804 (rowBreakPoint): adjust
6805 (breakAgainOneRow): make it take a RowList::iterator as arg,
6807 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6809 * bufferview_funcs.C (toggleAndShow): adjust
6811 2003-03-30 John Levon <levon@movementarian.org>
6815 * boost-inst.C: moved to support
6817 * several files: changes as a result
6819 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6821 * text2.C (LyXText): adjust.
6823 (removeRow): make it take a RowList::iterator as arg, adjust.
6824 (fullRebreak): adjust
6825 (deleteEmptyParagraphMechanism): adjust
6826 (clearPaint): adjust
6829 * text.C (top_y): adjust
6830 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6831 (breakAgain): make it take a RowList::iterator as arg, adjust.
6832 (breakParagraph): adjust
6833 (insertChar): adjust
6836 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6837 need_break_row, and refresh_row.
6839 * text3.C (dispatch): adjust
6841 * text2.C (checkParagraph): adjust
6843 (setCursorFromCoordinates): adjust
6845 * text.C (top_y): adjust
6847 (getRow): make it return a RowList::iterator, adjust
6848 (getRowNearY): make it return a RowList::iterator, adjust
6850 * text2.C (init): adjust
6851 (insertRow): remove function
6852 (insertParagraph): adjust
6853 (redoParagraphs): adjust
6854 (fullRebreak): adjust
6855 (updateCounters): adjust
6857 * text.C (top_y): rewrite to use RowList iterators.
6859 (setHeightOfRow): rewrite to sue RowList iterators.
6860 (appendParagraph): adjust
6861 (breakAgain): adjust
6862 (breakAgainOneRow): adjust
6863 (breakParagraph): adjust
6865 (getRowNearY): adjust, and remove commented code.
6867 * lyxtext.h (firstRow): delete function
6868 (lastRow): delete function
6869 (rows): new function (const and non-const versions.)
6870 (insertRow): delete function
6872 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6874 2003-03-29 John Levon <levon@movementarian.org>
6876 * BufferView_pimpl.C: always update scrollbar top
6877 because pasting text when we're anchored could mean we
6878 miss an update altogether
6880 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6882 * text2.C (init): use rowlist_.end() and not 0.
6883 (insertRow): change to take a RowList::iterator as arg, adjust
6885 (insertParagraph): change to take a RowList::iterator as arg,
6887 (redoParagraphs): remove some debug msgs.
6889 * text.C (appendParagraph): change to take a RowList::iterator
6890 arg, adjust for this.
6891 (breakAgain): add an assert
6892 (breakAgainOneRow): ditto
6894 2003-03-29 John Levon <levon@movementarian.org>
6896 * text2.C: do not clear selection after inc/decDepth
6899 2003-03-29 John Levon <levon@movementarian.org>
6902 * buffer.C: fix broken strerrors according to Lars
6904 2003-03-29 John Levon <levon@movementarian.org>
6906 * converters.C: more Alert cleanups
6908 2003-03-29 John Levon <levon@movementarian.org>
6910 * bufferview_funcs.C: remove pointless Alert
6912 * buffer.C: fix confusing error message when
6913 a template is chmoded 000
6915 2003-03-29 John Levon <levon@movementarian.org>
6919 * BufferView_pimpl.C: Alert fixes
6923 * tabular-old.C: remove unused table compat reading
6925 2003-03-29 John Levon <levon@movementarian.org>
6930 * lyx_cb.C: more Alert cleanups
6932 * lyxfunc.C: don't allow chktex if not latex document
6934 2003-03-29 John Levon <levon@movementarian.org>
6938 * buffer.C: warnings pushed down from support/,
6941 2003-03-29 John Levon <levon@movementarian.org>
6943 * lyxfunc.C: safety check for C-r (revert)
6945 2003-03-29 John Levon <levon@movementarian.org>
6948 * bufferlist.C: several UI fixes using Alert::prompt.
6949 Fix the pointless looping quit code. Fix stupid revert
6954 * lyx_cb.C: use Alert::prompt
6956 * lyx_main.C: remove a silly question
6958 * lyxfunc.C: remove a couple of silly questions,
6961 2003-03-28 John Levon <levon@movementarian.org>
6963 * text2.C: fix bug 974 (End on empty par)
6965 2003-03-28 John Levon <levon@movementarian.org>
6967 * BufferView_pimpl.C:
6969 * lfuns.h: remove do-nothing math greek lfuns
6971 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6973 * lyxgluelength.h (isValidGlueLength): add default arg on
6974 parameter 2. Remove default arg from friend in class.
6976 * lyxlength.h (isValidLength): add default arg on parameter 2.
6977 Remove default arg from friend in class.
6979 * text2.C (LyXText): adjust, initialize refresh_row.
6983 (insertParagraph): adjst
6984 (redoParagraphs): adjust
6985 (fullRebreak): adjust
6986 (updateCounters): adjust
6987 (deleteEmptyParagraphMechanism): first attempt at fixing a
6990 * text.C (top_y): adjust
6991 (setHeightOfRow): adjust
6993 (getRowNearY): adjust
6995 * lyxtext.h: include RowList.h
6996 (~LyXText): not needed anymore, deleted.
6997 (firstRow): modify for RowList
6998 (lastRow): new function
6999 Delete firstrow and lastrow class variables, add a Rowlist
7000 rowlist_ class variable.
7002 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7005 * RowList.C (insert): fix case where it == begin().
7007 2003-03-26 Angus Leeming <leeming@lyx.org>
7009 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7010 the thesaurus dialog.
7012 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7014 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7016 * RowList.[Ch]: new files
7018 * ParagraphList.C (erase): handle the case where it == begin
7021 2003-03-25 John Levon <levon@movementarian.org>
7025 * aspell.C: add new aspell support
7028 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7031 2003-03-25 Angus Leeming <leeming@lyx.org>
7034 * LyXAction.C (init): new LFUN_INSET_INSERT.
7036 * BufferView_pimpl.C (dispatch): split out part of the
7037 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7039 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7042 2003-03-25 Angus Leeming <leeming@lyx.org>
7044 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7046 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7049 * text3.C: remove useless row->height(0)
7051 2003-03-25 John Levon <levon@movementarian.org>
7055 * text3.C: rename the refreshing stuff to better names
7057 2003-03-24 John Levon <levon@movementarian.org>
7059 * BufferView_pimpl.h:
7060 * BufferView_pimpl.C: update layout choice on a mouse
7063 2003-03-23 John Levon <levon@movementarian.org>
7065 * Makefile.am: fix commandtags.h reference
7067 2003-03-22 John Levon <levon@movementarian.org>
7069 * BufferView_pimpl.C:
7074 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7076 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7079 * text.C: take the rtl methods out of line
7081 2003-03-21 André Pönitz <poenitz@gmx.net>
7083 * metricsinfo.[Ch]: new files containing structures to be passed around
7084 during the two-phase-drawing...
7086 2003-03-21 André Pönitz <poenitz@gmx.net>
7088 * lyxtextclass.C: read 'environment' tag.
7090 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7092 * text2.C (removeRow): fix bug 964
7094 2003-03-20 John Levon <levon@movementarian.org>
7098 * text2.C: paint cleanups. Inset::update() dropped font
7101 2003-03-19 John Levon <levon@movementarian.org>
7103 * lyxfunc.C: only fitcursor/markDirty if available()
7105 2003-03-19 John Levon <levon@movementarian.org>
7107 * commandtags.h: rename to ...
7109 * lfuns.h: ... this, and renumber / cleanup
7111 2003-03-19 John Levon <levon@movementarian.org>
7113 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7114 fit the cursor after an lfun
7118 * BufferView_pimpl.h:
7119 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7121 * LyXAction.C: layout-character should have ReadOnly
7123 * ParagraphParameters.C:
7125 * bufferview_funcs.C:
7132 * undo_funcs.C: changes from above
7134 2003-03-18 John Levon <levon@movementarian.org>
7136 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7137 remove it from update()
7139 * lyxfunc.C: update layout choice after an lfun
7141 * text3.C: remove extra updateLayoutChoice()s
7143 2003-03-18 John Levon <levon@movementarian.org>
7145 * text.C: top_y change means full repaint, fix
7146 a drawing bug with cursor movement
7148 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7152 * text2.C: anchor row on setCursor
7154 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7156 * lyxtext.h: remove almost all mutable keywords
7159 * text3.C: remove const keywords accordingly
7161 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7163 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7165 (TeXEnvironment): ditto
7168 2003-03-17 John Levon <levon@movementarian.org>
7170 * text.C (rowBreakPoint): remove attempt to fix displayed
7171 math insets inside a manual label
7173 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7175 * lyxtext.h: remove BufferView* as first arg from almost all class
7177 * other files: adjust.
7179 2003-03-17 John Levon <levon@movementarian.org>
7183 * text2.C: more paint cleanups
7185 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7188 * rowpainter.C: remove "smart" background painting code
7190 2003-03-16 John Levon <levon@movementarian.org>
7195 * text3.C: add helper functions for setting refresh_row/y
7197 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7199 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7200 newline inset which *can* get inserted in the pass_thru layouts.
7201 This is primarily for literate documents.
7203 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7205 * buffer.C: increment LYX_FORMAT to 223
7207 2003-03-14 André Pönitz <poenitz@gmx.net>
7209 * textclass.h: prepare for environment handling, ws changes
7210 * lyxlayout.C: read latexheader and latexfooter tags
7212 2003-03-14 John Levon <levon@movementarian.org>
7214 * text2.C: rewrite ::status() a bit
7216 2003-03-13 John Levon <levon@movementarian.org>
7218 * lyxtext.h: add some docs
7220 2003-03-13 John Levon <levon@movementarian.org>
7225 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7227 2003-03-13 John Levon <levon@movementarian.org>
7229 * text3.C: fix appendix redrawing
7231 2003-03-13 John Levon <levon@movementarian.org>
7233 * text.C (setHeightOfRow):
7235 * rowpainter.C: make appendix mark have the text
7236 "Appendix" so the user knows what it is
7239 * LColor.C: s/appendixline/appendix/ from above
7241 2003-03-13 John Levon <levon@movementarian.org>
7243 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7245 * text.C: fix a getChar(pos) bug properly
7247 2003-03-13 Angus Leeming <leeming@lyx.org>
7250 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7251 Probably only temporary. Let's see how things pan out.
7253 * BufferView.C (unlockInset):
7254 * BufferView_pimpl.C (fitCursor):
7255 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7257 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7258 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7260 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7261 new functions that convert ParagraphParameters to and from a string.
7263 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7264 BufferView::Pimpl's dispatch.
7265 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7267 2003-03-13 André Pönitz <poenitz@gmx.net>
7271 * factory.C: make it aware of InsetEnv
7273 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7275 * text2.C (setCursor): never ask for one past last
7276 (setCursor): add some debugging messages.
7278 * text.C (singleWidth): never ask for one past last
7279 (singleWidth): ditto
7281 (rightMargin): ditto
7282 (rowBreakPoint): ditto
7283 (setHeightOfRow): ditto
7284 (prepareToPrint): ditto
7286 * rowpainter.C (paintBackground): never ask for one past last
7287 (paintText): never ask for one past last
7289 * paragraph_pimpl.C (getChar): make the assert stricter, never
7290 allow the one past last pos to be taken
7292 * paragraph.C (getChar): ws changes only
7294 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7295 (numberOfSeparators): ditto
7296 (numberOfHfills): ditto
7298 2003-03-12 John Levon <levon@movementarian.org>
7304 * paragraph_funcs.C: fix per-buffer authorlists
7306 2003-03-12 John Levon <levon@movementarian.org>
7308 * text.C: fix newline in right address
7310 2003-03-12 Angus Leeming <leeming@lyx.org>
7312 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7313 duplicate those in LyXFunc::dispatch.
7317 * ToolbarDefaults.C:
7318 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7319 Add LFUN_FONTFREE_UPDATE.
7321 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7322 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7324 * bufferview_func.[Ch]: several new functions to facilliate
7325 transfer of data to and from the character dialog.
7327 2003-03-12 John Levon <levon@movementarian.org>
7332 * paragraph_funcs.C:
7333 * paragraph_pimpl.C:
7337 * text3.C: remove META_NEWLINE in favour of an inset
7340 * rowpainter.C: remove paintNewline (done by inset)
7342 2003-03-12 John Levon <levon@movementarian.org>
7344 * paragraph_pimpl.C: complain about bad getChar()s
7345 for a while at least
7347 2003-03-12 John Levon <levon@movementarian.org>
7350 * buffer.C: move paragraph read into a separate function,
7351 a little renaming to reflect that.
7354 * bufferparams.C: remove the author_ids map, not necessary now
7357 * factory.C: moved Buffer::readInset to here
7359 * paragraph_funcs.h:
7360 * paragraph_funcs.C: readParagraph free function moved from
7363 * tabular.C: name change
7365 2003-03-12 John Levon <levon@movementarian.org>
7368 * ParagraphParameters.C: move par params input to
7371 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7372 behave like a normal read from the stream wrt reading
7373 a line vs. a \\token
7375 2003-03-12 John Levon <levon@movementarian.org>
7378 * ParagraphParameters.h:
7379 * ParagraphParameters.C: move output code to a
7382 2003-03-12 John Levon <levon@movementarian.org>
7384 * BufferView.C (insertLyXFile):
7387 * tabular.C: use a parlist iterator for creating the
7390 2003-03-12 John Levon <levon@movementarian.org>
7392 * buffer.C: make current_change static local not
7395 2003-03-12 John Levon <levon@movementarian.org>
7397 * buffer.C: fix insertStringAsLines for change tracking
7399 2003-03-12 John Levon <levon@movementarian.org>
7406 * bufferparams.C: move author list into params. Rename some
7407 functions. Move the header reading into a separate token
7408 loop. Move the header token reading into BufferParams.
7410 2003-03-12 John Levon <levon@movementarian.org>
7412 * changes.C: put debug inside lyxerr.debugging() checks
7414 2003-03-11 André Pönitz <poenitz@gmx.net>
7416 * factory.C: make it aware of InsetHFill
7418 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7420 * buffer.C (latexParagraphs): move function from here...
7421 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7424 2003-03-10 Angus Leeming <leeming@lyx.org>
7426 * LyXAction.C (init): fix bug in poplating array with multiple entries
7427 with the same LFUN (spotted by JMarc).
7429 2003-03-10 John Levon <levon@movementarian.org>
7432 * text2.C: move getColumnNearX() near its
7435 2003-03-10 John Levon <levon@movementarian.org>
7437 * text.C: fix break before a minipage
7439 2003-03-10 John Levon <levon@movementarian.org>
7441 * text.C: fix the last commit
7443 2003-03-09 John Levon <levon@movementarian.org>
7447 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7448 bug 365 (don't break before insets unless needed). Don't
7449 return a value > last under any circumstances.
7451 2003-03-09 Angus Leeming <leeming@lyx.org>
7453 * BufferView_pimpl.C (trackChanges, dispatch): call
7454 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7456 2003-03-09 Angus Leeming <leeming@lyx.org>
7458 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7459 than Dialogs::showAboutlyx().
7461 2003-03-09 Angus Leeming <leeming@lyx.org>
7463 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7464 than Dialogs::showTabularCreate().
7466 2003-03-09 John Levon <levon@movementarian.org>
7470 * text2.C: 3rd arg to nextBreakPoint was always the same.
7473 2003-03-08 John Levon <levon@movementarian.org>
7480 * text2.C: Remove the "main" bit from the "main body"
7483 2003-03-08 John Levon <levon@movementarian.org>
7485 * text.C (leftMargin): The left margin of an empty
7486 manual label paragraph should not include the label width
7489 * text.C (prepareToPrint): don't attempt to measure hfills
7490 for empty manual label paragraphs - the answer should be 0
7492 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7494 * CutAndPaste.C: remove commented code and reindent.
7496 2003-03-08 John Levon <levon@movementarian.org>
7499 * lyxfunc.C: move reloadBuffer()
7502 * BufferView.C: to here
7504 * lyxvc.C: add comment
7507 * vc-backend.C: call bv->reload() to avoid
7508 getStatus() check on MENURELOAD
7510 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7512 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7513 to an old format .dep file.
7515 2003-03-07 Angus Leeming <leeming@lyx.org>
7517 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7518 when the LFUN_MOUSE_RELEASE should have been handled by
7519 inset->localDispatch.
7521 2003-03-07 Angus Leeming <leeming@lyx.org>
7523 * BufferView_pimpl.C (dispatch):
7524 * LyXAction.C (init):
7525 * ToolbarDefaults.C (init):
7527 * lyxfunc.C (getStatus):
7528 remove LFUN_INSET_GRAPHICS.
7530 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7532 2003-03-07 Angus Leeming <leeming@lyx.org>
7535 * LyXAction.C (init):
7536 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7538 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7541 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7543 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7544 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7546 2003-03-07 Angus Leeming <leeming@lyx.org>
7548 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7551 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7553 * ParagraphList.C (front): new function
7556 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7558 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7559 and top_row_offset_. removed var first_y.
7561 * text2.C (LyXText, removeRow):
7563 * BufferView_pimpl.C:
7564 use these methods instead of using first_y
7566 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7568 * text2.C (pasteSelection): adjust for checkPastePossible
7570 * CutAndPaste.C: remove Paragraph * buf and replace with
7571 ParagraphList paragraphs.
7572 (DeleteBuffer): delete
7573 (cutSelection): change the tc type to textclass_type
7574 (copySelection): change the tc type to textclass_type
7575 (copySelection): adjust for ParagraphList
7576 (pasteSelection): change the tc type to textclass_type
7577 (pasteSelection): adjust for Paragraphlist
7578 (nrOfParagraphs): simplify for ParagraphList
7579 (checkPastePossible): simplify for ParagraphList
7580 (checkPastePossible): remove unused arg
7582 * ParagraphList.C (insert): handle the case where there are no
7585 * CutAndPaste.h: make CutAndPaste a namespace.
7587 * text3.C (dispatch): adjust
7589 * text.C (breakParagraph): add a ParagraphList as arg
7591 * paragraph_funcs.C (breakParagraph): change to take a
7592 BufferParams and a ParagraphList as args.
7593 (breakParagraphConservative): ditto
7594 (mergeParagraph): ditto
7595 (TeXDeeper): add a ParagraphList arg
7596 (TeXEnvironment): ditto
7599 * buffer.C (readLyXformat2): adjust
7600 (insertStringAsLines): adjust
7601 (latexParagraphs): adjust
7603 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7604 (cutSelection): adjust
7605 (pasteSelection): adjust
7607 * BufferView_pimpl.C (insertInset): adjust
7609 2003-03-05 Angus Leeming <leeming@lyx.org>
7612 * LyXAction.C (init):
7613 * BufferView_pimpl.C (dispatch):
7614 * lyxfunc.C (getStatus):
7615 remove LFUN_CHILD_INSERT.
7617 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7619 2003-03-05 Angus Leeming <leeming@lyx.org>
7622 * LyXAction.C (init):
7623 * src/factory.C (createInset):
7624 * lyxfunc.C (getStatus):
7625 * text3.C (dispatch):
7626 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7628 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7630 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7632 * ParagraphList.C (insert): handle insert right before end()
7633 (erase): fix cases where it can be first or last paragraph.
7635 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7637 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7638 Paragraph::next and Paragraph::previous
7641 * text.C (breakParagraph): adjust
7643 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7644 BufferParams& as arg.
7645 (breakParagraph): use ParagraphList::insert
7646 (breakParagraphConservative): take a Buffer* instead of a
7647 BufferParams& as arg.
7648 (breakParagraphConservative): use ParagraphList::insert.
7650 * buffer.C (insertStringAsLines): un-const it
7651 (insertStringAsLines): adjust
7653 * ParagraphList.C (insert): new function
7655 * CutAndPaste.C (pasteSelection): adjust
7657 * text.C (backspace): adjust
7659 * tabular.C (SetMultiColumn): adjust
7661 * CutAndPaste.C (cutSelection): adjust
7662 (pasteSelection): adjust
7664 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7665 Buffer const * as arg
7667 * ParagraphList.C (erase): new function
7668 * paragraph_funcs.C (mergeParagraph): use it
7669 (mergeParagraph): make it take a Buffer* instead of a
7670 BufferParams* as arg
7672 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7674 (breakParagraphConservative): ditto
7676 * paragraph.h: remove the breakParagraph friend
7678 * paragraph.C (eraseIntern): new function
7679 (setChange): new function
7681 * paragraph_funcs.C (mergeParagraph): make it take a
7682 ParagraphList::iterator instead of a Paragraph *, adjust
7685 * paragraph.h: move an #endif so that the change tracking stuff
7686 also works in the NO_NEXT case.
7688 2003-03-04 Angus Leeming <leeming@lyx.org>
7691 * LyXAction.C: new LFUN_INSET_MODIFY.
7693 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7694 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7696 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7698 * several files: ws changes only
7700 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7701 (TeXEnvironment): ditto
7704 * buffer.C (makeLaTeXFile): adjust
7705 (latexParagraphs): make it take ParagraphList::iterator as args
7707 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7709 * buffer.C (latexParagraphs): adjust
7711 * paragraph.C (TeXOnePar): move function...
7712 (optArgInset): move function...
7713 (TeXEnvironment): move function...
7714 * paragraph_pimpl.C (TeXDeeper): move function...
7715 * paragraph_funcs.C: ...here
7717 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7719 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7721 * buffer.C (readInset): remove compability code for old Figure and
7724 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7726 * buffer.C: ws changes
7729 * BufferView_pimpl.C: ditto
7732 * bufferlist.h: ditto
7736 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7738 * converter.[Ch]: split into itself +
7741 * Makefile.am: += graph.[Ch] + format.[Ch]
7748 * lyxrc.C: added #include "format.h"
7750 2003-02-27 Angus Leeming <leeming@lyx.org>
7752 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7755 * factory.C (createInset): add "label" to the factory.
7757 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7758 string and do no more.
7760 2003-02-27 Angus Leeming <leeming@lyx.org>
7763 * LyXAction.C (init):
7764 * factory.C (createInset):
7765 * BufferView_pimpl.C (dispatch):
7766 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7768 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7770 * lyxfunc.C (dispatch):
7771 * text3.C (dispatch): pass name to params2string.
7773 2003-02-26 Angus Leeming <leeming@lyx.org>
7775 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7777 Rearrange the ~includes. Strip out the unnecessary ones.
7779 * factory.C (createInset): reformat.
7780 create new insets for the various LFUN_XYZ_APPLY lfuns.
7782 2003-02-26 John Levon <levon@movementarian.org>
7785 * lyxrow.C: add isParStart,isParEnd helpers
7787 * paragraph.h: make isInserted/DeletedText take refs
7789 * paragraph_funcs.h:
7790 * paragraph_funcs.C: remove #if 0'd code
7795 * text.C: use lyxrow helpers above.
7796 Move draw and paint routines to RowPainter.
7797 Make several methods use refs not pointers.
7798 Make backgroundColor() const.
7799 Add markChangeInDraw(), isInInset().
7800 Merge changeRegionCase into changeCase.
7801 Make workWidth() shouldn't-happen code into an Assert.
7804 * rowpainter.C: new class for painting a row.
7807 * vspace.C: make inPixels take a ref
7809 2003-02-26 Angus Leeming <leeming@lyx.org>
7811 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7814 2003-02-25 John Levon <levon@movementarian.org>
7816 * ispell.C: give the forked command a more accurate name
7818 2003-02-22 John Levon <levon@movementarian.org>
7821 * toc.C: make TocItem store an id not a Paragraph *
7824 2003-02-21 Angus Leeming <leeming@lyx.org>
7826 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7827 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7828 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7829 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7830 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7831 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7833 * BufferView_pimpl.C (dispatch):
7834 * LyXAction.C (init):
7835 * factory.C (createInset):
7836 * lyxfunc.C (getStatus, dispatch):
7837 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7839 2003-02-21 Angus Leeming <leeming@lyx.org>
7841 * BufferView_pimpl.C (MenuInsertLyXFile):
7842 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7843 * lyxfunc.C (menuNew, open, doImport):
7844 no longer pass a LyXView & to fileDlg.
7846 2003-02-21 Angus Leeming <leeming@lyx.org>
7848 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7849 * LyXAction.C: change, BIBKEY to BIBITEM.
7850 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7851 Change InsetBibKey to InsetBibitem.
7852 Change BIBKEY_CODE to BIBITEM_CODE.
7853 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7854 * factory.C: replace insetbib.h with insetbibitem.h.
7855 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7856 * paragraph.C: replace insetbib.h with insetbibitem.h.
7857 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7858 Change bibkey() to bibitem().
7859 * text.C: remove insetbib.h.
7860 * text2.C: replace insetbib.h with insetbibitem.h.
7861 change bibkey() to bibitem().
7862 * text3.C: remove insetbib.h.
7863 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7865 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7867 * lyxrc.C (output): enclose user email in quotes (in case there are
7870 2003-02-18 John Levon <levon@movementarian.org>
7872 * buffer.h: add std::
7874 2003-02-17 John Levon <levon@movementarian.org>
7880 * pspell.C: reworking. Especially in ispell, a large
7881 number of clean ups and bug fixes.
7883 * lyxfunc.C: fix revert to behave sensibly
7885 2003-02-17 André Pönitz <poenitz@gmx.net>
7888 * commandtags.h: new LFUN_INSERT_BIBKEY
7898 * paragraph_func.C: remove special bibkey handling
7900 2003-02-17 John Levon <levon@movementarian.org>
7902 * text.C (Delete): fix case where delete at the end of
7903 the very first paragraph would not merge the pars
7905 2003-02-17 John Levon <levon@movementarian.org>
7907 * lyxrow.C: fix lastPrintablePos()
7909 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7911 * bufferparams.C (writeLaTeX): add a std:here
7913 * buffer.C: and remove a using directive there
7915 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7917 * buffer.C (makeLaTeXFile): move the code that generates the
7920 * bufferparams.C (writeLaTeX): ... in this new method
7922 * LaTeXFeatures.C (getEncodingSet): make const
7923 (getLanguages): make const
7925 * MenuBackend.C (binding): returns the binding associated to this
7927 (add): sets the status of each item by calling getStatus. Adds
7929 (read): add support for OptSubMenu
7930 (expand): remove extra separator at the end of expanded menu
7932 2003-02-15 John Levon <levon@movementarian.org>
7935 * BufferView_pimpl.C:
7937 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7938 inset code that had no actual effect. Remove unneeded status
7941 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7943 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7946 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7948 * text.C (drawLengthMarker): also draw an arrow marker for
7949 symbolic lengths (medskip...)
7951 2003-02-14 John Levon <levon@movementarian.org>
7954 * tabular.C: better method names
7956 2003-02-14 John Levon <levon@movementarian.org>
7958 * BufferView_pimpl.C:
7963 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7964 it's a more accurate name. Remove some pointless uses.
7966 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7968 * text2.C (LyXText): change order of initilizers to shut off
7971 2003-02-14 John Levon <levon@movementarian.org>
7973 * buffer.C: use ParIterator for getParFromID()
7977 * paragraph_pimpl.h:
7978 * paragraph_pimpl.C: remove unused getParFromID()
7980 2003-02-14 John Levon <levon@movementarian.org>
7982 * buffer.C: remove some very old #if 0'd parse code
7984 2003-02-13 John Levon <levon@movementarian.org>
7988 * text2.C: move hfillExpansion(), numberOfSeparators(),
7989 rowLast(), rowLastPrintable(), numberofHfills(),
7990 numberOfLabelHfills() ...
7993 * lyxrow.C: ... to member functions here.
7998 * text.C: remove LyXText::beginningOfMainBody(), and call
7999 p->beginningOfMainBody() directly. Move the check for
8000 LABEL_MANUAL into the latter.
8007 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8013 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8014 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8016 2003-02-13 John Levon <levon@movementarian.org>
8018 * CutAndPaste.C: remove debug
8020 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8022 * paragraph.C (asString): remove two unused variables
8024 * lyxtextclass.C (readTitleType):
8026 (LyXTextClass): handle new members titletype_ and titlename_
8028 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8030 2003-02-09 John Levon <levon@movementarian.org>
8033 * buffer.C: replace hand-coded list with a map for the dep clean
8035 2003-02-08 John Levon <levon@movementarian.org>
8037 * LaTeX.C: consolidate code into showRunMessage() helper
8039 2003-02-08 John Levon <levon@movementarian.org>
8044 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8045 and pass the size in explicitly
8047 * BufferView_pimpl.h:
8048 * BufferView_pimpl.C:
8050 * BufferView.C: add getCurrentChange()
8052 * BufferView_pimpl.h:
8053 * BufferView_pimpl.C: handle change lfuns
8055 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8056 for changes. Mark pasted paragraphs as new.
8058 * support/lyxtime.h:
8059 * support/lyxtime.C:
8060 * DepTable.C: abstract time_t as lyx::time_type
8063 * LColor.C: add colours for new text, deleted text, changebars
8065 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8066 package use "usenames" option.
8070 * LyXAction.C: add change lfuns
8074 * author.C: author handling
8077 * buffer.C: add a per-buffer author list, with first entry as
8078 current author. Handle new .lyx tokens for change tracking. Output
8079 author list to .lyx file. Output dvipost stuff to .tex preamble.
8080 Bump lyx format to 222.
8083 * bufferlist.C: add setCurrentAuthor() to reset current author details
8087 * bufferparams.C: add param for tracking
8089 * bufferview_funcs.C: output change info in minibuffer
8093 * changes.C: add change-tracking structure
8096 * debug.C: add CHANGES debug flag
8099 * lyxfind.C: add code for finding the next change piece
8102 * lyxrc.C: add user_name and user_email
8105 * lyxrow.C: add a metric for the top of the text line
8108 * text.C: implement accept/rejectChange()
8111 * text.C: paint changebars. Paint new/deleted text in the chosen
8112 colours. Strike through deleted text.
8116 * paragraph_pimpl.h:
8117 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8118 in the current change to the insert functions. Rework erase to
8119 mark text as deleted, adding an eraseIntern() and a range-based
8120 erase(). Implement per-paragraph change lookup and
8123 * paragraph_funcs.C: Fixup paste for change tracking.
8125 * tabular.C: mark added row/columns as new.
8127 * text.C: fix rowLast() to never return -1. Don't allow
8128 spellchecking of deleted text. Track transpose changes. Don't
8129 allow paragraph break or merge where appropriate.
8131 * text2.C: leave cursor at end of selection after a cut.
8133 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8135 * text.C (getLengthMarkerHeight):
8136 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8137 visible on screen too.
8139 2003-02-07 John Levon <levon@movementarian.org>
8141 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8143 2003-02-05 Angus Leeming <leeming@lyx.org>
8145 * lyxserver.C (read_ready): revert my patch of 11 September last year
8146 as it sends PC cpu through the roof. Presumably this means that
8147 the lyxserver will no longer run on an Alpha...
8149 2003-01-30 Angus Leeming <leeming@lyx.org>
8151 * factory.C (createInset): create an InsetCommandParam of type "index"
8152 and use it to 'do the right thing'.
8154 * text2.C (getStringToIndex): ensure that cursor position is always
8155 reset to the reset_cursor position.
8157 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8159 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8162 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8166 * lyxfunc.C: Output messages with identical spelling, punctuation,
8169 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8171 * MenuBackend.C (expandFormats): List only viewable export formats
8174 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8177 * lyxfunc.C (getStatus): Make sure that formats other than
8178 "fax" can also be disabled
8180 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8182 * text3.C (dispatch): put the lfuns that insert insets in 3
8183 groups, and call doInsertInset with appropriate arguments.
8184 (doInsertInset): new function, that creates an inset and inserts
8185 it according to some boolean parameters.
8187 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8189 * buffer.C (readFile): remember to pass on 'par' when calling
8190 readFile recursively.
8192 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8194 * MenuBackend.C (expandFormats): add "..." to import formats.
8196 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8198 * paragraph.C (asString): Remove XForms RTL hacks.
8200 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8201 * buffer.C: fix typo
8203 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8205 * Makefile.am (LIBS): delete var
8206 (lyx_LDADD): add @LIBS@ here instead.
8208 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8210 * Clarify the meaning of "wheel mouse jump"
8212 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8214 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8217 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8219 * importer.C (Loaders): do not preallocate 3 elements in the
8220 vector, since one ends up with 6 elements otherwise
8222 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8224 * DepTable.C (write): write the file name as last element of the
8225 .dep file (because it may contain spaces)
8226 (read): read info in the right order
8228 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8230 * paragraph_pimpl.C (simpleTeXBlanks):
8231 (simpleTeXSpecialChars):
8232 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8234 * tabular.C (latex): add some missing case statements. Reindent.
8236 * MenuBackend.C (expandToc): remove unused variable.
8238 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8247 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8250 2003-01-05 John Levon <levon@movementarian.org>
8253 * BufferView.C: add getEncoding()
8256 * kbsequence.C: do not store last keypress
8259 * lyxfunc.C: store last keypress here instead. Pass encoding
8262 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8264 * lyx_main.C (init): remove annoying error message when following
8265 symbolic links (bug #780)
8267 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8269 * text.C (insertChar):
8270 * lyxrc.C (getDescription): remove extra spaces
8272 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8274 * lyxrc.C (getDescription): remove extra spaces
8276 2002-12-20 John Levon <levon@movementarian.org>
8278 * text3.C: hack fix for page up/down across tall rows
8280 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8282 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8285 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8287 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8288 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8289 thesaurus is not compiled in
8291 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8293 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8295 2002-12-16 Angus Leeming <leeming@lyx.org>
8298 * lyx_main.C (init): remove override_x_deadkeys stuff.
8300 2002-12-12 John Levon <levon@movementarian.org>
8302 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8303 insert. Only remove shift modifier under strict
8306 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8308 * MenuBackend.C (expandToc): fix crash.
8310 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8312 * MenuBackend.C (expandToc): gettext on float names.
8314 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8316 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8317 implement bool empty() [bug 490]
8319 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8321 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8323 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8325 * several files: ws changes
8327 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8329 * text2.C (setCounter): clean up a bit, use boost.format.
8330 (updateCounters): initialize par upon declaration.
8332 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8333 if the layout exists. We do not just store the layout any more.
8334 (SwitchLayoutsBetweenClasses): use boost.format
8336 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8338 * converter.C (convert): if from and to files are the same, use a
8339 temporary files as intermediary
8341 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8344 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8346 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8348 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8350 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8352 * tabular.C (asciiPrintCell): use string(size, char) instead of
8355 * sgml.C (openTag): fix order of arguments to string constructor
8358 * lyxfunc.C (dispatch): use boost.format
8360 * lots of files: change "c" -> 'c'
8362 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8364 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8366 2002-11-25 Angus Leeming <leeming@lyx.org>
8368 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8370 * lyx_main.C (init): compile fix.
8372 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8374 * lyx_cb.C (start): boost.formatify
8375 do not include <iostream>
8377 * lengthcommon.C: ws only
8379 * boost-inst.C,BoostFormat.h: add more explict instantations
8381 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8383 * lots of files: handle USE_BOOST_FORMAT
8385 2002-11-21 John Levon <levon@movementarian.org>
8387 * pspell.C: fix compile
8389 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8391 * lyxfunc.C (dispatch): use boost::format
8395 * lyxfont.C (stateText): use boost::format
8397 * lyx_main.C (LyX): use boost::format
8399 (queryUserLyXDir): ditto
8402 (typedef boost::function): use the recommened syntax.
8404 * importer.C (Import): use boost::format
8406 * debug.C (showLevel): use boost::format
8408 * converter.C (view): use boost::format
8413 * bufferview_funcs.C (currentState): use boost::format
8415 * bufferlist.C (emergencyWrite): use boost::format
8417 * buffer.C (readLyXformat2): use boost::format
8418 (parseSingleLyXformat2Token): ditto
8420 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8422 * LaTeX.C (run): use boost::format
8424 * Chktex.C (scanLogFile): use boost::format
8426 * BufferView_pimpl.C (savePosition): use boost::format
8427 (restorePosition): ditto
8428 (MenuInsertLyXFile): ditto
8430 * BoostFormat.h: help file for explicit instation.
8432 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8434 * tabular.C (latex): Support for block alignment in fixed width
8437 2002-11-17 John Levon <levon@movementarian.org>
8439 * BufferView_pimpl.C:
8441 * lyxfunc.C: split filedialog into open/save
8443 2002-11-08 Juergen Vigna <jug@sad.it>
8445 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8446 by my last patch (hopefully).
8448 2002-11-08 John Levon <levon@movementarian.org>
8457 * toc.C: ParConstIterator, and use it (from Lars)
8459 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8461 * lyxtextclass.[Ch]: revise and add doxygen comments
8463 2002-11-07 John Levon <levon@movementarian.org>
8465 * text.C: fix progress value for spellchecker
8467 * toc.C: fix navigate menu for insetwrap inside minipage
8469 * paragraph_funcs.C: added FIXME for suspect code
8471 2002-11-07 John Levon <levon@movementarian.org>
8473 * BufferView_pimpl.C: fix redrawing of insets
8476 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8478 * text2.C (updateCounters): fix bug 668
8480 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8482 * text3.C (dispatch): Do not make the buffer dirty when moving the
8485 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8487 * vc-backend.C: STRCONV
8490 * text2.C (setCounter): STRCONV
8492 * paragraph.C (asString): STRCONV
8494 * lyxlength.C (asString): STRCONV
8495 (asLatexString): ditto
8497 * lyxgluelength.C (asString): STRCONV
8498 (asLatexString): ditto
8500 * lyxfunc.C (dispatch): STRCONV
8503 * lyxfont.C (stateText): STRCONV
8505 * importer.C (Import): STRCONV
8507 * counters.C (labelItem): STRCONV
8508 (numberLabel): ditto
8509 (numberLabel): remove unused ostringstream o
8514 * bufferview_funcs.C (currentState): STRCONV
8516 * buffer.C (readFile): STRCONV
8517 (asciiParagraph): ditto
8518 (makeLaTeXFile): ditto
8520 * Spacing.C (writeEnvirBegin): STRCONV
8522 * LaTeXFeatures.C (getLanguages): STRCONV
8523 (getPackages): ditto
8525 (getBabelOptions): ditto
8526 (getTClassPreamble): ditto
8527 (getLyXSGMLEntities): ditto
8528 (getIncludedFiles): ditto
8532 (scanAuxFile): ditto
8535 * LString.h: add the STRCONV macros
8537 * BufferView_pimpl.C (savePosition): STRCONV
8538 (restorePosition): ditto
8539 (MenuInsertLyXFile): ditto
8541 * vc-backend.C (scanMaster): change from submatch[...] to
8544 * funcrequest.C: include config.h
8546 * factory.C: include config.h
8548 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8550 * box.C: include config.h
8552 * LaTeX.C (scanAuxFile): change from submatch[...] to
8556 2002-10-25 Angus Leeming <leeming@lyx.org>
8558 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8560 * ispell.[Ch] (setError): new method.
8561 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8562 Use setError() insetead of goto END.
8564 * lyx_cb.C (AutoSave): move out child process into new class
8567 2002-10-30 John Levon <levon@movementarian.org>
8569 * text3.C: make start appendix undoable
8571 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8573 * lyxlength.C (inPixels): Fix returned value.
8575 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8578 2002-10-24 Angus Leeming <leeming@lyx.org>
8580 * lyxgluelength.h: no need to forward declare BufferParams
8581 or BufferView, so don't.
8583 2002-10-21 John Levon <levon@movementarian.org>
8585 * BufferView.C: menuUndo ->undo, redo
8587 * BufferView.h: document, remove dead, make some methods private
8589 * paragraph_funcs.h:
8590 * paragraph_funcs.C:
8591 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8596 * sgml.C: move sgml open/close tag into sgml.C
8598 * bufferview_funcs.h: unused prototype
8601 * lyxfunc.C: remove unused
8604 * text.C: remove unused
8606 2002-10-21 John Levon <levon@movementarian.org>
8610 * BufferView_pimpl.h:
8611 * BufferView_pimpl.C: fix mouse wheel handling based on
8612 patch from Darren Freeman
8614 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8616 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8618 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8620 * lyxlength.C (inPixels): Fix hanfling of negative length.
8621 Fix LyXLength::MU case.
8623 2002-10-16 John Levon <levon@movementarian.org>
8625 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8627 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8629 * converter.C (view): add support for $$i (file name) and $$p
8630 (file path) for the viewer command. If $$i is not specified, then
8631 it is appended to the command (for compatibility with old syntax)
8633 2002-10-14 Juergen Vigna <jug@sad.it>
8635 * undo_funcs.C (textHandleUndo): alter the order in which the
8636 new undopar is added to the LyXText, as we have to set first
8637 the right prev/next and then add it as otherwise the rebuild of
8638 LyXText is not correct. Also reset the cursor to the right paragraph,
8639 with this IMO we could remove the hack in "redoParagraphs()".
8641 2002-10-09 Angus Leeming <leeming@lyx.org>
8643 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8644 to turn off an optimisation if a new inset is to be inserted.
8646 2002-10-11 André Pönitz <poenitz@gmx.net>
8648 * lyxtext.h: make some functions public to allow access
8649 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8651 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8653 * text3.C (dispatch): when changing layout, avoid an infinite loop
8656 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8658 * lyxrc.C (read): treat a viewer or converter command of "none" as
8661 * MenuBackend.C (expandFormats): for an update, also allow the
8662 formats that are not viewable
8664 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8665 script if it is newer than the lyxrc.defaults in user directory
8667 2002-10-07 André Pönitz <poenitz@gmx.net>
8669 * text.C: Vitaly Lipatov's small i18n fix
8671 2002-09-25 Angus Leeming <leeming@lyx.org>
8673 * ispell.h: doxygen fix.
8675 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8677 * buffer.h (readFile): Add a new argument to the method, to allow
8678 reading of old-format templates.
8680 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8682 * toc.C (getTocList): Get TOC from InsetWrap.
8684 2002-09-16 John Levon <levon@movementarian.org>
8686 * lyxfunc.C: check tabular for cut/copy too
8688 2002-09-12 John Levon <levon@movementarian.org>
8693 * factory.C: add header
8695 * paragraph_funcs.h:
8696 * paragraph_funcs.C: cleanup
8698 2002-09-11 John Levon <levon@movementarian.org>
8700 * PrinterParams.h: odd/even default to true
8702 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8704 * PrinterParams.h: update printer parameters for new xforms dialog
8706 2002-09-11 Angus Leeming <leeming@lyx.org>
8708 * lyxserver.C (read_ready): re-write to make it more transparent
8709 and to make it work in coherent fashion under Tru64 Unix.
8711 2002-09-11 André Pönitz <poenitz@gmx.net>
8715 * text3.C: implement LFUN_WORDSEL
8717 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8719 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8720 make floatlist_ a boost::shared_ptr<FloatList>
8722 * lyxtextclass.C: include FloatList.h
8723 (LyXTextClass): initialize floatlist_
8724 (TextClassTags): add TC_NOFLOAT
8725 (Read): match "nofloat" to TC_NOFLOAT and use it.
8726 (readFloat): modify call to floatlist_
8730 * FloatList.[Ch] (FloatList): remove commented out float
8732 (erase): new function
8734 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8736 * MenuBackend.C (expandToc): fix crash when there is no document
8739 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8741 * many files: Add insetwrap.
8743 2002-09-09 John Levon <levon@movementarian.org>
8745 * text2.C: remove confusing and awkward depth wraparound
8747 2002-09-09 John Levon <levon@movementarian.org>
8749 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8752 * buffer.C: remove getIncludeonlyList()
8755 * lyxfunc.C: remove headers
8757 2002-09-09 Juergen Vigna <jug@sad.it>
8759 * text.C (getColumnNearX): fix form Michael this is most
8760 probably a cut&paste bug.
8762 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8764 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8766 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8767 references, ws changes.
8769 * text2.C (init): update counters after init
8770 (insertParagraph): no need to set counter on idividual paragraphs.
8771 (setCounter): access the counters object in the textclass object
8772 on in the buffer object.
8773 (updateCounters): ditto
8775 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8776 shared_ptr<Counters> to avoid loading counters.h in all
8778 (LyXTextClass): initialize ctrs_
8779 (TextClassTags): add TC_COUNTER, and ...
8780 (Read): use it here.
8781 (CounterTags): new tags
8782 (readCounter): new function
8783 (counters): new funtion
8784 (defaultLayoutName): return a const reference
8786 * counters.C (Counters): remove contructor
8787 (newCounter): remove a couple of unneeded statements.
8788 (newCounter): simplify a bit.
8789 (numberLabel): some small formatting changes.
8791 * buffer.[Ch]: remove all traces of counters, move the Counters
8792 object to the LyXTextClass.
8794 2002-09-06 Alain Castera <castera@in2p3.fr>
8796 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8797 package to set the horizontal alignment on fixed width columns.
8800 * lyx_sty.h: added tabularnewline macro def.
8802 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8804 2002-09-06 John Levon <levon@movementarian.org>
8806 * LyXAction.C: tooltips for sub/superscript
8808 * MenuBackend.C: a bit more verbose
8810 * lyxfunc.C: tiny clean
8812 * undo_funcs.C: document undo_frozen
8814 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8816 * counters.C (Counters): add missing algorithm counter.
8818 * text2.C (setCounter): lookup the counter with layouts latexname
8819 instead of by section number.
8820 (setCounter): use a hackish way to lookup the correct enum
8822 a float name->type change
8823 reset enum couners with counter name directly instead of depth value.
8825 * counters.C (Counters): remove the push_backs, change to use the
8826 float type not the float name.
8827 (labelItem): remove unused string, float name->type change
8829 * counters.h: don't include vector, loose the enums and sects vectors
8831 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8833 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8834 (Read): add float->TC_FLOAT to textclassTags
8835 (Read): and handle it in the switch
8836 (readFloat): new function
8838 * FloatList.C (FloatList): comment out the hardcoded float
8841 * lyxlayout.h: ws change.
8843 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8845 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8847 2002-09-03 Angus Leeming <leeming@lyx.org>
8849 * BufferView_pimpl.h: qualified name is not allowed in member
8850 declaration: WorkArea & Pimpl::workarea() const;
8852 * factory.C: added using std::endl directive.
8854 * text3.C: added using std::find and std::vector directives.
8856 2002-08-29 André Pönitz <poenitz@gmx.net>
8859 * text2.C: remove unused member number_of_rows
8862 * BufferView2.C: remove file, move contents to...
8863 * BufferView.C: ... here
8865 * BufferView_pimpl.C:
8866 * factory.C: move more inset creation to factory
8868 * vspace.C: avoid direct usage of LyXText, ws changes
8871 don't provide direct access to WorkArea, use two simple
8872 acessors haveSelction() and workHeight() instead
8875 2002-08-29 John Levon <levon@movementarian.org>
8877 * BufferView_pimpl.C (dispatch): do not continue when
8880 2002-08-28 André Pönitz <poenitz@gmx.net>
8882 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8885 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8887 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8889 * buffer.C: increment LYX_FORMAT to 221
8891 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8892 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8894 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8896 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8898 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8900 * factory.C (createInset): use LyXTextClass::floats
8902 * MenuBackend.C (expandFloatListInsert):
8903 (expandFloatInsert):
8906 * text2.C (setCounter):
8908 * LaTeXFeatures.C (useFloat):
8909 (getFloatDefinitions):
8911 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8913 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8914 floatlist_, with accessor floats().
8916 * FloatList.h: remove global FloatList
8918 2002-08-26 André Pönitz <poenitz@gmx.net>
8920 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8924 * BufferView_pimpl.C:
8925 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8927 2002-08-25 John Levon <levon@movementarian.org>
8929 * LyXAction.C: fix margin note description
8931 2002-08-24 John Levon <levon@movementarian.org>
8935 * bufferview_funcs.C:
8937 * undo_funcs.C: cleanups
8939 * lyxfunc.C: disable CUT/COPY when no selection
8941 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8943 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8944 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8946 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8947 Add backward compatibility to "mono", "gray" and "no".
8949 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8951 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8952 (and file_format >= 200).
8954 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8956 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8958 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8960 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8962 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8964 * BufferView_pimpl.C:
8971 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8972 inset and code to make it work with the paragraph code. The inset
8973 can be anywhere in the paragraph, but will only do the expected
8974 thing in LaTeX if the layout file contains the parameter line
8976 (or more generally, a nonzero value) for that layout.
8978 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8980 * paragraph.h: remove the declaration of undefined counters class
8983 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8985 * text2.C (setCounter): fixed enumeration mis-count as reported by
8986 Dr. Richard Hawkins.
8988 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8990 * paragraph_funcs.h: remove some unneeded includes
8992 * text.C (backspace): pasteParagraph now in global scipe
8994 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8995 (pasteSelection): ditto
8997 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8998 * paragraph_funcs.C (pasteParagraph): ... here
9000 2002-08-20 André Pönitz <poenitz@gmx.net>
9002 * commandtags.h: new LFUNs for swapping/copying table row/colums
9005 * lyxfunc.C: support for new lfuns
9007 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9010 * buffer.[Ch]: remove NO_COMPABILITY stuff
9012 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9014 * boost.C (throw_exception): new file, with helper function for
9015 boost compiled without exceptions.
9020 * ParameterStruct.h:
9021 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9023 * bufferlist.C (emergencyWriteAll): use boost bind
9025 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9027 * text.C: include paragraph_funcs.h
9028 (breakParagraph): breakParagraph is now in global scope
9030 * paragraph_funcs.[Ch]: new files
9032 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9035 * buffer.C: include paragraph_funcs.h
9036 (insertStringAsLines): breakParagraph is now in global scope
9038 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9041 * CutAndPaste.C: include paragraph_funcs.h
9042 (cutSelection): breakParagraphConservative is now in global scope
9043 (pasteSelection): ditto
9045 * buffer.h: declare oprator== and operator!= for
9046 Buffer::inset_iterator
9048 * bufferlist.C (emergencyWrite): don't use fmt(...)
9050 * text3.C: add using std::endl
9052 * BufferView.C (moveCursorUpdate): remove default arg
9054 2002-08-20 André Pönitz <poenitz@gmx.net>
9056 * buffer.[Ch]: move inline functions to .C
9059 * BufferView_pimpl.C:
9061 * buffer.[Ch]: use improved inset_iterator
9064 * paragraph.[Ch]: write one paragraph at a time
9066 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9068 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9069 style if style is not specified.
9071 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9073 * text2.C (setCounter): when searching for right label for a
9074 caption, make sure to recurse to parent insets (so that a caption
9075 in a minipage in a figure float works) (bug #568)
9077 2002-08-20 André Pönitz <poenitz@gmx.net>
9079 * text3.C: new file for LyXText::dispatch() and helpers
9081 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9083 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9085 2002-08-19 André Pönitz <poenitz@gmx.net>
9088 * text.C: new LyXText::dispatch()
9090 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9092 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9094 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9096 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9099 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9101 * Makefile.am: use $(variables) instead of @substitutions@
9103 2002-08-15 André Pönitz <poenitz@gmx.net>
9106 * BufferView_pimpl.C: streamlining mathed <-> outer world
9110 * LyXAction.C: remove unused LFUN_MATH
9112 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9114 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9116 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9118 * paragraph.C (Paragraph): reformat a bit
9119 (cutIntoMinibuffer): use builtin InsetList function instad of
9123 * buffer.C: include boost/bind.hpp, add using std::for_each
9124 (writeFileAscii): use ParagraphList iterators
9125 (validate): use for_each for validate traversal of paragraphs
9126 (getBibkeyList): use ParagraphList iterators
9127 (resizeInsets): use for_each to resizeInsetsLyXText for all
9129 (getParFromID): use ParagraphList iterators
9131 * BufferView2.C (lockInset): use paragraph list and iterators
9133 2002-08-14 John Levon <levon@movementarian.org>
9135 * lyxserver.C: remove spurious xforms include
9137 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9139 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9141 2002-08-13 André Pönitz <poenitz@gmx.net>
9144 * lyxfunc.C: further cleaning
9146 2002-08-13 André Pönitz <poenitz@gmx.net>
9148 * funcrequest.h: new constructor
9150 * funcrequest.C: move stuff here from .h
9153 * BufferView_pimpl.C:
9156 * lyxfunc.C: subsequent changes
9158 * lyxfunc.h: new view() member function
9160 * lyxfunc.C: subsequent changes
9162 2002-08-13 Angus Leeming <leeming@lyx.org>
9165 * BufferView_pimpl.C:
9173 changes due to the changed LyXView interface that now returns references
9174 to member variables not pointers.
9176 2002-08-13 Angus Leeming <leeming@lyx.org>
9178 * WordLangTuple (word, lang_code): return references to strings,
9183 * lyxtext.h: forward-declare WordLangTuple.
9188 * text.C: #include "WordLangTuple.h".
9191 * text.C: (selectNextWordToSpellcheck): constify return type.
9193 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9199 * paragraph_pimpl.h:
9202 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9204 Made updateCounter always count from start of buffer, and removed
9205 second argument (par).
9206 Reverted floats number display to '#'. Perhaps I'll try again when the
9207 code base is sanitized a bit.
9209 2002-08-12 Angus Leeming <leeming@lyx.org>
9211 * buffer.[Ch] (getLabelList): constify.
9213 2002-08-07 André Pönitz <poenitz@gmx.net>
9215 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9217 * funcrequest.h: extension to keep mouse (x,y) position
9219 2002-08-12 Juergen Vigna <jug@sad.it>
9221 * BufferView2.C (insertErrors): forbid undo when inserting error
9224 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9226 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9228 * ParagraphList.[Ch]: new files
9230 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9232 * BufferView2.C (lockInset): ParagraphList changes
9235 * bufferlist.C: ditto
9239 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9241 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9242 unused class variable counter_,
9244 * paragraph.[Ch] (getFirstCounter): delete unused function
9246 * counters.C: include LAssert.h
9247 (reset): add a new function with no arg, change other version to
9248 not have def. arg and to not allow empty arg.
9250 * text2.C (setCounter): remove empty arg from call to Counters::reset
9252 2002-08-11 John Levon <levon@movementarian.org>
9254 * Makefile.am: add WordLangTuple.h
9256 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9258 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9259 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9261 * insets/insettext.C: InsetList changes
9263 * graphics/GraphicsSupport.C (operator()): InsetList changes
9265 * toc.C (getTocList): InsetList changes
9267 * paragraph_pimpl.[Ch]: InsetList changes
9269 * paragraph.[Ch]: InsetList changes
9271 * buffer.C (inset_iterator): InsetList changes
9272 (setParagraph): ditto
9273 * buffer.h (inset_iterator): ditto
9274 * iterators.C (operator++): ditto
9275 * iterators.h: ditto
9277 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9279 * InsetList.[Ch]: new files, most InsetList handling moved out of
9282 * BufferView2.C (removeAutoInsets): InsetList changes
9284 (ChangeInsets): ditto
9286 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9288 * paragraph_pimpl.h (empty): new function
9290 * paragraph.[Ch] (empty): new function
9292 * other files: use the new Paragraph::empty function
9294 2002-08-09 John Levon <levon@movementarian.org>
9296 * lyxtext.h: remove unused refresh_height
9298 2002-08-09 John Levon <levon@movementarian.org>
9305 * paragraph.C: move sgml char escaping out of paragraph
9308 * paragraph.C: remove id setter
9312 * paragraph_pimpl.C: remove dead tex_code_break_column
9314 * bufferview_funcs.C: small cleanup
9316 * lyxfunc.C: remove dead proto
9318 * lyxtext.h: make some stuff private. Remove some dead stuff.
9320 * lyxgluelength.C: make as[LyX]String() readable
9322 2002-08-08 John Levon <levon@movementarian.org>
9327 * ToolbarDefaults.C:
9330 * toc.C: lyxaction cleanup
9332 2002-08-08 John Levon <levon@movementarian.org>
9334 * BufferView2.C: small cleanup
9337 * lyxfind.C: move unnecessary header into the .C
9339 2002-08-08 John Levon <levon@movementarian.org>
9341 * funcrequest.h: just tedious nonsense
9344 * lyx_main.C: cleanups
9347 * vspace.C: remove dead header lyx_main.h
9349 2002-08-07 Angus Leeming <leeming@lyx.org>
9352 * paragraph_pimpl.h:
9353 Forward declare class Counters in paragraph.h by moving the ctrs member
9354 variable into Paragraph::Pimpl.
9355 (counters): new method, returning a reference to pimpl_->ctrs.
9357 * text2.C: ensuing changes.
9359 2002-08-07 John Levon <levon@movementarian.org>
9361 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9363 * BufferView_pimpl.C: announce X selection on double/triple
9366 * lyx_main.C: use correct bool in batch dispatch
9368 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9370 2002-08-07 André Pönitz <poenitz@gmx.net>
9372 * funcrequest.h: new class to wrap a kb_action and its argument
9375 * BufferView_pimpl[Ch]:
9379 * lyxrc.C: subsequent changes
9382 2002-08-07 John Levon <levon@movementarian.org>
9384 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9385 document options change.
9387 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9392 * makefile.am: move counters functionality over from
9393 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9395 2002-08-06 John Levon <levon@movementarian.org>
9397 * WordLangTuple.h: new file for word + language code tuple
9408 * BufferView2.C: use WordLangTuple
9411 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9413 2002-08-06 John Levon <levon@movementarian.org>
9415 * lyx_main.C: fix cmdline batch handling
9417 2002-08-06 André Pönitz <poenitz@gmx.net>
9419 * lyxrc.C: set default for show_banner to true
9421 2002-08-06 John Levon <levon@movementarian.org>
9423 * pspell.C: fix a crash, and allow new aspell to work
9425 2002-08-06 John Levon <levon@movementarian.org>
9428 * kbmap.C: small cleanup
9431 * vspace.C: add const
9433 2002-08-05 John Levon <levon@movementarian.org>
9435 * LyXAction.C: back to tabular-insert
9437 2002-08-04 John Levon <levon@movementarian.org>
9440 * BufferView.C: cosmetic change
9442 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9452 * BufferView2.C: purge all "Lyx" not "LyX" strings
9455 * lyxcursor.C: attempt to add some documentation
9460 * ToolbarDefaults.C:
9461 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9462 merge with LFUN_TABULAR_INSERT
9469 * pspell.C: split up i/pspell implementations into separate
9470 files, many cleanups
9472 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9474 * text2.C: some cleanup
9476 * lyxfunc.C: don't check for isp_command == "none" any more, it
9477 didn't make any sense
9479 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9484 * makefile.am: move counters functionality over
9485 from text2.C/paragraph.[Ch] to counters.[Ch], and
9487 2002-08-02 John Levon <levon@movementarian.org>
9489 * buffer.C: s/lyxconvert/lyx2lyx/
9491 2002-08-02 Angus Leeming <leeming@lyx.org>
9493 * lyxlex.C: revert John's change as it breaks reading of the user
9496 2002-08-02 Angus Leeming <leeming@lyx.org>
9498 * importer.C (Import):
9499 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9500 changes due to LyXView::view() now returning a boost::shared_ptr.
9502 2002-08-02 John Levon <levon@movementarian.org>
9504 * lyxlex.C: small cleanup
9506 2002-08-02 John Levon <levon@movementarian.org>
9508 * text2.C (status): small cleanup, no logic change
9510 2002-08-01 John Levon <levon@movementarian.org>
9513 * buffer.C (writeFile): don't output alerts, caller
9517 * lyx_cb.C: from above
9519 * lyxfunc.C: allow to open non-existent files
9521 2002-07-31 John Levon <levon@movementarian.org>
9523 * lyxserver.C: don't let incidental errors get
9526 2002-07-30 John Levon <levon@movementarian.org>
9528 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9530 2002-07-30 John Levon <levon@movementarian.org>
9533 * lyxserver.C: remove I/O callback too
9535 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9537 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9540 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9542 * many files: strip,frontStrip -> trim,ltrim,rtrim
9544 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9546 * PrinterParams.h: remove extern containsOnly, and include
9547 support/lstrings.h instead.
9549 * LaTeX.C (scanAuxFile): modify because of strip changes
9551 * buffer.C (makeLaTeXFile): ditto
9552 * bufferparams.C (writeFile): ditt
9553 * lyxfont.C (stateText): ditto
9554 * lyxserver.C (read_ready): ditto
9555 * vc-backend.C (scanMaster): ditto
9557 * BufferView_pimpl.h: ws changes
9559 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9561 2002-07-26 André Pönitz <poenitz@gmx.net>
9563 * kb_sequence.C: remove unnedred usings
9565 2002-07-26 Juergen Vigna <jug@sad.it>
9567 * lyxfind.C (LyXReplace): we have to check better if the returned
9568 text is not of theLockingInset()->getLockingInset().
9570 2002-07-25 Juergen Vigna <jug@sad.it>
9572 * lyxfind.C (LyXReplace): don't replace if we don't get the
9575 * undo_funcs.C (createUndo): remove debugging code.
9577 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9579 * buffer.C (parseSingleLyXformat2Token): Use default placement
9580 when reading old floats.
9582 * FloatList.C (FloatList): Change the default placement of figure
9583 and tables to "tbp".
9585 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9587 * MenuBackend.C: using std::max
9589 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9591 * MenuBackend.C (expandToc):
9592 (expandToc2): code moved from xforms menu frontend. It is now
9593 generic and TOCs are transparent to menu frontends.
9595 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9597 * toc.C (getTocList): protect against buf=0
9599 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9600 Menu as first parameter. Now, this calls itself recursively to
9601 expand a whole tree (this will be useful for TOC handling)
9602 (expandFloatInsert): remove 'wide' version of floats
9604 * MenuBackend.h (submenuname): returns the name of the submenu.
9605 (submenu): returns the submenu itself, provided it has been
9606 created by MenuBackend::expand
9608 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9610 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9611 insets which have noFontChange == true. (bug #172)
9613 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9615 * BufferView_pimpl.C: add connection objects and use them...
9618 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9620 * MenuBackend.C (expandLastfiles):
9623 (expandFloatListInsert):
9624 (expandFloatInsert):
9625 (expand): split expand in parts
9627 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9629 * lyx_gui.C: use lyx_gui::exit()
9631 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9633 * LyXAction.C: show the failing pseudo action
9635 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9637 * buffer.C (readFile): Run the lyxconvert script in order to read
9640 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9644 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9646 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9650 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9652 2002-07-22 Herbert Voss <voss@lyx.org>
9655 * lyxlength.[Ch]: add support for the vertical lengths
9657 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9659 * toc.[Ch]: std:: fixes
9661 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9663 * lyxrc.C: do not include lyx_main.h
9665 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9671 * BufferView2.C: include "lyxlex.h"
9674 * bufferparams.h: do not #include "lyxlex.h"
9676 * lyxtextclasslist.C (Add): remove method
9677 (classlist): renamed to classlist_
9679 * paragraph_pimpl.C:
9683 * bufferview_funcs.C:
9688 * toc.C (getTocList): use BufferParams::getLyXTextClass
9690 * toc.C (getTocList): use InsetFloat::addToToc
9692 * toc.[Ch]: new files, containing helper functions to handle table
9695 * lyxfunc.C (dispatch): no need to remove spaces around command
9697 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9698 first command of the sequence; it is not very clever, but I do not
9699 have a better idea, actually
9701 * LyXAction.C (LookupFunc): make sure to remove space at the
9702 beginning and end of the command
9704 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9706 * MenuBackend.C (getMenubar): new method: return the menubar of
9708 (read): treat differently reading of menu and menubar (in
9709 particular, the menubar has no name now)
9710 (Menu::menubar): remove
9712 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9715 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9717 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9718 a bibitem inset in a RTL paragraph.
9720 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9722 * paragraph_pimpl.C: constify
9724 * BufferView_pimpl.C:
9726 * lyxfunc.C: fix dispatch in a nicer way
9728 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9730 * lyxfunc.C (dispatch):
9731 * BufferView_pimpl.C:
9732 * BufferView_pimpl.h:
9734 * BufferView.h: rename Dispatch() to dispatch()
9736 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9738 * lyxlayout.C (Read): honor DependsOn tag
9740 * lyxlayout.[Ch] (depends_on): new method
9742 * version.C.in: update lyx_docversion
9744 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9746 * paragraph.C (validate): remove from here...
9747 * paragraph_pimpl.C (validate): ... and move here
9748 (isTextAt): make it const
9750 * buffer.C (getLists): ws cleanup
9752 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9754 * language.C (read): Use iso8859-1 encoding in latex_lang
9755 (this prevents LyX from crashing when using iso10646-1 encoding).
9757 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9759 * text2.C (toggleInset): if cursor is inside an inset, close the
9760 inset and leave cursor _after_ it
9762 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9764 * lyxfunc.C: move minibuffer completion handling out of here
9766 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9768 * BufferView_pimpl.C:
9769 * LaTeX.C: fix dispatch calls
9771 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9773 * text.C (drawChars): Fix Arabic text rendering.
9775 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9779 * lyxfunc.C: remove message-push/pop
9783 * lyxfunc.C: rationalise some code by removing verboseDispatch
9784 in favour of a bool argument to dispatch()
9786 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9788 * lyx_main.C (init): make sure to read symlinks as absolute paths
9790 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9793 * lyxfunc.C: no need for commandshortcut to be a member
9795 2002-07-15 André Pönitz <poenitz@gmx.net>
9797 * converter.C: add support for $$s (scripts from lib/scripts dir)
9798 * lyx_main.C: white space
9800 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9804 * lyxrc.C: remove second exit confirmation
9806 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9811 * BufferView_pimpl.h:
9812 * BufferView_pimpl.C:
9813 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9815 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9817 * MenuBackend.C (expand): add numeric shortcuts to document menu
9819 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9821 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9823 * lyxfont.C (setLyXFamily):
9830 * buffer.C (asciiParagraph): use ascii_lowercase
9832 2002-07-15 Mike Fabian <mfabian@suse.de>
9834 * lyxlex_pimpl.C (search_kw):
9835 * lyxlex.C (getLongString):
9836 * converter.h (operator<):
9837 * converter.C (operator<):
9838 * buffer.C (parseSingleLyXformat2Token):
9840 * ToolbarDefaults.C (read):
9841 * MenuBackend.C (checkShortcuts):
9843 * LColor.C (getFromGUIName):
9844 (getFromLyXName): use the compare_ascii_no_case instead of
9845 compare_no_case, because in turkish, 'i' is not the lowercase
9846 version of 'I', and thus turkish locale breaks parsing of tags.
9848 2002-07-16 Angus Leeming <leeming@lyx.org>
9850 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9851 now takes a Buffer const & argument.
9853 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9855 * BufferView.C (resize): check there's a buffer to resize
9857 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9859 * lyxfunc.C: remove dead code
9862 * lyxserver.C: use lyx_guii::set_read_callback
9864 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9866 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9867 an inset in a RTL paragraph.
9869 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9871 * lyxfunc.C: repaint after a font size update
9873 2002-07-15 André Pönitz <poenitz@gmx.net>
9875 * lyxlength.C: inBP should be able to return negative values
9877 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9879 * lyxfunc.C: use lyx_gui::update_fonts()
9881 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9883 * lyxfunc.C: use lyx_gui::update_color()
9885 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9891 * lyxrc.C: remove file->new asks for name option, and let
9892 buffer-new take an argument
9894 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9896 * BufferView_pimpl.C: remove unneeded extra repaint()
9898 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9900 * LyXAction.C: allow command-sequence with NoBuffer
9902 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9904 2002-07-10 Angus Leeming <leeming@lyx.org>
9906 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9908 2002-07-09 Angus Leeming <leeming@lyx.org>
9910 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9912 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9914 * lengthcommon.h: whitespace
9916 * lyxfunc.C: update scrollbar after goto paragraph
9918 * lyxtext.h: factor out page break drawing, and fix it so
9919 page break/added space paints as selected nicely
9921 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9923 * BufferView_pimpl.C: add FIXMEs, clean up a little
9925 2002-07-09 André Pönitz <poenitz@gmx.net>
9927 * lyxfont.[Ch]: support for wasy symbols
9929 2002-07-08 André Pönitz <poenitz@gmx.net>
9931 * BufferView_pimpl.C: apply John's patch for #93.
9933 2002-07-05 Angus Leeming <leeming@lyx.org>
9935 * BufferView_pimpl.C (buffer): generate previews if desired.
9937 * LColor.h: add "preview" to the color enum.
9939 * LColor.C (LColor): add a corresponding entry to the items array.
9941 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9944 2002-07-05 Angus Leeming <leeming@lyx.org>
9946 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9947 The body of the code is now in the method that is passed an ostream &
9948 rather than a file name.
9949 Pass an additional only_preamble parameter, useful for the forthcoming
9952 2002-07-03 André Pönitz <poenitz@gmx.net>
9954 * lyxfunc.C: simplify getStatus() a bit for math stuff
9956 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9958 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9960 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9962 * text.C (changeRegionCase): do not change case of all the
9963 document when region ends at paragraph end (bug #461)
9965 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9967 * paragraph.C (startTeXParParams):
9968 (endTeXParParams): add \protect when necessary
9970 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9972 * BufferView_pimpl.C (workAreaExpose): remove warning
9974 2002-06-27 Angus Leeming <leeming@lyx.org>
9976 * Makefile.am: add lyxlayout_ptr_fwd.h.
9978 2002-06-26 André Pönitz <poenitz@gmx.net>
9980 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9982 2002-06-25 Angus Leeming <leeming@lyx.org>
9984 * lyxfunc.C (dispatch): Comment out the call to
9985 grfx::GCache::changeDisplay. The method no longer exists now that the
9986 pixmap generation part of the graphics loader has been moved into
9989 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9991 * text2.C: layout as layout
9993 * text.C: layout as layout
9995 * tabular.C (OldFormatRead): layout as layout
9997 * paragraph_pimpl.C (TeXDeeper): layout as layout
9998 (realizeFont): layout as layout
10000 * paragraph.C (writeFile): layout as layout
10001 (validate): layout as layout
10002 (getFont): layout as layout
10003 (getLabelFont): layout as layout
10004 (getLayoutFont): layout as layout
10005 (breakParagraph): layout as layout
10006 (stripLeadingSpaces): layout as layout
10007 (getEndLabel): layout as layout
10008 (getMaxDepthAfter): layout as layout
10009 (applyLayout): layout as layout
10010 (TeXOnePar): layout as layout
10011 (simpleTeXOnePar): layout as layout
10012 (TeXEnvironment): layout as layout
10013 (layout): layout as layout
10014 (layout): layout as layout
10016 * lyxtextclass.C (compare_name): new functor to work with
10017 shared_ptr, layout as layout
10018 (Read): layout as layout
10019 (hasLayout): layout as layout
10020 (operator): layout as layout
10021 (delete_layout): layout as layout
10022 (defaultLayout): layout as layout
10024 * lyxlayout_ptr_fwd.h: new file
10026 * lyxlayout.C (Read): layout as layout
10028 * lyx_cb.C (MenuInsertLabel): layout as layout
10030 * bufferlist.C (newFile): layout as layout
10032 * buffer.C (readLyXformat2): layout as layout
10033 (parseSingleLyXformat2Token): layout as layout
10034 (insertStringAsLines): layout as layout
10035 (asciiParagraph): layout as layout
10036 (latexParagraphs): layout as layout
10037 (makeLinuxDocFile): layout as layout
10038 (simpleLinuxDocOnePar): layout as layout
10039 (makeDocBookFile): layout as layout
10040 (simpleDocBookOnePar): layout as layout
10041 (getLists): layout as layout
10043 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10045 * CutAndPaste.C (cutSelection): layout as layout
10046 (pasteSelection): layout as layout
10047 (SwitchLayoutsBetweenClasses): layout as layout
10049 * BufferView_pimpl.C (Dispatch): layout as layout
10050 (smartQuote): layout as layout
10052 * BufferView2.C (unlockInset): layout as layout
10054 2002-06-24 André Pönitz <poenitz@gmx.net>
10056 * lyxfunc.C: fix #487
10058 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10062 * lyxfunc.C: remove display_shortcuts, show_banner
10064 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10066 * Buffer_pimpl.C: oops, update on resize
10068 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10075 * BufferView.C: use repaint()
10077 * BufferView_pimpl.h:
10078 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10079 as it's a clearer description. Remove superfluous
10082 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10084 * text.C: fix bug 488. Not ideal, but getting
10085 getWord() to work properly for the insets that
10086 matter is more difficult ...
10088 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10090 * BufferView_pimpl.C:
10093 * lyxfunc.C: remove the six million index lyxfuncs to just
10094 one, and DTRT (bug 458)
10096 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10100 * BufferView_pimpl.h:
10101 * BufferView_pimpl.C: clean up resize() stuff,
10102 and unnecessary updateScreen()s
10104 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10108 * BufferView_pimpl.h:
10109 * BufferView_pimpl.C:
10112 * minibuffer.C: remove focus management of workarea,
10113 not needed. Use screen's greyOut()
10115 2002-06-17 Herbert Voss <voss@lyx.org>
10117 * converter.C: (convert) do not post a message, when converting
10118 fails, let the calling function decide what to do in this case
10120 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10122 * lyxfunc.C: tidy up a little
10124 2002-06-16 <alstrup@diku.dk>
10126 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10127 Got rid of FORMS_H_LOCATION include. Now we are
10130 2002-06-15 LyX Development team <lyx@rilke>
10132 * buffer.[Ch] (sgmlOpenTag):
10133 (sgmlCloseTag): Added support for avoiding pernicious mixed
10134 content. Return number of lines written.
10136 (makeLinuxDocFile):
10137 (makeDocBookFile): Fixed calls to sgml*Tag.
10138 Simple white space clean.
10140 (simpleDocBookOnePar): Simple white space clean.
10142 * tabular.[Ch] (docBook): Renamed to docbook and got another
10143 argument to related with the pernicious mixed content.
10145 (docbookRow): Fixed calls for docbook inset method.
10147 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10149 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10150 so it's X11 independent.
10154 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10156 2002-06-15 Lyx Development team <lyx@electronia>
10158 * intl.h: Renamed getTrans to getTransManager.
10160 2002-06-14 Angus Leeming <leeming@lyx.org>
10162 * Makefile.am: nuke forgotten stl_string_fwd.h.
10164 2002-06-12 Angus Leeming <leeming@lyx.org>
10166 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10168 2002-06-13 Angus Leeming <leeming@lyx.org>
10171 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10173 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10175 * kbmap.C (getiso): add support for cyrillic and greek
10177 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10181 * BufferView_pimpl.h:
10182 * BufferView_pimpl.C: move bogus scrolling logic
10185 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10188 * BufferView_pimpl.C: view->resize() change
10190 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10192 * BufferView_pimpl.C: topCursorVisible
10195 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10199 * lyx_gui.C: move to frontends/
10203 * lyx_main.C: changes from above
10205 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10212 * lyx_main.C: minor tidy
10214 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10216 * BufferView_pimpl.h:
10217 * BufferView_pimpl.C:
10219 * BufferView.C: make painter() const,
10222 * BufferView2.C: use screen() accessor
10225 * lyx_main.C: some minor cleanup
10227 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10229 * BufferView_pimpl.h:
10230 * BufferView_pimpl.C: remove enter/leaveView,
10233 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10238 * BufferView_pimpl.h:
10239 * BufferView_pimpl.C: only construct screen once,
10242 * lyxrc.C: remove pointless comment
10244 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10247 * BufferView.C: remove active() and belowMouse()
10249 * BufferView_pimpl.h:
10250 * BufferView_pimpl.C: use workarea() not workarea_,
10251 and make it use a scoped_ptr instead
10253 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10255 * lyx_gui.C: add debug message on BadWindow
10257 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10259 * sp_spell.C: fdopen is not part of the C++ standard.
10261 * paragraph.C (InsetIterator): use >= instead of ==
10263 2002-06-07 Angus Leeming <leeming@lyx.org>
10265 Fixes needed to compile with Compaq cxx 6.5.
10266 * BufferView_pimpl.C:
10273 * lyxtextclasslist.C:
10278 all c-library variables have been moved into namespace std. Wrap
10279 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10284 Add a using std::abs declaration.
10286 * kbmap.h (modifier_pair):
10287 * paragraph.h (InsetTable, InsetList):
10288 * lyxfont.h (FontBits):
10289 type definition made public.
10291 * bufferlist.C (emergencyWriteAll): the compiler complains that
10292 there is more than one possible lyx::class_fun template to choose from.
10293 I re-named the void specialisation as lyx::void_class_fun.
10295 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10297 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10298 the compiler is is unable to find tostr in write_attribute.
10300 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10302 * buffer.C (sgmlError): hide #warning
10304 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10306 * xtl/*: get rid of xtl, which is not in use anyway
10308 * LyXAction.C (init):
10309 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10310 were unimplemented xtl experimentation
10312 2002-06-04 André Pönitz <poenitz@gmx.net>
10314 * lyxfunc.C: disable array operation on simple formulae
10316 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10318 * converter.C: constify a bit
10320 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10322 * lyx_gui.C: check xforms version correctly
10324 2002-04-30 Herbert Voss <voss@lyx.org>
10326 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10329 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10331 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10332 attempt to register it with a VCS)
10334 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10336 * lyx_main.C (init): honor variables LYX_DIR_13x and
10339 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10343 * lyx_main.C: fix a crash on bad command line,
10344 and give a useful exit status on error
10346 * lyxfunc.C (doImport): allow -i lyx to work
10348 2002-03-30 André Pönitz <poenitz@gmx.net>
10350 * lyxfunc.C: mathed font changes
10352 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10367 * trans_mgr.h: srcdocs, and some minor cleanups
10369 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10371 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10372 call getFont all the time)
10374 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10376 * switch from SigC signals to boost::signals
10378 2002-05-29 André Pönitz <poenitz@gmx.net>
10380 * paragraph_pimpl.C (getChar): don't call size() too often...
10382 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10384 * paragraph_pimpl.C (insertChar): do not try to update tables when
10385 appending (pos == size())
10387 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10388 in order to reduce drastically the number of comparisons needed to
10389 parse a large document
10391 2002-05-29 André Pönitz <poenitz@gmx.net>
10397 * textclasslist.[Ch]:
10398 * sp_ispell.h: whitespace change
10400 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10402 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10403 lyxaction directly now.
10405 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10409 * lyxvc.C: remove unused headers
10411 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10418 * undo_funcs.C: some cleanups. Use shared_ptr
10419 and a template for the undo stacks.
10421 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10423 * BufferView_pimpl.h:
10424 * BufferView_pimpl.C:
10431 * text2.C: use key_state/mouse_state
10433 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10435 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10438 * chset.C: change include order
10439 (loadFile): use boost regex and get rid of LRegex and LSubstring
10441 * Makefile.am (BOOST_LIBS): new variable
10442 (lyx_LDADD): use it
10444 * LaTeX.C: change include order.
10445 (scanAuxFile): use boost regex and get rid of LRegex and
10449 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10454 * FontInfo.C: moved to frontends/xforms/
10457 * FontLoader.C: moved into frontends for GUIIzation
10462 * lyxfunc.C: changes from above
10464 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10466 * LColor.C: remove spurious X include
10468 * BufferView_pimpl.C:
10473 * text2.C: move font metrics to frontends/
10475 2002-05-24 Juergen Vigna <jug@sad.it>
10477 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10478 setting the undo_cursor.
10480 * ParagraphParameters.h: include local includes first.
10482 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10484 * BufferView_pimpl.C:
10485 * BufferView_pimpl.h:
10489 * screen.C: move WorkArea into frontends/
10495 * BufferView2.C: move LyXScreen into frontends/
10499 * lyx_gui.C: move lyxlookup into frontends/xforms/
10501 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10504 * BufferView_pimpl.C:
10514 * bufferview_funcs.C:
10527 * vc-backend.C: move LyX/XFormsView into frontends/
10529 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10541 * text2.C: move Painter to frontends/
10543 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10545 * buffer.C: comment out some some code that depend upon lyx_format
10548 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10549 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10551 * buffer.h (NO_COMPABILITY): turn off compability
10553 * ColorHandler.C: include scoped_array.hpp
10555 * font.C: Use more specific smart_ptr header.
10558 * ShareContainer.h: ditto
10559 * lyx_main.h: ditto
10561 * FontInfo.h: ditto
10562 * BufferView_pimpl.h: ditto
10563 * ColorHandler.h: ditto
10565 * kbmap.C (defkey): change call to shared_ptr::reset
10567 2002-05-21 Juergen Vigna <jug@sad.it>
10569 * buffer.C (insertErtContents): fix to insert ert asis if it is
10570 non empty. Skip it completely if it contains only whitespaces.
10572 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10574 * BufferView_pimpl.C:
10575 * BufferView2.C: clear selection on paste (bug 393)
10577 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10579 * DepTable.C: include ctime
10581 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10583 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10585 2002-05-14 Juergen Vigna <jug@sad.it>
10587 * text.C (breakParagraph): fixed function to honor the keepempty
10588 layout in the right maner and also to permit the right breaking
10589 algorithm on empty or non empyt keepempty paragraphs.
10591 * paragraph.C (breakParagraph): we have to check also if the par
10592 is really empty (!size()) for isempty otherwise we do the wrong
10595 2002-05-10 Juergen Vigna <jug@sad.it>
10597 * buffer.[Ch] : The following are only changes to the ert
10598 compatibility read reading old LaTeX layout and font stuff and
10599 convert it to ERTInsets.
10601 * buffer.h: added isErtInset().
10603 * buffer.C (struct ErtComp): add a fromlayout bool to check
10604 if we're inside a LaTeX layout.
10605 (isErtInset): new helper function.
10606 (insertErtContents): look for other ert insets before this one
10607 and insert the contents there, so that we don't have subsequent
10608 ERT insets with nothing between them. This way we create only one
10609 inset with multiple paragraphs. Also check if we don't insert only
10610 spaces ' ' as they are ignored anyway afterwards in the .tex file
10611 so if we have only spaces we will ignore this latex part in the
10613 (parseSingleLyXformat2Token \\layout): better compatibility when
10614 reading layout-latex stuff.
10615 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10617 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10618 stuff after reading the inset only get the information back from
10621 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10623 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10625 * LaTeXFeatures.C (getBabelOptions): New method.
10627 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10629 * BufferView_pimpl.C (Dispatch): work around missing argument for
10632 2002-05-08 Juergen Vigna <jug@sad.it>
10634 * text.C (leftMargin): handle paragraph leftindent.
10636 * paragraph.C (writeFile): write the new \\leftindent tag.
10637 (validate): handle leftindent code.
10638 (TeXEnvironment): handle paragraphleftindent code again.
10640 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10642 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10643 for paragrap_extra indent code and new token \\leftindent.
10644 (latexParagraphs): handle the leftindent as environment.
10646 * ParameterStruct.h: added leftindent support.
10648 * ParagraphParameters.C (leftIndent): added support functions for
10649 the paragraph left indent.
10651 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10654 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10656 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10659 * text.C (computeBidiTables): No bidi in insetERT.
10661 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10664 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10666 * version.C.in: pre 5
10668 2002-05-02 José Matos <jamatos@fep.up.pt>
10669 * buffer.C (makeDocBookFile): white space changes, add newline to
10671 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10673 * tabular.C (docBook): fix typo.
10675 2002-05-03 Juergen Vigna <jug@sad.it>
10677 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10678 change in LyXText as we can not be sure it was not freed.
10679 (drawOneRow): remove unused code.
10681 * text.C (drawInset): redo the calculation of the need_break_row as
10682 it could have a row which was already freed.
10683 (draw): look at the return value of drawInset and return false if
10684 it also returned false.
10685 (paintRowText): look at the return value of draw and return false if
10686 it also returned false.
10688 * lyxtext.h: added bool return type to drawInset() and draw() so that
10689 if we have a change in the row so that the rowbreak has to be redone
10690 we abort drawing as it will be called again.
10692 2002-05-02 Juergen Vigna <jug@sad.it>
10694 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10695 a change in the maintext also if we're inside an inset.
10696 (Dispatch): set the cursor again after a break line and after the
10697 screen has been updated as it could be we're in a different row.
10699 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10700 to set the cursor behind the pargraph with > size().
10701 (setCursor): check also for the same paragraph when checking where
10702 to put the cursor if we have a NFR inset.
10704 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10705 parts of layout read further up as it still was in the wrong
10708 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10710 * screen.C (drawFromTo): change sine fullRebreak always return
10713 * buffer.C (parseSingleLyXformat2Token): reindent some
10715 * BufferView_pimpl.C (update): change since fullRebreak always
10717 (Dispatch): git rid of the last hardcoded "Standard"s.
10719 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10721 * text2.[Ch] (fullRebreak): make it return void now that we always
10724 2002-04-30 Juergen Vigna <jug@sad.it>
10726 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10727 ert compatibility check for "latex" layout.
10729 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10731 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10732 minipages: use col% instead of p%, and also use the current font.
10733 (makeLaTeXFile): Fix use babel condition.
10734 (parseSingleLyXformat2Token): Correct font when reading old floats.
10736 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10738 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10739 inserting list of floats.
10741 2002-04-25 Herbert Voss <voss@lyx.org>
10743 * MenuBackend.C (expand): don't add the graphics extensions to the
10746 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10748 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10749 non-existing layout, do not complain if it was the default layout
10750 of the original class (bug #342)
10752 2002-04-24 Juergen Vigna <jug@sad.it>
10754 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10755 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10757 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10759 * buffer.C (getBibkeyList): If using \bibliography, return the
10760 option field with the reference itself. Enables us to provide natbib
10761 support when using \bibliography.
10763 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10765 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10767 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10768 natbib is provided by the LaTeX class.
10770 2002-04-23 Juergen Vigna <jug@sad.it>
10772 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10775 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10777 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10779 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10781 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10782 ensuremath around textordmasculine, textordfeminine and
10785 2002-04-19 Juergen Vigna <jug@sad.it>
10787 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10788 reinitializing the buffer otherwise row-dimensions may be wrong.
10789 (update): reset also the selection cursors if they do exits otherwise
10790 their x/y positions may be wrong.
10792 * text2.C (cursorDown): don't enter the inset if we came from a row
10793 above and are one row over the inset.
10795 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10796 really leaving an inset.
10798 2002-04-18 Juergen Vigna <jug@sad.it>
10800 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10801 of the selected paragraph does not have the selected layout also if
10804 * text2.C (setLayout): fixed bug which did not change last selected
10807 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10808 changed the read and substituted \\end_float with \\end_inset!
10810 * BufferView_pimpl.C (cursorPrevious):
10811 (cursorNext): fixed to make it work with rows heigher than the work
10812 area without moving the cursor only the draw of the row.
10813 (workAreaMotionNotify): fix jumping over high rows.
10815 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10817 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10820 2002-04-16 Juergen Vigna <jug@sad.it>
10822 * text2.C (setCursor): set also the irow().
10823 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10825 (cursorDown): support for locking an inset if the x_fix value goes
10826 inside it. That way I can transverse insets too with cursor up/down.
10828 * lyxrow.h: added irow helper function same as other (i) functions.
10830 * BufferView_pimpl.C (cursorPrevious):
10831 (cursorNext): fixed for insets!
10833 2002-04-15 Juergen Vigna <jug@sad.it>
10835 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10836 position otherwise it is wrong in some cases.
10838 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10839 inside the inset before the call.
10841 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10843 * buffer.[Ch] (getBibkeyList): make it const.
10845 2002-04-12 Juergen Vigna <jug@sad.it>
10847 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10849 * text2.C (getCursorX): new helper function
10850 (setCursor): compute also ix_
10851 (setCursorFromCoordinates): set also ix.
10853 * lyxcursor.h: added ix_ and helper functions.
10855 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10857 * buffer.C (insertStringAsLines): dont break paragraph if the this
10858 paragraph is inside an inset which does not permit it!
10860 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10861 also with no chars on this paragraph.
10862 (paintRowText): only paint stuff if it's inside the workarea!
10864 * paragraph.C (breakParagraph): honor keepempty flag and break the
10865 paragraph always below not above.
10867 * BufferView2.C (unlockInset): update the paragraph layout on inset
10868 unlock as we changed paragraph in such a case.
10870 * lyxfind.C (LyXFind): clear the former selection if not found!
10872 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10873 again called in insertChar().
10875 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10876 an inset which uses the whole row!
10877 (rightMargin): ditto.
10878 (insertChar): force a rebreak if we inserted an inset!
10880 2002-03-28 Herbert Voss <voss@lyx.org>
10882 * lyxlength.[Ch]: add inBP() to get the right PS-point
10883 units (BigPoint). With inPixels we have rounding errors
10885 2002-04-11 Juergen Vigna <jug@sad.it>
10887 * text2.C (setCursorFromCoordinates): set iy to the right value.
10888 (setCursor): add check if row->previous exists!
10890 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10891 an old float_type as this was the case in the old code!
10893 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10895 * BufferView2.C (showLockedInsetCursor): use iy
10896 (fitLockedInsetCursor): ditto
10898 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10899 locked insets as there we have the right value now.
10901 * lyxcursor.C: added iy_ variable and iy functions to set to the
10902 baseline of cursor-y of the locked inset.
10904 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10905 (setCursor): fixed for insets which need a full row.
10907 * text.C (rowLastPrintable): don't ignore the last space when before
10908 an inset which needs a full row.
10909 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10910 as last character of a row when before a inset which needs a full row.
10912 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10914 * version.C.in: update date
10916 * text2.C (fullRebreak): try to always return true and see what
10919 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10921 * MenuBackend.C (expand): use Floating::listName
10923 * FloatList.C (FloatList): add listName argument to the built-in
10926 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10927 text associated with the float.
10929 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10931 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10933 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10935 * ShareContainer.h: add a couple of missing typenames.
10937 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10939 * lyxrc.C (getDescription): use _() correctly rather than N_().
10941 2002-03-28 Herbert Voss <voss@lyx.org>
10943 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10944 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10946 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10948 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10949 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10951 2002-03-29 Juergen Vigna <jug@sad.it>
10953 * lyxfunc.C (dispatch): add a missing fitCursor call.
10955 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10956 it was scrolled by a cursor move, so return the bool status.
10958 * BufferView.C (fitCursor): return the bool flag also to the outside
10959 world as this is needed.
10961 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10963 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10964 call the edit() as it is not needed (and wrong) IMO.
10965 (workAreaButtonPress): set the screen_first variable before evt.
10966 unlock the inset as this may change screen_first and then we have
10967 a wrong y position for the click!
10969 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10971 * MenuBackend.C (expand): another translation that I missed
10973 2002-03-28 Juergen Vigna <jug@sad.it>
10975 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10977 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10979 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10981 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10983 * MenuBackend.C (expand): fix export/view/update when there is no
10986 2002-03-27 Herbert Voss <voss@lyx.org>
10988 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10991 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10993 * bufferview_funcs.C (currentState): only show paragraph number
10994 for is DEVEL_VERSION is set.
10996 * lyxfunc.C (dispatch): put warning in INFO channel
10998 * MenuBackend.C (expand): translate the name of floats
11000 * FloatList.C (FloatList): mark the float names for translation
11002 * converter.C (convert): use LibScriptSearch
11004 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11006 * MenuBackend.C (defaults): fix default menu (we might as well get
11009 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11011 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11014 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11016 * lyxvc.C: reorder includes.
11018 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11020 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11023 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11025 * CutAndPaste.C: change layouts earlier on paste
11026 to avoid crashing when calling getFont()
11028 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11030 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11033 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11035 * WorkArea.C: remove 'Pending' debug message.
11037 * most files: ws cleanup
11039 * buffer.[Ch]: ws changes
11041 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11043 2002-03-21 Juergen Vigna <jug@sad.it>
11045 * tabular.C (SetMultiColumn): collapse also the contents of the
11046 cells and set the last border right. Added a Buffer const * param.
11048 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11050 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11053 2002-03-19 Juergen Vigna <jug@sad.it>
11055 * text2.C (clearSelection): reset also xsel_cache.
11057 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11058 where it needs to be called (John tells us to do so too :)
11059 (selectionLost): reset sel_cache.
11061 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11063 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11065 * text2.C (setCursorIntern): put debuging code in INSETS channel
11067 2002-03-19 André Pönitz <poenitz@gmx.net>
11069 * lyxfunc.C: tiny whitespace change
11071 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11073 * ToolbarDefaults.C (init):
11074 * LyXAction.C (init):
11076 * BufferView_pimpl.C (Dispatch):
11077 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11079 2002-03-19 Allan Rae <rae@lyx.org>
11081 * exporter.C (Export): removeAutoInsets before doing anything else.
11082 While I've just introduced a dependency on BufferView this really is
11083 the best place to clean the buffer otherwise you need to cleanup in
11084 a dozen places before calling export or cleanup in a dozen functions
11087 * converter.C (runLaTeX):
11088 (scanLog): Better handling of removeAutoInsets and screen updates.
11090 * lyxfunc.C (dispatch): small whitespace changes
11092 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11094 * WorkArea.C (C_WorkAreaEvent): return a value.
11095 (event_cb): return 1 if we handled the event, 0 otherwise.
11097 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11099 2002-03-18 Juergen Vigna <jug@sad.it>
11101 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11102 (GetAdditionalWidth): ditto.
11103 (RightLine): ditto.
11106 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11107 inset if we're there actually (probably not used right now but this
11108 is the direction to go for unifying code).
11109 (paste): disable code to clear the selection.
11111 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11112 inside an InsetText and move the check further up as it is in the
11115 * text2.C (pasteSelection): set a selection over the pasted text.
11117 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11119 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11120 and libgraphics to build on Cygwin.
11122 2002-03-15 Juergen Vigna <jug@sad.it>
11124 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11125 inserting an Inset into the paragraph. I know this is not the best
11126 fix but we already use current_view in CutAndPaste so we will remove
11127 all of it's using at the same time.
11129 * buffer.C (sgmlError): deactivated function till it is rewritten in
11130 the right mode, now it can create problems.
11132 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11133 before accessing it.
11135 2002-03-14 Juergen Vigna <jug@sad.it>
11137 * undo_funcs.C (textHandleUndo): do the right thing when updating
11138 the inset after the undo/redo.
11140 * text2.C (setCursor): just some testcode for #44 not ready yet.
11142 * undo_funcs.C (textHandleUndo): set the next() and previous()
11143 pointers of the paragraph to 0 before deleting otherwise we have
11144 problems with the Paragraph::[destructor].
11146 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11147 on a paragraph insertion.
11149 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11151 * buffer.C (asciiParagraph): use += operator for char append to
11154 * paragraph.C (getFontSettings): compare >= not just >
11155 (highestFontInRange): ditto
11158 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11160 * paragraph.C: change several algorithm to be more appripriate for
11161 the problem domain. This is lookip in FontList and in the InsetList.
11163 2002-03-13 André Pönitz <poenitz@gmx.net>
11166 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11168 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11173 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11175 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11177 * Painter.C (display): anon helper function, adjust code for this
11179 (pixmap): remove function.
11181 * Painter.h: remove private display variable.
11183 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11185 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11187 * WorkArea.[Ch]: remove figinset_canvas cruft.
11189 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11191 * lyxtextclass.C (operator): add one item cache optimization.
11193 * bufferlist.h: doxy changes
11195 * bufferlist.C: ws changes
11197 * DepTable.[Ch] (ext_exist): place const in the right spot.
11199 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11201 (workAreaExpose): call resizeInsets when the with BufferView changes.
11202 (Dispatch): adjust for protectedBlank removal
11203 (specialChar): call updateInset if the insert went ok.
11205 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11206 specialChar instead.
11208 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11210 * BufferView.h: doxy change
11212 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11214 * lyxtextclass.C (operator[]): remove non-const version
11215 (defaultLayout): remove non-const version
11217 2002-03-12 Juergen Vigna <jug@sad.it>
11219 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11220 did resize the LyXText too.
11222 * buffer.C (readLyXformat2): set layout information on newly allocated
11225 * tabular.C (OldFormatRead): set layout information on the paragraph.
11227 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11229 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11231 2002-03-11 Juergen Vigna <jug@sad.it>
11233 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11235 (resizeCurrentBuffer): force also the insets to resize themselfes.
11236 (moveCursorUpdate): fixed up for InsetText.
11238 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11241 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11242 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11243 value of Dialogs::tooltipsEnabled().
11244 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11246 2002-03-08 Juergen Vigna <jug@sad.it>
11248 * BufferView_pimpl.C (updateInset): update inset inside inset also
11249 if it isn't inside theLockingInset().
11251 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11253 * buffer.C (asciiParagraph): redo some of the word and line length
11255 (getLists): look for Caption instead of caption.
11257 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11259 * buffer.C (Buffer): initialize niceFile to true
11261 (makeLinuxDocFile):
11262 (makeDocBookFile): make sure niceFile is true on exit
11264 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11266 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11268 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11270 * LyXSendto.C: remove.
11271 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11272 * lyx_gui.C: remove now-redundant comment.
11273 * ColorHandler.h: remove forward declaration of class WorkArea.
11274 * lyxfunc.C: remove #include "WorkArea.h".
11276 2002-03-07 Juergen Vigna <jug@sad.it>
11278 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11279 got moved away with the DEPM and also set the inset_owner always
11280 right which before could have been omitted.
11282 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11284 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11285 wanted layout is not found.
11287 2002-03-07 Juergen Vigna <jug@sad.it>
11289 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11291 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11293 * paragraph.C (breakParagraph): use default layout not layout of
11295 (Paragraph): clear ParagraphParameters.
11297 2002-03-06 Juergen Vigna <jug@sad.it>
11299 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11300 otherwise it would not be a valid lenght. Fixed a special case in
11301 the minipage compatibility read where we end the document with a
11304 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11305 was set as it could be 0 for InsetTexts first entry.
11307 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11309 * paragraph.C (writeFile): if layout is empty write out
11310 defaultLayoutName().
11312 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11313 file without named layout we set layout to defaultLayoutName().
11315 2002-03-06 Juergen Vigna <jug@sad.it>
11317 * CutAndPaste.C (copySelection): set layout for new paragraph.
11319 * text.C (prepareToPrint): leave ERT inset left aligned
11320 (leftMargin): don't indent paragraphs inside ERT insets
11322 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11324 * paragraph.C (breakParagraph): dont call clear do the work manually
11326 * paragraph.[Ch] (clear): remove function
11328 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11330 * paragraph.C (Paragraph): dont call clear, the work has already
11333 * lyxtextclass.C (operator): assert if n is empty
11335 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11336 work manually instead.
11338 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11340 * BufferView_pimpl.C: protect selectionLost against text == 0
11342 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11344 * text.C (breakParagraph): fix a setting layout to '0' problem.
11346 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11348 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11349 final location of file, for the included files, and graphics.
11351 2002-03-05 Juergen Vigna <jug@sad.it>
11353 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11355 2002-03-04 Juergen Vigna <jug@sad.it>
11357 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11359 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11360 last column of multicolumn cells.
11361 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11363 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11365 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11366 file if it doesn't go to a temporary file.
11368 * buffer.C (sgmlOpenTag):
11369 (sgmlCloseTag): remove extra newline insertion.
11371 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11373 * text.C (getRowNearY): comment out debug msg
11375 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11377 * text2.C: first -> first_y
11379 * text.C (getRowNearY): add some attemts at a possible
11380 optimization, not working.
11382 * tabular.[Ch]: add BufferParams to several function so that newly
11383 created paragraph can be initialized to he default layotu for the
11386 * tabular-old.C (ReadOld): add buf->params to call of Init
11388 * screen.C: rename text->first to text->first_y
11390 * paragraph.C (breakParagraph): always set layout in the broken
11393 * lyxtextclass.C (Read): remove lowercase
11396 (delete_layout): ditto
11398 * lyxtext.h: rename first -> first_y
11400 * lyxlayout.C (Read): remove lowercase
11403 (obsoleted_by): ditto
11405 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11407 * buffer.C (insertErtContents): add params are to InsetERT
11408 (parseSingleLyXformat2Token): add code to check if a paragraphs
11409 layout really exist.
11410 (parseSingleLyXformat2Token): add params to several inset
11412 (asciiParagraph): remove lowercase, do the layout comparisons with
11415 * BufferView_pimpl.C (cursorNext): first -> first_y
11416 (resizeCurrentBuffer): first -> first_y
11417 (updateScrollbar): first -> first_y
11418 (scrollCB): first -> first_y
11419 (workAreaMotionNotify): first -> first_y
11420 (workAreaButtonPress): first -> first_y
11421 (checkInsetHit): first -> first_y
11422 (cursorPrevious): first -> first_y
11423 (cursorNext): first -> first_y
11424 (Dispatch): add buffer_->params to severl inset contructors
11426 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11428 * lyxlayout.C (Read): remove some debug info that I forgot.
11430 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11431 clean up the code slightly.
11432 (makeLinuxDocFile): ditto
11433 (makeDocBookFile): ditto
11435 * text2.C: layout as string
11437 * text.C: layout as string
11439 * paragraph_pimpl.C: layout as string
11441 * paragraph.[Ch]: layout as string
11443 * lyxtextclasslist.[Ch]: layout as string
11445 * lyxtextclass.[Ch]: layout as string
11447 * lyxtext.h: layout as string
11449 * lyxlayout.[Ch]: layout as string
11451 * lyx_cb.C: layout as string
11453 * bufferview_funcs.C: layout as string
11455 * bufferparams.C: layout as string
11457 * buffer.C: layout as string
11459 * LyXView.[Ch]: layout as string
11461 * LaTeXFeatures.[Ch]: layout as string
11463 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11465 * BufferView_pimpl.C: change current_layout to string, remove
11470 (workAreaButtonRelease): layout as string
11472 * BufferView2.C (unlockInset): adjust
11474 * vspace.C (asLatexCommand): use an explict temp variable.
11476 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11478 * Makefile.am: use FRONTEND_*
11480 2002-03-01 Juergen Vigna <jug@sad.it>
11482 * tabular.C (SetWidthOfMulticolCell): changed to something better
11483 I hope but still work in progress.
11484 (recalculateMulticolumnsOfColumn): renamed function from
11485 recalculateMulticolCells as it is more appropriate now.
11486 (SetWidthOfCell): calculate multicols better.
11488 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11490 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11492 * lyxfunc.C (processKeySym): print sequence also if it is
11493 `deleted' (complete)
11495 * kbsequence.C (print): print sequence even if it is deleted
11496 (complete would be a better word, actually).
11498 * lyxfunc.C (dispatch): print complete options after a prefix key
11500 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11502 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11504 * text2.C (setCharFont): eliminate setCharFont code duplication.
11506 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11508 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11509 LFUN_TABULAR_FEATURE (bug #177)
11511 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11513 * Makefile.am: remove figure.h
11515 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11517 * Bufferview_pimpl.C:
11529 * text2.C: remove #include "lyx_gui_misc.h".
11531 * LaTeX.C: added #include <cstdio>
11533 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11535 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11536 that the paragraph following this one can have.
11538 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11540 * vspace.C (asLatexCommand): fix bogus gcc warning
11542 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11544 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11546 * text2.C (setLayout): get rid of redundant code
11548 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11550 * text2.C (incDepth): make sure depth cannot be increased beyond
11553 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11555 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11556 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11558 * PainterBase.h (image):
11559 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11560 a LyXImage const *.
11562 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11566 * BufferView_pimpl.C:
11567 * BufferView_pimpl.h:
11587 * sp_spell.C: remove fig inset, and the crap house of
11588 cards that follows it
11590 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11595 * os2_errortable.h:
11596 * nt_defines.h: move .h into support/
11598 * vms_defines.h: remove
11600 * WorkArea.C: add space in debug output
11604 * buffer.C: add WITH_WARNINGS
11608 * bufferlist.C: s/retrive/retrieve/, add docs
11617 * chset.C: add docs
11619 * lyxgui.C: add ID to X error handler
11621 * lyxtestclass.c: fix typo
11623 2002-02-26 Juergen Vigna <jug@sad.it>
11625 * tabular_funcs.C (write_attribute): changed so that some default
11626 attributes are not written at all.
11627 (getTokenValue): set default values before trying to read the
11628 value so we have the return value always set as default if we don't
11629 find the token we search for.
11631 * tabular.C (Write): write bools as bools not as strings!
11633 2002-02-22 Juergen Vigna <jug@sad.it>
11635 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11636 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11638 * text.C (leftMargin): don't add an indent for paragraphs inside
11639 tabular cells (fix #208).
11641 2002-02-21 José Matos <jamatos@fep.up.pt>
11643 * tabular.C (docBook): fixed support for long tables.
11645 2002-02-20 Juergen Vigna <jug@sad.it>
11647 * text2.C (getFont): get the drawing font of the Inset if this
11648 paragraph is inside an inset (only important for InsetERT for now).
11650 * buffer.C (insertErtContents): use new lanugage params in ERT
11653 * CutAndPaste.C: commenting out seemingly uneeded code.
11655 2002-02-19 Allan Rae <rae@lyx.org>
11657 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11658 Iterators might be simple to use but they also get invalidated.
11659 (removeAutoInsets): renamed saved cursor tracking variables and added
11660 some comments to clarify what everything does.
11662 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11669 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11670 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11673 * vc-backend.h: remove #include "support/syscall.h"
11677 * converter.C: rearrange #includes in Lars' approved fashion.
11679 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11680 forward declare class Timeout in the header file.
11682 * XFormsView.C: changes due to the above.
11684 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11685 similar to LyXView.
11687 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11688 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11690 2002-02-18 José Matos <jamatos@fep.up.pt>
11692 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11695 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11697 * a lot of small ws changes
11698 * add a lot of using std::XXX
11699 * use std construcs some places where approp.
11700 * use some exisint stuff from lyxfunctional where approp.
11701 * Make file changes to use partial linking (lets test this now...)
11703 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11707 remove #include "support/syscontr.h" as it's redundant. Always has been.
11715 change Systemcalls::System to Systemcalls::Wait and
11716 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11717 No change of functionality, just reflects the stripped down Systemcalls
11720 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11722 * debug.[Ch]: add a GRAPHICS type to the enum.
11724 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11726 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11728 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11731 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11733 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11734 match the changes below.
11736 * text2.C (toggleInset): if there is not editable inset at cursor
11737 position, try to see if cursor is _inside_ a collapsable inset
11740 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11742 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11743 document menu has a nice checkbox
11745 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11747 * lyxlength.C (asLatexString): change PW to output as percent of
11750 * lengthcommon.C: change '%' to 't%'
11752 * lyxfunc.C (dispatch): a few comments from Martin
11754 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11758 * BufferView_pimpl.h:
11759 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11762 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11764 * vspace.C (inPixels): fix compiler warning
11766 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11768 * lyxfunc.C (getStatus): fix status message for disabled commands.
11770 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11772 * BufferView_pimpl.C: fix crash on close buffer
11773 during selection (#227)
11775 2002-01-27 Herbert Voss <voss@lyx.org>
11777 * buffer.C: link old Figure to new graphic inset
11779 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11781 * FontLoader.C (getFontinfo): Change the latex font names in order
11782 to match the names of type1inst.
11784 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11786 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11788 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11789 (extchanged): ditto
11791 (remove_files_with_extension): ditto
11792 (remove_file): ditto
11795 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11796 document is smaller than the work area height. Do not initialize
11797 static variables to 0.
11799 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11801 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11803 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11804 LFUN_LAYOUT_PARAGRAPHS.
11806 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11807 tabular. It is possible to provide a possible cell, which will
11808 typically be the actcell from the corresponding insettabular
11810 * lyxfunc.C (getStatus): small cleanup; disable
11811 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11814 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11816 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11818 * paragraph.C (startTeXParParams):
11819 (endTeXParParams): new methods. The LaTeX code to
11820 start/end paragraph formatting
11821 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11822 empty (fixes bug #200)
11824 * vspace.C (inPixels): adapt to the change below
11825 (inPixels): [later] more cleanups (remove unused variables)
11827 * lyxlength.C (inPixels): change to use a width and a height as
11830 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11832 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11833 Replaced with \paperwidth
11835 * DepTable.C (insert): add std:: qualifier
11837 2002-01-18 Allan Rae <rae@lyx.org>
11839 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11842 * text.C (drawInset): Turned out I didn't know enough about how
11843 rebreaking worked. This fixes most of the redraw problems. I see
11844 an occasional cursor trail when a line is broken now and the cursor
11845 placement can seem out by a few pixels also after a rebreak.
11847 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11849 * buffer.C (parseSingleLyXformat2Token): update because minipage
11850 width is now a LyXLength
11852 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11854 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11857 2002-01-17 Juergen Vigna <jug@sad.it>
11859 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11861 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11862 is set correctly and the inset is updated correctly.
11864 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11866 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11867 the beginning of the loop.
11869 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11871 * lyxrc.C: improve help for use_scalable_fonts
11873 2002-01-17 Allan Rae <rae@lyx.org>
11875 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11877 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11879 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11880 make sure to set their inset_owner to the right value (bug #171)
11882 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11885 * DepTable.C: Implement mtime checking to reduce time spent doing
11888 2002-01-16 Juergen Vigna <jug@sad.it>
11890 * tabular.C (GetAdditionalHeight): one of error fixed.
11892 * lyxrc.C (output): small fix in writing use_pspell.
11894 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11896 * sp_base.h: #include LString.h
11898 2002-01-16 Allan Rae <rae@lyx.org>
11900 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11901 Can someone check this please?
11903 * text.C (drawInset): It was possible that p.row would be removed by
11904 breakAgainOneRow upsetting a few other settings. There may be another
11905 small tweak possible by setting need_break_row = 0 when p.row has been
11906 removed but I don't know enough about the logic here.
11908 2002-01-15 Allan Rae <rae@lyx.org>
11910 * text.C (insertChar): removed conditional truism.
11912 * BufferView2.C (removeAutoInsets): More tweaks.
11913 cur_par_prev could be a stray pointer. Check for trailing empty line
11914 in case last line was cur_par and only had an error inset on it.
11916 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11918 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11921 * vc-backend.C (most methods):
11922 * exporter.C (Export):
11923 * converter.C (convert):
11925 * LyXSendto.C (SendtoApplyCB):
11926 * lyxfunc.C (dispatch):
11930 * lyx_cb.C (AutoSave):
11932 * BufferView_pimpl.C (MenuInsertLyXFile):
11933 * buffer.C (runChktex): use Buffer::filePath().
11935 * buffer.h: rename filename to filename_; rename filepath to
11936 filepath_ and make it private
11937 (filePath): new method
11939 * buffer.C (writeFile): use fileName()
11942 * lyx_main.C (init): fix starting of LyX when the binary is a
11943 link from so,ewhere else.
11945 * minibuffer.C: include <cctype> for isprint
11947 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11949 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11950 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11951 name clash with InsetCollapsable's width function.
11953 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11955 * lastfiles.C: include <iterator>
11957 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11959 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11962 * buffer.C (makeLaTeXFile): ditto.
11963 Also make loop operation more transparent.
11965 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11967 * ToolbarDefaults.C: remove trailing comma closing namespace.
11969 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11971 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11974 * trans.C (Load): comment out unused variable, allowed.
11976 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11978 * minibuffer.[Ch] (append_char): new method to recieve input from the
11979 drop-down completion browser. If a key was pressed, then recieve this
11980 char and append it to the existing string.
11981 (peek_event): modify the positioning data passed to the completion
11982 browser so that it can be placed above the minibuffer rather than below.
11983 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11985 * LyXAction.C (init): alloe error-next for readonly documents.
11987 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11990 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11992 * bufferlist.C (readFile): create the buffer _after_ checking that
11995 * lyxfunc.C (verboseDispatch): fix handling of arguments
11997 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11999 * lyxrc.C: use string::erase() instead of initializing to "".
12002 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12004 * BufferView_pimpl.h:
12005 * BufferView_pimpl.C:
12008 * text2.C: tell X when we have made a selection for copying
12010 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12012 * BufferView_pimpl.C (MenuInsertLyXFile):
12013 * lyxfunc.C (menuNew):
12015 (doImport): add shortcuts to directory buttons
12017 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12020 * lyxfunc.C (setStatusMessage):
12021 (getStatusMessage): new methods
12022 (getStatus):use setStatusMessage instead of setErrorMessage
12023 (dispatch): when function is disabled, set error message here
12024 [instead of in getStatus previously]
12026 * BufferView_pimpl.C (workAreaButtonRelease): update
12027 toolbar/menubar here too.
12029 2002-01-13 Allan Rae <rae@lyx.org>
12031 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12032 Now seems indestructible. Remaining task is to audit all other
12033 code affected by deleteEmptyParagraphMechanism. One small quirk
12034 left is that an empty document with an error in the preamble can
12035 be made to report an error but no error box appears. I don't know
12037 (removeAutoInsets): Improved comments.
12039 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12042 * Thesaurus.C: update for Aiksaurus 0.14
12044 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12046 * text2.C (firstParagraph): removed member function, all uses
12047 replaces with ownerParagraph
12048 (redoParagraphs): here
12049 (updateInset): here
12050 (toggleAppendix): here
12051 * BufferView2.C (insertErrors): here
12052 (setCursorFromRow): here
12054 2002-01-13 Allan Rae <rae@lyx.org>
12056 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12057 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12058 There is still a way to segfault this although you may have to do this
12059 multiple times: Have an InsetERT with an unknown command in it.
12060 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12061 <down-arrow>, <Enter> again, View->DVI, BANG!
12063 * text2.C (setCursor):
12064 (deleteEmptyParagraphMechanism):
12065 * lyxtext.h (setCursor):
12066 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12067 Making use of the return value may help fix other bugs.
12069 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12071 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12073 * LyXView.C (updateMenubar): call MenuBar::update here
12074 (updateToolbar): but not here
12075 (showState): do not update toolbar/menubar
12077 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12078 should need to care about that.
12080 * lyxfunc.C (verboseDispatch): simplify a bit
12081 (getStatus): have a version which takes a pseudoaction, and
12082 another which requires a (kb_action,string).
12084 * LyXAction.C (retrieveActionArg): make it work also when action
12085 is not a pseudo-action.
12086 (getActionName): simplify a bit
12089 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12091 * lyxfunc.C (verboseDispatch): new families of methods with
12092 several ways to specify a command and a bool to indicate whether
12093 the command name and shortcut should be displayed in minibuffer
12094 (eventually, we could extend that to a finer bitmask like
12095 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12096 (dispatch): the pristine dispatch command which just, well,
12097 dispatchs! Note it still sets its result to minibuffer; I'm not
12100 * lyxfunc.h: remove setHintMessage
12102 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12104 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12106 * BufferView_pimpl.C (specialChar): delete new inset if we have
12107 not been able to insert it.
12109 * kbmap.C: revert to using int instead of kb_action, since all we
12110 are dealing with is pseudo-actions.
12112 * LyXAction.C (searchActionArg): change to return int instead of
12113 kb_action, since the result is a pseudoaction.
12115 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12117 * buffer.C (insertErtContents): Fix (partially) the font bug.
12119 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12121 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12122 as the other one is broken on my machine!
12124 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12127 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12129 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12131 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12132 reflect their actual use. Provide compatibility code for older lyxrc
12135 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12137 change names of popup font variables in line with the changes to lyxrc.C
12139 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12141 * buffer.C (asciiParagraph): avoid outputing a word twice after
12144 * lyxrc.C (getDescription): document that document_path and
12145 template_path can be empty.
12147 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12149 * LaTeXFeatures.C (getMacros):
12150 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12152 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12154 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12156 (getPackages): rename feature "floats" to "float". Use an array to
12157 iterate over 'simple' features (i.e. just a \usepackage). Add
12158 handling of "amsmath" (renamed from "amsstyle").
12160 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12162 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12165 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12167 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12168 FuncStaus::FuncStatus & FuncStaus::some_method().
12170 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12172 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12173 of the func_satus stuff. Edited and massaged in various ways by
12176 * lyxfunc.C (getStatus): use FuncStatus
12178 2002-01-08 Juergen Vigna <jug@sad.it>
12180 * text.C (nextBreakPoint): use function Inset::isChar().
12182 * paragraph.C (TeXOnePar): use function
12183 Inset::forceDefaultParagraphs.
12185 * buffer.C (latexParagraphs): use function
12186 Inset::forceDefaultParagraphs.
12188 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12190 * lyx_gui.C (init): set the style of the menu popups to
12191 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12193 2002-01-07 Juergen Vigna <jug@sad.it>
12195 * text.C (setHeightOfRow): small fix
12196 (prepareToPrint): don't look at alignment if we don't have the place
12199 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12201 * box.C: New file. Move the Box methods and functions out of box.h,
12202 following Lars' suggestion.
12204 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12206 * box.h: #include "support/LOstream.h", needed for inlined function.
12209 * lyxtextclasslist.C: added some using std declarations.
12211 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12213 * box.h: make signed dimensions to allow insets wider than
12214 the screen (bug #162)
12216 * BufferView_pimpl.C: add some insetHit debug
12218 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12220 * vc-backend.C: add FIXME
12222 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12224 * lyxfunc.C (getStatus): enable code for showing math font status
12227 2002-01-07 Juergen Vigna <jug@sad.it>
12229 * text.C (nextBreakPoint): removed debug output not needed anymore.
12231 2002-01-06 Juergen Vigna <jug@sad.it>
12233 * text.C (nextBreakPoint): fixed up this function we had this bug
12234 since ever but now hopefully we break row better.
12235 (insertChar): we have to check if an inset is the next char as it
12236 could now happen that a large inset is causing a break.
12238 2002-01-05 Juergen Vigna <jug@sad.it>
12240 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12241 if it doesn't like to be drawed.
12243 2002-01-04 Juergen Vigna <jug@sad.it>
12245 * BufferView2.C (lockInset): forgot to set a cursor.
12247 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12249 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12251 * FormMathsPanel.C:
12254 * form_maths_panel.C:
12255 * form_maths_panel.h:
12256 * form_maths_panel.fd: implemented sub- and super- buttons in math
12259 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12260 (or ^ space) to be used as in TeX (req'd by André).
12262 * lyxfunc.C: Allow ^ and _ again to be used both as
12263 super/subscript (mathed) and as themselves (in text).
12265 2002-01-03 Allan Rae <rae@lyx.org>
12267 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12268 "LyX" or the filename of the current buffer if it has one. This is a
12269 modified form of John Levon's patch.
12271 * XFormsView.C (setWindowTitle): also set icon title.
12273 * LyXView.h (setWindowTitle): signature changed.
12274 * XFormsView.h (setWindowTitle): ditto.
12276 2002-01-02 Juergen Vigna <jug@sad.it>
12278 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12280 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12282 * screen.C (topCursorVisible): introduce a temp var for
12283 text->cursor.row(), handle the case where this row is null. (kindo
12286 * text2.C (setCursor): add a couple of asserts.
12288 * paragraph.h (inset_iterator): add -> operator
12290 * paragraph.[Ch] (autoDeleteInsets): remove member function
12292 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12293 cursor pos correctly and handle inset deletion by itself.
12294 (insertErrors): move iterator declaration out of for expression
12296 * lyxtextclass.C: add <algorithm>
12298 * Makefile.am: added the new files to sources, removed layout.C
12300 * layout.C: removed file
12302 * layout.h: remove LYX_DUMMY_LAYOUT
12304 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12308 * lyxtextclass.[Ch]:
12309 * lyxtextclasslist.[Ch]: new files
12311 * include order changes to a lot of files, also changes because of
12314 2001-12-27 Juergen Vigna <jug@sad.it>
12316 * buffer.C (asciiParagraph): more fixes.
12318 * tabular.C (ascii): make ascii export support export of only the
12319 data separated by a column-delimiter.
12320 (ascii): better support for ascii export.
12322 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12324 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12326 * tabular_funcs.C: use a "using std::getline" instead of the
12327 previous fix from Angus (necessary for cxx + lyxstring)
12329 2001-12-24 Juergen Vigna <jug@sad.it>
12331 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12333 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12334 problems. First check a minipage also if we have some ert-contents
12335 (not only on par->size(), second set the right depth of the paragraph
12336 on the relink to the root-paragraph-list!
12338 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12339 which then did not anymore update the main paragraphs on undo/redo!
12341 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12343 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12344 code. Support all font-changing funcs (even those which are not in
12345 menu currently). Support for reporting font settings in
12346 mathed (disabled until Andre provides a function on mathed's side).
12348 * func_status.h (toggle): small helper function to set toggle
12351 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12353 * tabular_funcs.C: getline -> std::getline
12355 2001-12-21 Juergen Vigna <jug@sad.it>
12357 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12358 accessed and could be 0 (I couldn't generate this but it seems
12361 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12363 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12364 * tabular_funcs.h: here and include iosfwd
12366 2001-12-20 Juergen Vigna <jug@sad.it>
12368 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12369 inside inset but undo_par was.
12371 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12373 * Thesaurus.C: always include <config.h> in sources.
12377 * box.h: do not include <config.h> in header files
12379 * text.C (paintLastRow): remove unused variable
12381 * text.C (transformChar):
12383 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12385 * Painter.C (text):
12386 * font.C (width): rewrite to use uppercase() instead of
12389 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12391 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12393 * lyxfind.C: clean up of find failure position change
12395 2001-12-20 Juergen Vigna <jug@sad.it>
12397 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12399 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12400 (TeXRow): added to LaTeX a single tabular row.
12401 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12402 (Latex): simplified and finally good LT-h/f support.
12403 (various_functions): just small adaptions for LT-h/f support.
12405 * tabular_funcs.[hC]: added and moved here all not classfunctions
12408 2001-12-19 Juergen Vigna <jug@sad.it>
12410 * tabular.[Ch]: better support for longtabular options (not finished
12413 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12415 * text.C (paintLastRow): use the label font instead of the font of
12416 the last character to compute the size of *_BOX. This makes more
12417 sense and avoids a crash with empty paragraphs.
12418 Use Painter::rectangle to draw EMPTY_BOX.
12420 2001-12-19 Juergen Vigna <jug@sad.it>
12422 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12423 the paragraphs if the replaced paragraph is not the first one!
12424 Tried to delete not used paragraphs but does not work yet so for
12425 now it's inside #ifdef's and by default off!
12427 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12429 * MenuBackend.C: include "lyx_main.h" instead of declaring
12430 lastfiles (actually was declared as LastFiles* instead of a
12433 2001-12-17 Juergen Vigna <jug@sad.it>
12435 * tabular.C (AppendColumn): applied John's fix
12437 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12441 * BufferView_pimpl.h:
12442 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12445 * box.h: new start of class for above
12447 * lyxfunc.C: ignore space-only minibuffer dispatches.
12448 Show the command name when it doesn't exist
12450 * minibuffer.C: don't add empty lines to the history
12452 * minibuffer.C: add a space on dropdown completion
12454 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12456 * text.C: fix line above/below drawing in insets
12458 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12460 * lyxlength.C (LyXLength): Initialize private variables.
12462 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12464 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12465 when inserting error insets.
12467 2001-12-13 Juergen Vigna <jug@sad.it>
12469 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12470 actually sometimes the before-paragraph.
12471 (setUndo): don't clear the redostack if we're not actually undoing!
12473 2001-12-06 Juergen Vigna <jug@sad.it>
12475 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12476 and fixed redoing of main paragraph, so we can use it now ;)
12478 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12480 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12482 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12485 2001-12-13 André Pönitz <poenitz@gmx.net>
12488 * undo_func.C: minor cleanup
12490 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12492 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12493 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12494 font in urw-fonts package which is marked as -urw-fontspecific and
12495 does not work (incidentally, changing the encoding in the
12496 fonts.dir of this package to -adobe-fontspecific fixes the
12499 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12500 is a crash when undoing first paragraph (Juergen, please take a
12501 look). THis does not mean the undo fix is wrong, just that it
12504 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12505 the (Paragraph*) version when needed instead of duplicating the
12508 * text.C (workWidth): use Inset::parOwner to find out where the
12509 inset has been inserted. This is a huge performance gain for large
12510 documents with lots of insets. If Inset::parOwner is not set, fall
12511 back on the brute force method
12513 * paragraph_pimpl.C (insertInset):
12514 * paragraph.C (Paragraph):
12515 (cutIntoMinibuffer): set parOwner of insets when
12516 inserting/removing them
12518 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12520 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12526 * mathed/formulabase.C:
12527 * mathed/math_cursor.[Ch]:
12528 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12531 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12533 * lyxlength.[Ch] (operator!=): new function
12535 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12537 * text.C (workWidth): use Inset::parOwner to find out where the
12538 inset has been inserted. This is a huge performance gain for large
12539 documents with lots of insets. If Inset::parOwner is not set, fall
12540 back on the brute force method
12542 * paragraph_pimpl.C (insertInset):
12543 * paragraph.C (Paragraph):
12544 (cutIntoMinibuffer): set parOwner of insets when
12545 inserting/removing them
12547 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12549 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12551 * tabular-old.C (getTokenValue):
12552 * tabular.C (getTokenValue):
12553 (write_attribute): new versions for LyXLength
12554 (everywhere): adjust the use of widths
12556 * tabular.h: change the type of widths from string to LyXLength
12558 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12560 * paragraph.C: fixed missing line number count when exporting
12561 Environments to LaTeX file
12563 * buffer.C: added informational message for checking line numbers.
12565 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12567 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12568 paragraph, do the 'double space' part, but not the 'empty
12571 * text.C (workWidth): small optimization
12572 (getLengthMarkerHeight): use minimal size for negative lengths.
12574 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12576 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12578 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12580 2001-12-11 André Pönitz <poenitz@gmx.net>
12583 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12585 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12587 * text2.C: keep selection on a setFont()
12589 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12591 * lyx_cb.C: another bv->text misuse, from insert label
12593 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12596 * kbsequence.C: re-instate nmodifier mask
12598 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12600 * lyx_main.h: make lyxGUI private.
12602 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12604 * lyxfind.C: place the cursor correctly on failed search
12606 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12608 * text.C (getLengthMarkerHeight): for small heights, the arrows
12609 are not always on top/bottom of the text
12610 (drawLengthMarker): smaller arrows; take the left margin in
12611 account; draw also vfills.
12613 (paintLastRow): remove special code for vfill and standard spaces,
12614 since everything is handled in drawLengthMarker now.
12616 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12618 * buffer.C (insertErtContents): try to handle font and language
12619 interaction a bit better.g
12621 * ColorHandler.C (updateColor): change the hash to cover the whole
12622 LColor enum, ws cleanup
12623 (getGCLinepars): ditto
12624 (getGCLinepars): only lookup in the linecache once.
12626 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12628 * iterators.C (operator++): Make the iterator more robust
12630 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12632 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12634 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12637 * text.C: better added space drawing
12639 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12642 * BufferView2.C: fix layout combo update on inset unlock
12644 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12646 * Makefile.am: don't compile unused files
12648 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12652 * LyXAction.C: remove old LFUN_LAYOUTNO
12654 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12656 * paragraph_pimpl.h:
12657 * paragraph_pimpl.C: isTextAt() doesn't need font param
12659 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12662 * lyxlex.C: little cleanup
12664 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12666 * BufferView_pimpl.C: fix insertAscii for insets
12668 2001-12-05 Juergen Vigna <jug@sad.it>
12670 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12671 set the right font on the "multi" paragraph paste!
12673 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12679 * lyxlength.C: remove out-commented code.
12681 * BufferView_pimpl:
12695 * vc-backend.C: change "while(" to "while ("
12697 * lyxlength.[Ch]: add zero function to check if length is zero or
12699 * lyxgluelength.C: use it
12701 2001-12-05 Allan Rae <rae@lyx.org>
12703 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12704 Works for 2.95.3, from what I understand of Garst's reports this should
12705 work for other g++ versions. We're screwed if the abs(int) definition
12706 changed between bugfix releases of gcc.
12708 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12710 * text.C: fix chapter label offset !
12712 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12715 * text.C: fix hfill at end of line, clean up
12717 2001-12-04 Juergen Vigna <jug@sad.it>
12719 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12720 that we force an update of the inset and it's owners if neccessary.
12722 2001-12-03 Juergen Vigna <jug@sad.it>
12724 * text.C (rowLast): simplified code
12726 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12728 * lyxfunc.C: fix show options on timeout
12730 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12732 * screen.C (topCursorVisible): scroll half a page when the cursor
12733 reached top of bottom of screen
12735 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12737 * minibuffer.C: deactivate on loss of focus
12739 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12741 * vspace.[Ch] (operator!=): add operator.
12743 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12745 * BufferView_pimpl.C: refuse to open an inset when
12746 there's a selection.
12748 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12750 * BufferView_pimpl.C: allow to click on RHS of full row insets
12752 2001-11-30 Juergen Vigna <jug@sad.it>
12754 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12755 insets for undo reasons.
12757 2001-11-28 André Pönitz <poenitz@gmx.net>
12759 * vspace.[Ch]: cosmetical changes
12761 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12771 * kbsequence.C: part re-write of old kb code
12774 * WorkArea.C: remove Lgb_bug_find_hack
12776 2001-11-30 José Matos <jamatos@fep.up.pt>
12778 * buffer.C (makeDocBookFile): add a comment to point a hack.
12779 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12780 Fixed a double write of labels.
12782 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12785 * LaTeX.h Fixed bug in LaTeX class where it would not
12786 re-run latex if no depfiles were changed, but the .dvi was removed.
12788 2001-11-28 André Pönitz <poenitz@gmx.net>
12790 * all the files from the change on 2001/11/26:
12791 use lyx::layout_type instead of LyXTextClass::size_type
12792 use lyx::textclass_type instead of LyXTextClassList::size_type
12794 2001-11-29 Juergen Vigna <jug@sad.it>
12796 * text.C: added support for paragraph::isFreeSpacing()
12798 * buffer.C: same as above
12800 * paragraph.h: inserted isFreeSpacing() function to enable
12801 FreeSpacing inside InsetERT.
12803 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12804 of the paragraph's in the cut/copy buffer to 0!
12806 * text2.C (removeRow): remove the assert as it can!
12808 * lyxtext.h: added helper function firstRow returning firstrow and
12809 made firstrow private again.
12811 * BufferView2.C (lockInset): don't relock if we're already locked!
12813 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12814 the only paragraph.
12815 (removeRow): added Assert::(firstrow)
12817 * debug.C: forgot to add INSETTEXT here.
12819 2001-11-28 Juergen Vigna <jug@sad.it>
12821 * sp_spell.C (initialize): changed error text to more general
12822 spellchecker command use (not only ispell!)
12824 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12826 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12828 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12830 * vspace.C: initialise lyxgluelength on failure
12832 2001-11-28 Allan Rae <rae@lyx.org>
12834 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12835 declaration & definition that looks like a function declaration.
12837 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12839 * BufferView2.C (copy):
12840 (copyEnvironment): do not clear the selection when doing a copy.
12842 * text.C (paintFirstRow): compilation fix
12844 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12846 * tabular.C (Latex): correct line count when writing latex.
12848 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12850 * paragraph_pimpl.h:
12851 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12854 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12858 * LColor.C: change vfillline->added_space
12860 * text.C: add markers and text for added space
12862 * vspace.C: fix comment
12864 2001-11-28 André Pönitz <poenitz@gmx.net>
12866 * paragraph.C: whitespace changes
12867 * all the other files from the change on 2001/11/26:
12868 change *::pos_type into lyx::pos_type
12870 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12872 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12873 language of the document when inserting error insets.
12875 2001-11-26 André Pönitz <poenitz@gmx.net>
12877 * BufferView_pimpl.[Ch]:
12885 * paragraph_pimpl.[Ch]:
12888 * text2.C: reduce header dependencies, introduce type for positions
12890 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12892 * <various>: change to use Alert.h
12894 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12896 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12897 when encountering an unknown token.
12898 (readLyXformat2): Show an error message if there were unknown tokens.
12900 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12903 * BufferView_pimpl.C:
12907 * text2.C: use par->isInset()
12909 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12911 * paragraph_pimpl.h:
12912 * paragraph_pimpl.C: cleanup
12914 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12916 * text2.C (removeRow):
12917 * text.C (setHeightOfRow): remove useless (and costly) call to
12920 2001-11-20 Allan Rae <rae@lyx.org>
12922 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12923 Now need Inset*::checkInsertChar() to return true for appropriate
12924 cases so that the characters in the minibuffer will actually be
12927 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12929 * text.C: change the order of the includes.
12930 (workWidth): initialize it at once.
12931 (workWidth): make maxw unsigned
12932 (setHeightOfRow): remove unused variable (inset)
12933 (selectSelectedWord): remove unused variable (inset)
12934 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12936 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12938 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12939 server is not running.
12941 (closeConnection): add debug info when server is disabled.
12943 * ColorHandler.C (getGCForeground): send debug message to GUI
12946 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12948 * kbmap.C (bind): modify because return conventions of
12949 kb_sequence::parse have changed.
12951 * kbsequence.C (parse): only ignore spaces and not any stupid
12952 control character. This avoids tests like s[i] <= ' ', which are
12953 guaranteed to fail with 8bit characters and signed chars.
12954 Change return code to string::npos when there have been no error
12955 (0 was a bad idea when error is at first character)
12957 2001-11-14 José Matos <jamatos@fep.up.pt>
12960 * buffer.C (simpleDocBookOnePar): removed unused argument.
12962 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12964 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12965 insets which are part of a word. Paragraph::isLetter takes care of
12966 that now. Use Paragraph::isInset to identify insets.
12967 (selectSelectedWord): do not test for hyphenation break.
12969 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12970 that protected spaces are considered as spaces.
12972 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12975 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12978 * lyxserver.C: fix it. and small cleanup.
12980 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12982 * BufferView_pimpl.C: use inline helpers
12985 * LaTeXFeatures.C: fix typos
12988 * Spacing.C: move spacing_string into class
12990 * ToolbarDefaults.C: move stuff into namespace anon
12992 * layout.h: update enum
12994 * lyxfunc.C: use better debug
12996 * minibuffer.h: fix typo
13000 * WorkArea.C: add and use Debug::WORKAREA
13004 * text2.C: code re-organisation, inline helpers
13006 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13008 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13009 std::vector.empty().
13011 2001-11-09 Allan Rae <rae@lyx.org>
13013 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13014 '\n's after tables. Tabular and ERT inset work now makes this no
13017 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13020 * minibuffer.C: fix crash, improve drop-down completion
13022 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13025 * lyxserver.C: invalidate fd's when doing endPipe()
13027 2001-11-08 José Matos <jamatos@fep.up.pt>
13029 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13030 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13033 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13035 2001-11-07 José Matos <jamatos@fep.up.pt>
13038 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13041 * buffer.C (sgmlOpenTag):
13042 * buffer.C (sgmlCloseTag): removed debug info.
13044 * buffer.h (sgmlOpenTag):
13045 * buffer.h (sgmlCloseTag): made public.
13047 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13049 * buffer.C (saveParamsAsDefaults):
13050 * lyx_cb.C (MenuLayoutSave): remove
13052 * LyXAction.C (init):
13054 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13056 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13058 * buffer.C (setPaperStuff): removed from here...
13060 * bufferparams.C (setPaperStuff): ... and moved there.
13062 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13066 * XFormsView.C: add support for drop-down completion
13068 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13070 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13073 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13075 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13078 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13080 * lyx_main.C: change ref to known bugs
13082 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13084 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13085 to work around older babel problems.
13087 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13089 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13091 2001-10-24 Juergen Vigna <jug@sad.it>
13093 * tabular-old.C (ReadOld): below variable changes reflected.
13095 * tabular.[Ch]: added ltType struct for longtable header/footer
13096 defines and changed all instances where they are used. Added
13097 future support for double top/bottom rows.
13099 2001-10-24 José Matos <jamatos@fep.up.pt>
13101 * buffer.h (docbookHandleCaption):
13102 * buffer.C (docbookHandleCaption): removed unused function.
13103 (makeDocBookFile): moved docbook supported version to v4.1.
13105 2001-10-24 José Matos <jamatos@fep.up.pt>
13108 * tabular.C (docbookRow): new function to export docbook code of a row.
13109 (DocBook): now honors the longtable flags.
13111 2001-10-23 José Matos <jamatos@fep.up.pt>
13114 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13115 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13117 * buffer.C (makeLinuxDocFile):
13118 (makeDocBookFile): reworked the preamble, more clean, and with
13119 support for lyx defined entities. Changed the document declaration
13120 to be more XML friendly.
13122 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13123 if we need to output XML that should be done with a filter.
13125 2001-10-22 Juergen Vigna <jug@sad.it>
13127 * sp_pspell.h (class PSpell): add alive function needed in the
13128 controller to see if the spellchecker could be started.
13130 2001-10-22 Juergen Vigna <jug@sad.it>
13132 * buffer.C (insertStringAsLines): modify the font for inserting
13133 chars in certain conditions by calling checkInsertChar(font).
13135 2001-10-19 Juergen Vigna <jug@sad.it>
13137 * text.C (workWidth): use getRow instead of wrong algorithm.
13138 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13140 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13145 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13147 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13149 * text.C (workWidth): do not search for the exact row when
13150 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13151 optimization for big documents.
13153 2001-10-18 Juergen Vigna <jug@sad.it>
13155 * text.C (workWidth): new function with added Inset * parameter.
13157 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13159 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13161 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13162 change return type of getColumnNearX.
13165 * text.C (changeRegionCase): use uppercase/lowercase instead of
13168 (rightMargin): simplify code by factoring out the uses of
13173 (appendParagraph): use Paragraph::size_type
13175 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13177 * vspace.C (asLatexString): add a missing break
13179 2001-10-15 Herbert Voss <voss@perce.de>
13181 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13183 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13185 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13188 2001-10-10 André Pönitz <poenitz@gmx.net>
13190 * lyxfunc.C: removed greek_kb_flag.
13192 2001-10-10 Herbert Voss <voss@perce.de>
13194 * lyx_main.C: delete global string help_lyxdir.
13196 2001-10-09 Herbert Voss <voss@perce.de>
13198 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13200 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13202 * lyx_main.C: added global string help_lyxdir.
13204 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13206 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13208 * lyxrc.C (set_font_norm_type): support iso8859-4
13210 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13212 * LaTeX.C (deplog): add another regex for MikTeX
13214 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13216 * lyxrc.C (set_font_norm_type): support iso8859-3
13218 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13220 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13222 * LaTeXFeatures.C: remove special case of french and index
13224 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13225 before \begin{document}). This solves several incompatibilities.
13227 2001-10-03 Garst Reese <reese@isn.net>
13229 * lyx_cb.C: change CheckTex error msg.
13231 2001-10-03 José Matos <jamatos@fep.up.pt>
13233 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13235 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13237 * .cvsignore: update
13239 * lyx_main.C (commandLineVersionInfo): use new style version info.
13241 * buffer.C (writeFile):
13243 (makeLinuxDocFile):
13244 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13246 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13248 * version.h: update to use stuff in version.C
13250 * version.C.in: new file. Contains version information determined
13251 at compile time. This is a merging of version.h and
13254 2001-10-03 Juergen Vigna <jug@sad.it>
13256 * BufferView_pimpl.C (update): don't change "dirty" status in
13259 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13261 * WorkArea.C (c-tor): re-position version string slightly.
13263 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13265 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13266 revert to previous code.
13268 WorkArea.[Ch]: (show, destroySplash): methods removed.
13270 WorkArea.C: rework code so that it's an amalgam of the codes before and
13271 after the splash screen was moved to WorkArea.
13273 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13276 * vspace.C (inPixels):
13279 * buffer.C (insertStringAsLines):
13280 (asciiParagraph): fix types to be large enough
13282 * lyxlex_pimpl.h: change member status from short to int
13284 * layout.h: fix type of endlabeltype
13287 * kbsequence.C (parse): change return type to string::size_type
13289 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13292 * Bullet.C (bulletSize):
13293 (bulletEntry): do not use short ints as parameters
13295 * BufferView2.C (insertLyXFile): change a char to an int.
13297 * WorkArea.C (WorkArea): remove unneeded floats in computation
13299 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13301 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13303 * paragraph.C (asString): Do not ignore newline/hfill chars when
13304 copying to the clipboard.
13306 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13308 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13309 after a multi-line inset.
13311 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13313 * paragraph.C (validate): Set NeedLyXFootnoteCode
13315 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13317 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13318 and decrease-error to decrease.
13320 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13322 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13323 it more readable (should be equivalent)
13325 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13327 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13329 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13331 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13332 of a cursor (row, etc.) after a character has been deleted
13333 (deleteEmptyParagraphMechanism): call the method above on _all_
13334 cursors held by the LyXText when a double space has been
13337 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13339 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13341 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13343 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13344 background. Use greyOut() and the new show() methods to toggle between
13345 the foreground and background. Add code to remove the splash after
13346 its initial showing.
13348 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13349 (create_forms): no longer call Dialogs::showSplash.
13351 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13353 * .cvsignore: add version_info.h
13355 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13357 * version_info.h.in: new file
13359 * Makefile.am: add version_info.h.in
13361 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13362 version_info.h instead of VERSION_INFO
13364 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13366 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13367 The ERT inset now returns string().
13369 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13371 * lyxtext.h, text.C (selectNextWord): renamed as
13372 selectNextWordToSpellcheck.
13374 * text.C (selectNextWordToSpellcheck): Modified to not select
13375 words inside an ERT inset.
13377 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13379 * lyx_cb.C (MenuLayoutSave): change a bit the question
13381 * sp_base.h: include <sys/types.h>
13383 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13385 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13387 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13389 * several files: fix typos in user-visible strings
13391 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13393 * text2.C (pasteSelection): do not set the selection, since it
13394 will be cleared later. Actually, the intent was to fix the way the
13395 selection was set, but I figured rmoving the code was just as good.
13397 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13399 * FontLoader.C (available): Check if font is available without
13402 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13404 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13406 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13408 * lyxrc.[Ch]: added display_graphics variable and associated code.
13410 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13412 * bufferparams.C (hasClassDefaults): new method. Returns true if
13413 the buffer parameters correspond to known class defaults
13415 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13417 * XFormsView.C (show): set minimum size to the main window.
13419 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13421 * text2.C (copySelection):
13423 * lyxfind.C (LyXReplace):
13424 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13425 LyXText::selectionAsString.
13427 * paragraph.C (asString): add "label" argument to the second form
13429 * text2.C (selectionAsString): add "label" argument and pass it to
13430 Paragraph::asString.
13432 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13434 * lyx_main.C (commandLineHelp): remove version information
13436 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13438 * lyx_main.C: add -version commandline option
13440 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13442 * paragraph.h: make the optional constructor arg required instead.
13443 some modifications to other files because of this.
13445 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13447 * lyxserver.C (C_LyXComm_callback): make it static
13449 * lyx_main.C (error_handler): make it static
13451 * lyx_gui.C (LyX_XErrHandler): make it static
13453 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13455 * WorkArea.C: make the extern "C" methods static.
13457 * Makefile.am (lyx_LDADD): simplify
13459 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13461 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13462 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13464 * LyXAction.C (init):
13465 * lyxfunc.C (dispatch): associated code removal.
13467 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13469 * lyxfont.h (isSymbolFont): shut off warning
13471 * text.C (setHeightOfRow):
13472 (getVisibleRow): fix crash with empty paragraphs which have a
13475 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13477 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13480 2001-09-04 José Matos <jamatos@fep.up.pt>
13483 * tabular.C (docbook): rename docBook method to docbook.
13485 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13487 * Makefile.am: add dependencies to main.o.
13489 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13491 * FontLoader.C (available): Return false if !lyxrc.use_gui
13493 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13495 * FontInfo.C (query):
13496 * converter.C (view):
13497 * importer.C (Import):
13498 * exporter.C (Export): Can not -> cannot.
13500 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13502 * BufferView_pimpl.C: allow to create index inset even if
13505 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13507 * buffer.C (getLists): replace boost::tie code with an explicit pair
13508 as boost::tie can break some compilers.
13510 * iterators.h: Added a std:: declaration to the return type of
13513 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13515 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13518 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13520 * iterators.[Ch]: New files. Provide paragraph iterators.
13522 * buffer.C (changeLanguage): Use paragraph iterators.
13523 (isMultiLingual): ditto
13525 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13527 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13529 * FontLoader.C: Support for cmr font.
13531 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13533 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13534 (available): New method.
13536 * FontInfo.C (getFontname): Use scalable fonts even when
13537 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13540 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13542 * converter.C (Formats::view): reverted! Incorrect fix.
13544 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13546 * converter.C (Formats::view): only output the -paper option
13547 if the dvi viewer is xdvi, thereby fixing bug #233429.
13549 2001-08-23 Herbert Voss <voss@perce>
13551 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13553 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13555 * Spacing.h (Spacing): Set space to Default on in the default
13558 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13560 * vc-backend.h (RCS::versionString): add RCS to version
13561 (CVS::versionString): add CVS to version
13563 * vc-backend.C (scanMaster): do not add CVS to version.
13564 (scanMaster): do not add RCS to version
13566 * lyxvc.C (versionString): new method
13568 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13570 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13572 * Spacing.C (set): initialize fval
13574 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13576 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13579 2001-08-16 Juergen Vigna <jug@sad.it>
13581 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13583 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13585 * BufferView_pimpl.C:
13588 * text2.C: setParagraph takes linespacing now
13590 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13592 * LyxAction.C: add internal LFUN_CITATION_INSERT
13594 * LyXView.C: actually apply fix
13596 * bufferlist.C: fix open non-existent file
13598 * lyxfind.C: fix indentation
13600 * lyxfunc.C: remove unneeded assert, fix typo
13602 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13604 * MenuBackend.C: use "Floatname List"
13606 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13608 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13609 when converting LaTeX layout to insetERT.
13610 Generate a non-collapsed float when reading old float
13612 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13614 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13617 2001-08-13 Juergen Vigna <jug@sad.it>
13619 * text.C (fill): return 0 instead of 20 as this seems to be the more
13622 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13624 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13627 2001-08-13 Juergen Vigna <jug@sad.it>
13629 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13631 (SearchBackward): comment out the unlocking of the inset_owner this
13632 should not be needed!
13634 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13636 * Many files: Remove inherit_language, and add latex_language
13638 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13639 collapsible insets.
13641 2001-08-10 Juergen Vigna <jug@sad.it>
13643 * text.C (prepareToPrint): fixed hfill-width in draw!
13645 * BufferView2.C (selectLastWord): save the selection cursor as this
13646 now is cleared in the function LyXText::clearSelection!
13648 2001-08-08 Juergen Vigna <jug@sad.it>
13650 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13651 BACKSPACE type functions.
13653 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13654 is only cutted from the document but not put in the cut-buffer, where
13655 still the old stuff should be.
13657 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13659 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13661 * tabular.C (SetWidthOfCell): fixed special case where the width
13663 (LeftLine): handle '|' in align_special.
13665 (LeftAlreadyDrawed): ditto
13666 (SetWidthOfCell): ditto
13668 2001-08-07 Juergen Vigna <jug@sad.it>
13670 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13672 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13674 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13675 * lyxlex.[hC]: ditto
13677 2001-08-06 Juergen Vigna <jug@sad.it>
13679 * text.C (getVisibleRow): fix up row clearing a bit.
13681 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13683 * minibuffer.C: make sure the X server sees the changes in the input.
13685 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13687 * paragraph.C (getFont): split into...
13688 (getLabelFont): this
13689 (getLayoutFont): and this
13690 * paragraph_pimpl.C (realizeFont): calling this
13692 * text2.C (getFont): split into...
13693 (getLayoutFont): this
13694 (getLabelFont): and this
13695 (realizeFont): all three calling this
13697 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13700 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13702 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13704 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13706 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13707 layouts from the Quote inset insertion.
13709 2001-08-03 Juergen Vigna <jug@sad.it>
13711 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13713 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13714 only if status not is already CHANGED_IN_DRAW (second level).
13716 * text.C (draw): don't set the need_break_row when inside an
13719 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13721 * buffer.C (parseSingleLyXformat2Token): handle more latex
13724 * bufferview_funcs.[hC]: change function names to
13725 begin with small char, adjust other files.
13727 2001-08-02 André Pönitz <poenitz@gmx.net>
13730 BufferView_pimpl.C: remove broken special code for math-greek
13732 2001-08-02 Juergen Vigna <jug@sad.it>
13734 * BufferView_pimpl.C (update): redone this function so that we
13735 update the text again if there was a CHANGE_IN_DRAW.
13737 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13738 (drawFromTo): added a new internal bool which is used by draw() and
13740 (general): some cursor drawing problems fixed.
13742 2001-08-01 Juergen Vigna <jug@sad.it>
13744 * lyxfind.C (LyXFind): fixed
13745 (SearchForward): ditto
13746 (SearchBackward): ditto
13748 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13749 spurius drawing of the cursor in the main area.
13751 * text2.C (status): small fix which could lead to a segfault!
13752 (clearSelection): remove unneeded BufferView param.
13754 2001-08-01 André Pönitz <poenitz@gmx.net>
13756 * lyxfunc.C: small change due to changed mathed interface
13758 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13760 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13762 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13764 * lyxfunc.c: fail gracefully if file doesn't exist
13769 * BufferView_pimpl.C: IsDirWriteable() proto changed
13771 * LyXView.C: fix updateWindowTitle() to store the last title
13773 2001-07-31 Juergen Vigna <jug@sad.it>
13775 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13776 the font (wrong since using of Paragraph::highestFontInRange).
13778 * paragraph.C (highestFontInRange): added a default_size parameter.
13780 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13781 (setHeightOfRow): reformat
13783 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13785 * converter.[hC] + affected files: move to (inital-char)lowercase
13788 * ParagraphParameters.C (ParagraphParameters): remove commented code
13790 * PainterBase.[Ch]: remove commented code
13792 * LaTeXFeatures.h: add "bool floats" for float.sty
13794 * LaTeXFeatures.C (LaTeXFeatures): init floats
13795 (require): handle float
13796 (getPackages): do it with floats
13798 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13800 * BufferView_pimpl.C (Dispatch): improve handling of
13801 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13803 * commandtags.h: #include lyxfont.h here temporarily to avoid
13806 * bufferlist.h: include LString.h here.
13808 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13810 * text2.C (getStringToIndex): new method.
13812 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13814 * *: Reduced header file dependencies all over.
13816 2001-07-30 Baruch Even <baruch@lyx.org>
13818 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13820 2001-07-29 Baruch Even <baruch@lyx.org>
13822 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13824 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13826 * ParameterStruct.h (endif): add a default constructor to make
13827 sure that all variables is initialized.
13829 * ParagraphParameters.C (ParagraphParameters): adjust
13831 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13833 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13834 index; also, check that there is something to index, and that it
13835 does not span over several paragraphs.
13836 (doubleClick): use WHOLE_WORD_STRICT for double click.
13838 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13840 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13843 2001-07-26 Baruch Even <baruch@lyx.org>
13845 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13846 an InsetFig figure, backwards compatible reading of old figure code.
13848 2001-07-27 Juergen Vigna <jug@sad.it>
13850 * text2.C: font.realize function adaption.
13852 * text.C (draw): add a warnings lyxerr text if needed.
13854 * layout.C: font.realize function adaption.
13856 * language.C: add inherit_language and implement it's handlings
13858 * bufferview_funcs.C (StyleReset): remove language parameter from
13859 font creation (should be language_inherit now).
13861 * bufferparams.C (writeFile): handle ignore_language.
13863 * paragraph.C (getFontSettings): the language has to be resolved
13864 otherwise we have problems in LyXFont!
13866 * lyxfont.C (lyxWriteChanges): added document_language parameter
13867 (update): removed unneeded language parameter
13869 * paragraph.C (validate): fixed wrong output of color-package when
13870 using interface colors for certain fonts in certain environments,
13871 which should not seen as that on the final output.
13873 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13875 * BufferView_pimpl.C:
13880 * LyXAction.C: add thesaurus support
13883 * lyxfind.C: add "once" parameter, for thesaurus, to not
13884 move to the next match
13886 2001-07-26 Juergen Vigna <jug@sad.it>
13888 * lyxfont.C (realize): honor ignore_language too!
13891 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13893 * text.C (draw): one place more for ignore_language to not draw
13896 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13898 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13900 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13902 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13903 the minipage conversion problem.
13905 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13907 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13910 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13912 * BufferView.h: don't forward declare WorkArea
13914 * BufferView.C: don't include WorkArea.h
13916 2001-07-25 André Pönitz <poenitz@gmx.net>
13920 * lyxfunc.C: new LFUN 'math-space'
13922 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13924 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13926 * text2.C (toggleInset): call open/close
13928 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13930 * lyxfunc.C (dispatch): add debug for the disabled case
13932 * font.C (buttonText): make similar to rectText
13934 * buffer.C (readInset): comment out parsing of insetlist and
13937 * PainterBase.C (rectText): small correction
13939 * BufferView_pimpl.C: comment out insettheorem and insetlist
13940 * LyXAction.C: ditto
13941 * commandtags.h: ditto
13943 2001-07-24 Juergen Vigna <jug@sad.it>
13945 * text.C (draw): honor the ignore_language.
13947 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13949 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13951 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13954 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13956 * lyxtext.h: remove unused (and unimplemented) methods
13958 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13960 * text.C (getVisibleRow): honor background color
13963 * Painter.h: remove default color argument for fillRectangle
13965 * text.C (backgroundColor): new method
13967 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13969 * text.C (getVisibleRow): adjust
13971 * font.[Ch] (rectText): new method, metrics
13972 (buttonText): new method, metrics
13974 * PainterBase.[hC]: make rectText and buttonText always draw and take
13977 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13979 * ToolbarDefaults.C (read):
13980 * MenuBackend.C (read): allow escaping in all strings
13982 * BufferView_pimpl.C (insertAndEditInset): new method.
13983 (Dispatch): use insertAndEditInset whenever appropriate.
13985 * BufferView_pimpl.C (insertNote): removed
13987 * BufferView_pimpl.C (smartQuote): new method, moved from
13988 BufferView; if an insetquote cannot be inserted, insert a '"'
13991 * BufferView2.C: remove insertCorrectQuote();
13993 * lyxfunc.C (getStatus): Add support for all remaingin
13994 inset-insert lfuns.
13996 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13998 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13999 command (necessary to pass " as parameter of self-insert.
14001 * text.C (selectWordWhenUnderCursor):
14002 (selectWord): add word_location parameter
14003 (selectWordWhenUnderCursor): same + remove special code for word
14005 (selectNextWord): use kind() to guess type of insetspecialchar,
14008 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14009 (insertErtContents): create ert insets as collapsed.
14010 (readInset): better compatibility code for Info inset.
14012 2001-07-20 Juergen Vigna <jug@sad.it>
14014 * lyxfunc.C (dispatch): use always LyXFind now!
14016 * text2.C (init): add a reinit flag so that the LyXText can be
14017 reinited instead of deleted and reallocated (used in InsetText).
14019 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14025 2001-07-18 Juergen Vigna <jug@sad.it>
14027 * text.C (selectNextWord): handle insets inside inset by calling
14028 always the bv->text functions so that we can go up the_locking_inset!
14030 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14031 in strange locations when inside an inset!
14033 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14034 handling to include insets.
14036 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14038 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14040 * LyXAction.C (init):
14042 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14043 LIGATURE_BREAK, since the name is so stupid.
14045 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14047 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14050 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14052 * sp_form.[Ch]: remove.
14054 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14056 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14059 * src/buffer.C (readInset): ditto.
14061 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14063 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14064 menuSeparator(), endOfSentenceDot(), ldots() and
14065 hyphenationPoint(), which are therefore removed.
14066 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14068 * LyXAction.C (init):
14069 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14071 * paragraph.C (getWord): removed.
14073 * BufferView_pimpl.C (Dispatch): use last word or selection for
14074 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14076 * lyx_main.C (queryUserLyXDir): do not ask before creating
14077 user_dir, except if it has been named explicitely.
14079 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14081 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14082 a document of zero size.
14084 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14086 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14087 approriately in the c-tor and in require().
14088 (getPackages): output the appropriate LaTeX for natbib support.
14090 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14091 variables "use_natbib" and "use_numerical_citations" when reading the
14093 (readInset): read the various natbib cite commands.
14094 (validate): white-space change.
14096 * bufferparams.[Ch]: new variables "bool use_natbib" and
14097 "bool use_numerical_citations".
14098 (writeFile): output them in the LyX file.
14100 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14102 * lyxfunc.C (getStatus): add support for all the inset insertion
14105 * text2.C (insertInset):
14106 * paragraph.C (insetAllowed):
14107 * BufferView_pimpl.C (insertInset): update to take in account the
14108 renaming of insertInsetAllowed
14110 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14112 * text2.C (getInset): new method. returns inset at cursor position.
14114 * BufferView_pimpl.C (Dispatch): changes because of this.
14116 * LyXAction.C (init): rename open-stuff to inset-toggle.
14118 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14120 * text2.C (toggleInset): renamed from openStuff; use
14123 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14125 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14127 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14129 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14131 * buffer.C (readLyXformat2): Add filename to the error dialog
14133 2001-07-18 Juergen Vigna <jug@sad.it>
14135 * tabular.C (GetCellNumber): put an assert here instead of the check!
14137 2001-07-17 Juergen Vigna <jug@sad.it>
14139 * BufferView_pimpl.C (toggleSelection): adapted too.
14141 * text.C (selectNextWord): adapted for use with insets.
14142 (selectSelectedWord): ditto
14144 2001-07-17 Juergen Vigna <jug@sad.it>
14146 * sp_spell.C (PSpell): fix initialitation order.
14148 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14150 * paragraph.C: spacing
14152 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14154 * sp_spell.C: repair language selection for pspell
14156 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14158 * lyxfunc.h: change more methods to begin with lower char.
14160 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14162 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14163 for unknown layouts.
14165 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14167 * buffer.C (readLyXformat2): Generate an error dialog if there are
14170 2001-07-16 Juergen Vigna <jug@sad.it>
14172 * sp_spell.C: always compile ISpell part.
14174 * lyxrc.C: added use_pspell entry and it's handling.
14176 2001-07-13 Juergen Vigna <jug@sad.it>
14178 * sp_spell.C: removed double includes.
14180 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14182 Consistent use of Lsstream.h:
14183 * Lsstream.h: added using std::stringstream for consistencies sake.
14185 * buffer.C: removed using std::stringstream
14187 * lyxfont.C (stateText):
14188 * paragraph.C (asString):
14189 * text.C (selectNextWord, selectSelectedWord):
14190 * text2.C (setCounter):
14191 * vspace.C (asString, asLatexString):
14192 std::ostringstream -> ostringstream.
14194 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14196 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14197 * commandtags.h: add LFUN_HELP_ABOUTLYX
14198 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14200 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14202 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14204 * lyx_gui_misc.C: remove spellchecker
14205 * lyxfunc.C: showSpellchecker
14207 * sp_ispell.h: added
14208 * sp_pspell.h: added
14209 * sp_spell.C: added
14210 * sp_form.[Ch]: removed
14211 * spellchecker.[Ch]: removed
14213 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14215 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14217 (simpleTeXSpecialChars): Simply print the input character without
14218 any special translation if pass_thru is set.
14220 * layout.h: Added bool pass_thru to layout class for being able to
14221 implement pass through of a paragraph for Literate Programming.
14223 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14224 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14225 * layout.C (Read): add "passthru" to list of layout tags and add
14226 code to set the pass_thru boolean when it is read.
14228 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14230 * trans_decl.h: remove allowed from KmodInfo
14232 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14233 remove allowed code
14236 * paragraph_pimpl.C (erase): use boost::prior
14238 * Painter.C (text): use data() instead of c_str() when length is
14240 * WorkArea.C (putClipboard): ditto
14241 * font.h (width): ditto
14243 * BufferView2.C: use it-> instead of (*it). for iterators
14245 * paragraph_pimpl.C: ditto
14246 * paragraph.C: ditto
14247 * minibuffer.C: ditto
14248 * language.C: ditto
14250 * encoding.C: ditto
14251 * counters.C: ditto
14252 * converter.C: ditto
14254 * Variables.C: ditto
14255 * TextCache.C: ditto
14256 * MenuBackend.C: ditto
14257 * LyXAction.C: ditto
14259 * FloatList.C: ditto
14260 * DepTable.C: ditto
14261 * ColorHandler.C (LyXColorHandler): ditto
14263 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14265 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14267 * text2.C (openStuff): reintroduce this method (which had been
14268 nuked in NEW_INSETS frenzy).
14270 * lyxfunc.C (Dispatch): when an action has not been handled, use
14271 its name in the error message, not its number.
14273 * paragraph.C (inInset): change method name to begin with lowercase.
14276 * text2.C: updates because of this.
14278 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14280 * ToolbarDefaults.C (add): add spaces in error message
14282 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14284 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14285 (readLyXformat2): rename return_par to first_par, use lyxlex's
14286 pushToken and remove the manual push handling.
14287 (parseSingleLyXformat2Token): add another ert comp. variable:
14288 in_tabular, rename return_par to first_par. handle newlines better
14290 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14292 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14294 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14296 * text2.C (getParFromID): removed
14298 * buffer.C (getParFromID): new method moved form lyxtext.
14299 * BufferView2.C (insertErrors): adjust
14300 (setCursorFromRow): adjust
14301 * BufferView_pimpl.C (restorePosition): adjust
14302 * lyxfunc.C (Dispatch): adjust
14303 * undo_funcs.C (textUndo): adjust
14305 (textHandleUndo): adjust
14306 (textHandleUndo): adjust
14308 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14310 * buffer.C: up' the LYX_FORMAT
14312 * lyxfont.h: turn NO_LATEX on as default
14314 * buffer.C (insertErtContents): new methods of tex style compability.
14315 (parseSingleLyXformat2Token): use it several places.
14316 * tabular.C (OldFormatRead): and here
14318 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14320 * text2.C: remove some commented code.
14323 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14324 * trans.C: changes because of the above.
14326 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14328 * text2.C (setCounter): Fix counters bug with bibliography layout.
14330 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14332 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14333 own member functions
14334 (simpleTeXSpecialChars): ditto
14336 2001-07-06 Juergen Vigna <jug@sad.it>
14338 * a lot of files: changed the access to LyXText::status and the
14339 call of undo-functions.
14341 * undo.[Ch]: added a inset_id to the undo informations.
14343 * undo_funcs.[Ch]: added and moved here all undo functions.
14345 * lyxtext.h: give the status enum a weight, made status_ a private
14346 variable and made accessor functions for it, removed the whole bunch
14347 of undo-functions as they are now in their own file, make some
14348 functions publically available. Added function ownerParagraph with
14351 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14352 made InInset() a const function, added getParFromID() function.
14354 * buffer.[Ch]: added const version for inset_iterator functions,
14355 added getInsetFromID() function.
14357 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14358 changed undo functions for new version.
14360 2001-07-05 Juergen Vigna <jug@sad.it>
14362 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14363 unknow mechanism does not call the proper constructor but only this
14364 one also if I request the other!?
14366 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14368 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14370 * text2.C (LyXText): use initialization lists.
14372 * lyxtext.h (Selection): initialize set_ and mark_
14373 (init): remove method
14375 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14377 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14379 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14381 * screen.[Ch]: change method names to begin with lowercase
14383 * BufferView_pimpl.C (updateScrollbar): simplify further and
14384 hopefully make it a bit faster.
14386 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14388 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14389 calling directly xforms functions.
14391 * Painter.C (Painter):
14392 * lyx_cb.C (MenuWrite):
14393 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14396 * lyx_gui.C: remove bogus guiruntime extern declaration.
14398 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14400 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14402 (redoDrawingOfParagraph): ditto
14403 (redoParagraphs): ditto
14404 (cutSelection): don't create a object for CutAndPaste use the
14405 static method directly
14406 (pasteSelection): ditto
14408 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14411 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14413 * modifications to some other files because of this.
14415 * Makefile.am (lyx_SOURCES): add XFormsView
14417 * XFormsView.[Ch]: new files
14419 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14420 the main window. Move the gui dependent stuff to XFormsView
14422 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14424 * tabular.C (GetCellInset): update cur_cell also in the row/col
14425 version of this function.
14427 * lyxfunc.C: no need to include figure_form.h here.
14433 * lyxvc.C: no need to include forms.h here.
14435 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14437 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14439 * lyxfunc.C (Dispatch):
14441 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14442 constructor argument.
14444 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14446 * paragraph.C (Paragraph): dont't clear, and just set layout.
14447 (makeSameLayout): use params's copy contructor.
14449 * ParagraphParameters.[Ch] (makeSame): delete method
14451 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14453 * Variables.[Ch]: fix indentation, rename set to isSet
14455 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14457 * lyxfunc.C (Dispatch): fix typo
14459 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14461 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14464 * bufferlist.C: include assert.h for emergencyWrite().
14466 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14468 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14469 give up at last (bug #425202) !
14471 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14477 * spellchecker.C: strip spellchecker options and bring up
14478 preferences tab instead
14480 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14482 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14483 the istringstream constructor
14485 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14487 * paragraph.C (getLayout): fix return value
14489 * paragraph.h: do not declare getLayout as inline.
14491 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14493 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14495 * lyxcursor.h (operator<): new func
14496 (operator>): new func
14497 (operator>=): new func
14498 (operator<=): new func
14500 * text.C (changeCase): use selection.start and selection.end
14501 (changeRegionCase): require from to be <= to. Require par to be a
14504 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14506 2001-06-27 Juergen Vigna <jug@sad.it>
14508 * text.C (cursorLeftOneWord): changed to return the cursor and added
14509 overlay with BufferView * parameter which calls this one.
14511 (selectWord): use new getWord function.
14512 (changeCase): renamed from changeWordCase as and extended to work
14513 also on selections.
14515 * lyxtext.h: added enum word_location
14517 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14518 changeCase as this operates now also on selections.
14520 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14522 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14524 * many files: send debug output to Debug::INFO instead of
14527 * converter.C (View):
14529 (Move): send debug output to Debug::FILES instead of console.
14531 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14533 * lyxfunc.C (getStatus): use func_status
14535 * func_status.h: new header, describing the results of
14536 LyXFunc::getStatus;
14538 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14541 2001-06-25 The LyX Project <jug@sad.it>
14543 * buffer.C (sgmlOpenTag):
14545 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14547 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14549 * text2.C: remove some dead code
14551 * tabular.C (GetCellInset): store the last cell checked (gotten)
14553 * tabular.h: add the helper for the speedup
14555 * lyxtext.h: remove some dead code
14557 2001-06-26 The LyX Project <Asger>
14559 * paragraph.C: Change export to LaTeX of alignment to
14560 \begin{center} and family for better roundtrip work with reLyX.
14562 * Tune the math drawing a bit.
14564 2001-06-25 The LyX Project <Asger>
14566 * LColor.C (LColor): New color for math background. New color
14569 2001-06-25 The LyX Project <jug@sad.it>
14571 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14573 * lyxfunc.C (Open):
14574 * bufferlist.C (newFile): do not restrict to files ending with
14577 * BufferView_pimpl.C (MenuInsertLyXFile):
14579 2001-06-24 The LyX Project <jug@sad.it>
14581 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14584 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14586 * lyxtext.h: rename most methods to begin with a small char.
14587 Lots of changes because of this.
14589 * paragraph.C (Paragraph): do not call fitToSize
14590 (erase): call Pimpl::erase
14591 (insertChar): call Pimpl::insertChar
14592 (insertInset): call Pipl::insertInset
14593 (breakParagraph): do not call fitToSize
14594 (breakParagraphConservative): do not call fitToSize
14595 (fitToSize): remove method
14597 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14599 2001-06-24 The LyX Project <Asger>
14601 * Fix Qt compilation^2
14603 2001-06-24 The LyX Project <jug@sad.it>
14605 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14606 depthHook(getDepth()-1).
14609 * ParagraphParameters.h:
14610 * ParameterStruct.h: change type of depth to unsigned int ==
14611 depth_type. Many adaptations to other files before of that.
14613 2001-06-24 The LyX Project <Asger>
14615 * Fix Qt compilation.
14617 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14619 * paragraph.h: renamed several methods to begin with small letter.
14620 several changes to many parts of the code because of this.
14622 2001-06-23 The LyX Project <jug@sad.it>
14624 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14625 rewritten to discard all double spaces when KeepEmpty is off
14626 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14627 to only handle newlines but not fiddle with spaces and friends.
14629 * lyxfunc.C (MenuNew): when doing 'new from template', use
14630 template_path as default directory
14632 2001-06-23 The LyX Project <Asger>
14634 * Clean-up of header file includes all over
14635 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14637 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14639 * paragraph.h: renamed from lyxparagraph.h
14641 2001-06-23 Asger <lyx@violet.home.sad.it>
14643 * Buffer.h: Removed Buffer::resize
14644 * BufferList.h: Removed BufferList::resize
14645 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14646 the document lazily when we change the width, or the font settings.
14648 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14650 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14652 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14654 * buffer.h: remove out of date comment
14656 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14659 * screen.C: fix "theoretical" GC leak
14661 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14663 * LaTeX.C (scanAuxFile):
14664 (deplog): remove trailing \r when reading stream (useful under
14667 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14669 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14670 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14671 and BufferView::theLockingInset(Inset*), so should use them and not
14672 access bv_->text->the_locking_inset directly.
14674 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14676 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14679 * tex-defs.h: remove old unused file
14681 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14683 * BufferView_pimpl.C: fix typo, remove minibuffer message
14684 when buffer has loaded
14686 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14688 * lyxfunc.C (Dispatch): use stringstream
14689 (MenuNew): use stringstream
14690 (Open): use stringstream
14692 * importer.C (Import): use stringstream
14694 * bufferview_funcs.C (CurrentState): use stringstream
14696 * LaTeX.C (run): use stringstream
14698 * BufferView_pimpl.C (savePosition): use stringstream
14699 (restorePosition): use stringstream
14700 (MenuInsertLyXFile): use stringstream
14702 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14715 * vspace.C: removed // -*- C++ -*- as first line.
14718 * version.h: added // -*- C++ -*- as first line.
14720 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14722 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14724 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14727 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14729 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14732 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14734 * gettext.C: include LString.h even when --disable-nls is on.
14736 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14738 * converter.h (Get): changed argument type from int to
14739 FormatList::size_type to avoid unnecessary conversion.
14741 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14744 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14746 * gettext.h: include LString.h even when --disable-nls is on.
14748 2001-06-07 Juergen Vigna <jug@sad.it>
14750 * text.C (BreakAgain): subst spaces with tabs.
14752 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14753 (resizeInsetsLyXText): set force on resizeLyXText.
14755 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14757 * gettext.h (gettext_init):
14758 (locale_init): use a real definition instead of a macro
14760 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14762 * Bufferview_pimpl.C:
14764 * LColor.C: further lcolor tidies
14766 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14768 * BufferView_pimpl.C (updateScrollbar): simplify.
14770 * BufferView2.C: don't include insets/insetinfo.h, change
14771 prototype for insertInset and call the Pimpl version. let
14772 updateInset call Pimpl version.
14774 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14775 gotoInset to BufferView::Pimpl
14777 2001-06-01 Juergen Vigna <jug@sad.it>
14779 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14780 inside a LockingInset (is the update needed at all?).
14782 2001-05-31 Juergen Vigna <jug@sad.it>
14784 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14785 here not the old one otherwise how should we compare it afterwards
14788 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14793 * FontInfo.C: bring C functions into global namespace when
14796 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14798 * LString.h: make sure config.h has been loaded before LString.h.
14800 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14801 (one for each char read by EatLine!).
14803 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14806 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14808 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14809 to the same as the par we break from
14811 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14813 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14815 * MenuBackend.C (expand): also create menu entries for wide
14816 versions of the floats.
14818 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14820 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14822 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14823 frontends/Makefile.am
14829 * tabular.C (getTokenValue): add std::
14831 * tabular-old.C (getTokenValue): add std::
14832 (getTokenValue): ditto
14833 (getTokenValue): ditto
14835 * screen.C (ToggleSelection): adjust
14837 * lyxtext.h: put selection cursors inside a Selection struct.
14839 * lyxfunc.C (moveCursorUpdate): adjust
14841 * lyxfont.C (latexWriteStartChanges): add std::
14843 * lyxfind.C: adjust
14845 * font.h: delete with(char const *, LyXFont const &)
14847 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14849 * FontInfo.C (getFontname): add std::
14851 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14852 (workAreaButtonPress): adjust
14853 (tripleClick): adjust
14855 (moveCursorUpdate): adjust
14858 * BufferView2.C (gotoInset): adjust
14860 2001-05-30 Juergen Vigna <jug@sad.it>
14862 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14863 to check pspell I add this as default as I now have new pspell
14864 libraries and they seem to use this.
14866 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14868 * text2.C (CutSelection): make the cursor valid before the call to
14871 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14873 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14874 relied on 0 terminated strings and other horrors. Bug found due to
14875 the new assert in lyxstring!
14877 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14880 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14882 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14885 * lyxfunc.C (processKeySym): change method of getting to the
14888 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14889 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14890 * BufferView_pimpl.[Ch]: here as private methods.
14892 2001-05-28 Juergen Vigna <jug@sad.it>
14894 * text.C (SetHeightOfRow): added the update() call again as it is
14895 needed to initialize inset dimensions!
14897 2001-05-16 Juergen Vigna <jug@sad.it>
14899 * text2.C (SetCharFont): Add new function with BufferView * and
14900 bool toggleall parameters for setting insets internal fonts.
14901 (SetFont): Freeze the undo as we may change fonts in Insets and
14902 all this change should be inside only one Undo!
14904 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14905 setting font's in insets as for them we have the SetFont function!
14907 2001-05-15 Juergen Vigna <jug@sad.it>
14909 * text2.C (ClearSelection): to be sure we REALLY don't have any
14912 * tabular.C (TeXCellPreamble): fixed the left border problem for
14915 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14917 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14920 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14922 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14923 LFUN_BREAKPARAGRAPH.
14925 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14926 help test to "internal only", similar for LFUN_INSERT_URL
14928 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14929 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14930 auto_region_delete and deadkeys.
14932 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14935 * LColor.C: remove some dead entries, tidy a little
14937 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14939 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14941 (Dispatch): implement LFUN_ESCAPE
14943 * commandtags.h: add LFUN_ESCAPE
14945 * LyXAction.C (init): add entry for LFUN_ESCAPE
14947 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14948 Remove commented code.
14949 (insertNote): moved here
14950 (open_new_inset): moved here
14952 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14955 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14957 * kbmap.C (findbinding): clean it up and make it work correctly.
14959 * lyx_main.C (init): do not pass argc and argv as parameters
14961 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14963 * buffer.C: fix path for OS/2 & Win32
14967 * lyx_main.C: Added os:: class.
14969 * os2_defines.h: update
14971 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14973 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14974 better by trying again with reduced state.
14976 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14978 * lyxrc.C (read): print error about invalid key sequence only when
14979 debugging (because not all latinX keysyms are known to some X
14982 * kbsequence.C (getiso): add a few std:: qualifiers
14983 (getiso): comment out extra return statement.
14985 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14987 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14989 (Dispatch): enhance the accent inset a bit. (not perfect)
14991 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14993 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14995 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14997 * bufferlist.C (emergencyWrite): fix assert() call
14999 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15001 * text.C (InsertChar): Added trivial patch to only send the "you
15002 can not do multiple spaces this way" message once during a
15005 2001-05-08 Baruch Even <baruch@lyx.org>
15007 * Makefile.am: Changed order of libraries to get LyX to link properly
15008 with the gnome frontend.
15010 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15012 * LaTeXFeatures.h: add a std:: qualifier
15014 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15016 * paragraph.C (String): use stringstream
15018 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15020 * paragraph.C (writeFile): remove footflag arg
15022 * buffer.C (makeLaTeXFile): use stringstream
15023 (latexParagraphs): remove footnot gurba
15025 * LaTeXFeatures.C (getPackages): use stringstream
15026 (getMacros): likewise
15027 (getTClassPreamble): likewise
15028 (getFloatDefinitions): new method
15030 * paragraph.C (writeFile): reindent
15033 * WorkArea.h: revert the xpos + etc changes.
15035 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15037 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15039 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15040 (pasteSelection): likewise
15041 * text2.C (CreateUndo): likewise
15043 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15045 * minibuffer.C (peek_event): temporarily reduce the functionality
15046 of the minibuffer (to allow args on lfuns)
15048 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15049 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15051 * buffer.C (readInset): add compability reading of old float
15052 lists, add reading of new style float list.
15053 (readInset): avoid reevaluation of inscmd.getCmdName()
15054 (getLists): reindent
15056 * MenuBackend.C (MenuItem): implement parsing of
15057 md_floatlistinsert and md_floatinsert.
15058 (expand::LastFiles): move initalizaton of iterators out of loop,
15059 avoid reevaluation.
15060 (expand::Documents): introduce typdedef vector<string> Strings,
15062 (expand::ExportFormats): introduce typedef vector<Format const *>
15063 Formats, and use it.
15064 (expand): implement FloatListInsert and FloatInsert.
15066 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15067 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15068 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15070 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15072 (Dispatch::LFUN_FLOAT_LIST): implement
15074 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15076 * LaTeX.C (run): Fix problem with --export code.
15078 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15080 * BufferView.[Ch] (workarea): removed.
15081 (getClipboard) new method; wrapper for workarea()->getClipboard()
15083 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15086 * WorkArea.h (width, height, xpos, ypos): These methods all
15087 returned the dimensions of the work_area sub-area of WorkArea,
15088 resulting in a position error if the WorkArea were resized. Now
15089 return the dimensions of the entire WorkArea.
15091 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15093 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15095 * LaTeX.C (deplog): correct the syntax of regex reg1
15097 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15099 * undo.C: remove !NEW_INSETS cruft
15101 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15103 * text2.C: remove !NEW_INSETS cruft
15105 * text.C: remove !NEW_INSETS cruft
15107 * tabular.C: remove !NEW_INSETS cruft
15109 * spellchecker.C: remove !NEW_INSETS cruft
15111 * lyxtext.h: remove !NEW_INSETS cruft
15113 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15115 * lyxfunc.C: remove !NEW_INSETS cruft
15117 * lyxfind.C: remove !NEW_INSETS cruft
15119 * lyx_cb.C: remove !NEW_INSETS cruft
15121 * figureForm.C: remove !NEW_INSETS cruft
15123 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15125 * buffer.[Ch]: remove !NEW_INSETS cruft
15127 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15129 * CutAndPaste.C: remove !NEW_INSETS cruft
15131 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15133 * BufferView2.C: remove !NEW_INSETS cruft
15135 * BufferView.h: remove !NEW_INSETS cruft
15137 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15139 * Lsstream.h: include LString.h before the sstream headers to
15140 fix problem with gcc 2.95.3 and lyxstring
15142 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15144 * lyx_main.C: add using directives when needed for C functions
15145 declared in std:: namespace.
15147 2001-04-27 Juergen Vigna <jug@sad.it>
15149 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15150 (SetHeightOfRow): comment out the update call should not be needed!
15152 2001-04-13 Juergen Vigna <jug@sad.it>
15154 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15155 (LyXTabular): tried to minimize operator= operations (and realized
15156 hopfully Lars wish).
15158 2001-04-27 Juergen Vigna <jug@sad.it>
15160 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15162 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15164 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15166 * buffer.C (readInset): hack to make listof algorithm work
15168 * BufferView_pimpl.C: hack to make listof algorithm work
15170 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15172 * LyXAction.C: removed all !NEW_INSETS cruft
15173 (init): moved lfun_item in method
15175 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15177 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15179 * BufferView2.C (theLockingInset): white space.
15181 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15183 * minibuffer.C: include <iostream>
15185 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15187 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15189 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15191 * text.[Ch] (TransposeChars): new method
15193 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15195 * call message directly through LyXView instead of through LyXFunc
15196 * BufferView2.C: adjust
15197 * BufferView_pimpl.C: adjust
15198 * FontLoader.C: adjust
15200 * bufferview_funcs.C: adjust
15201 * converter.C: adjust
15202 * figureForm.C: adjust
15203 * importer.C: adjust
15205 * lyx_gui_misc.C: adjust
15206 * lyxfunc.C: adjust
15209 + more files in subdirs
15211 * lyxparagraph.h (size): move up int file
15214 * adjust all uses of Assert to lyx::Assert.
15216 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15217 lyxfunctional in namespace lyx
15218 * layout.C (hasLayout): ditto
15221 (delete_layout): ditto
15222 (NumberOfClass): ditto
15223 * converter.C (GetFormat): ditto
15228 * bufferlist.C (getFileNames): ditto
15229 (emergencyWriteAll): ditto
15232 * MenuBackend.C (hasSubmenu): ditto
15235 * BufferView_pimpl.C (getInsetByCode): ditto
15237 2001-04-18 Juergen Vigna <jug@sad.it>
15239 * vspace.C (asLatexString): fixed the 100% problem.
15241 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15243 * lyxfunc.C (Dispatch):
15245 * minibuffer.h: add a few std:: qualifiers
15247 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15249 * minibuffer.[Ch]: reimplement so that commands is initiated and
15250 run from lyxfunc, simplified som handling, and made the completion
15251 and history code for complete. wip.
15253 * lyxfunc.C (processKeySym): call message
15254 (miniDispatch): new temporary method
15255 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15256 (LFUN_MESSAGE): implement
15257 (LFUN_MESSAGE_PUSH): implement
15258 (LFUN_MESSAGE_POP): implement
15259 (initMiniBuffer): the initial/defualt minibuffer message.
15261 * lyxfont.[Ch]: inline some more getters
15263 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15265 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15267 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15268 (AutoSave): use LFUN_MESSAGE
15269 (Reconfigure): ditto
15271 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15273 * figureForm.C: use LFUN_MESSAGE
15275 * converter.C (runLaTeX): use LFUN_MESSAGE
15277 * bufferview_funcs.C: use LFUN_MESSAGE
15279 (changeDepth): ditto
15281 * bufferparams.h: use boost::
15283 * bufferlist.h: inherit privately from noncopyable
15285 * bufferlist.C (loadLyXFile): remove some commented code.
15287 * buffer.C (runChktex): use LFUN_MESSAGE
15289 * ShareContainer.h: inherit privately from noncopyable
15291 * ParagraphParameters.[hC] (depth): inline it.
15293 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15295 (message): new method
15296 (messagePush): ditto
15297 (messagePop): ditto
15298 (show): init minibuffer
15299 (showState): direct call
15301 * LaTeX.[Ch]: inherit privately from noncopyable
15302 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15303 instead of WriteStatus.
15305 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15307 * BufferView_pimpl.C (buffer): don't init minibuffer
15308 (workAreaButtonPress): use LFUN_MESSAGE
15309 (workAreaButtonRelease): ditto
15310 (savePosition): ditto
15311 (restorePosition): ditto
15312 (MenuInsertLyXFile): ditto
15313 (workAreaExpose): don't init minibuffer
15314 (update): remove commented code, simplify
15316 * BufferView2.C (openStuff): use LFUN_MESSAGE
15317 (toggleFloat): ditto
15320 (copyEnvironment): ditto
15321 (pasteEnvironment): ditto
15326 (updateInset): remove some commented code
15328 * lastfiles.h: inherit privately from noncopyable
15331 * lyx_main.h: ditto
15333 * lyxlex_pimpl.h: ditto
15335 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15336 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15337 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15339 * LyXAction.h: inherit privately from noncopyable, add methods
15340 func_begin, func_end, returning iterators to the func map.
15342 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15343 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15344 (func_begin): new method
15345 (func_end): new method
15347 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15349 (copySelection): ditto
15350 (pasteSelection): ditto
15352 * BufferView.C: whitespace change
15353 * BufferView.h: inherit privately from noncopyable
15355 2001-04-16 Allan Rae <rae@lyx.org>
15357 * tabular-old.C (l_getline):
15358 * spellchecker.C (sc_check_word):
15359 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15360 an unrecognised preprocessor directive. So ensure they're wrapped.
15362 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15364 * src/exporter.C (Export): Give an error message when path to file
15367 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15369 * LaTeX.C (deplog): Always check that foundfile exists.
15371 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15374 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15376 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15378 * tabular.[Ch] (getLabelList): implement new method
15380 * minibuffer.h: comment ouf setTiimer
15382 * minibuffer.C (ExecutingCB): constify res
15383 (peek_event): constify s
15384 (Set): constify ntext
15385 (Init): constify nicename
15387 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15389 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15390 (savePosition): use two params to Minibuffer::Set
15391 (restorePosition): ditto
15393 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15395 * lyx_main.C: include language.h
15397 * Makefile.am (lyx_main.o): add language.h
15399 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15405 * CutAndPaste.C: include gettext.h
15407 * lyxfont.h: remove old hack with ON and OFF.
15410 * lyxfont.h: do not include language.h...
15415 * bufferview_funcs.C:
15421 * paragraph.C: ... but do it here instead
15423 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15425 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15427 * tabular.C: small reformat
15429 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15432 (BreakParagraph): ditto
15433 (SetOnlyLayout): ditto
15436 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15439 * lastfiles.C: removed most using decl, add std:: where needed
15441 * buffer.C: ws changes
15443 * MenuBackend.C (class compare_format): put into anon namespace
15444 (expand): constify label, names, action, action2
15447 * text.C (SingleWidth): constify font
15448 (IsBoundary): constify rtl2
15449 (GetVisibleRow): constify ww
15451 * LaTeX.C (deplog): constify logfile
15453 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15455 (workAreaExpose): constify widthChange, heightChange
15457 * lyxrow.C (par): moved
15460 * lyxrow.h: as inlines here
15462 * lyxfont.h (shape): moved from lyxfont.C
15463 (emph): moved from lyxfont.C
15465 * lyxfont.C (LyXFont): use initialization list for all
15467 (shape): move to lyxfont.h as inline
15468 (emph): move to lyxfont.h as inline
15471 2001-04-04 Juergen Vigna <jug@sad.it>
15473 * vspace.C: had to include stdio.h for use of sscanf
15475 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15478 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15479 independent of xforms.
15481 2001-04-02 Juergen Vigna <jug@sad.it>
15483 * spellchecker.C: fixed namespace placing!
15485 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15487 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15488 the LyXParagraph * is 0.
15490 2001-03-29 Juergen Vigna <jug@sad.it>
15492 * vspace.C: added support for %, c%, p%, l%.
15493 (stringFromUnit): added helper function.
15494 (asLatexString): changed to give right results for the %-values.
15496 * buffer.C: convert the widthp in a width%.
15498 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15500 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15503 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15504 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15506 * lyx_cb.[Ch]: see above.
15508 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15512 * lyx.[Ch]: replaced by figure_form.[Ch].
15516 * lyxfunc.C: changed headers associated with above changes.
15518 2001-03-27 Juergen Vigna <jug@sad.it>
15520 * BufferView_pimpl.C: set the temporary cursor right!
15522 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15524 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15526 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15528 * LString.h: removed "using std::getline"!
15530 * BufferView_pimpl.C (Dispatch): changes due to changes in
15531 InsetInclude::Params.
15533 * buffer.C (tag_name): removed redundant break statements as they were
15534 producing lots of warnings with my compiler.
15536 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15538 * LString.h: add "using std::getline" when using the real <string>.
15540 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15542 * buffer.C: removed bitset usage.
15543 PAR_TAG moved to an anonymous name space.
15544 (tag_name): new funtion, also in the anonymous namespace.
15545 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15546 (makeDocBookFile): clean code. Completed transition from string arrays
15548 (SimpleDocBookOnePar): code clean.
15550 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15552 * tabular.C: add some comments.
15554 2001-03-22 Juergen Vigna <jug@sad.it>
15556 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15557 compatibility read a bit and fixed bug with minipage in different
15560 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15562 * buffer.C (pop_tag): removed.
15563 (push_tag): removed.
15564 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15565 array replaced with vector. Added support for CDATA sections.
15566 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15568 (makeDocBookFile): XML conformant declaration of CDATA section,
15569 fixed bug related to <emphasis> in the first paragraph char.
15570 (sgmlOpenTag): exclude empty tags.
15571 (sgmlCloseTag): ditto.
15573 * buffer.h (pop_tag): removed.
15574 (push_tag): removed.
15576 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15578 * language.h (Languages): added size_type and size().
15580 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15582 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15583 response on compability reading of minipages. One probliem is that
15584 the old usage of minipages was «flertydig»
15586 * several files here and in subdirs: don't use static at file
15587 scope use anon namespaces instead.
15589 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15591 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15592 LaTeX output. This is necessary for Literate document
15595 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15597 * buffer.C: insert hfill when needed.
15599 * tabular.C (l_getline): use string::erase, small whitespace change.
15601 * BufferView_pimpl.C: try the anon namespace.
15602 * WorkArea.C: ditto
15604 2001-03-16 Juergen Vigna <jug@sad.it>
15606 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15607 otherwise it won't open options-dialogs.
15609 * buffer.C: honor pextraWidth(p) on converting minipages.
15611 * tabular.C (l_getline): changed the functions to strip trailing \r.
15613 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15615 * BufferView_pimpl.C:
15616 * minibuffer..C: added "using SigC::slot" declaration.
15618 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15620 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15626 * paragraph.C: ditto
15628 * lyxtext.h: NO_PEXTRA
15630 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15632 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15633 * ParameterStruct.h: ditto
15634 * ParagraphParameters.h: ditto
15635 * lyxparagraph.h: ditto
15637 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15639 * buffer.C: add compability for minipage alignment.
15640 (latexParagraphs): remove unwanted pextra check.
15642 * several files: remove CXX_WORKING_NAMESPACES
15644 * buffer.C (pop_tag): tie is in namespace boost
15646 * BufferView.h: noncopyable is in namespace boost
15648 * lyx_main.h: ditto
15651 * lastfiles.h: ditto
15652 * bufferlist.h: ditto
15653 * ShareContainer.h: ditto
15655 * LyXAction.h: ditto
15658 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15660 * Merging changes from BRANCH_MVC back into HEAD.
15662 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15664 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15666 * BufferView_pimpl.C: change from intl.C
15670 * Makefile.am: move combox.*
15676 * intl.C: remove dialog (covered by prefs)
15678 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15680 * lyxfunc.C (Dispatch): removed redundant break statement.
15682 2001-03-14 Juergen Vigna <jug@sad.it>
15684 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15686 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15688 * buffer.C: add hack to fix compability reading of minipages.
15690 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15692 * buffer.C (getLists): Cleanup.
15694 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15696 * lyxfont.C (update): don't honor toggleall on font size.
15698 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15702 * Makefile.am: moved to frontends/xforms/
15706 * BufferView_pimpl.C: changes for moved mathpanel
15708 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15710 * gettext.h: fix gettext_init() in --disable-nls
15712 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15714 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15716 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15719 * lyx.h: strip external form
15721 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15723 * BufferView_pimpl.C: add comment, destroySplash()
15725 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15727 * BufferView_pimpl.C:
15731 * lyxfunc.C: use re-worked insetinclude
15733 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15735 * buffer.C: add using std::stringstream.
15737 * lyx_cb.C: readd using std::ios.
15739 * buffer.C: add using std::map.
15741 * BufferView_pimpl.C: add using std::vector.
15743 * ShareContainer.h: add std:: to swap.
15745 * buffer.h: add some typedefs
15746 * buffer.C (getLists): use them
15747 (getLists): renamed from getTocList.
15748 add a counter for the different float types and use it in the
15750 (getLists): use the same counter for the NEW_INSETS and the "non"
15753 * lyx_cb.h: remove unused items, includes, using etc.
15755 * ShareContainer.h: remove some commented code, add more comments
15756 and "documentation".
15758 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15760 * buffer.C (getTocList): make the list also when NEW_INSETS is
15763 * buffer.h: remove TocType
15765 * buffer.C (getTocList): change to return a map<string,
15766 vector<TocItem> >, implement for dynamic number of list.
15768 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15769 * text2.C (PasteSelection): adjust
15770 * CutAndPaste.C (pasteSelection): adjust
15772 * FloatList.C (FloatList): update from the new_insets branch.
15773 * Floating.[Ch]: ditto
15774 * LaTeXFeatures.C: ditto
15776 * lyxlex_pimpl.C: ditto
15778 * paragraph.C (Last): remove when NEW_INSETS is defined.
15780 * other file: changes because of the above.
15782 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15784 * lyxparagraph.h: rename next to next_, previous to previous_,
15785 make them private for NEW_INSETS. Rename Next() to next(),
15786 Previous() to previous().
15788 * other files: changes because of the above.
15790 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15793 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15796 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15798 * main.C (main): pass lyx_localedir to gettext_init().
15800 * gettext.h: remove locale_init and gettext_init macros
15802 * gettext.C (locale_init): new function
15803 (gettext_init): new function
15805 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15808 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15810 * Moved credits to frontends:
15811 * credits.[Ch]: removed
15812 * credits_form.[Ch]: removed
15813 * lyx_gui_misc.C: remove credits stuff
15816 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15818 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15820 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15821 unneeded destructor.
15823 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15824 a standalone pointer again.
15826 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15828 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15834 * ToolbarDefaults.C:
15843 * BufferView_pimpl.C: use new file dialog in GUII
15846 * lyx_cb.C: remove LayoutsCB to Toolbar
15848 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15850 * ShareContainer.h (get): add std:: qualifier
15852 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15854 * ShareContainer.h: define a proper ShareContainer::value_type
15855 type (and use typename to please compaq cxx)
15857 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15859 * lyxparagraph.h: move serveral local vars to
15860 ParameterStruct/ParagraphParameters., use ShareContainer in
15861 FontTable., make vars in FontTable private and add getter and
15864 * paragraph.C: changes because of the above.
15866 * lyxfont.h: remove copy constructor and copy assignment. (the
15867 default ones is ok), move number inside FontBits. move inlines to
15870 * lyxfont.C: add number to initializaton of statics, move several
15871 inlines here. constify several local vars. some whitespace
15872 cleanup. Dont hide outerscope variables.
15874 * Spacing.h: add two new constructors to match the set methods.
15876 * ShareContainer.h: new file, will perhaps be moved to support
15878 * ParameterStruct.h: new file
15880 * ParagraphParameters.h: new file
15882 * ParagraphParameters.C: new file
15884 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15885 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15887 * BufferView_pimpl.C: ParagraphParameter changes.
15888 * buffer.C: Likewise.
15889 * bufferview_funcs.C: Likewise.
15890 * text.C: Likewise.
15891 * text2.C: Likewise.
15893 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15895 * lyxfind.C (LyXReplace): do not redefine default argument in
15897 (IsStringInText): ditto
15898 (SearchForward): ditto
15899 (SearchBackward): ditto
15901 2001-03-06 Juergen Vigna <jug@sad.it>
15903 * lyxfind.C (IsStringInText): put parentes around expressions.
15905 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15907 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15909 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15911 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15913 * stl_string_fwd.h: add comment
15915 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15918 * tabular.C: remove unused DocBook methods
15924 killed DO_USE_DEFAULT_LANGUAGE
15926 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15928 * lyx_gui.C: do not include language.h.
15930 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15931 arguments in function implementation.
15933 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15935 * BufferView_pimpl.C: add <ctime>
15937 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15939 * BufferView_pimpl.C: add using std::find_if
15941 2001-02-27 José Matos <jamatos@fep.up.pt>
15943 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15946 2001-02-11 José Matos <jamatos@fep.up.pt>
15948 * buffer.C (makeDocBookFile): command styles now have a parameter as
15949 "title" by default.
15951 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15953 * layout_forms.[Ch]: removed
15954 * lyx_cb.[Ch]: out character
15955 * lyx_gui.C: out character
15956 * lyx_gui_misc.C: out character
15957 * bufferview_funcs.C: : out character,
15958 added toggleall as parameter in ToggleAndShow
15960 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15962 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15964 * text2.C (SetCurrentFont): Disable number property at boundary.
15966 2001-02-26 Juergen Vigna <jug@sad.it>
15968 * lyxfunc.C (getStatus): added a string argument override function so
15969 that this is correctly called from LyXFunc::Dispatch if it contains a
15970 do_not_use_argument which is used!
15971 (Dispatch): added check for "custom" export and call appropriate func.
15973 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15975 * lyxrc.C: Add language_command_local, language_use_babel and
15976 language_global_options.
15978 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15980 * buffer.C (makeLaTeXFile): Use language_use_babel and
15981 language_global_options.
15983 2001-02-23 Juergen Vigna <jug@sad.it>
15985 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15986 which works with LyXText and putted it inside BufferView. Here now we
15987 only call for that part the BufferView::Dispatch() function.
15989 * BufferView.C (Dispatch): added.
15991 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15992 functions which needs to use a LyXText over from LyXFunc.
15993 (MenuInsertLyXFile): added
15994 (getInsetByCode): added
15995 (moveCursorUpdate): added
15996 (static TEXT): added
15998 2001-02-22 Juergen Vigna <jug@sad.it>
16000 * BufferView_pimpl.C (update): call a status update to see if LyXText
16003 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16005 * vc-backend.C (revert): implement for CVS
16006 (getLog): implement for CVS
16008 2001-02-20 Juergen Vigna <jug@sad.it>
16010 * text2.C (ClearSelection): added BufferView param for inset_owner call
16012 * lyxfunc.C (TEXT): added this function and use it instead of
16013 directly owner->view()-text of getLyXText().
16015 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16017 * src/layout_forms.C: out preamble
16018 * src/layout_forms.h: out preamble
16019 * src/lyx_cb.C: out preamble
16020 * src/lyx_cb.h: out preamble
16021 * src/lyx_gui.C: out preamble
16022 * src/lyx_gui_misc.C: out preamble
16023 * src/lyxfunc.C: connect with guii preamble
16025 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16027 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16029 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16031 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16032 whether to run bibtex.
16034 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16036 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16038 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16040 * Makefile.am (lyx_SOURCES): removed bibforms.h
16042 * vspace.h: doxygen
16044 * text.C (GetVisibleRow): make several local vars const
16046 * tabular.C: small cleanup.
16048 * lyxserver.C (callback): use compare instead of strncmp
16050 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16051 inlines to after class or to paragraph.C
16053 * lyxfont.h: remove friend operator!=
16055 * converter.h: move friend bool operator< to non friend and after
16058 * combox.h: small cleanup
16060 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16061 to inlines after class def.
16063 * buffer.C (pop_tag): use string operations instead of strcmp
16065 * bmtable.c: doxygen, small cleanup
16067 * LaTeX.h: remove friend operator==
16069 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16081 * BufferView_pimpl.C:
16082 * BufferView.[Ch]: remove cruft
16084 2001-02-14 Juergen Vigna <jug@sad.it>
16086 * lyxfunc.C: removed #if 0 unused code
16088 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16090 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16092 * text2.C (SetSelection): added a BufferView * parameter
16094 2001-02-13 Juergen Vigna <jug@sad.it>
16096 * lyxfunc.C (Dispatch): fixed protected blank problem.
16097 * BufferView2.C (protectedBlank): added LyxText * parameter.
16099 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16100 (AppendColumn): same as above for column_info.
16102 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16103 (moveCursorUpdate): use a LyXText param for support of InsetText.
16105 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16106 (tripleClick): ditto
16108 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16110 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16112 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16114 * text2.C (SetSelection): set correct update status if inset_owner
16115 (ToggleFree): ditto
16117 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16119 * tabular.C: remove some commented code.
16121 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16123 * BufferView_pimpl.C: call hideSplash()
16125 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16128 * bibforms.h: remove
16131 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16132 add LFUN_CHILD_CREATE
16134 * counters.h: fix tiny typo
16139 * lyx.C: move splash to frontends/xforms/
16141 * lyx_gui_misc.C: move Include and Bibform to frontends
16143 * lyxvc.h: clarify comment
16145 * vspace.C: tiny housekeeping
16147 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16149 * text.C (PrepareToPrint): RTL Fix.
16151 * paragraph.C (GetUChar): New method.
16152 (String): Use GetUChar.
16154 * buffer.C (asciiParagraph): Use GetUChar.
16156 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16158 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16160 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16163 * buffer.C: rename to getLogName(), handle
16164 build log / latex log nicely
16166 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16169 * MenuBackend.h: remove support for reference menuitem type.
16171 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16173 * BufferView_pimpl.C: housekeeping
16174 * BufferView_pimpl.h:
16179 * minibuffer.h: move Timeout GUI-I
16181 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16183 * lyxrc.C (read): Update converters data-structures.
16185 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16187 * LaTeX.h (operator!=): add operator != for Aux_Info
16189 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16191 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16193 * LaTeXLog.C: deleted, useful code moved to Buffer
16196 * buffer.C: new function getLatexLogName()
16202 * lyxfunc.C: use frontends for LaTeX and VC logs
16204 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16206 * LaTeX.h: yet another std:: that Allan forgot.
16208 * Variables.C (set): renamed from isset(), because this clashes
16209 with some HP-UX macros (grr).
16211 2001-02-06 Allan Rae <rae@lyx.org>
16213 * LaTeX.h: Another bug fix. Missing std:: this time.
16215 2001-02-04 Allan Rae <rae@lyx.org>
16217 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16218 floats problem. I've left it commented out because it's not quite
16219 correct. It should also test that the current object is a table or
16220 figure inset. But I haven't gotten around to figuring out how to do
16221 that. I *think* it'll be something like: "table" == inset.type()
16223 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16226 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16228 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16229 all the citation/databases/styles in the auxilary file.
16230 (run): Rerun latex if there was a babel language error.
16232 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16234 * text.C (Backspace): Preserve the font when changing newline char
16236 (BreakParagraph): If the cursor is before a space, delete the space.
16238 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16240 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16242 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16243 new argument (code).
16244 (ChangeCitationsIfUnique): New method.
16246 * paragraph.C (GetPositionOfInset): Handle bibkey.
16248 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16250 * BufferView_pimpl.h: change type of Position::par_pos to
16251 LyXParagraph::size_type.
16253 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16255 * BufferView_pimpl.C (savePosition, restorePosition): Write
16256 messages to minibuffer.
16258 2001-01-28 José Matos <jamatos@fep.up.pt>
16260 * buffer.C (makeDocBookFile): adds support for document language.
16261 A silly restriction on the name of LatexCommand types where removed.
16262 Added support for CDATA sections, allows to chars unescaped, used
16263 among others in code, to avoid escape < and >.
16265 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16267 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16268 saved positions instrad of a stack. Furthermore, a position is
16269 stored using paragraph id/paragraph position.
16271 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16272 Remove LFUN_REF_BACK.
16274 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16276 * converter.C (dvipdfm_options): New method.
16278 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16280 * vspace.C (isValidLength): Fix for empty input string.
16282 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16284 * LyXAction.C (init): change description of LFUN_FIGURE to
16287 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16289 * LaTeX.C: add using directive
16291 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16293 * MenuBackend.C (expand): Fix the sorting of the formats.
16295 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16297 * lyx_main.C: tiny error message fix
16299 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16301 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16302 calling fl_initialize(). This fixes the problem with ',' as
16303 decimal separator in text files.
16305 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16307 * trans.C (process): Fix the keymap bug.
16309 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16311 * LaTeX.C (scanAuxFiles): New method. Provides support for
16312 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16313 (scanLogFile) Scan for "run BibTeX" messages.
16315 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16316 OT1 font encoding. Also, load the aecompl package if the ae
16319 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16321 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16323 * texrow.C (increasePos): turn two error messages into debug
16326 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16328 * LaTeX.C (scanAux): Handle the \@input macro.
16329 (runBibTeX): Use scanAux().
16331 * language.C (latex_options_): New field.
16333 * LaTeXFeatures.C (getMacros): Add language macros.
16335 * buffer.C (makeLaTeXFile): Small fix.
16337 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16339 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16341 * text2.C: add a using directive.
16343 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16348 * lyxfunc.C: kill LyXBell.
16350 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16352 * text.C (IsBoundary): Remove the error message
16354 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16356 * lyxrc.C (setDefaults): Correct initialization value for
16359 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16361 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16364 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16365 and GotoNextNote().
16367 * src/LyXAction.C: Added reference-next.
16369 * text.C (InsertChar): Use contains instead of strchr.
16371 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16373 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16375 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16376 alignment commands (when needed).
16378 * text.C (InsertChar): Add ':' to number separator chars.