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 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
30 * lyxlength.C (asLatexString): rewrite so that it does not use
33 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
35 * text3.C (specialChar, dispatch): make sure cursor moves to the
36 right after inserting an inset
38 2004-11-02 José Matos <jamatos@lyx.org>
40 * output_docbook.C (docbook):
41 * paragraph.C (getID):
42 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
43 garantee that the output is always legal.
45 * tabular.C (docbook):
46 * outputprams.[Ch]: remove mixed contents.
48 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
50 * text2.C (setCounter): prevent endless loop
52 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
54 * exporter.C (copyFile): use the mover instead of support::copy()
55 * exporter.C (Export): pass format and latex name to copyFile()
56 * exporter.h (addExternalFile): document
57 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
59 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
61 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
63 2004-10-30 José Matos <jamatos@lyx.org>
65 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
66 text and no inset or font change. This allows to use CDATA
67 sections just for the whole paragraph.
69 2004-10-30 José Matos <jamatos@lyx.org>
71 * paragraph.C (getFirstWord): remove unused variable.
73 2004-10-30 José Matos <jamatos@lyx.org>
75 * paragraph.C (getFirstWord): the content should always be escaped
77 (simpleDocBookOnePar):
78 * output_docbook.C (makeEnvironment): replace reference to CDATA
81 2004-10-30 José Matos <jamatos@lyx.org>
83 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
85 2004-10-30 José Matos <jamatos@lyx.org>
87 * output_docbook.C (makeParagraphs):
88 * paragraph.[Ch] (emptyTag): for docbook and company, if the
89 standard paragraph has only a given type of content drop the wrapper.
91 2004-10-29 José Matos <jamatos@lyx.org>
93 * output_docbook.C (makeEnvironment):
95 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
97 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
99 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
100 (cleanID): sanitize any id.
102 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
104 * buffer.C, lyxlex_pimpl.C:
105 * lyxlex_pimpl.C (setFile):
106 s/getExtFromContents/getFormatFromContents/
108 2004-10-28 José Matos <jamatos@lyx.org>
110 * output_docbook.C (makeEnvironment): move id to broadest possible
113 * sgml.C (openTag): apply substitution of <> for all attributes.
115 2004-10-28 José Matos <jamatos@lyx.org>
117 * buffer.C (makeLinuxDocFile, makeDocBookFile):
118 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
119 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
121 * sgml.[Ch]: new version for open and closeTag for paragraph and
122 for strings. Now they handle the ids of paragraphs.
124 2004-10-26 Angus Leeming <leeming@lyx.org>
126 * Makefile.am: add mover.[Ch].
128 * converter.C (convert, move): use the new Movers to move external
129 files to the temp directory.
131 * lyx_main.C (init): ensure that the global system_movers data
134 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
137 * mover.[Ch]: new files, defining a Mover as a utility to move an
138 external file between directories and, if necessary, manipulate this
139 file using a helper script.
141 2004-10-25 José Matos <jamatos@lyx.org>
143 * output_docbook.C (makeCommand): merge two if's that tested the
146 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
148 * sgml.C (escapeString): fix warning in a better way
150 2004-10-25 José Matos <jamatos@lyx.org>
152 * sgml.C (escapeString): import the require boosts header file for
153 tie, and avoid a signed unsigned comparison.
155 2004-10-25 José Matos <jamatos@lyx.org>
157 * sgml.h: add #include <string>
159 2004-10-25 José Matos <jamatos@lyx.org>
161 * sgml.[Ch] (escapeString): new function to escape all the string.
163 2004-10-24 José Matos <jamatos@lyx.org>
165 * paragraph.[Ch] (getFirstWord): new function to get the first
166 word. Useful for description.
167 (simpleDocBookOnePar): remove depth argument, add another that
168 says where to start the paragraph.
170 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
171 use the new functions to fix cleanly the support for descriptions.
173 2004-10-24 José Matos <jamatos@lyx.org>
175 * buffer.C (makeLinuxDocFile, makeDocBookFile):
176 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
177 * output_linuxdoc.C (linuxdocParagraphs):
178 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
179 add buffer as argument.
181 2004-10-24 José Matos <jamatos@lyx.org>
183 * output_docbook.C (makeEnvironment, searchEnvironment): place
184 CDATA inside paragraphs and fix scope for listitems.
186 2004-10-24 José Matos <jamatos@lyx.org>
188 * output_docbook.C: remove using statement for stack.
190 2004-10-23 José Matos <jamatos@lyx.org>
192 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
193 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
194 docbook. The new scheme is recursive and makes use of iterators, the
195 same as latex export works.
196 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
197 directly with the paragraph contents. This code was moved up to
198 output_docbook.C (docbookParagraphs).
199 * sgml.C (openTag, closeTag): removed unneeded newlines.
200 (closeEnvTags) removed.
202 2003-10-23 André Pönitz <poenitz@gmx.net>
204 * undo.C (textUndoOrRedo):
205 * dociterator.C (asDocIterator): work around crash
207 * cursor.C (getStatus): replace ASSERT by more verbose error message
208 and manual correction of the problem. Should increase stability
209 while providing more sensible information.
211 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
215 * bufferlist.C (previous, next): new methods
218 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
220 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
222 * buffer.C (makeDocBookFile): add dsssl stylesheet control
223 entities to preamble.
225 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
227 * messages.C (Pimpl): strip off translation context information
229 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
231 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
232 the cursor is correct (bug 1694)
234 2004-10-13 José Matos <jamatos@lyx.org>
236 * output_docbook.C (docbookParagraphs): fix closing tags in the
239 2004-10-09 José Matos <jamatos@lyx.org>
241 * buffer.C: format up to 237.
242 * bufferparams.C (write): use tostr to convert booleans to strings.
244 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
246 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
248 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
250 * LaTeX.C: implement use of babel language in xindy.
252 2004-10-05 José Matos <jamatos@lyx.org>
254 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
255 Add new translators to help reading and writing the lyx file.
257 2004-10-05 José Matos <jamatos@lyx.org>
259 * ParagraphParameters.C (read):
260 * text.C (readParToken): replace nexToken by more appropriate lex
263 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
265 * LaTeX.C (runMakeIndex):
266 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
267 (usually 'makeindex') configurable.
269 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
270 with a variable rather than with a number.
272 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
274 * output_latex.C (TeXOnePar): make sure font setting is the first
275 thing that gets output (and the last at the end). Should fix bug
278 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
280 * pch.h: use proper signal include
282 * LaTeX.h: Use preferred calling of Boost.Signal
285 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
287 * pch.h: dont include <boost/function/function0.hpp>
289 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
291 * paragraph_pimpl.h: remove usage of ShareContainer
293 * paragraph_pimpl.C: remove initialization of ShareContainer.
295 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * BufferView.C (putSelectionAt): change the semantics when
300 backwards == true: now, this just swaps cursor and anchor wrt the
303 * BufferView.h (putSelectionAt): add some documentation
305 * lyxfind.C (findBackwards): rewrite using while(). In particular,
306 make sure backwardChar is done at least once (to avoid getting
308 (findNextChange): use putSelectionAt in the forward direction
309 (operator()): use Paragraph::isWord
311 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
313 * Spacing.C (set): c_str fix
315 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
317 * lyx_cb.C (Reconfigure): quote the name of configure script in
318 case it contains spaces
320 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
324 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
325 (BOOST_LIBS): use top_buildir when looking for the file
327 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
329 * pch.h: do not use include boost/format.hpp, multiple symbols
330 will result (gcc bug)
333 2004-08-23 José Matos <jamatos@lyx.org>
335 * bufferparams.C (readToken): fix reading of the author field.
337 2004-08-20 José Matos <jamatos@lyx.org>
339 * lyxrc.C: remove support/translator.h inclusion since it is not used.
341 2004-08-20 José Matos <jamatos@lyx.org>
343 * lyxlex.[Ch] (findToken): remove function.
345 * ParagraphParameters.C (findToken):
346 * bufferparams.C (findToken): replace call for previous function
347 with local copy. This local function has one more argument, the
348 read string argument.
350 2004-08-16 José Matos <jamatos@lyx.org>
352 * ParagraphParameters.C (write):
353 * Spacing.C (writeFile):
354 * bufferparams.C (writeLaTeX):
355 * lyx_cb.C (Reconfigure):
356 * paragraph.C (write):
357 * tabular.C (write): remove unnecessary space at end of line.
360 2004-08-16 José Matos <jamatos@lyx.org>
362 * text.C (readParagraph): remove debug message.
364 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
366 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
369 * output_plaintext.C (asciiParagraph): set depth correctly
371 * outputparams.h: add member depth
373 * paragraph_funcs.C (ownerPar): remove.
375 * text2.C (setCounter): remove first_pit; comment out some
376 non-working code that uses ownerPar
378 * BufferView.C (getParentLanguage): remove. Not used anymore, and
381 2004-08-16 José Matos <jamatos@lyx.org>
383 * text.C (readParToken, readParagraph, read): report all unknown tokens.
384 For the same level of importance use the same chanel to report problems.
385 (read): add code to deal with \begin_body and \end_body.
388 2004-08-15 José Matos <jamatos@lyx.org>
390 * lyxlex.C (getString): fix comment, buffer::readBody is now
393 * tex-strings.C (string_papersize): Default -> default,
394 Custom -> custom, for consistency with other options.
396 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
400 * Makefile.am: support pch
402 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
404 * text.C (readParToken): remove the static LyXFont variable and
405 pass it as a parameter instead. This fixes a nasty bug where an
406 inset will be inserted with a bad font in some situations
407 (readParagraph): adapt
409 * text2.C (setCounter): reduce number of calls to pars_[pit]
411 * text.C (singleWidth): add an assert, fix a test
413 * rowpainter.C (paintText): reduce number of calls to singleWidth
415 * paragraph.C (isHfill):
418 2004-08-14 André Pönitz <poenitz@gmx.net>
423 * lyxtext.h (several functions): use a Paragraph & argument
426 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
428 * metricsinfo.h: add a new field ltr_pos to PainterInfo
430 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
432 * text.C (singleWidth): remove useless test
434 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
436 * tabular.h: remove bogus comments
438 * tabular.C (getDescentOfRow):
439 (isPartOfMultiColumn): add assertions
441 * lyxlength.C (inPixels): remove #warning
443 2004-08-14 André Pönitz <poenitz@gmx.net>
445 * paragraph.h: inline getChar()
447 * BufferView.h: remove unused declarations
449 2004-08-14 José Matos <jamatos@lyx.org>
451 * Buffer.[Ch] (readDocument): new name for old readBody.
452 * Buffer.C: new file format, new keywords: \begin_document,
453 \begin_header, \begin_body, \end_body.
455 * bufferparams.C (readToken): replace all calls to lex.nextToken
456 by lex.next(). Do the same to eatLine except where really needed.
458 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
459 line when writing to the lyx file.
461 * output_plaintext.C (asciiParagraph): fix Bibliography style
464 * text.C (read): fix end of file handling.
466 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
468 * MenuBackend.C (Menu::operator[]): new method to access
469 individual menu items
470 (Menu::hasFunc): new method. search for an item that corresponds
472 (MenuBackend::specialMenu): new method
473 (MenuBackend::expand): if a special menu has been set, skip
474 entries whose func() appears in this menu
476 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
478 * text3.C: use Debug::DEBUG a bit more
480 * text.C (leftMargin): try to simplify a tiny bit change var x to
481 l_margin. Dont output the wide margins always.
482 (rightMargin): no margin in inner texts
484 * rowpainter.h (nestMargin): new func
485 (changebarMargin): new func
486 (rightMargin): new func
488 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
492 * factory.C (createInset): modify setDrawFrame
494 * cursor.C: use Debug::DEBUG a bit more
496 2004-08-14 André Pönitz <poenitz@gmx.net>
499 * Makefile.am: new files to accomodate an 'external' (x,y)-position
500 cache for all insets in (at least partially) visible (top-level)
503 * BufferView_pimpl.C: reset external coord cache before every update.
504 This means the coord cache only contains valid entries.
506 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
509 * BufferView_pimpl.C (getInsetByCode): move function out of class
510 and change in to a template in anon namespace. Also fix to do what
513 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
516 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
518 (breakParagraph): rename par to par_offset and use a local
519 reference. Add code to keep the language over a rebreak.
520 (breakParagraphConservative): rename par to par_offset, use a
522 (mergeParagraph): ditto
524 (isFirstInSequence): ditto
525 (outerFont): rename pit to par_offset
527 * paragraph.C: ws change
532 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
534 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
537 * paragraph.C (simpleTeXOnePar): when we have a \item with
538 optional argument, enclose the argument with curly brackets (in
539 case it contains a closing square bracket)
543 * text3.C (checkInsetHit): constify
545 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
547 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
550 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
552 Fix toggling of collapsable insets with the mouse (bug 1558)
554 * lyxfunc.C (dispatch): adapt to LCursor changes
556 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
557 make sure that dispatch is not invoked twice
559 * cursor.C (needsUpdate): new method
560 (dispatch): return void
561 (result): new method, to access the DispatchResult of the cursor.
563 2004-08-13 José Matos <jamatos@lyx.org>
565 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
567 2004-08-13 André Pönitz <poenitz@gmx.net>
569 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
571 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
574 2004-08-12 André Pönitz <poenitz@gmx.net>
576 * text3.C: take out the 'cursor right' form insertInset and only
577 do it in those places when it is really needed. Fixes crash on
580 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
582 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
584 * BufferView_pimpl.C (setBuffer): initialize the current font of
585 the underlying LyXText
587 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
589 * kbsequence.C (print): use UI native formatting for menu
592 * text.C (insertChar): call Paragraph::insertChar with a font
595 * paragraph.C (insertInset, insertChar): the version that takes a
596 LyXFont argument is now a wrapper around the other one (the
597 opposite used to be true).
599 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
600 argument. Font setting is done in Paragraph now.
602 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
604 * outputparams.h: add new members intitle and lang.
606 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
607 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
609 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
611 * text3.C (dispatch): remove special handling of button 4 and 5,
612 it is now taken care of in the frontend code.
614 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
616 * Spacing.h: add <string> (STLPort compile fix)
618 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
620 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
622 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
624 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
627 * converter.C (showMessage): inherit from unary_function, make
630 * buffer.C (writeFile): initialize retval
632 * InsetList.h: rename private variable list to list_
633 * InsetList.[Ch]: adjust accordingly.
635 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
637 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
638 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
639 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
640 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
641 * ParagraphParameters.C, LaTeXFeatures.C: replace
642 "support/std_sstream.h" with <sstream>
644 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
646 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
647 * lyxsocket.C (LyXServerSocket): ditto
648 (serverCallback): ditto
650 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
652 * LaTeXFeatures.C: check release date when loading jurabib.
654 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
656 * lyxserver.C (startPipe): call register_socket_callback
657 (endPipe): call unregister_socket_callback
659 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
661 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
662 (LyXServerSocket): register the callback
663 (LyXServerSocket): unregister the callback
664 (fd): delete function
665 (serverCallback): improve error checking and setup the callbacks.
666 (dataCallback): change arg to fd.
667 (writeln): new func (copied fro the client socket) used for server
669 (LyXDataSocket): simplify
670 (~LyXDataSocket): close ann unregiser callback
671 (server): delete function
672 (fd): delete function
673 (readln): small changes, improve some std::string usage
674 (writeln): constify a bit
676 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
678 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
681 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
683 * BufferView_pimpl.C (setBuffer): set the layout combox value only
684 after it has been populated
686 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
688 * text2.C (insertInset): move cursor when inserting inset.
690 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
692 * kbmap.C (findbindings): a couple of new methods. returns a
693 container of kb_sequence objects. The real work is done by the
694 private recursive version
695 (printbindings): uses findbindings to print out a bracketed list
696 of bindings (renamed from findbinding).
698 * MenuBackend.C (binding): use kb_keymap::findbindings
700 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
702 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
704 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
706 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
708 * paragraph.C (isWord): return true on insets that report
711 * text.C (getWord): use Paragraph::isWord to decide what is in a
712 word and what is not; fix bug 1609.
714 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
716 * tex-strings.C: add "none" to string_paperpackages[], fixes
717 off-by-one-error in the paperpackage selection.
720 * tex-strings.[Ch]: char const * string[n]
721 -> char const * const string[]
723 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
725 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
726 command, return early.
728 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
730 * debug.h: add DEBUG to enum and fix size of ANY.
732 * debug.C: add support for Debug::DEBUG
733 (showTags): cast errorTags.level to unsigned int
735 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
736 (redoCurrentBuffer): ditto
737 (updateScrollbar): ditto
738 * cursor.C (dispatch): ditto
739 * text2.C (setLayout): ditto
741 (updateCounters): ditto
743 (deleteEmptyParagraphMechanism): ditto
745 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
747 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
748 annotations to cleanup the Makefile slightly.
750 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
752 * lyxrc.C: do not set user_email to a default value but use empty
753 instead. The entry used to be translated, which does not work
754 since at the point where lyxrc is constructed there is no
755 translation service available
757 * messages.C (getLocaleDir): remove and use directly
758 lyx_localedir() instead
760 2004-06-02 Angus Leeming <leeming@lyx.org>
762 Fix crash caused by dereferencing null pointer 'exportdata' in
763 OutputParams by creating a new ExportData variable on the heap,
764 storing it in a boost::shared_ptr.
765 The crash was triggered when generating an Instant Preview
766 of an external inset.
768 * Makefile.am: add outputparams.C
770 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
771 (c-tor): allocate memory to it.
773 * exporter.C (c-tor): associated changes.
775 2004-06-01 Angus Leeming <leeming@lyx.org>
777 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
778 contains data before calling isInset(0). (Bug 1513.)
780 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
782 * exporter.C (checkOverwrite): new method
783 * exporter.C (copyFile): new method
784 * exporter.C (Export): copy referenced files to the document dir
785 * exporter.[Ch]: new class ExportedFile
786 * exporter.[Ch]: new class ExportData. Contains currently the
787 names of referenced external files
788 * outputparams.h: add exportdata member.
790 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
792 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
795 2004-05-19 Angus Leeming <leeming@lyx.org>
800 * lyxfunc.C: small changes due to the introduction of namespace
801 lyx::frontend and the moving of namespace biblio to lyx::biblio.
803 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
805 * text3.C (dispatch): supress update when only moving the cursor
806 * cursor.C (selHandle): remove commented code
808 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
810 * paragraph.C (startTeXParParams): correct column count
811 * CutAndPaste.C (pasteSelection): remove const_cast
812 * output_docbook.C (docbookParagraphs): remove const_cast
813 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
814 const_cast and return ParagraphList::const_iterator
815 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
816 * output_plaintext.C (writeFileAscii): remove const_cast
817 * paragraph.[Ch] (simpleTeXOnePar): make const
818 * paragraph_funcs.C (outerPar): use const iterators
819 * paragraph_pimpl.C (validate): use const iterators
820 * text.C (setHeightOfRow): use const iterators
822 2004-05-17 Angus Leeming <leeming@lyx.org>
825 * LyXAction.C (init): new LFUN_INSET_REFRESH.
827 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
828 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
829 if the citation engine has changed.
831 2004-05-14 José Matos <jamatos@lyx.org>
833 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
834 if the textclass does not provide it. Have it different for sgml and
836 support the language of document.
837 * output_docbook.C (docbookParagraphs):
838 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
839 first anchor as the id of the paragraph, remove special case code.
840 * sgml.C (escapeChar): escape only < & >.
842 2004-05-14 Angus Leeming <leeming@lyx.org>
844 * bufferparams.h: move biblio::CiteEngine enum here to minimize
845 dependencies on src/frontends/controllers/biblio.h. Define a
846 CiteEngine_enum wrapper class to enable the enum to be forward
849 2004-05-12 Angus Leeming <leeming@lyx.org>
851 * buffer.C: up LYX_FORMAT to 234.
852 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
853 use_numerical_citations with a single biblio::CiteEngine cite_engine
855 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
857 2004-05-13 José Matos <jamatos@lyx.org>
860 * converter.C (Converter, readFlags): add xml member.
861 * outputparams.h: add XML flavor.
862 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
864 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
866 * lyxfunc.C (dispatch):
867 (getStatus): fix handling of LFUN_SEQUENCE
869 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
871 * debug.C (showLevel): do not forget the end-of-line marker
873 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
875 * kbmap.C (read): do not stop parsing a bind file when an error
878 2004-04-29 Angus Leeming <leeming@lyx.org>
883 * text2.C: wrap a bunch of #warning statements
884 inside #ifdef WITH_WARNINGS blocks.
886 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
888 * buffer.C: increment format to 233.
890 2004-04-28 Angus Leeming <leeming@lyx.org>
892 * BufferView_pimpl.C:
895 s/updateToolbar()/updateToolbars()/
896 s/Toolbar.h/Toolbars.h/
898 2004-04-28 Angus Leeming <leeming@lyx.org>
900 * BufferView.[Ch] (c-tor):
901 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
902 No longer passes these data to the WorkArea generator.
904 2004-04-28 Angus Leeming <leeming@lyx.org>
906 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
908 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
910 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
912 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
914 * output_latex.C (TeXEnvironment): make sure that there is a line
915 break before \end{foo} for the last paragraph of a document
916 (TeXOnePar): if the paragraph is at the end of the document (or
917 inset) and the language has to be reset, then make sure that the
918 line break is _before_ the language command, not after (fixes bug
919 1225); also make sure that the language reset command is the first
920 thing after the paragraph (to ensure proper nesting of
921 environments and thus fix bug 1404)
923 2004-04-21 John Levon <levon@movementarian.org>
926 * ToolbarBackend.C: make "name" be a programmatic name
927 and a gui_name field.
929 * lyxfunc.C: display the minibuffer on M-x
931 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
933 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
936 2004-04-19 Angus Leeming <leeming@lyx.org>
938 * BufferView_pimpl.C (setBuffer): changed preview interface.
940 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
943 2004-04-19 John Levon <levon@movementarian.org>
945 * BufferView_pimpl.C:
946 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
948 2004-04-05 Angus Leeming <leeming@lyx.org>
950 * text.C (redoParagraphs): add call to updateCounters(), thereby
951 fixing the missing "Figure #:" label from the caption of a
954 2004-04-13 Angus Leeming <leeming@lyx.org>
956 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
957 cursor is clicked out of an inset.
959 2004-04-13 Angus Leeming <leeming@lyx.org>
961 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
962 than an InsetOld one.
964 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
966 * format.[Ch]: add editor to Format
967 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
968 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
970 2004-04-08 André Pönitz <poenitz@gmx.net>
972 * metricsinfo.h: remove PainterInfo::width member
974 2004-04-08 Angus Leeming <leeming@lyx.org>
976 * lyx_sty.C (boldsymbol_def): modify so that it outputs
977 "\providecommand" rather than "\newcommand", thereby preventing
978 clashes with packages that define "\boldsymbol" themselves.
981 2004-04-08 Angus Leeming <leeming@lyx.org>
983 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
984 thereby squashing an unnecessary warning.
986 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
988 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
991 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
993 * BufferView.C (setCursor): call redoParagraph (some insets could
995 (putSelectionAt): remove the 'double update' trick
997 * BufferView_pimpl.C (fitCursor): call refreshPar
998 (workAreaDispatch): remove an uneeded update call
999 (dispatch): remove some manual update calls
1001 * cursor.[Ch]: remove cached_y_, updatePos
1002 (selHandle): set noUpdate when appropriate
1004 * lyxfunc.C (dispatch): track if we need an update
1006 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1008 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1009 (paintSelection): cheap optimization, do not call cursorX when not
1011 (paintPars): change signature
1014 (paintTextInset): adjust
1018 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1020 * lengthcommon.C: compilation fix: remove explicit array size from
1021 unit_name[] and friends
1023 2004-04-05 Angus Leeming <leeming@lyx.org>
1025 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1027 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1028 present only for the preferences dialog.
1029 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1031 2004-04-05 Angus Leeming <leeming@lyx.org>
1033 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1034 to enable the frontends to export changes to lyxrc correctly.
1036 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1038 2004-04-07 André Pönitz <poenitz@gmx.net>
1040 * cursor.[Ch] (selClear, adjust): remove math
1042 * cursor_slice.C: more agressive assert
1045 * BufferView_pimpl.C: rework mouse event dispatch
1052 2004-04-05 André Pönitz <poenitz@gmx.net>
1054 * cursor.[Ch] (valign, halign...): remove unneeded functions
1056 2004-04-05 Angus Leeming <leeming@lyx.org>
1058 * lyxlength.[Ch] (unit_name et al.): const-correct.
1060 2004-04-05 Angus Leeming <leeming@lyx.org>
1062 * BufferView_pimpl.C:
1071 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1073 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1075 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1077 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1079 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1080 * BufferView_pimpl.[Ch] (getStatus)
1081 * BufferView.[Ch] (getStatus): add
1082 * lyxfunc.C (getStatus): move lfuns handled in
1083 BufferView::dispatch to te function above
1084 * Cursor.C (setSelection): set selection() = true
1086 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1088 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1090 2004-03-31 Angus Leeming <leeming@lyx.org>
1092 * lyxfunc.C (dispatch): Fall through to the generic
1093 Dialogs::show("preamble").
1095 2004-03-31 Angus Leeming <leeming@lyx.org>
1097 * lyxfunc.C (dispatch): Fall through to the generic
1098 Dialogs::show("spellchecker").
1100 2004-03-31 Angus Leeming <leeming@lyx.org>
1102 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1105 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1110 * insetiterator.[Ch]:
1115 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1117 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1119 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1120 insets where we are putting the cursor.
1122 2004-03-31 Angus Leeming <leeming@lyx.org>
1125 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1127 * lyxrc.[Ch] (read, write): overloaded member functions taking
1128 a std::[io]stream arguments.
1130 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1132 2004-03-31 Angus Leeming <leeming@lyx.org>
1134 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1135 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1137 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1138 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1140 2004-03-31 Angus Leeming <leeming@lyx.org>
1142 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1143 the LFUN_ALL_INSETS_TOGGLE code.
1145 2004-03-30 Angus Leeming <leeming@lyx.org>
1147 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1148 has died. Fall through to the generic Dialogs::show("document").
1150 2004-03-30 Angus Leeming <leeming@lyx.org>
1153 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1154 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1156 * lyxfunc.C (getStatus, dispatch): define the actions for these
1157 lfuns. Little more than a cut and pste job from ControlDocument.C
1159 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1161 2004-03-30 Angus Leeming <leeming@lyx.org>
1164 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1165 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1167 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1168 open/closed state of ollapsable insets. Usage:
1170 all-inset-toggle <state> <name>, where
1171 <state> == "open" || "closed" || "toggle" and
1172 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1174 * lyxtext.h, text2.C (toggleInset): removed.
1176 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1177 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1178 now passes LFUN_INSET_TOGGLE to the found inset.
1180 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1181 is now invoked as "all-insets-toggle toggle branch".
1183 2004-03-30 Angus Leeming <leeming@lyx.org>
1187 * pariterator.[Ch]: added/corrected header blurb.
1189 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1191 * dociterator.[Ch]: add an inset_ member
1192 (backwardPos): implemented
1193 (backwardPos, forwardPos): use inset_ when the stack is empty.
1194 (doc_iterator_begin, doc_iterator_end): implemented
1195 * pariterator.[Ch]: adjust, add begin, end
1196 * insetiterator.[Ch]: adjust, add begin, end
1200 * BufferView_pimpl.C:
1201 * CutAndPaste.C: adjust
1203 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1205 * buffer.C: increment file format to 232.
1206 * LaTeXFeatures.C: add bibtopic package.
1207 * bufferparams.[Ch]: param \use_bibtopic.
1209 * lyxrc.[Ch]: add lyxrc bibtex_command
1210 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1212 * buffer.C: increment file format to 231.
1214 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1216 * dociterator.C: implement forwardPar
1217 * iterators.[Ch]: remove, replaced by
1218 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1220 * BufferView_pimpl.C:
1223 * bufferview_funcs.C:
1229 * Makefile.am: adjust
1231 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1233 * CutAndPaste.C (pasteSelection): fix 2 crashes
1234 (eraseSelection): fix a crash
1235 * paragraph_funcs.C: remove a warning
1237 2004-03-28 Angus Leeming <leeming@lyx.org>
1240 * LyXAction.C (init): new LFUN_PRINT.
1242 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1244 2004-03-27 Angus Leeming <leeming@lyx.org>
1247 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1249 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1251 2004-03-27 Angus Leeming <leeming@lyx.org>
1253 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1254 insetlist always contains non-null pointers to insets.
1256 2004-03-26 Angus Leeming <leeming@lyx.org>
1258 * src/BufferView_pimpl.C:
1259 * src/CutAndPaste.C:
1262 * src/output_plaintext.C:
1263 * src/outputparams.h:
1264 * src/paragraph_funcs.C:
1268 * src/frontends/controllers/ControlErrorList.C:
1269 * src/frontends/gtk/FileDialogPrivate.C:
1270 * src/frontends/gtk/GPainter.C:
1271 * src/frontends/gtk/GToolbar.C:
1272 * src/frontends/qt2/QRef.C:
1273 * src/mathed/math_scriptinset.C: squash compiler warnings.
1275 2004-03-26 Angus Leeming <leeming@lyx.org>
1277 * ispell.C (LaunchIspell::start):
1278 * lyx_cb.C (AutoSaveBuffer::start):
1279 invoke run(DontWait) rather than runNonBlocking().
1281 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1283 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1285 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1287 * kbsequence.C (print): adjust
1289 * kbmap.C (printKeySym): rename and change signature
1290 (printKey): use LyXKeySym::print()
1292 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1294 * undo.C: add using std::advance to compile for stlport
1296 2004-03-24 Angus Leeming <leeming@lyx.org>
1298 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1299 it leads to a crash when no buffer is present.
1301 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1302 Martin Vermeer <martin.vermeer@hut.fi>
1304 * lyxfunc.C (dispatch):
1305 * bufferparams.C (readToken): use the new LColor::setColor
1307 * LColor.[Ch] (setColor): new version that takes two strings as
1308 argument and creates a new color entry if necessary
1310 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1312 * buffer.C (makeLaTeXFile): if the main latex file that is
1313 processed is usually a subdocument of some master, then pretend
1314 for a while that it is actually the master
1316 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1318 * buffer.C (getLabelList):
1319 (getBibkeyList): use getMasterBuffer()
1320 (getMasterBuffer): new method. Returns the main document in the
1321 case where one is using included documents.
1323 2004-03-25 André Pönitz <poenitz@gmx.net>
1327 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1329 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1331 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1332 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1334 * ParameterStruct.h: merge with ParagraphParameters
1336 * lyxtext.h: remove LyXText::parOffset() and getPar()
1338 * text3.C: Remove all 'manual' update calls. We do now one per user
1339 interaction which is completely sufficient.
1343 * BufferView_pimpl.C:
1344 * FontIterator.[Ch]:
1346 * ParagraphParameters.[Ch]:
1351 * cursor_slice.[Ch]:
1358 * output_docbook.[Ch]:
1359 * output_latex.[Ch]:
1360 * output_linuxdoc.[Ch]:
1361 * output_plaintext.[Ch]:
1363 * paragraph_funcs.[Ch]:
1364 * paragraph_pimpl.[Ch]:
1372 * frontends/controllers/ControlDocument.C:
1373 * frontends/controllers/ControlErrorList.C:
1374 * frontends/controllers/ControlSpellchecker.C:
1377 * insets/insetbase.h:
1378 * insets/insetbibitem.C:
1379 * insets/insetbox.C:
1380 * insets/insetbranch.C:
1381 * insets/insetcaption.C:
1382 * insets/insetcharstyle.C:
1383 * insets/insetcharstyle.h:
1384 * insets/insetcollapsable.C:
1385 * insets/insetcollapsable.h:
1386 * insets/insetert.C:
1387 * insets/insetfloat.C:
1388 * insets/insetfoot.C:
1389 * insets/insetmarginal.C:
1390 * insets/insetnote.C:
1391 * insets/insetoptarg.C:
1392 * insets/insettabular.C:
1393 * insets/insettext.C:
1394 * insets/insettext.h:
1395 * insets/insetwrap.C:
1396 * mathed/math_mboxinset.C:
1397 * mathed/math_nestinset.C:
1398 * mathed/math_scriptinset.C:
1399 * mathed/math_scriptinset.h:
1402 2004-03-24 Angus Leeming <leeming@lyx.org>
1404 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1405 deal with any child processes that have finished but are waiting to
1406 communicate this fact to the rest of LyX.
1408 2004-03-24 Angus Leeming <leeming@lyx.org>
1410 64-bit compile fixes.
1412 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1413 (c-tor): pass lyx::pos_types rather than ints.
1415 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1418 * text.C (Delete): compile fix.
1419 (getPar): ensure that function declaration is the same as that in
1422 2004-03-23 Angus Leeming <leeming@lyx.org>
1424 * ispell.C (LaunchIspell):
1425 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1426 a boost::shred_ptr rather than a std::auto_ptr.
1428 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1430 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1431 handle LFUN_FILE_INSERT_*
1433 * lyxrc.C (setDefaults, getDescription, output, read):
1434 * lyxrc.h: remove ps_command
1436 2004-03-22 Angus Leeming <leeming@lyx.org>
1438 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1439 Ensure that error_handler is processed once only and that all data
1440 is saved before attempting to output any warning messages.
1442 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1444 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1446 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1448 2004-03-19 André Pönitz <poenitz@gmx.net>
1450 * cursor.[Ch] (reset): take main text inset as argument
1452 * BufferView: adjust
1453 * BufferView_pimpl.C: adjust
1455 * paragraph.[Ch]: fix completely broken operator=()
1457 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1459 * LColor.C (getFromLyXName): make sure that the color name is used
1462 2004-03-17 Angus Leeming <leeming@lyx.org>
1465 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1467 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1468 dialog and to kill a forked process.
1470 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1472 * text2.C (setCursorFromCoordinates): fix font problem
1474 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1476 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1477 bogus "rebuild cursor" code
1479 2004-03-11 André Pönitz <poenitz@gmx.net>
1481 * buffer.[Ch]: use InsetText instead of LyXText as container for
1484 * dociterator.[Ch]: drop the BufferView * member which is not needed
1485 anymore after the change to buffer.C
1487 * paragraph_funcs.C:
1491 * BufferView_pimpl.[Ch]:
1493 * cursor_slice.[Ch]: adjust
1495 * text3.C: fix bug in mathDispatch
1497 2004-03-08 André Pönitz <poenitz@gmx.net>
1499 * undo.[Ch]: use 'StableDocumentIterator' as base for
1502 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1505 * bufferparams.[Ch]: add jurabib support and param.
1507 * LaTeX.C: add FIXME/comment.
1509 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1511 * buffer.C: increment file format to 230.
1513 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1515 * cursor.C (dispatch): avoid infinite loops
1517 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1519 * rowpainter.C (paintSelection): fix x coordinates
1521 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1523 * text.C (rowBreakPoint): fix breaking before displayed insets
1525 2004-03-01 André Pönitz <poenitz@gmx.net>
1527 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1529 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1533 * BufferView_pimpl.C:
1541 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1547 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1548 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1550 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1552 * Bidi.[Ch] (computeTables): const correctness
1553 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1554 fill_hfill, fill_label_hfill and x from Row
1555 * lyxtext.h: prepareToPrint returns a RowMetrics
1556 * rowPainter.C: adjust
1557 * text.C (prepareToPrint): use width, not textWidth. adjust
1558 (redoParagraphInternal, cursorX): adjust
1559 * text2.C (getColumnNearX): adjust
1560 (init): put a default value to the top LyXText::width
1562 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1564 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1566 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1568 * lyxtext.h: add FontIterator class
1570 * text.C (FontIterator, operator*, operator->, operator++): add
1571 (rowBreakPoint, setRowWidth): adjust (fixing a
1574 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1576 * BufferView_pimpl.C (workAreaDispatch): allow also
1577 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1579 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1581 * text.C (rowBreakPoint): fix a bug showing with very large insets
1583 2004-02-25 André Pönitz <poenitz@gmx.net>
1586 * cursor.[Ch]: move some mathed specific code to mathed
1588 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1590 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1591 use_tempdir in preferences
1592 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1594 * lyx_main.C: ensure that tempdir is valid
1595 * lyxlex.h: correct typo
1596 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1597 * paragraph.[Ch] (isMultiLingual): make const
1598 * cursor.[Ch] (openable): make const
1600 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1602 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1604 2004-02-20 André Pönitz <poenitz@gmx.net>
1606 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1608 * cursor.[Ch]: prepare for localized getStatus()
1614 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1616 2004-02-20 André Pönitz <poenitz@gmx.net>
1618 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1620 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1622 * text2.C (setCursorFromCoordinates): switch to absolute coords
1624 (cursorDown): adjust
1625 * text3.C (dispatch): adjust
1627 2004-02-16 André Pönitz <poenitz@gmx.net>
1629 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1632 * cursor_slice.[Ch]: remove unneeded acessor function
1634 * lyxtext.h: rename rtl() to isRTL()
1642 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1644 * rowpainter.C (paintSelection): coord fix
1646 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1648 * Spacing.C: compile fix
1650 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1652 * cursor.C (dispatch): restore current_ before returning
1654 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1656 * text2.C (cursorUp, cursorDown): fix coords
1659 2004-02-12 André Pönitz <poenitz@gmx.net>
1664 * text3.C: add LCursor & parameter to most cursor movement functions
1665 remove usage of LyXText::cursorRow() and cursorPar()
1667 * cursor.[Ch]: add textRow() needed members
1670 * BufferView_pimpl.C:
1673 * BufferView_pimpl.C: adjust
1675 2004-02-11 André Pönitz <poenitz@gmx.net>
1679 * BufferView_pimpl.C: shift undo/redo handling
1681 * cursor.[Ch]: fix mathed crash
1684 * lyxtext.h: move selectionAsText to LCursor
1692 * rowpainter.C: fix excessive drawing
1694 2004-02-06 André Pönitz <poenitz@gmx.net>
1697 * BufferView_pimpl.[Ch]:
1698 * text3.C: move some text specific LFUN handling
1700 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1702 * text3.C (checkInsetHit): adjust coords
1703 * text2.C (getColumnNearX): adjust coords
1704 (edit): adjust coords
1705 * text.C (getRowNearY): add two asserts
1707 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1710 * format.C: add using std::distance to compile on gcc 2.95/stlport
1712 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1714 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1716 2004-02-04 André Pönitz <poenitz@gmx.net>
1718 * BufferView.[Ch] (insertInset):
1719 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1724 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1726 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1727 on the default clause of the switch
1728 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1729 wasn't catched by LCursor::dispatch
1731 2004-02-03 André Pönitz <poenitz@gmx.net>
1734 * cursor.[Ch]: some additional asserts
1736 * undo.[Ch]: remove LyXText dependency in interface
1740 * lyxtext.h (firstPar, lastPar): remove dead functions
1745 * paragraph.[Ch]: adjust
1747 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1749 * lyxfind.C (find): fix argument order in call to ::find
1751 2004-02-02 André Pönitz <poenitz@gmx.net>
1753 * cursor.[Ch]: remove direct access to anchor
1755 * text.C: remove findText() hack
1757 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1759 * iterators.[Ch] (lockPath): remove in favour of...
1760 * BufferView.[Ch] (setCursor): this addition
1761 * BufferView.C (putSelectionAt): adjust
1762 * undo.C (performUndoOrRedo): adjust
1763 * lyxfunc.C (dispatch): adjust
1765 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1767 * iterators.C (lockPath): add a missing slice
1768 * undo.C (performUndoOrRedo): remove redundant positioning code
1770 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1772 * vc-backend.C (scanMaster): ";" -> ';'
1774 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1776 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1777 std::binary_function
1779 * lyxtextclass.C (compare_name): rename to...
1780 (LayoutNamesEqual): ...this
1782 * lyxlex_pimpl.C (compare_tags): inherit from
1783 std::binary_function, put back into anon namespace
1785 * lyxfind.C (MatchString): inherig from std::binary_function
1786 (findChange): use empty() istead of !size()
1788 * format.C (FormatNamesEqual): new functor
1795 * converter.C (compare_Converter): rename to...
1796 (ConverterEqual): ...this, and fixup a bit.
1797 (getConverter): use it, and make function const
1798 (getNumber): use it, and make function const
1802 * bufferlist.C: add using boost::bind
1804 * MenuBackend.C (MenuNamesEqual): new functor
1805 (hasMenu): use it, and make function const
1806 (hasSubmenu): use nested bind to get rid of compare_memfun.
1808 2004-01-30 André Pönitz <poenitz@gmx.net>
1810 * BufferView_pimpl.C:
1813 * cursor_slice.[Ch]:
1816 * paragraph_funcs.C:
1817 * paragraph_funcs.h:
1821 * text3.C: move some of the edit(x,y) handling to the insets
1822 some coordinate changes.
1824 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1826 * text.C: add using statements for std::advance and std::distance
1828 * paragraph.C: add using statement for std::distance
1830 * lyxfind.C: add using statement for std::advance
1832 * cursor.C (region): remove std:: from swap
1833 (openable): use nucleus in stead of operator->
1835 * BufferView.C: add using statements for std::distance and std::swap
1837 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1839 * iterators.C: Remove the pimple, move the needed structures to
1840 the header file. Create accessor for the positions stack.
1841 (asPosIterator): remove function
1843 * PosIterator.C (PosIterator): move constructors to top of file
1844 (PosIterator): reimplement the constructor taking a ParIterator in
1846 (setFrom): new function
1847 (operator!=): inline it
1849 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1851 * lyxfind.C (replaceAll): use std::advance
1853 * iterators.h: inherit from std::iterator.
1855 * PosIterator.C (advance, distance): remove
1856 * PosIterator.h: interit from std::iterator.
1858 2004-01-26 André Pönitz <poenitz@gmx.net>
1861 * BufferView_pimpl.[Ch]:
1865 * bufferview_funcs.C:
1875 * output_linuxdoc.C:
1876 * output_plaintext.C:
1878 * paragraph_funcs.[Ch]:
1879 * paragraph_pimpl.[Ch]:
1885 * text3.C: more IU: dumps most of the rest of the mathcursor
1886 implementation into cursor.[Ch]; "globalize" a bit of it.
1888 2004-01-25 Angus Leeming <leeming@lyx.org>
1890 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1892 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1894 * LaTeXFeatures.h: add nice_ and nice() const
1895 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1897 2004-01-20 André Pönitz <poenitz@gmx.net>
1900 * BufferView_pimpl.C:
1902 * bufferview_funcs.C:
1904 * cursor_slice.[Ch]:
1915 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1916 LCursor and mathcursor parts to LCursor and InsetBase.
1918 2004-01-15 André Pönitz <poenitz@gmx.net>
1920 * cursor_slice.[Ch]: add a few covienience functions
1922 * funcrequest.[Ch]: remove BufferView * member
1924 * BufferView_pimpl.C:
1931 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1933 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1935 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1936 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1938 2004-01-13 André Pönitz <poenitz@gmx.net>
1941 * lyxtext.h: hide cursor and selection anchor behind accessor function
1944 * BufferView_pimpl.[Ch]:
1946 * bufferview_funcs.C:
1956 * cursor_slice.[Ch]: some integer type changes for inset unification
1958 * lyxcursor.[hC]: remove, it's CursorSlice now.
1961 * BufferView_pimpl.[Ch]:
1962 * bufferview_funcs.C:
1968 * textcursor.[Ch]: adjust
1970 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1972 * text2.C (undoSpan): add and use
1973 * text.C (breakParagraph): use undoSpan (fix bug 578)
1976 2004-01-08 Angus Leeming <leeming@lyx.org>
1978 * BufferView_pimpl.C (MenuInsertLyXFile):
1979 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1980 * lyxfunc.C (menuNew, open, doImport):
1981 FileFilterList change to the FileDialog open and save functions.
1983 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1985 * ShareContainer.h: make isEqual and isUnique adaptable
1987 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1989 2004-01-07 Angus Leeming <leeming@lyx.org>
1992 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1994 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1996 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1997 functions replacing find, replace and replaceAll.
1999 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2000 LFUN_WORDFIND(FORWARD|BACKWARD).
2002 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2004 * text.C (breakParagraph): remove an outdated #warning
2006 2004-01-07 André Pönitz <poenitz@gmx.net>
2008 * lyxfind.C: somewhat clearer logic
2010 * text.C: prevent crash in cursorX on unitialized row cache
2012 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2014 * lyxcursor.[Ch] (operator>): add
2015 * textcursor.C (selStart, selEnd): use std::min and std::max
2017 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2019 * Chktex.C: include boost/format.hpp
2021 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2023 * InsetList.C: replace functor MathcIt with adaptable functor
2025 (insetIterator): modify accordingly
2027 * BranchList.h: move the BranchNamesEqual functor here from...
2028 * BranchList.C: ... to here
2030 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2032 (add): replace a finding loop with std::find_if.
2034 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2036 * output_docbook.C: moving LatexParam functionality into
2039 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2041 * buffer.C: increment format to 229.
2043 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2046 * lyx_sty.[Ch]: remove minipageindent_def
2052 * text3.C: remove LFUN_INSET_MINIPAGE
2054 2003-12-28 Angus Leeming <leeming@lyx.org>
2056 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2058 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2060 * text2.C (setParagraph): fix off-by-one crash
2062 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2064 * output_docbook.C: header stuff for AGU
2066 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2068 * text2.C (redoCursor): remove
2071 * BufferView_pimpl.C: remove calls to redoCursor and
2072 setCursor(cursor.par(), cursor.pos()) all around
2074 2003-12-15 Angus Leeming <leeming@lyx.org>
2076 * buffer.C: up the format to 228.
2078 2003-12-15 André Pönitz <poenitz@gmx.net>
2080 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2085 * BufferView_pimpl.C:
2094 2003-12-15 Angus Leeming <leeming@lyx.org>
2096 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2097 than getFromGUIName to manipulate the color.
2099 2003-12-14 Angus Leeming <leeming@lyx.org>
2101 * BranchList.[Ch]: minimize the API.
2102 (Branch::getBranch, getColor): now return a 'const &'.
2103 (Branch::setSelected) now returns a bool set to true if the
2104 selection status changes.
2105 (BranchList::clear, size, getColor, setColor, setSelected,
2106 allBranches, allSelected, separator): removed.
2107 (BranchList::find): new functions, returning the Branch with
2109 (BranchList::add, remove): return a bool indicating that
2110 the operation was successful.
2112 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2113 new InsetBranch::isBranchSlected member function.
2115 * LColor.[Ch]: mimimize the API.
2116 (fill): renamed as addColor and made private.
2117 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2118 versions of these functions taking a string arg have been removed.
2120 * bufferparams.C (readToken):
2121 * lyxfunc.C (dispatch):
2122 * lyxrc.C (read): changes due to the altered BranchList and
2125 * factory.C (createInset, readInset): changes due to altered
2128 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2131 * lyxfunc.C: remove insetminipage. "minipage-insert"
2132 now produces a frameless minipage box inset.
2134 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2136 * textcursor.[Ch] (selStart,selEnd): add new methods
2137 remove selection::start, end, use LyXCursor::operator<
2138 * lyxcursor.[Ch] (operator<): add
2139 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2140 * BufferView.[Ch] (unsetXSel): add
2141 * text2.C (clearSelection): use unsetXSel,adjust
2144 * rowpainter.C: adjust
2145 * bufferview_funcs.C (put_selection_at): adjust
2147 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2149 * BufferView_pimpl.C: small coord. correction
2151 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2153 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2154 dragging over the splash screen.
2156 2003-12-11 Angus Leeming <leeming@lyx.org>
2158 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2159 as it is now handled in LyXText::dispatch.
2161 * text3.C (doInsertInset): remove a level of nesting.
2163 2003-12-11 Angus Leeming <leeming@lyx.org>
2165 * factory.C (createInset): changes due to the changed interface to
2166 InsetCommandMailer::string2params.
2168 2003-12-10 Angus Leeming <leeming@lyx.org>
2170 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2171 'dialog-show-new-inset <inset name>'
2173 2003-12-10 Angus Leeming <leeming@lyx.org>
2175 * buffer.C: up the format to 227.
2177 * factory.C: the box inset is now identified simply by 'Box'.
2179 2003-12-10 Angus Leeming <leeming@lyx.org>
2181 * buffer.C: up the format to 226.
2183 * factory.C: the note inset is now identified simply by 'Note'.
2185 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2187 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2188 when a pit is enough. Standarize a couple of loops.
2190 2003-12-05 Angus Leeming <leeming@lyx.org>
2192 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2193 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2194 data to the re-worked "log" dialog.
2196 2003-12-03 André Pönitz <poenitz@gmx.net>
2202 * paragraph_funcs.C:
2204 * text2.C: use Inset::getText instead of Inset::getParagraph
2206 2003-12-03 André Pönitz <poenitz@gmx.net>
2210 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2211 InsetText::read() as LyXText::read()
2213 2003-12-02 Angus Leeming <leeming@lyx.org>
2215 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2216 type. Add a comment in the implementation that the function uses
2217 the stream's bad() function rather than fail() as the std::streams
2220 2003-12-02 André Pönitz <poenitz@gmx.net>
2222 * lyxlex.[Ch]: make interface more similar to std::stream
2224 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2226 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2228 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2230 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2232 * vspace.[Ch]: remove VSpace::NONE
2234 2003-12-01 André Pönitz <poenitz@gmx.net>
2237 * lyxtext.h: move ParagraphList member to LyXText
2238 rename LyXText::ownerParagraphs to LyXText::paragraph
2241 * bufferview_funcs.C:
2251 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2253 * undo.C: fix cursor positioning
2255 2003-12-01 John Levon <levon@movementarian.org>
2257 * BufferView_pimpl.C: fix a crash on exit with
2260 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2262 * BranchList.C: fix setSelected() method.
2264 2003-11-28 André Pönitz <poenitz@gmx.net>
2266 * ParagraphParameters.[Ch]:
2267 * ParameterStruct.h: remove space above/below from Paragraph to
2270 * BufferView_pimpl.C:
2276 * paragraph_funcs.C:
2282 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2284 * factory.C: Syntax change for CharStyles
2286 2003-11-28 André Pönitz <poenitz@gmx.net>
2291 * buffer.[Ch]: move LyXText member
2293 2003-11-28 André Pönitz <poenitz@gmx.net>
2295 * BufferView.[Ch]: make LyXText * text a private member
2297 * BufferView_pimpl.C:
2308 * output_plaintext.C: cleanup
2310 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2313 * lyxtextclass.[Ch]: parametrize SGML document header
2315 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2318 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2321 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2323 * text2.C (setFont): rework using PosIterator (no more recursive)
2324 (setCharFont): no more needed
2325 (setLayout): no more selection cursors fiddling (done by redoCursor)
2326 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2327 destroy remaining ones)
2329 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2331 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2333 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2336 * text3.C: adjust + re-allow multi par depth changes
2337 * textcursor.C: simplify a bit
2339 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2345 * src/output_docbook.C:
2346 * src/output_latex.C:
2351 * src/text2.C: Introducing a number of tags parametrizing various
2352 XML formats that we may want to support
2354 2003-11-25 André Pönitz <poenitz@gmx.net>
2356 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2358 * lyxtext.h (leftMargin/rightMargin): simplify interface
2365 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2367 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2368 master file to any child files. Fixes bug 546.
2370 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2372 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2374 2003-11-24 André Pönitz <poenitz@gmx.net>
2376 * rowpainter.C: simplification
2378 * text2.C (updateCounters): remove call to redoParagraph on
2379 changed labels as this is far too expensive.
2381 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2383 * converter.C (convert): fix a crash: this function gets
2384 called with buffer == 0 from importer code.
2386 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2388 * text3.C (cursorPrevious): make sure that we do not compare
2389 iterators form different containers.
2392 * rowpainter.C (paintSelection): make sure that we do not compare
2393 iterators from different containers.
2395 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2396 iterators from different ParagraphList containers.
2399 * text2.C (LyXText): change order of initialization slightly
2400 (operator=): new function. copy all variables except cache_par_
2401 (moveUp): make sure that we do not compare iterators from
2402 different ParagraphList constainers.
2405 * text.C (firstPar): new function
2406 (lastPar): new function
2407 (endPar): new function
2409 * lyxtext.h: move things around and group public functions, public
2410 variables, private functions, private variables
2412 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2414 * factory.C: change call to InsetERT constructor to avoid
2415 additional invocation of method status
2416 * text2.C (toggleInset): remove redundant update() call
2417 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2418 instead of a Bufferview pointer
2420 2003-11-21 André Pönitz <poenitz@gmx.net>
2422 * rowpainter.C: simplification
2424 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2426 * text3.C (dispatch): make possible to extend a word/row selection
2429 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2431 * lyxtext.h: x0_,y0_ -> xo_,yo_
2432 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2433 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2434 * rowpainter.C (paintRows): paint full paragraphs
2436 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2438 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2441 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2443 * lyxtext.h: add x0_, y0_
2444 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2445 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2447 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2449 * text2.C (setCursorIntern): move the x_target update here *
2450 * text3.C: change some bv() to true/false in calls to
2451 cursorUp/Down/Right/Left
2452 * cursor.C: use helper function.
2454 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2456 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2457 * paragraph_funcs.[Ch]: correct comment
2458 * rowpainter.C: do not paint selections away from bv->cursor()
2459 Fix a long standing selection painting bug.
2460 * text3.C: generalize mouse-selection code to LyXTexts other that
2462 * textcursor.C: do not use y coords if we can use par offsets
2464 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2466 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2467 cursor position after e.g. inset insert)
2469 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2471 * lyxfind.C (replace): adjust to locking removal + some
2474 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2476 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2479 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2482 * output_docbook.C: XML sanitation: new layout
2483 parameters InnerTag and CommandDepth
2485 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2487 * BufferView_pimpl.C:
2489 * text3.C: Fix the insertion and modification of button-style
2492 2003-11-13 André Pönitz <poenitz@gmx.net>
2494 * InsetList.[Ch]: remove deleteLyXText
2496 * paragraph.[Ch]: cache beginOfBody position
2501 * text3.C: remove superfluous update() calls
2505 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2507 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2508 * BufferView.C (fitLockedInsetCursor): remove
2509 * cursor.[Ch] (getDim): add
2510 * text.C (getRowNearY): add faster version
2511 * text3.C: remove some update calls
2513 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2525 * text3.C: The Character Style /XML short element patch.
2527 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2530 * factory.C: Small step to solving 'unable to insert some insets'
2533 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2535 * cursor.[Ch] (updatePos): new function for updating the y
2536 position of the tip inset
2537 * bufferview_funcs.C (put_selection_at):
2538 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2540 2003-11-11 André Pönitz <poenitz@gmx.net>
2542 * text.C: remove big comment on invalid Paragraph pointers as it is
2545 2003-11-11 André Pönitz <poenitz@gmx.net>
2547 * text_funcs.[Ch]: merge with ...
2555 * Makefile.am: remove text_funcs.[Ch]
2557 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2559 * cursor.C (getPos): return absolute cached y coord
2561 * BufferView_pimpl.C (fitCursor): new simplistic code
2562 (workAreaDispatch): add a fitCursor call
2564 2003-11-10 André Pönitz <poenitz@gmx.net>
2567 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2569 2003-11-10 André Pönitz <poenitz@gmx.net>
2571 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2572 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2573 indicate that the cursor needs to leave an inset
2575 * lyxtext.h: remove inset locking
2577 * cursor.[Ch]: re-implement functionality provided by inset locking
2580 * BufferView_pimpl.[Ch]:
2582 * bufferview_funcs.[Ch]:
2594 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2596 * PosIterator.[Ch]: replace the stack with a vector, add inset
2598 * iterators.[C]: adjust
2600 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2602 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2604 * paragraph_funcs.C (readParToken): put the correct id in the
2605 error item, not the id of the top paragraph
2607 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2609 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2610 * bufferview_funcs.C (put_selection_at): use the above
2612 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2614 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2616 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2618 * output_linuxdoc.h:
2619 * output_plaintext.h:
2621 * output_docbook.h: add #include statements
2623 2003-11-05 José Matos <jamatos@lyx.org>
2625 * output_docbook.[Ch]:
2626 * output_latex.[Ch]:
2627 * output_linuxdoc.[Ch]:
2628 * output_plaintext.[Ch]: New files for output formats.
2629 * output.[Ch]: New file for helper functions.
2632 * paragraph_funcs.[Ch]: output functions moved to new files.
2634 * outputparams.h: rename of latexrunparams.h
2642 * paragraph_funcs.[Ch]:
2643 * paragraph_pimpl.[Ch]:
2644 * tabular.[Ch]: rename ascii to plaintext
2645 and LatexRunParams to OutputParams.
2647 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2649 * iterators.[Ch] (text): require bv argument
2650 * undo.C (recordUndo):
2651 * lyxfunc.C (dispatch):
2652 * bufferview_funcs.C (put_selection_at): adjust
2654 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2656 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2658 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2660 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2663 2003-11-04 André Pönitz <poenitz@gmx.net>
2665 * cursor.[Ch]: restructure
2668 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2670 * iterators.[Ch] (asCursor): remove
2672 * lfuns.h: remove LFUN_INSET_EDIT
2678 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2680 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2682 * lyxfind.[Ch]: complete overhaul
2683 * BufferView_pimpl.C:
2685 * paragraph.[Ch] (insert): add
2687 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2691 * text.C: remove dead spellcheck code
2693 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2695 * dispatchresult.h: add a val setter
2697 * cursor.C (dispatch): use a tempvar for data_[i]
2699 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2701 * PosIterator.[Ch]: compile fix
2703 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2705 * text.C (cursorPar): deactivate the cursor cache
2707 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2709 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2711 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2713 * text3.C (dispatch): adjust for new DisptchResult semantics.
2715 * lyxfunc.C (dispatch): handle update when return from
2716 Cursor::dispatch, adjust for new DispatchResult semantics.
2718 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2719 DispatchResult(true) mean to not update. Add class functions for
2720 setting dispatched and update, as well as reading.
2722 * cursor.C (dispatch): don't handle update here
2724 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2726 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2727 * trans_mgr.C: adjust
2729 * paragraph_funcs.C (readParToken): exception safety
2731 * lyxvc.h: store the vcs pointer in a scoped_ptr
2734 * lyxsocket.C (serverCallback): exception safety
2736 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2738 * ispell.C (clone): make it return a auto_ptr
2740 * factory.C (createInset): exception safety
2741 (readInset): exception safety
2743 * bufferlist.C (newBuffer): exception safety
2745 * Thesaurus.C (Thesaurus): use initialization for aik_
2747 * MenuBackend.C (expandToc): exception safety.
2749 2003-11-03 André Pönitz <poenitz@gmx.net>
2753 * bufferview_funcs.C: remove getInsetFromId()
2756 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2762 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2764 * PosIterator.C (distance, advance): new
2765 * bufferview_funcs.[Ch] (put_selection_at): new
2766 * iterators.[Ch] (lockPath): new
2768 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2770 * iterators.[Ch] (asPosIterator): added
2771 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2772 * PosIterator.[Ch]: added
2774 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2778 * cursor.C (dispatch):
2779 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2781 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2782 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2783 contructor, add a class function dispatched. Remove operator>=
2785 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2787 * debug.C: only use the default constructor for debugstream
2790 * main.C (main): include debug.h and setup the lyxerr streambuf
2793 2003-10-31 José Matos <jamatos@lyx.org>
2795 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2797 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2798 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2799 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2800 * paragraph_pimpl.C (simpleTeXSpecialC):
2801 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2802 add LatexRunParams argument.
2804 * exporter.C (Export): change call accordingly.
2806 * latexrunparams.h: add new member to take care of the other backends.
2807 2003-10-30 José Matos <jamatos@lyx.org>
2809 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2810 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2811 factorise code for paragraph output.
2813 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2816 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2818 * text3.C (dispatch):
2819 * lyxfunc.C (dispatch):
2820 * cursor.C (dispatch):
2821 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2823 * dispatchresult.h: make the dispatch_result_t ctor explicit
2825 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2828 * buffer.C: small refactoring of docbook stuff
2830 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2832 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2835 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2837 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2838 operator dispatch_result_t, and operators for == != and >=
2840 * cursor.C (dispatch): adjust for operator dispatch_result_t
2841 removal. comment out call to update
2843 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2845 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2853 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2856 * dispatchresult.h: new file, DispatchResult broken out of
2859 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2861 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2863 * text.C (rowBreakPoint): put a hack inside #if 0
2865 2003-10-28 André Pönitz <poenitz@gmx.net>
2869 * paragraph_funcs.C:
2872 * text2.C: general cleanup (lots of small stuff)
2874 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2876 * text2.C (cursorEnd): simple fix to the "end key goes to one
2877 before the end on last row" bug
2879 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2881 * text.C (backspace): fix the "zombie characters"
2883 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2885 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2887 2003-10-27 André Pönitz <poenitz@gmx.net>
2889 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2891 * factory.C: handle new InsetPagebreak, InsetLine
2893 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2894 and move handling into new InsetPagebreak, InsetLine
2896 * BufferView_pimpl.C:
2898 * ParagraphParameters.C:
2899 * ParameterStruct.h:
2904 * paragraph_funcs.C:
2905 * paragraph_pimpl.C:
2911 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2914 * lyxrow_funcs.[Ch]:
2920 * text3.C: remove lastPos uses in favour of Row::endpos
2922 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2924 * undo.C (performUndoOrRedo): fix two crashes by setting a
2925 cursor by hand and reordering some calls. Use bv->lockInset instead
2926 of inset->edit because the latter loses cursor information
2928 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2930 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2932 (rowBreakPoint): fix width. change point to point + 1.
2933 Add a missing check.
2935 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2938 * lyxfunc.C: fix (at least partly) the problems
2939 with the Nav menu and headers inside branch insets
2942 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2944 * paragraph.C (getChar): add strong asserts
2946 * lyxrow_funcs.C (lastPos): remove hideous hack
2948 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2949 (fill): adjust to that (avoid an infinite loop)
2951 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2953 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2955 2003-10-23 André Pönitz <poenitz@gmx.net>
2957 * RowList_fwd.h: change list<> to vector<> to gain speed
2958 after suggestion from Alfredo
2960 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2962 * lyxtext.h: move the bidi stuff from here...
2965 * Bidi.[Ch]: ... to here
2967 2003-10-23 André Pönitz <poenitz@gmx.net>
2970 * text.C (isLastRow, isFirstRow): new functions
2972 * paragraph.h: new width cache member
2974 * rowpainter.C: replace RowList::iterator with Row & where possible
2976 * lyxfunc.C: replace several view()->text with a single call
2978 * toc.C: fix 'unused' warning
2980 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2982 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2983 when woring with stream::pos_type
2984 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2986 2003-10-22 André Pönitz <poenitz@gmx.net>
2989 * text.C: use Row & instead of RowList::iterator
2991 * lyxrow.h: rename end() to endpos()
2997 2003-10-22 Angus Leeming <leeming@lyx.org>
2999 * buffer.[Ch] (fully_loaded): new member function, returning true
3000 only when the file has been loaded fully.
3001 Used to prevent the premature generation of previews and by the
3002 citation inset to prevent computation of the natbib-style label.
3004 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3005 templates are all set up.
3007 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3009 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3011 * text.C: fixed an "oops" in the "is a bit silly"
3014 2003-10-21 André Pönitz <poenitz@gmx.net>
3016 * FuncStatus.[Ch]: small stuff, whitespace
3018 * lyxfont.[Ch]: operator<<() for debug reasons
3022 * lyxtext.h: whitespace, spelling
3024 * paragraph.C: naming of variables
3027 * text2.C: small stuff
3030 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3032 * text.C: (1) finish off the inset display() work;
3033 (2) fix the "is a bit silly" bug (accessing char
3036 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3038 * text.C: re-introduce display() for insets, fixing the
3039 various bugs (stretch of line above, math inset
3042 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3044 * text.C (rightMargin): remove spurious semicolon
3046 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3049 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3051 * text3.C: fix one crash due to wrong cursor def
3053 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3055 * vc-backend.C (scanMaster): make the regex static
3057 * LaTeX.C (scanAuxFile): make the regexs static
3059 * text3.C (doInsertInset, dispatch, dispatch):
3060 * text2.C (cursorUp, cursorDown):
3061 * text.C (selectNextWordToSpellcheck):
3062 * BufferView_pimpl.C (dispatch):
3063 * lyxfunc.C (dispatch): localDispatch -> dispatch
3065 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3067 * lyxsocket.C: include <cerrno>
3069 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3071 * lyxfunc.C (dispatch): remove textcache stuff
3073 * bufferlist.C (release): remove textcache stuff
3076 * TextCache.C: delete file
3077 * TextCache.h: delete file
3079 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3081 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3082 delete of the bv_->text.
3083 (resizeCurrentBuffer): remove texcache stuff
3084 (workAreaResize): ditto
3086 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3088 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3091 2003-10-16 André Pönitz <poenitz@gmx.net>
3098 * text3.C: speed up by storing y positions per paragraph plus per-row
3099 offset instead of having a 'full' y position in the row.
3101 2003-10-15 André Pönitz <poenitz@gmx.net>
3105 * undo.[Ch]: make undo aware of inner insets
3107 2003-10-14 Angus Leeming <leeming@lyx.org>
3109 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3110 static member functions LyX::ref() and LyX::cref.
3111 (lastfiles): new accessor functions for the new lastfiles_ member var.
3112 (addLyXView, views_): add a new LyXView to the list of views_.
3113 (updateInset): loop over all LyXViews to call their own updateInset
3114 member function, returning a pointer to the Buffer owning the inset.
3116 * BufferView_pimpl.C (loadLyXFile):
3117 * MenuBackend.C (expandLastfiles):
3118 * bufferlist.C (MenuWrite, QuitLyX):
3119 lastfiles is no longer a global variable.
3120 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3122 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3123 static function. Access through LyX::cref().emergencyCleanup().
3125 2003-10-14 André Pönitz <poenitz@gmx.net>
3127 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3129 * undo.[Ch]: restoring part of 'undo in insets'
3132 * undo_funcs.[Ch]: merge with undo.[Ch]
3134 * tabular.C: small cleansing stuff
3136 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3138 * paragraph_funcs.C (readParToken): report unknown insets as error
3139 boxes. Use the outer paragraph as location (also for unknown
3142 * factory.C (readInset): do not abort on reading an unknown inset.
3143 Eat it and return 0.
3145 2003-10-13 Angus Leeming <leeming@lyx.org>
3147 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3149 * lyxrc.C: displayTranslator is now a function,
3150 declared in GraphicsTypes.h.
3152 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3154 * format.C: new placeholder $$a to pass the socket address.
3156 * bufferlist.[Ch]: new function getBufferFromTmp.
3158 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3159 files in the temporary dir.
3161 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3163 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3165 * Makefile.am: add lyxsocket.[Ch].
3167 * lyx_main.C (error_handler): handle SIGPIPE.
3169 2003-10-13 André Pönitz <poenitz@gmx.net>
3171 * BufferView_pimpl.C:
3176 * undo_funcs.[Ch]: use paroffset_type instead of
3177 ParagraphList::iterators to prevent multiple conversion
3178 (and get a more robust interface)
3180 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3184 * text3.C (dispatch): ditto
3186 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3188 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3189 move the onlyfile, use onlyfile instead of foundfile in a couple
3192 * DepTable.C (update): flush the error stream a bit more
3194 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3196 * lyxserver.C (callback): adjust
3198 * lyxfunc.C (getStatus): add a missing brace in commented code
3199 (ensureBufferClean): reindent
3200 (dispatch): delete version taking a string
3202 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3204 * LaTeX.C (deplog): move found file handlig from here...
3205 (handleFoundFile): .. to new function here.
3206 (deplog): make sure to discover several files mentioned on the
3209 2003-10-10 André Pönitz <poenitz@gmx.net>
3216 * text3.C: fix some of the tabular crashes
3218 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3220 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3222 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3224 2003-10-09 André Pönitz <poenitz@gmx.net>
3226 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3229 * BufferView_pimpl.C:
3230 * bufferview_funcs.C:
3241 * undo_funcs.C: adjust
3243 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3245 * text2.C (incrementItemDepth): new function, use a backtracking
3246 algorithm to discover the correct item depth.
3247 (resetEnumCounterIfNeeded): new function, use a backtracking
3248 algorithm to discover if counter reset is needed.
3249 (setCounter): use them. Simplify a bit. Add different labels for
3250 different item depths for itemize.
3252 * paragraph.C (Paragraph): remove initialization of enumdepth
3255 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3256 enumerate and itemize. Change the type of itemdepth to signed char.
3258 2003-10-08 André Pönitz <poenitz@gmx.net>
3260 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3265 * tabular.[Ch]: fix crash after 'row-insert'
3267 2003-10-08 Angus Leeming <leeming@lyx.org>
3269 Fix doxygen warnings.
3271 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3272 Remove CutAndPaste:: prefix from header file declaration.
3274 * LColor.h (fill): remove LColor:: prefix from declaration.
3276 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3277 use lyx::depth_type rather than Paragraph::depth_type so that
3278 header file and .C file match.
3280 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3282 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3283 * aspell.C: \file aspell_local.C -> \file aspell.C
3284 * gettext.C: \file gettext.C -> \file src/gettext.C
3285 * gettext.h: \file gettext.h -> \file src/gettext.h
3286 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3287 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3288 * text.C: \file text.C -> \file src/text.C
3290 * toc.C: move comment so that doxygen is not confused.
3292 2003-10-07 Angus Leeming <leeming@lyx.org>
3294 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3296 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3299 * aspell_local.h: add forgotten std::string's.
3301 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3308 * text3.C: The Box patch. Fancybox support, minipage, parbox
3310 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3316 * ParagraphParameters.h:
3326 * lyxtextclasslist.h:
3329 * paragraph_pimpl.C:
3330 * textcursor.h: add <string> and other small fixes to make Lars'
3331 std::string patch compile with STLport.
3333 2003-10-06 Angus Leeming <leeming@lyx.org>
3335 * LColor.h: Add missing #include <string>.
3337 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3339 * All most all file in all subdirs: Make <string> be the prefered
3340 way of getting to std::string, add using declarations.
3342 2003-10-06 André Pönitz <poenitz@gmx.net>
3344 * metricsinfo.C: initialize LyXFont before changing attribute.
3345 (fixes the 'math in \emph is upright' bug)
3347 2003-10-06 André Pönitz <poenitz@gmx.net>
3349 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3351 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3354 * paragraph_pimpl.C: Small fixes to build using STLport
3356 2003-10-02 André Pönitz <poenitz@gmx.net>
3359 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3361 2003-10-01 André Pönitz <poenitz@gmx.net>
3363 * factory.C: assert early
3365 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3367 * lyx_main.C: remove the global debug object
3369 * debug.h: adjust for new debugstream
3371 * debug.C: adjust for new debugstream and keep the global debug
3374 2003-09-22 Angus Leeming <leeming@lyx.org>
3376 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3377 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3378 an incomplete class LyXFont.
3380 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3382 * factory.C: bug fix in branches
3384 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3386 * lyxfunc.C (processKeySym): adjust
3388 (dispatch): change arg name from ev to func, adjust
3389 (sendDispatchMessage): ditto
3391 * lyx_main.C (defaultKeyBindings): adjust keybindings
3392 (deadKeyBindings): ditto
3394 * kbsequence.C (addkey): return a FuncRequest
3396 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3398 * kbmap.C (bind): take a FuncRequest as arg, adjust
3401 (defkey): change to take a FuncRequest as arg, adjust
3402 (findbinding): take a FuncRequest as arg, adjust.
3404 * funcrequest.h (operator=): added
3406 * funcrequest.C (FuncRequest): default kb_action changed from
3407 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3409 * buffer.C (dispatch): simplify
3410 (dispatch): adjust to take a FuncRequest as arg, adjust
3412 * boost.C (assertion_failed): change assertion message slightly
3414 * ToolbarBackend.C (read): simplify
3416 * MenuBackend.C (binding): adjust call to findbinding, add a
3417 message if no binding is found.
3419 (expandToc): correct by adding a empty FuncRequest
3421 * LyXAction.C: include <boost/assert.hpp>
3422 (isPseudoAction): delete function
3423 (LookupFunc): change name to...
3424 (lookupFunc): this. change return type to FuncRequest.
3425 (getActionName): take kb_action as arg, simplify
3426 (funcHasFlag): add an assert, simplify.
3428 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3430 * toc.C (action): return a FuncRequest, simplify
3432 * lyxfunc.C (processKeySym): adjust
3433 (getStatus): delete version that takes an int.
3435 (dispatch): delete version that takes action as int
3437 (sendDispatchMessage): simplify and adjust
3439 * funcrequest.C (getArg): take unsigned int as arg
3441 * ToolbarBackend.C (read): adjust
3442 (add): delete version that takes func as a string.
3443 (getIton): take a FuncRequest as arg
3445 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3448 * MenuBackend.C (MenuItem): add a new construct that only takes a
3449 Kind, simplify the constructor use for submenus.
3451 (expandLastfiles): adjust
3452 (expandDocuments): adjust
3453 (expandFormats): adjust
3454 (expandFloatListInsert): adjust
3455 (expandFloatInsert): adjust
3456 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3458 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3459 Remove class variables lyx_pseudo_map and lyx_arg_map
3461 * LyXAction.C (searchActionArg): delete function
3462 (getPseudoAction): delete function
3463 (retrieveActionArg): delete function
3464 (LookupFunc): make it return kb_action, simplify.
3465 (getActionName): simplify
3467 * factory.C (createInset): fix new bug
3469 2003-09-19 Angus Leeming <leeming@lyx.org>
3471 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3472 masterFilename_ parameter in the include inset.
3474 * factory.C (createInset): changes due to the changes to InsetInclude.
3476 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3478 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3480 2003-09-18 Angus Leeming <leeming@lyx.org>
3483 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3484 Inset::fillWithBibKeys.
3485 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3487 2003-09-18 Angus Leeming <leeming@lyx.org>
3489 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3491 (ctor): pass and store a 'Buffer const &'
3492 (buffer): new member function.
3494 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3495 '*this' to the LaTeXFeatures ctor.
3497 2003-09-18 Angus Leeming <leeming@lyx.org>
3503 * text.C: rename EnumLColor as LColor_color.
3505 2003-09-18 Angus Leeming <leeming@lyx.org>
3507 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3508 remove #include "insets/insetbase.h" from cursor.h.
3510 2003-09-18 Angus Leeming <leeming@lyx.org>
3512 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3513 InsetOld_code to remove #include "inset.h".
3515 * iterators.C: add #include "insets/inset.h"
3517 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3519 * BufferView.C: remove more locking stuff that apparently doesn't
3520 do anything sensible.
3522 2003-09-16 André Pönitz <poenitz@gmx.net>
3525 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3528 2003-09-16 Angus Leeming <leeming@lyx.org>
3530 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3532 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3535 * paragraph.h: remove #include "lyxfont.h". Forward declare
3538 2003-09-16 Angus Leeming <leeming@lyx.org>
3540 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3541 of support/textutils.h.
3542 (isWord): move the contents of support/textutils.h's IsWordChar here.
3548 * text2.C: add #include "paragraph.h".
3551 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3553 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3559 * LaTeX.C: use namespace alias for lyx::support::os
3561 2003-09-16 Angus Leeming <leeming@lyx.org>
3564 * bufferview_funcs.C:
3567 * paragraph_pimpl.C:
3569 * text.C: add #include "LColor.h".
3571 2003-09-16 Angus Leeming <leeming@lyx.org>
3573 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3574 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3576 Store the FontBits::color variable as an int rather than as an
3577 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3580 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3581 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3582 string calls together.
3584 * lyxrc.C: add #include "LColor.h".
3586 2003-09-15 Angus Leeming <leeming@lyx.org>
3588 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3591 2003-09-15 Angus Leeming <leeming@lyx.org>
3593 * LColor.h: add an EnumLColor wrapper for LColor::color.
3595 * lyxfont.[Ch] (color, setColor, realColor):
3596 * lyxtext.h, text.C (backgroundColor):
3597 pass EnumLColor args to/from the functions, rather than LColor::color
3601 * lyxtext.h: forward declare EnumLColor.
3603 * lyx_main.C: add #include "LColor.h".
3605 2003-09-15 Angus Leeming <leeming@lyx.org>
3607 * .cvsignore: add lyx-gtk.
3609 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3614 * ParagraphParameters.C
3618 * bufferview_funcs.C
3628 * vc-backend.C: remove usage of STRCONV
3630 2003-09-15 Angus Leeming <leeming@lyx.org>
3632 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3633 explicitly define the color passed to the painter.
3635 2003-09-15 Angus Leeming <leeming@lyx.org>
3637 * bufferparams.C (BufferParams): reorder member initializers to avoid
3640 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3642 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3643 * text.C (updateRowPositions): remove an unusual nop
3645 2003-09-12 André Pönitz <poenitz@gmx.net>
3647 * BufferView_pimpl.C:
3656 * Counters.[Ch]: finish the 'automatic counters' job
3658 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3660 * aspell.C: include <boost/assert.cpp> (compile fix)
3662 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3664 * boost.C (assertion_failed): use lyx::support::abort instead of
3667 2003-09-10 Angus Leeming <leeming@lyx.org>
3669 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3670 with their _fwd progeny.
3672 2003-09-09 Angus Leeming <leeming@lyx.org>
3674 134 files throughtout the source tree: replace 'using namespace abc;'
3675 directives with the appropriate 'using abc::xyz;' declarations.
3677 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3679 * boost.C (emergencyCleanup): moved here from LAssert.c
3680 (assertion_failed): new function, called by BOOST_ASSERT
3682 * several files: change Assert to BOOST_ASSERT
3684 2003-09-09 Angus Leeming <leeming@lyx.org>
3686 * buffer.[Ch]: Add an Impl class and move Buffer's member
3687 variables into it. As a result move several header files out of
3690 Add header files to lots of .C files all over the tree as a result.
3692 2003-09-09 Angus Leeming <leeming@lyx.org>
3694 * buffer.[Ch]: make Buffer's member variables private. Add
3697 Lots of changes all over the tree as a result.
3699 2003-09-08 Angus Leeming <leeming@lyx.org>
3701 * graph.C: #include <config.h>.
3703 2003-09-08 Angus Leeming <leeming@lyx.org>
3707 * BufferView_pimpl.C:
3736 * toc.C: remove redundant using directives.
3738 2003-09-07 Angus Leeming <leeming@lyx.org>
3740 * LaTeXFeatures.h: remove #include "support/types.h".
3741 * ToolbarBackend.h: remove #include <algorithm>.
3742 * changes.h: remove #include <ctime>.
3743 * debug.h: remove #include <iosfwd>.
3744 * graph.h: remove #include "support/std_string.h".
3745 * lyx_main.h: remove #include <csignal>.
3746 * lyxlex_pimpl.h: remove #include <fstream>.
3747 * sgml.h: remove #include <algorithm>, <utility>.
3748 * toc.h: remove #include "support/std_ostream.h".
3749 Add #include <iosfwd>.
3751 2003-09-07 Angus Leeming <leeming@lyx.org>
3753 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3755 * converter.h: forward declare LatexRunParams.
3756 * encoding.h: remove #include "lyxrc.h".
3757 * lyxtext.h: remove #include "LColor.h".
3758 * lyxtextclass.h: remove #include "support/types.h".
3759 * trans.h: remove #include "tex-accent.h".
3760 * trans_mgr.h: remove #include "tex-accent.h".
3761 * insets/inset.h: remove #include "support/types.h", <vector>.
3762 * insets/insetcollapsable.h: remove #include "LColor.h".
3763 * insets/insetinclude.h: remove #include "dimension.h".
3764 * insets/insetlatexaccent.h: remove #include "dimension.h".
3765 * insets/insetoptarg.h:: remove #include "insettext.h".
3766 * insets/insettext.h: remove #include "dimension.h",
3767 <boost/shared_ptr.hpp>
3769 * insets/renderers.h: add #include "dimension.h".
3770 * insets/updatableinset.h: add #include "support/types.h".
3772 * many .C files: Associated changes.
3774 2003-09-06 Angus Leeming <leeming@lyx.org>
3776 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3777 one, inside testInvariant.
3779 * PrinterParams.C: new file.
3780 * PrinterParams.[Ch]: move the function bodies out of line.
3782 2003-09-06 Angus Leeming <leeming@lyx.org>
3784 * ParagraphParameters.h: forward declare ParameterStruct rather than
3785 including its header file.
3786 (depth): moved out-of-line.
3788 2003-09-06 Angus Leeming <leeming@lyx.org>
3790 * BufferView_pimpl.h:
3793 * lyxfunc.h: forward declare LyXKeySym rather than
3794 #include "frontends/LyXKeySym.h".
3796 * BufferView_pimpl.C:
3799 * lyxfunc.C: associated changes.
3801 2003-09-06 Angus Leeming <leeming@lyx.org>
3803 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3804 As a result, can remove the #include "insets/inset.h" from BufferView.h
3806 2003-09-06 Angus Leeming <leeming@lyx.org>
3808 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3809 As a result, can remove the #include "insets/inset.h" from BufferView.h
3811 2003-09-06 Angus Leeming <leeming@lyx.org>
3817 * bufferview_funcs.C:
3818 * BufferView_pimpl.C:
3823 * ParagraphParameters.C:
3828 * frontends/controllers/ControlDocument.C:
3829 * insets/insetcaption.C: rearrange the #includes into some sort of
3832 * buffer.h: remove #includes ErrorList.h, undo.h
3834 2003-09-06 Angus Leeming <leeming@lyx.org>
3836 * support/types.h: add a 'depth_type' typedef, used to store the
3837 nesting depth of a paragraph.
3840 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3841 defining explicitly.
3844 * paragraph_funcs.h:
3845 * ParagraphParameters.h:
3846 * sgml.h: use lyx::depth_type rather than Paragraph or
3847 ParameterStruct's depth_type.
3850 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3853 * BufferView_pimpl.C:
3855 * ParagraphParameters.C:
3858 * bufferview_funcs.C:
3865 * frontends/LyXView.C:
3866 * frontends/controllers/ControlDocument.C:
3867 * frontends/controllers/ControlErrorList.C:
3868 * insets/insetbibitem.C:
3869 * insets/insetbranch.C:
3870 * insets/insetcaption.C:
3871 * insets/insetcollapsable.C:
3872 * insets/insetenv.C:
3873 * insets/insetert.C:
3874 * insets/insetfloat.C:
3875 * insets/insetfoot.C:
3876 * insets/insetfootlike.C:
3877 * insets/insetnewline.C:
3878 * insets/insetquotes.C:
3879 * insets/insettabular.C:
3880 * insets/insettext.C:
3881 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3883 * frontends/controllers/ControlChanges.C: #include "changes.h".
3885 2003-09-06 Angus Leeming <leeming@lyx.org>
3887 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3888 than #including paragraph.h.
3891 * RowList.h: deleted. Superfluous.
3901 * insets/insettext.h: use ParagraphList_fwd.h rather than
3904 * paragraph.h: don't forward declare ParagraphList.
3907 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3908 rather than ParagraphList.h. paragraph.h is still needed for the
3909 Paragraph::depth_type parameters.
3911 * textcursor.h: enable it to compile stand-alone in light of the
3914 * bufferview_funcs.C:
3926 * frontends/controllers/ControlParagraph.C:
3927 * frontends/controllers/ControlTabular.C:
3928 * insets/insetmarginal.C:
3929 * insets/insetminipage.C:
3930 * insets/insetnote.C:
3931 * insets/insetoptarg.C: add header files needed to compile again.
3933 2003-09-06 Angus Leeming <leeming@lyx.org>
3935 * RowList_fwd.h: new file, forward-declaring Row rather than
3936 #including lyxrow.h.
3941 * insets/insettext.h: use it instead of RowList.h
3943 * bufferview_funcs.C:
3950 * text3.C: #include "RowList.h".
3952 2003-09-05 Angus Leeming <leeming@lyx.org>
3954 * factory.C (createInset):
3955 * vspace.C (c-tor): replace sscanf call with an istringstream.
3956 * ispell.C: re-add missing HP/UX headers.
3957 * lyxserver.C: re-add missing os2 headers.
3959 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3968 * text3.C: re-add missing system headers, needed for 2.95.2.
3970 2003-09-05 Angus Leeming <leeming@lyx.org>
3972 Changes most place everywhere due to the removal of using directives
3973 from support/std_sstream.h.
3975 2003-09-05 Angus Leeming <leeming@lyx.org>
3977 Replace LString.h with support/std_string.h,
3978 Lsstream.h with support/std_sstream.h,
3979 support/LIstream.h with support/std_istream.h,
3980 support/LOstream.h with support/std_ostream.h.
3982 Changes resulting throughout the tree.
3984 2003-09-05 Angus Leeming <leeming@lyx.org>
3986 * sgml.h: ensure that the header file can be compiled stand-alone.
3987 * *.C: strip out redundant #includes. (320 in total.)
3989 2003-09-04 Angus Leeming <leeming@lyx.org>
3991 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3992 here (from getPackages).
3994 * debug.[Ch]: add a new EXTERNAL tag.
3996 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3998 * text2.C (cursorEnd): simplify
4000 (getColumnNearX): adjust
4002 * text.C (computeBidiTables): adjust
4005 * rowpainter.C (paintChars): adjust
4006 (paintSelection): adjust
4007 (paintChangeBar): adjust
4010 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4012 (numberOfSeparators): adjust
4014 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4020 * text3.C: Restricts the mouse click functionality
4021 of insets like bibtex, include, toc and floatlist to the visible
4022 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4023 up the dialogs. Cursor has to be in front of the inset (i.e.
4024 start of row) for this to function.
4026 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4028 * bufferview_funcs.C (currentState): output row information
4030 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4032 * bufferview_funcs.C (currentState): output paragraph position
4034 2003-09-04 Angus Leeming <leeming@lyx.org>
4036 * FloatList.h: move out #include "Floating.h".
4037 * LaTeX.h: move out #include "DepTable.h".
4038 * LyXAction.h: move out #include "funcrequest.h".
4039 * buffer.h: move out #include "author.h", "iterators.h".
4040 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4041 * lyx_main.h: move out #include "errorlist.h".
4042 * lyxfunc.h: move out #include "FuncStatus.h".
4043 * lyxtext: move out #include "lyxcursor.h".
4044 * paragraph_pimpl.h: move out #include "counters.h".
4046 2003-09-03 Angus Leeming <leeming@lyx.org>
4048 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4049 preamble_snippets list, enabling us to add snippets to the preamble
4050 only if the snippet was not there already.
4052 2003-09-04 Angus Leeming <leeming@lyx.org>
4054 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4056 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4058 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4061 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4063 * BranchList.C: point fix, earlier forgotten
4065 2003-09-02 Angus Leeming <leeming@lyx.org>
4067 * box.C (contains): renamed from 'contained' after a fantastic
4070 2003-09-02 John Levon <levon@movementarian.org>
4076 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4078 2003-09-02 John Levon <levon@movementarian.org>
4080 * text2.C: simplification of cursorEnd(), including partial
4083 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4085 * buffer.C (readFile): add a space
4087 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4089 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4091 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4093 * buffer.C (readFile): new function, take a filename and a
4094 ParagraphList::iterator
4096 (readFile): adjust, make it private. don't use setStream, make
4097 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4098 always contain the filename.
4100 * BufferView.C (insertLyXFile): simplify and make it work for
4103 2003-08-30 John Levon <levon@movementarian.org>
4105 * Makefile.am: fix dist (from Kayvan)
4107 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4109 * most files: change to use const Buffer refs
4111 2003-08-27 André Pönitz <poenitz@gmx.net>
4113 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4114 on top of ownerPar().
4116 2003-08-27 John Levon <levon@movementarian.org>
4118 * funcrequest.C: properly initialise POD members
4120 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4122 * lyxtext.h (top_y): move top_y from here
4127 * BufferView_pimpl.[Ch]: to here
4128 * frontends/screen.C:
4129 * insets/insettabular.C:
4130 * insets/insettext.C: adjust
4131 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4133 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4136 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4138 2003-08-26 André Pönitz <poenitz@gmx.net>
4140 * paragraph_func.[Ch] (outerPar): new function
4143 * paragraph_funcs.C:
4144 * paragraph_funcs.h:
4145 * paragraph_pimpl.C:
4146 * text2.C: remove Inset::par_owner
4148 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4153 * text2.C: eliminates the needFullRow/display() stuff
4154 altogether, putting the logic in metrics/draw in the insets.
4156 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4158 * text2.C (redoParagraphInternal, redoParagraphs):
4159 * text.C (redoParagraph): add a call to updateRowPositions at the
4160 end of each 'metrics-like' call. Remove all others.
4161 (getRow): remove the 'y-computing' version.
4162 (getRowNearY): do not compute nor return the real y. Solve the
4163 'y < 0' problem and simplify.
4165 2003-08-22 Angus Leeming <leeming@lyx.org>
4167 * *.[Ch]: clean-up of licence and author blurbs.
4168 Also move config.h out of a few .h files and into a few .C files.
4170 2003-08-22 André Pönitz <poenitz@gmx.net>
4172 * lyxrow.[Ch]: add x_ and *fill_ members
4177 * text2.C: adjust/remove prepareToPrint() calls
4179 2003-08-22 André Pönitz <poenitz@gmx.net>
4181 * lyxrow.[Ch]: add end_ member
4183 * lyxrow_funcs.C: use LyXRow::end_
4185 * lyxtext.h (singleWidth): add LyXFont parameter
4188 * text2.C: adjust LyXText::singleWidth() calls
4190 * text.C (redoParagraph): simplify row breaking logic
4193 2003-08-19 André Pönitz <poenitz@gmx.net>
4195 * funcrequest.C: initialize button_ member
4198 * rowpainter.[Ch]: interface consolidation
4200 2003-08-18 André Pönitz <poenitz@gmx.net>
4203 * BufferView_pimpl.C:
4205 * paragraph_funcs.C:
4207 * text3.C: remove LyXScreen::draw() and fitCursor calls
4209 * BranchList.h: remove spurious semicolons
4211 * MenuBackend.C: fix branchlist related crash
4213 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4221 * bufferparams.[Ch]:
4225 * text3.C: implements the 'branch inset'
4226 idea. This allows the output of various versions of a document
4227 from a single source version, selectively outputing or suppressing
4228 output of parts of the text.
4229 This implementation contains a 'branch list editor' in a separate
4230 tab of the document settings dialog. Branches are user definable
4231 and have a "display colour" to distinguish them on-screen.
4233 ColorHandler was somewhat cleaned up.
4234 (1) make possible a dynamically growing LColor list by allowing
4235 the graphic context cache to grow along (vector);
4236 (2) eliminate an IMHO unnecessary step in colour allocation.
4238 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4240 * BufferView_pimpl.C: compile fix
4242 2003-08-15 André Pönitz <poenitz@gmx.net>
4244 * rowpainter.C: remove extra metrics calls
4246 * lyxtext.h: merge the two constructors into a single one,
4247 pass reference to owner's par list
4249 * BufferView_pimpl.C:
4253 2003-08-15 André Pönitz <poenitz@gmx.net>
4255 * lyxrow_funcs.[Ch]:
4258 * paragraph_funcs.C:
4263 * text_funcs.C: split LyXText::rowlist_ into individual
4264 Paragraph::rows_ chunks
4267 * BufferView_pimpl.[Ch]:
4270 * text3.C: remove toggleSelection()
4272 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4274 * bufferlist.C: beautify two alerts (shorter text of buttons)
4275 * buffer.C: Remove redundant ' ' from message
4277 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4278 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4279 rename VALIGN_CENTER to VALIGN_MIDDLE
4281 2003-08-11 André Pönitz <poenitz@gmx.net>
4283 * lyxtext.h (getPar):
4284 * text.C: new function
4286 2003-08-11 André Pönitz <poenitz@gmx.net>
4289 * tracer.[Ch]: remove unneeded files
4291 * InsetList.[Ch]: remove resizeInsetsLyXText()
4296 * text3.C: merge insertParagraphs() and appendParagraph()
4297 remove breakAgain(), update()
4299 * BufferView_pimpl.[Ch]:
4300 * bufferview_funcs.[Ch]:
4304 * tabular.C: adjust after text & InsetList changes.
4306 2003-08-08 André Pönitz <poenitz@gmx.net>
4308 * text.C (insertChar, backspace): replace rowlist fiddling
4309 with rebreak of full par
4312 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4313 checkParagraph, updateInset): removed
4315 2003-08-07 André Pönitz <poenitz@gmx.net>
4318 * text3.C: merge some LFUN handlers, remove dead code
4320 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4322 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4324 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4326 * text2.C (DEPM): fix part of bug 1255 and 1256
4328 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4330 * BufferView_pimpl.C (workAreaDispatch): change to use
4331 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4332 that are no mouse related.
4334 2003-08-05 André Pönitz <poenitz@gmx.net>
4337 * BufferView_pimpl.[Ch]:
4338 * bufferview_funcs.C:
4340 * text3.C: rip out "deep update"
4342 * textcursor.[Ch] (last_sel_cursor): remove unused member
4344 2003-08-04 André Pönitz <poenitz@gmx.net>
4347 * BufferView_pimpl.[Ch]:
4348 * ParagraphParameters.C:
4349 * bufferview_funcs.C:
4355 * text3.C: replace "complicated" BufferView::update(...) calls with
4358 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4360 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4362 * Makefile.am (lyx_SOURCES): add paper.h
4364 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4366 * Makefile.am: move things around so that both lyx-qt and
4367 lyx-xforms can be built (according to --with-frontend). Then lyx
4368 is a symbolic link to lyx-[firstfrontend]
4370 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4372 * Always use std::endl with lyxerr
4374 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4376 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4378 2003-08-01 André Pönitz <poenitz@gmx.net>
4381 * BufferView_pimpl.[Ch]:
4383 * text3.C: merge BufferView::repaint() and BufferView::update()
4385 2003-08-01 José Matos <jamatos@lyx.org>
4387 * buffer.[Ch]: file_format is no longer a buffer data element.
4389 2003-08-01 André Pönitz <poenitz@gmx.net>
4394 * text2.C: make redoParagraph more independent of current cursor
4396 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4398 * text2.C: remove unneeded members
4400 2003-07-30 André Pönitz <poenitz@gmx.net>
4402 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4404 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4405 create a single function...
4407 * paragraph_funcs.C (moveItem): ... here.
4410 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4412 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4414 * LColor.[Ch]: Add comment and greyedout logical colors.
4416 2003-07-30 André Pönitz <poenitz@gmx.net>
4418 * tabular.C: don't use Assert too heavily. This crashes where it
4421 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4423 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4424 is disabled (bug 1232)
4426 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4428 * factory.C: limited 'arg' scope
4430 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4432 * factory.C: fixed Note submenu issues
4434 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4436 * factory.C: submenu for Note/Comment/Greyedout
4438 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4441 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4443 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4446 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4447 greyedout. Patch provided by Jürgen Spitzmüller.
4449 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4451 * kbmap.C (read): fix error message when reading bind files
4453 2003-07-29 Angus Leeming <leeming@lyx.org>
4455 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4456 certainly does not do what it purports to do. I am doing it, and
4457 us, a favour by killing it.
4459 2003-07-28 José Matos <jamatos@lyx.org>
4461 * buffer.C (readBody, do_writeFile):
4462 * paragraph.C(readParagraph): \end_document replaces \the_end.
4464 2003-07-29 André Pönitz <poenitz@gmx.net>
4467 * BufferView_pimpl.[Ch]:
4471 * textcursor.[Ch]: remove toggleToggle & Co
4473 2003-07-28 José Matos <jamatos@fep.up.pt>
4475 * buffer.C (readParagraph):
4476 * params_func (readParToken, readParagraph):
4477 * paragraph.C (write): \layout -> \begin_layout.
4479 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4481 * lyxlex_pimpl.C (setFile): clean up slightly.
4483 * bufferparams.h: add compressed var
4485 * buffer_funcs.C (readFile): adjust for LyXLex change
4486 (newFile): ditto + simplify
4488 * buffer.C (writeFile): handle writing of compressed files
4490 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4491 Check if the file is compressed and set a bufferparm if so.
4493 * Makefile.am (lyx_LDADD): remove explicit -lz
4495 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4497 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4498 makeDocBookFile): put the real LyX version in the first line of
4502 * version.C.in: remove lyx_docversion
4504 * tabular.C (write_attribute): add a template-based version to
4505 write enums properly
4507 2003-07-28 André Pönitz <poenitz@gmx.net>
4512 * text3.C: use doubles again for x-coordinates. They are needed.
4514 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4516 * messages.C (getLocaleDir): use lyx_localedir()
4518 * lyxlex_pimpl.C (setFile): compress stuff
4520 * buffer.C (writeFile): add some compression stuff
4521 (do_writeFile): new func, dont call expliti close... will this
4524 * Makefile.am (lyx_LDADD): add -lz
4526 2003-07-28 José Matos <jamatos@fep.up.pt>
4528 * buffer.C: increment file format.
4529 * paragraph_funcs (readParagraph, readParToken):
4530 * paragraph.C (readParagraph): add \end_layout.
4532 2003-07-27 Angus Leeming <leeming@lyx.org>
4534 * Makefile.am: remove special casing for configure-time setting of
4535 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4537 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4538 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4540 2003-07-26 André Pönitz <poenitz@gmx.net>
4542 * paragraph_func.[Ch]:
4543 * paragraph.C (realizeFont): inline it whereever it is used
4548 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4551 2003-07-26 André Pönitz <poenitz@gmx.net>
4555 * text2.C: get rid of LyXText::need_break_row
4557 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4559 * toc.[Ch]: put namespace toc inside namespace lyx
4561 * MenuBackend.C (expandToc2): adjust for lyx::toc
4564 * lyxfunc.C (dispatch): adjust for lyx::find
4566 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4567 lyx::find instead. Reorganize a bit.
4568 (LyXReplace): rename to replace
4569 (LyXFind): rename to find
4571 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4574 2003-07-26 André Pönitz <poenitz@gmx.net>
4576 * text.C (setHeightOfRow): restrict scope of temporary variable
4578 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4579 code (never has been used?)
4581 2003-07-27 Asger Alstrup <alstrup@local>
4583 * text.C (fill): Optimise algorithm to exploit that we can reuse
4584 the LyXFont for many characters.
4585 (setHeightOfRow): Same thing.
4586 (rowBreakPoint): Same thing.
4588 2003-07-26 Asger Alstrup <alstrup@local>
4590 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4592 * text.C (singleWidth): Spurious font copying in hot-spot
4593 singleWidth avoided. Reorder tests for arabic for efficiency.
4595 * text.C (fill): handle empty paragraphs better.
4597 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4600 * encoding.h: add includes
4602 * lyxrc.C: remove reading of bind files
4604 * lyx_main.C (init): setup bindings and menus only if we have a
4607 * kbmap.C (read): new method. Do the actual reading of bind
4610 * converter.C (dvipdfm_options):
4613 (output): adapt PAPER_* enums.
4615 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4617 * bufferparams.h: remove paper-related enums from there
4619 * paper.h: New file. A trivial header file to hold paper-related
4620 enums. It should later expand to contain many paper-related
4623 * lyxrc.C: declare extern displayTranslator
4625 2003-07-27 José Matos <jamatos@fep.up.pt>
4627 * tabular.[Ch] (linuxdoc): add support for tables and figures
4630 2003-07-27 José Matos <jamatos@fep.up.pt>
4632 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4633 consistency in both functions.
4634 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4636 2003-07-26 Asger Alstrup <alstrup@local>
4638 * rowpainter.C (paintRows): Change algorithm to work directly on
4639 the insets rather than asking every character in the document
4640 whether its an inset.
4642 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4644 * buffer.C (openFileWrite): factorize some code
4646 2003-07-26 Angus Leeming <leeming@lyx.org>
4649 * lyx_main.[Ch]: replace occurances of system_tempdir with
4652 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4654 * rename Inset to InsetOld
4656 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4658 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4659 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4660 which I think is a bit clearer. EDIT is gone, since it was
4661 premature optimisation, and broken for mathed anyway.
4662 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4663 with cursor positioning in insets as well (math insets still do not
4664 work, but that's a different story anyway.) It mysteriously
4665 crashes sometimes with undo in the first paragraph, but I'm fairly
4666 confident that this is a compiler bug.
4668 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4670 * paragraph.C (Paragraph): adjust for new clone return type
4672 (copyIntoMinibuffer): ditto
4674 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4676 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4677 by not having a special case, and always doing a full rebreak of
4678 the document after undo.
4680 2003-07-23 Angus Leeming <leeming@lyx.org>
4682 * factory.C (createInset): InsetExternal::setParams now takes a
4685 2003-07-23 Angus Leeming <leeming@lyx.org>
4687 * factory.C (createInset): changed interface to the external and
4688 graphics mailers' string2params functions.
4690 2003-07-23 Angus Leeming <leeming@lyx.org>
4692 * factory.C (createInset): pass a
4693 Buffer const * parameter to InsetExternalMailer's string2params.
4695 2003-07-22 John Levon <levon@movementarian.org>
4697 * Thesaurus.h: include the right aiksaurus header
4699 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4701 * MenuBackend.C (expand): check menu shortcuts unconditionally
4703 2003-07-21 Angus Leeming <leeming@lyx.org>
4705 * factory.C (createInset): pass a
4706 buffer_path parameter to InsetGraphicsMailer's string2params.
4708 2003-07-21 Angus Leeming <leeming@lyx.org>
4710 * BufferView_pimpl.C (buffer):
4713 * lyxfunc.C (dispatch):
4714 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4715 rather than the grfx shortcut.
4717 2003-07-21 André Pönitz <poenitz@gmx.net>
4719 * rowpainter.C: remove unused variables
4722 * tabular_funcs.h: move to tabular.C
4723 * Makefile.am: adjust
4725 * tabular.[Ch]: basic optical cleaning
4727 * author.h: pass references, not values
4729 2003-07-18 André Pönitz <poenitz@gmx.net>
4737 * text3.C: two-phase drawing for InsetText and InsetTabular
4738 some float -> int changes.
4740 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4742 * lyx_main.C: fix the fix
4744 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4746 * lyx_main.C: fix a crash in batch mode if no files specified
4749 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4751 * format.[Ch] (papersize): moved to BufferParams
4752 * converter.[Ch] (dvips_options): moved to BufferParams
4753 (dvipdfm_options): moved to anon namespace
4754 * bufferparams.[Ch]: added above functions.
4756 2003-07-17 André Pönitz <poenitz@gmx.net>
4760 * text2.C: don't call inset->update() anymore
4762 * metricsinfo.[Ch]: add convenience constructor
4764 2003-07-16 André Pönitz <poenitz@gmx.net>
4769 * text2.C: replace the LyXCursor::irow_ member with
4770 on-demand computation of the value
4772 2003-07-16 John Levon <levon@movementarian.org>
4774 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4776 2003-07-15 André Pönitz <poenitz@gmx.net>
4779 * text2.C: remove no more needed refresh_row
4781 2003-07-15 André Pönitz <poenitz@gmx.net>
4786 * text3.C: refresh_status tristate -> need_update bool
4788 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4790 * lyxtext.h (init): remove reinit argument (act as if always true)
4791 * text2.C: adjust to that
4793 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4795 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4796 * text3.C: use it to delete selections in some cases
4797 (bugs 441, 673, 702, 954).
4799 2003-07-14 André Pönitz <poenitz@gmx.net>
4801 * rowpainter.[Ch]: reduce interface
4803 2003-07-14 André Pönitz <poenitz@gmx.net>
4805 * BufferView_pimpl.C:
4806 * text2.C: adjust after removing unused BufferView * argument
4808 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4810 * text2.C (init): fix a crash fired on resize
4812 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4814 * buffer.[Ch]: added new closing signal
4815 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4816 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4817 BufferView::Pimpl via the closing the signal
4819 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4821 * buffer.[Ch]: take out all bv-related from buffer
4823 * BufferView_pimpl.[Ch]: connect to new signals
4824 * CutAndPaste.C: removed useless asserts
4825 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4828 * lyxfunc.C: moved view-related funciontality from vc here
4829 * paragraph.C: removed outdated comments
4832 2003-07-10 André Pönitz <poenitz@gmx.net>
4834 * BufferView_pimpl.C:
4838 * text2.C: remove InsetText::InnerCache, clean up consequences
4840 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4842 * ispell.C: fix two typos in error messages
4844 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4846 * Extend Note inset to other forms of annotation like Comment
4847 and Greyedout. Right button click gives dialog.
4849 Files modified or added (+):
4853 * ControlNote.[Ch] +
4855 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4856 frontends/controllers
4860 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4862 * aspell.C: add missing namespace lyx::support
4864 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4866 * BufferView.[Ch] (newFile): Add
4867 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4868 * LaTeX.[Ch] (message): added this signal and use it
4869 * buffer.[Ch] (busy, message): added these signals and use them
4870 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4874 * importer.C: use buffer signals instead of direct bv calling
4875 * lyx_cb.[Ch] (ShowMessage): removed
4878 * paragraph_funcs.C:
4879 * text2.C: use buffer signals
4881 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4883 * introduce namespace lyx::graphics
4885 2003-07-02 André Pönitz <poenitz@gmx.net>
4887 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4889 2003-07-01 André Pönitz <poenitz@gmx.net>
4896 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4897 text*.C to text_func.C
4899 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4901 * introduce namespace lyx::support
4903 2003-06-30 André Pönitz <poenitz@gmx.net>
4908 * text.C: re-enable --with-included-string
4910 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4912 * textcursor.C: add <config.h>
4914 * text.C (getWord): remove const from word_location arg
4916 * lyxvc.C (getLogFile): fix const type order
4918 * lyxtext.h: remove const from word_location arg, add arg name
4920 * lyxlayout.h: currect type on labeltype.
4922 * importer.C: correct \file
4924 * converter.C (intToFormat): use std:: on ret val, ws changes
4926 * bufferlist.h: correct \file
4928 * buffer.C (makeLinuxDocFile): fix const type order
4929 (makeDocBookFile): ditto
4930 (fillWithBibKeys): use std:: on stdlib args.
4932 * CutAndPaste.C: fix authors.
4933 (availableSelections): use std:: on return vector
4935 2003-06-27 André Pönitz <poenitz@gmx.net>
4937 * BufferView_pimpl.C:
4938 * bufferview_funcs.C:
4946 * text3.C: remove LyXCursor::row_ member
4949 * text.C: rename fullRebreak() to partialRebreak() and implement
4950 a fullRebreak() that really bereks fully
4952 * textcursor.h: new struct for cursor-related data
4954 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4956 * lyx_main.C (LyX): get full path of document loaded on the
4959 2003-06-26 André Pönitz <poenitz@gmx.net>
4961 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4962 remove unused/broken operator>,<,>=.
4964 * text.C: remove only use of broken operator<= in an Assert().
4966 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4968 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4969 moved errorlist_.clear to showErrorList
4971 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4973 * converter.C (scanLog, runLaTeX):
4974 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4975 move the bv->showErrorList call to the callers
4976 * lyxfunc.C: i.e. here...
4978 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4979 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4980 namespace, the second to...
4981 * buffer_funcs (BufferFormat, parseErrors): added
4982 * errorlist.C (ErrorList(TeXErrors const &)): removed
4984 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4986 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4988 2003-06-24 "Garst R. Reese" <reese@isn.net>
4992 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4994 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4996 * version.C.in: change docversion to 1.4
4998 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5000 * buffer.C: fix a bug just introduced
5002 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5004 * buffer.[Ch]: added the parseError signal and use it, removed
5006 * BufferView.[Ch] (addError): moved to ...
5007 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5008 to the Buffer::parseError signal to catch (guess what) parse errors
5009 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5011 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5013 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5014 ability to create a buffer and to return an existing one from
5015 the list. Moved these functions to...
5016 * buffer_funcs.[Ch]: added
5017 * BufferView.[Ch] (loadLyXFile): added
5018 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5019 job removed from bufferlist::loadLyXFile.
5020 * buffer.C (setReadOnly): make it work without view
5021 (i.e added an if (users))
5023 2003-06-19 Angus Leeming <leeming@lyx.org>
5026 * LyXAction.C (init):
5027 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5028 with LFUN_DIALOG_SHOW <name> <data>.
5030 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5032 * CutAndPaste.C (availableSelections): small compilation fix for
5033 ancient (gcc 2.9x) compilers
5035 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5037 * text3.C (cursorNext): add tmp var
5039 * text2.C (updateCounters): for function calling out of for clause
5040 (replaceSelectionWithString): ditto
5041 (insertStringAsParagraphs): ditto
5042 (getColumnNearX): add tmp var
5043 (setCursorFromCoordinates): add tmp var
5044 (cursorDownParagraph): add tmp var
5045 (deleteEmptyParagraphMechanism): add tmp var
5047 * text.C (insertChar): add tmp var
5049 * rowpainter.C (paintDepthBar): add tmp var
5051 * CutAndPaste.C (availableSelections): potentially check all
5052 paragraphs in a cut to fill the shown strings.
5054 2003-06-18 André Pönitz <poenitz@gmx.net>
5056 * kbmap.[Ch]: use vector<> instead of list<>
5058 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5060 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5061 pasteSelection with index
5063 * text2.C (pasteSelection): modify, call pasteSelection with index
5065 * paragraph.C (asString): reimplement version with no interval to
5066 call the one with interval.
5068 * lyxtext.h: add index arg to pasteSelection
5070 * MenuBackend.C (MenuItem): handle PasteRecent
5071 (Menu::read::Menutags): add md_pasterecent
5073 (expandPasteRecent): new function
5076 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5078 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5080 (availableSelections): new function
5082 2003-06-17 Angus Leeming <leeming@lyx.org>
5084 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5086 2003-06-17 Angus Leeming <leeming@lyx.org>
5089 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5091 * lyxfunc.C (dispatch): invoke it.
5093 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5095 * iterators.C (operator++, ParPosition): reintroduce some
5096 const_cast for the benefit of older compilers.
5098 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5100 * text3.C (dispatch): do not modify clipboard when doing
5101 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5102 LFUN_DELETE_SKIP on a selection selection
5104 2003-06-16 André Pönitz <poenitz@gmx.net>
5110 * tabular.[Ch]: IU of clone() and getLabelList();
5112 2003-06-13 André Pönitz <poenitz@gmx.net>
5114 * tabular.h: compactification
5116 2003-06-12 André Pönitz <poenitz@gmx.net>
5120 * tabular_funcs.h: some renaming plus whitespace
5122 2003-06-12 André Pönitz <poenitz@gmx.net>
5125 * BufferView_pimpl.C:
5131 * toc.C: Return a Paragraph & for ParIterator::operator*()
5133 2003-06-11 John Levon <levon@movementarian.org>
5137 * ToolbarBackend.C: add "Toolbars" section and
5140 2003-06-10 Angus Leeming <leeming@lyx.org>
5143 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5145 * lyxfunc.C (dispatch): invoke it.
5147 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5149 * main.C: protect <ios> with HAVE_IOS
5150 (main): protect sync_with_stdio with HAVE_IOS
5152 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5154 * text2.C (cutSelection): adjust
5155 (pasteSelection): adjust
5157 * messages.C: handle get of empty string
5159 * main.C (main): use sync_with_stdio(false)
5161 * lyxfunc.C (dispatch): adjust
5163 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5164 (WriteAs): remove unneeded BufferView arg.
5166 * bufferparams.h: use correct types on papersize, papersize2 and
5169 * bufferparams.C (readToken): adjust for type
5170 (writeLaTeX): add missing cases to switch.
5172 * bufferlist.C (quitWriteBuffer): adjust
5175 * buffer.C (asciiParagraph): remove some commented code.
5177 * CutAndPaste.C: remove current_view extern variable.
5178 (cutSelection): add BufferParams arg.
5179 (eraseSelection): add BufferParams arg.
5180 (pasteSelection): add Buffer const & arg
5182 2003-06-07 John Levon <levon@movementarian.org>
5185 * paragraph_funcs.C:
5186 * paragraph_pimpl.C:
5190 * paragraph.C: allow InsetERT to freely space lines,
5191 and some consolidation of code
5193 2003-06-06 José Matos <jamatos@fep.up.pt>
5195 * buffer.C (makeDocBookFile): fix bug #821
5197 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5199 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5201 2003-06-04 Angus Leeming <leeming@lyx.org>
5203 * buffer.C: bump format to 224.
5205 2003-06-05 André Pönitz <poenitz@gmx.net>
5207 * text2.C (redoParagraphs): remove two const_cast<>
5209 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5211 * ParagraphList.h: remove last remnants of NO_STD_LIST
5213 2003-06-03 Angus Leeming <leeming@lyx.org>
5215 * factory.C (createInset): small change to the way InsetExternal's params
5218 2003-06-04 André Pönitz <poenitz@gmx.net>
5220 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5222 * paragraph_pimpl.h:
5223 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5225 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5227 * undo_funcs.C: make some simple cases of undo work again
5229 2003-06-03 John Levon <levon@movementarian.org>
5231 * ispell.C: HPUX doesn't have sys/select.h
5234 2003-06-03 John Levon <levon@movementarian.org>
5236 * CutAndPaste.C: update tabular and include inset
5241 * paragraph.C: remove owningBuffer(), don't pass Buffer
5244 * factory.C: insetGraphicsParams changed
5246 2003-06-02 John Levon <levon@movementarian.org>
5252 * text3.C: remove insetparent
5254 2003-06-02 John Levon <levon@movementarian.org>
5257 * buffer.C: fix inset_iterator.end(), move out of line
5260 2003-06-01 John Levon <levon@movementarian.org>
5262 * text3.C: use a proper cut/paste when doing inset
5263 insert (from Jürgen Spitzmüller)
5265 2003-06-01 John Levon <levon@movementarian.org>
5267 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5269 2003-05-30 André Pönitz <poenitz@gmx.net>
5271 * rowpainter.C: unify second drawing phase
5273 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5275 * trans_mgr.C: remove one case of current_view
5277 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5279 * paragraph_funcs.h: remove paragraph.h include
5281 * paragraph.h: delete NO_STD_LIST stuff
5283 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5285 * buffer.h: remove paragraph.h include
5287 * ParagraphList.C: delete file
5289 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5291 * toc.C (getTocList): adjust
5293 * paragraph_pimpl.C (validate): adjust
5295 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5297 * paragraph.C (Paragraph): adjust
5298 (getPositionOfInset): use const_iterator, adjust
5299 (bibitem): use const_iterator, adjust
5300 (setInsetOwner): adjust
5302 * iterators.C (operator++): adjust
5304 * InsetList.[Ch]: Replace selfmade iterator with standard
5305 vector::iterator also introduce const_iterator. Remove getPos,
5306 getInset and setInset from InsetTable. Adjust accordingly.
5308 * BufferView.C (lockInset): adjust
5309 (ChangeInsets): adjust
5311 * tabular.[Ch]: delete commented same_id functions
5313 2003-05-28 John Levon <levon@movementarian.org>
5315 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5317 2003-05-28 André Pönitz <poenitz@gmx.net>
5319 * metricsinfo.[Ch]: remove 'fullredraw' member
5321 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5323 * lyxtextclass.C (operator): remove caching.
5325 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5329 * text2.C (cursorBottom): adjust
5330 (setCounter): use ParagraphList::find, adjust
5332 * text.C (workWidth): use ParagraphList::find, adjust
5334 * lyxcursor.C (LyXCursor): adjust
5336 * buffer.C (inset_iterator): adjust
5338 * ParagraphList.h: make iterator(value_type) private, make
5339 ParagraphList a friend of iterator.
5341 * ParagraphList.C (find): new function
5343 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5345 2003-05-27 André Pönitz <poenitz@gmx.net>
5347 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5349 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5351 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5353 2003-05-26 John Levon <levon@movementarian.org>
5355 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5357 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5359 * remove same_id from function signatures, adjust.
5361 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5363 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5365 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5367 * paragraph.C (Paragraph): get rid of same_ids parameter
5369 * ParagraphList.C (insert): adjust
5372 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5374 * paragraph_funcs.C (breakParagraph): adjust
5375 (breakParagraphConservative): adjust
5377 * buffer.C (readParagraph): adjust
5379 * ParagraphList.C (insert): take a reference instead of a pointer
5382 * paragraph.[Ch] (id): new function
5384 * bufferlist.C (newFile): adjust
5386 * ParagraphList.C (ParagraphList): adjust
5388 (push_back): take a reference instead of a pointer.
5390 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5392 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5395 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5396 set else use old code.
5398 * ParagraphList.C: remove all NO_NEXT code and only compile this
5399 code of NO_STD_LIST is set.
5401 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5403 * BufferView_pimpl.C:
5413 * graphics/GraphicsConverter.C:
5414 * graphics/PreviewLoader.C: header adjustment
5416 2003-05-23 Angus Leeming <leeming@lyx.org>
5418 * LaTeXFeatures.[Ch] (useBabel): new method.
5419 * bufferparams.C (writeLaTeX): use it.
5421 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5423 * ParagraphList.h (set): remove unused function.
5425 2003-05-23 André Pönitz <poenitz@gmx.net>
5428 * BufferView_pimpl.C:
5432 * undo_funcs.C: setUndo reworked
5434 * iterators.[Ch]: add access to topmost ParagraphList
5436 * lyxtext.[Ch] (workWidth): add a const
5438 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5440 * texrow.[Ch] (increasePos): remove function
5441 * exporter.C (export): removed unused var and outdated comment
5443 2003-05-23 Angus Leeming <leeming@lyx.org>
5445 * latexrunparams.h: rename fragile as moving_arg.
5446 * paragraph.C (simpleTeXOnePar): ditto.
5447 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5449 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5451 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5453 (textUndoOrRedo): comment out a currently unused var.
5455 * paragraph.h (NO_NEXT): enable NO_NEXT
5457 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5459 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5461 * exporter.C (Export): adjust for removeAutoInsets removal.
5463 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5465 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5467 * BufferView.[Ch] (removeAutoInsets): delete function
5469 2003-05-22 Angus Leeming <leeming@lyx.org>
5471 * latexrunparams.h: add a free_spacing variable.
5473 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5474 to pass moving_arg, as the data is stored in runparams.fragile.
5476 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5477 to Inset::latexOptional or to simpleTeXOnePar.
5479 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5480 free_spacing arg to Inset::latexOptional.
5482 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5485 2003-05-22 Angus Leeming <leeming@lyx.org>
5487 * latexrunparams.h: add fragile and use_babel variables.
5489 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5490 * buffer.C (makeLaTeXFile): store this returned value in
5491 runparams.use_babel, thus passing it to the inset::latex methods.
5493 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5494 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5496 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5497 longer has a fragile arg, as it is stored in runparams.fragile.
5499 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5500 moving_arg parameter as the data is stored in runparams.fragile.
5502 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5503 a fragile parameter as the data is stored in runparams.fragile.
5505 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5507 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5509 2003-05-22 Angus Leeming <leeming@lyx.org>
5511 * latexrunparams.h: add a 'bool nice' which defaults to false.
5513 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5514 now encapsulated within runparams.
5516 * bufferlist.C (updateIncludedTeXfiles):
5517 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5519 2003-05-22 Angus Leeming <leeming@lyx.org>
5521 * latexrunparams.h: new file containing struct LatexRunParams.
5522 * Makefile.am: add new file.
5524 * LaTeX.[Ch] (c-tor, run):
5525 * buffer.[Ch] (makeLaTeXFile):
5526 * bufferlist.[Ch] (updateIncludedTeXfiles):
5527 * converter.C (convert, scanLog):
5528 * converter.[Ch] (runLaTeX):
5529 * exporter.C (Export):
5530 * paragraph.[Ch] (simpleTeXOnePar):
5531 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5532 * paragraph_funcs.[Ch] (latexParagraphs):
5533 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5534 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5535 pass around a LatexRunParams parameter.
5537 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * paragraph.[Ch]: remove unused constructor
5541 * ParagraphList.C (erase): new function, taking two iterators
5543 2003-05-22 André Pönitz <poenitz@gmx.net>
5545 * undo_funcs.C: remove duplicated code
5547 * iterator.[Ch]: operator=
5549 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5551 * tabular.C (SetMultiColumn): ws changes
5553 * rowpainter.C (paintFirst): get rid of a ->previous
5555 * lyx_cb.C (getPossibleLabel): parlist simplification
5557 * BufferView.C (ChangeInsets): simplify slightly.
5559 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5561 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5562 * lfuns.h: new LFUN_SPACE
5563 * lyxfunc.C: protected space has a new lfun
5564 * paragraph_funcs.C: read new space insets
5566 * factory.C: handle new space insets
5568 2003-05-22 André Pönitz <poenitz@gmx.net>
5571 * BufferView_pimpl.C:
5574 * undo_funcs.C: return a ParIterator from getParFromID.
5576 * iterators.[Ch]: add two const's
5578 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5580 * toc.C (getTocList): adjust
5582 * iterators.[Ch]: rework for parlist
5584 * buffer.C (par_iterator_begin): adjust
5585 (par_iterator_end): adjust
5587 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5589 * BufferView.C (removeAutoInsets): adjust
5590 (ChangeInsets): adjust
5592 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5594 * text.C (top_y): fix bug 1110
5596 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5598 * errorlist.[Ch]: added
5601 * BufferView_pimpl.C:
5602 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5605 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5607 * Makefile.am: ensure that lyx is relinked upon changes to the
5608 various "convenience" libs.
5610 2003-05-20 Angus Leeming <leeming@lyx.org>
5612 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5613 files are compiled in alphabetical order again.
5615 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5617 2003-05-19 Angus Leeming <leeming@lyx.org>
5619 * gettext.[Ch]: remove "char const * _(char const *)".
5621 2003-05-19 André Pönitz <poenitz@gmx.net>
5623 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5632 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5634 2003-05-19 André Pönitz <poenitz@gmx.net>
5638 * lyxtextclass.[Ch]:
5640 * paragraph_funcs.[Ch]:
5642 * text3.C: more insetenv work
5644 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5646 * ParagraphParameters.C (params2string): small bug fixed
5648 2003-05-16 André Pönitz <poenitz@gmx.net>
5651 * bufferview_funcs.C: patch from Kornel Benko to prevent
5652 crash when _(...) is called twice in a statement
5654 2003-05-16 André Pönitz <poenitz@gmx.net>
5661 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5663 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5665 * lyx_main.C (init): remove spurious static_cast
5667 2003-05-14 André Pönitz <poenitz@gmx.net>
5669 * BufferView.C: fix format string
5671 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5673 * BufferView.[Ch] (insertErrors): removed
5674 * BufferView.[Ch] (showErrorList): added
5675 * buffer.C (runChkTeX):
5676 * converter.C (scanLog): call showErrorList instead of inserterrors
5678 2003-05-13 André Pönitz <poenitz@gmx.net>
5680 * BufferView_pimpl.C:
5682 * bufferview_func.C:
5689 * tabular_funcs.h: tostr() from its own header
5691 * ParagraphParameters.C:
5696 * text3.C: STRCONV()
5698 2003-05-12 André Pönitz <poenitz@gmx.net>
5701 * BufferView_pimpl.C:
5705 * ParagraphParameters.C:
5709 * bufferview_funcs.C:
5722 * paragraph_funcs.C:
5726 * text3.C: boost::format -> bformat all over the place
5729 2003-05-09 André Pönitz <poenitz@gmx.net>
5731 * LColor.[Ch]: Pimpl the #include <map> away
5733 2003-05-09 John Levon <levon@movementarian.org>
5735 * bufferlist.C: never remove emergency saves
5737 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5739 * Makefile.am: better lib building
5741 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5743 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5745 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5746 (simpleTeXSpecialChars): adjust
5747 (simpleTeXSpecialChars): adjust
5748 * paragraph.C (simpleTeXOnePar): adjust
5749 * buffer.C (makeLaTeXFile): adjust
5751 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5753 * text2.C (changeDepth): parlist cleanup
5754 (getColumnNearX): ditto
5756 * rowpainter.C (getLabelFont): parlist cleanup
5758 * bufferlist.C (newFile): parlist cleanup
5760 * CutAndPaste.C (eraseSelection): parlist cleanup
5762 * BufferView_pimpl.C (trackChanges): parlist cleanup
5765 * BufferView.C (lockInset): parlist cleanup.
5766 (ChangeInsets): ditto
5768 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5770 * CutAndPaste.h: Update file header.
5772 * CutAndPaste.C: Update file header.
5773 Store the parts cut out of the Document in a limited_stack.
5774 (copySelection): adjust
5775 (pasteSelection): new function, takes the index in the limited stack.
5776 (nrOfParagraphs): adjust
5777 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5778 simplify error inset insertion.
5779 (checkPastePossible): adjust
5781 2003-05-06 John Levon <levon@movementarian.org>
5783 * text2.C: don't cast wrap inset to float
5785 2003-05-05 André Pönitz <poenitz@gmx.net>
5788 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5790 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5791 few naked Paragraph *.
5793 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5795 * bufferparams.C: Output warning if a document with missing
5796 TeX document class is loaded
5797 * exporter.C: Disable TeX exports if the document class is missing
5800 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5801 isTeXClassAvailable()
5803 2003-05-03 John Levon <levon@movementarian.org>
5806 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5807 explicit cursor show/hide
5809 * BufferView_pimpl.h:
5810 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5811 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5813 * lyxfunc.C: hide cursor before dispatching.
5818 * text3.C: remove explicit cursor hides
5820 2003-05-02 André Pönitz <poenitz@gmx.net>
5822 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5825 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5828 * text2.C: tiny whitespace
5830 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5832 * undo_funcs.C: almost only ws changes.
5834 * ParagraphList.C (splice): just return if pl is empty.
5836 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5838 * ParagraphList.C (splice): new function.
5840 * CutAndPaste.C (pasteSelection): use it
5842 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5844 * CutAndPaste.C (pasteSelection): remove the last next and
5845 previous from this file.
5847 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5849 * CutAndPaste.C (pasteSelection): more clean up, user proper
5850 ParagraphList functions for pasteing.
5852 * ParagraphList.C (insert): new function, three arg insert
5854 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5856 * ParagraphList.C (insert): new function, three arg insert
5858 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5861 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5863 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5865 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5867 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5869 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5871 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5872 (copySelection): clean up a bit.
5873 (pasteSelection): use make_pair
5875 * ParagraphList.C (ParagraphList): implement copy constructor
5876 (operator=): implement, base on copy constructor.
5879 * paragraph.C (erase): return a bool
5881 * paragraph_pimpl.C (erasePos): remove function, move contents...
5882 (erase): ... here. Return a bool.
5883 (erase): call erase instead of erasePos.
5885 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5887 * ParagraphList.h: define PitPosPair
5888 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5889 ParagraphList, fix a bug on pasting multiple pars
5890 * text2.C: change interface to C&P
5892 2003-04-30 André Pönitz <poenitz@gmx.net>
5894 * undo_func.C: revert part of yesterday's patch 2
5896 2003-04-30 John Levon <levon@movementarian.org>
5898 * LColor.C: s/tabular/table/
5900 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5902 * text3.C (dispatch): do not convert iterator -> pointer
5903 * undo_funcs.C (setCursorParUndo): ditto
5904 * text_funcs.C (transposeChars): ditto
5906 * text2.C (setLayout): ws changes only
5908 * text.C (breakParagraph): do not convert iterator -> pointer
5910 (acceptChange): ditto
5911 (rejectChange): ditto
5916 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5919 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5921 * text3.C (gotoInset): YABG (yet another bad getChar)
5923 2003-04-29 André Pönitz <poenitz@gmx.net>
5925 * paragraph.h: make operator= private unimplemented as long as
5928 * ParagraphList.C: whitespace
5931 * paragraph_pimpl.[Ch]:
5932 * paragraph_funcs.C:
5934 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5937 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5939 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5941 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5942 * paragraph.[Ch] (erase):
5943 * paragraph_pimpl.[Ch] (erase): change return type and value
5944 * text2.C (cutSelection): some rework
5946 2003-04-28 John Levon <levon@movementarian.org>
5948 * bufferlist.C: changes for unsaved changes dialog
5950 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5952 * bufferlist.C (newFile): set language (messages_) for new
5955 * buffer.C (readFile): ws changes only.
5957 2003-04-28 André Pönitz <poenitz@gmx.net>
5962 * BufferView_pimpl.C:
5963 * BufferView.C: getParFromID related ParagraphList::iterator changes
5965 2003-04-28 André Pönitz <poenitz@gmx.net>
5967 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5970 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5972 * messages.C: remove one more localedir class variable.
5974 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5976 * messages.C (getLocaleDir): singleton generation function
5978 (Messages): add a default constructor.
5980 * main.C (main): do not setup localedir here, do not call
5983 * gettext.C (_): use it.
5984 (gettext_init): delete funciton
5986 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5988 * gettext.C (getLyXMessages): new singleton generating function.
5990 * buffer.C (updateDocLang): adjust
5992 * Makefile.am (messages.o): add target
5993 (main.o): remove target
5995 2003-04-27 John Levon <levon@movementarian.org>
6000 * lyxvc.C: specify cancel button in Alert::prompt
6002 2003-04-26 John Levon <levon@movementarian.org>
6007 * LyXAction.C: add LFUN_INSET_SETTINGS
6009 * lyxfunc.C: don't enable tabular-feature when there's
6010 just any locking inset
6012 2003-04-26 John Levon <levon@movementarian.org>
6014 * bufferlist.C: re-add Cancel to buffer close question
6016 * lyxfunc.C: fix import UI a bit
6018 2003-04-25 John Levon <levon@movementarian.org>
6020 * gettext.C: remove the broken asserts for now
6022 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6024 * messages.C: make case where setlocale cannot comply work better.
6026 * buffer.C (updateDocLang): new function
6027 (changeLanguage): use it
6030 * text2.C (setCounter): use B_ a bit.
6032 * lyxlayout.C (Read): be sure to trim the label strings.
6034 * messages.C (Messages): fix typo in comment
6036 * buffer.C (readFile): set message_ after file is loaded.
6037 (makeDocBookFile): remove double return
6038 (changeLanguage): reset message_ upon language change.
6039 (B_): new func, use this to get translated buffer strings.
6041 * main.C: add myself and Jean Marc as authors.
6043 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6045 * messages.[hC]: pimplify Messages, and three different pimpls to be
6046 used in different circumstances.
6048 * gettext.[Ch]: change for use with new message code.
6050 2003-04-24 André Pönitz <poenitz@gmx.net>
6052 * factory.C: support for eqref
6054 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6056 * messages.[Ch]: add missing char
6058 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6060 * messages.[Ch]: New files
6062 2003-04-18 John Levon <levon@movementarian.org>
6066 * BufferView_pimpl.C:
6070 * text2.C: remove layout-copy/paste (bug 778)
6072 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6074 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6076 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6078 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6079 if they succeed. Act accordingly.
6081 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6083 * text2.C (setCharFont): adjust
6084 (setCounter): adjust
6085 (insertStringAsLines): adjust
6087 * text.C (leftMargin): adjust
6088 (setHeightOfRow): adjust
6090 * rowpainter.C (paintFirst): adjust
6093 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6095 (isFirstInSequence): ditto
6096 (getEndLabel): ditto
6099 * paragraph.C (getParLanguage): comment out some hard stuff.
6101 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6103 (simpleDocBookOnePar): ditto
6104 (makeDocBookFile): use ParagraphList::iterator
6106 * CutAndPaste.C (pasteSelection): adjust
6108 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6110 * text2.C (getFont): adjust
6111 (getLayoutFont): adjust
6112 (getLabelFont): adjust
6114 * paragraph_funcs.C (TeXOnePar): adjust
6116 * buffer.C (simpleLinuxDocOnePar): adjust
6117 (simpleDocBookOnePar): adjust
6119 * CutAndPaste.C (pasteSelection): adjust
6121 * BufferView.C (getEncoding): adjust
6123 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6125 2003-04-16 John Levon <levon@movementarian.org>
6127 * lyxfind.C: use parlist stuff for search/changes
6129 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6131 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6133 * text2.C (deleteEmptyParagraphMechanism): adjust
6135 * text2.[Ch] (ownerParagraph): delete func (both of them
6137 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6139 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6141 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6143 * ParagraphList.C: prepare for NO_NEXT
6145 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6147 * text2.C (getFont): adjust
6148 (getLayoutFont): adjust
6149 (getLabelFont): adjust
6151 * paragraph.C (getFont): adjust
6152 (getLabelFont): adjust
6153 (getLayoutFont): adjust
6155 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6157 2003-04-15 John Levon <levon@movementarian.org>
6161 * lyx_main.C: handle Include in .ui files
6163 2003-04-15 John Levon <levon@movementarian.org>
6165 * MenuBackend.C: make the doc files length shorter
6168 * ToolbarBackend.C: handle toolbar placement flags,
6171 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6173 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6176 * paragraph_funcs.C (TeXOnePar): adjust
6178 * paragraph.C (getLabelFont): add outerfont arg, adjust
6179 (getLayoutFont): ditto
6180 (simpleTeXOnePar): adjust
6182 * paragraph_pimpl.C (realizeFont): delete func
6184 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6186 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6187 row argument, constify cur argument.
6189 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6191 * text2.C (getFont): adjust
6192 (getLayoutFont): adjust
6193 (getLabelFont): adjust
6195 * paragraph_funcs.C (TeXOnePar): adjust
6196 (outerFont): new func...
6197 (realizeFont): ...moved out from here, changed this to facilitate
6200 * paragraph.C (getFont): take outerfont as arg, adjust
6201 (simpleTeXOnePar): add outerfont arg, adjust
6203 * buffer.C (simpleLinuxDocOnePar): adjust
6204 (simpleDocBookOnePar): adjust
6206 * CutAndPaste.C (pasteSelection): adjust
6208 * BufferView.C (getEncoding): adjust
6210 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6212 * text2.C (setCharFont): adjust
6213 (setCounter): adjust
6215 * text.C (leftMargin): adjust
6216 (setHeightOfRow): adjust
6218 * rowpainter.C (paintFirst): adjust
6221 * paragraph_pimpl.C (realizeFont): adjust
6223 * paragraph.C (isFirstInSequence): move from here...
6224 * paragraph_funcs.C (isFirstInSequence): ...to here
6226 * paragraph.C (outerHook): move from here...
6227 * paragraph_funcs.C (outerHook): ...to here
6229 * paragraph.C (depthHook): move from here...
6230 * paragraph_funcs.C (depthHook): ...to here
6232 * paragraph.C (getEndLabel): move from here...
6233 * paragraph_funcs.C (getEndLabel): ...to here
6235 * text2.C (realizeFont): move from here...
6236 * paragraph_funcs.C (realizeFont): ...to here
6238 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6240 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6242 2003-04-14 Angus Leeming <leeming@lyx.org>
6244 * LColor.[Ch]: scrap LColor mathcursor.
6246 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6248 * lyxlex.[Ch] (text): delete function
6249 * trans.C (Load): adjust
6250 * paragraph_funcs.C (readParToken): adjust
6252 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6254 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6255 vector<char> instead of a char[].
6257 * lyxlex_pimpl.C (getString): adjust
6259 (lex): use getString
6263 * lyxlex.C (text): use pimpl_->getString()
6267 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6270 (makeFontEntriesLayoutSpecific): temp var for par.size()
6271 (setLayout): temp var for ownerParagraphs().end()
6272 (fullRebreak): temp var for rows().end()
6273 (selectionAsString): temp var for boost::next(startpit), realize
6274 that the while really is a regular for loop.
6275 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6276 setCursor in one place.
6277 (setParagraph): temp vr for ownerParagraphs().end()
6278 (updateCounters): make the while loop a for loop
6279 (cutSelection): temp var for ownerParagraphs().end()
6280 (updateInset): make the do {} while() a regular for loop
6281 (getCursorX): use temp vars
6282 (setCurrentFont): use temp vars
6283 (getColumnNearX): use temp vars
6285 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6287 * text.C (transformChar): use temp var for getChar
6288 (computeBidiTables): use temp var for row->par()
6289 (fill): move temp vars for row->par() and pit->layout() earlier in
6291 (labelFill): use temp var for row->par()
6292 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6293 asc and desc, realize that pit never changes and that firstpit is
6294 just a duplicate and not needed. Exchange rit->par() with pit in a
6296 (breakAgain): use a temp var for boost::next(rit)
6297 (breakAgainOneRow): ditto
6298 (breakParagraph): use a temp var for rows().begin()
6299 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6300 (cursorRightOneWord): use temp var for cursor.par() and
6301 cursor.pos(), remove usage of tmpcursor.
6302 (cursorLeftOneWord): use temp var for cursor.par() and
6303 cursor.pos() only set cur at end of function.
6305 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6307 * text.C, text2.C: exchange all usage of Paragraph::next with
6308 boost::next(ParagraphList::iterator)
6310 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6312 * text2.C (cursorTop): simplify implementation
6313 (cursorBottom): ditto
6314 (setParagraph): use ParagraphList::iterator
6315 (setCurrentFont): adjust
6316 (getColumnNearX): adjust
6317 (cursorRight): adjust
6318 (cursorLeft): remove usage of Paragraph::previous
6319 (cursorUpParagraph): ditto
6320 (deleteEmptyParagraphMechanism): slight cleanup
6322 * text.C (isBoundary): take a Paragraph const & instead of a
6324 (addressBreakPoint): ditto
6325 (leftMargin): remove usage of Paragraph::previous.
6326 (setHeightOfRow): ditto
6327 (cursorLeftOneWord): ditto
6328 (selectNextWordToSpellcheck): ditto
6331 (breakParagraph): remove one usage of Paragraph::next
6332 (redoParagraph): ditto
6333 (acceptChange): ditto
6334 (insertChar): adjust
6335 (rowBreakPoint): adjust
6337 * bufferview_funcs.C (toggleAndShow): adjust
6339 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6341 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6342 methods to access it.
6344 * text.C: Added updateRowPositions to compute all row positions.
6345 Make top_y and getRowNearY() to use the cached y position
6347 2003-04-11 John Levon <levon@movementarian.org>
6349 * text.C (rowBreakPoint): reintroduce the labelEnd
6350 checks, code copied from the row fill stuff. Deep voodoo.
6352 * text.C (fill): add a comment and debugging for the
6355 2003-04-11 John Levon <levon@movementarian.org>
6357 * text.C: make sure fullrow insets get wrapped to the next line,
6358 even when they're in a manual label
6360 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6362 * text2.C (insertParagraph): make it take ParagraphList::iterator
6364 (setLayout): make it return ParagraphList::iterator
6365 (redoParagraphs): ditto
6367 (checkParagraph): ditto
6369 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6371 * text2.C: adjust several funcs.
6372 (realizeFont): take a ParagraphList::iterator as arg.
6373 (getLayoutFont): ditto
6374 (getLabelFont): ditto
6375 (setCharFont): ditto
6377 * text.C: adjust several funcs.
6379 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6381 * text.C (selectNextWordToSpellcheck): don't accidentally
6384 2003-04-10 John Levon <levon@movementarian.org>
6386 * ToolbarBackend.C (getIcon): special handling for
6389 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6391 * text2.C (cursorRight): a getChar assert fixed
6393 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6395 * text2.C (getFont): change to take a ParagraphList::iterator
6396 instead of Paragraph*
6397 Adjust several functions.
6399 * text.C (transformChar): change to take a ParagraphList::iterator
6400 instead of Paragraph*
6401 (singleWidth): ditto
6402 Adjust several functions.
6404 * rowpainter.C: adjust several functions
6405 * rowpainter.h:store a ParagraphList::iterator and not a
6409 2003-04-09 John Levon <levon@movementarian.org>
6414 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6415 and the "help" bits as well
6417 2003-04-09 John Levon <levon@movementarian.org>
6420 * ToolbarBackend.C: allow multiple toolbars
6422 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6424 * undo_funcs.C (setCursorParUndo): adjust
6426 * text_funcs.C (transposeChars): adjust
6428 * text3.C (gotoNextInset): adjust
6431 * text2.C (setLayout): adjust
6432 (changeDepth): adjust
6434 (redoParagraphs): adjust
6435 (selectionAsString): adjust
6436 (setParagraph): adjust
6437 (insertInset): adjust
6438 (cutSelection): adjust
6439 (copySelection): adjust
6440 (pasteSelection): adjust
6441 (insertStringAsLines): adjust
6442 (updateInset): adjust
6443 (setCursor): change to take a ParagraphList::iterator parameter
6444 (setCursorIntern): change to take a ParagraphList::iterator parameter
6445 (setCurrentFont): adjust
6446 (cursorLeft): adjust
6447 (cursorRight): adjust
6448 (deleteEmptyParagraphMechanism): adjust
6450 * text.C (breakParagraph): adjust
6451 (insertChar): adjust
6452 (acceptChange): adjust
6453 (rejectChange): adjust
6454 (selectNextWordToSpellcheck): adjust
6455 (changeCase): adjust
6459 * lyxfind.C (SearchForward): adjust
6460 (SearchBackward): adjust
6461 (nextChange): adjust
6463 * lyxcursor.C (par): adjust
6465 * lyxcursor.h: store a ParagraphList::iterator instead of a
6468 * lyx_cb.C (getPossibleLabel): adjust
6470 * bufferview_funcs.C (toggleAndShow): adjust
6472 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6475 * BufferView.C (removeAutoInsets): adjust
6476 (lockedInsetStoreUndo): adjust
6478 2003-04-09 John Levon <levon@movementarian.org>
6480 * ToolbarBackend.C: try icon without argument
6481 if with argument fails
6483 2003-04-08 John Levon <levon@movementarian.org>
6486 * ToolbarBackend.C: add getIcon(), handle tooltip,
6487 and change from "Icon" to "Item".
6489 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6491 * BufferView.C (lockInset): another bad getchar crunched
6493 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6495 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6498 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6500 * lyxfind.C (searchForward, searchBackwards): bug 782
6502 2003-04-07 John Levon <levon@movementarian.org>
6504 * paragraph.C: remove dead comment
6506 * text.C: remove troublesome depth-fiddling code
6507 in leftMargin() and rightMargin() (bug 1017)
6509 * text.C: fix breaking of rows in nested lists
6512 * text2.C (updateCounters): fix up depth values
6515 2003-04-07 John Levon <levon@movementarian.org>
6517 * BufferView_pimpl.C: clear message when doc finishes resizing,
6518 and after a mouse event
6520 * lyxfunc.C: clear message after exiting inset
6522 2003-04-07 John Levon <levon@movementarian.org>
6524 * bufferview_funcs.C: show math status not outside
6525 status in the statusbar
6527 2003-04-07 John Levon <levon@movementarian.org>
6529 * lyxfunc.C: note status changed after a depth change
6531 2003-04-04 Angus Leeming <leeming@lyx.org>
6533 * LaTeX.h: move AuxInfo operator==, != out of line.
6534 Remove LaTeX virtual destructor; nothing derives from it.
6535 Move operator()() out of public area and rename it startscript().
6536 Change protected for private.
6538 2003-04-04 Angus Leeming <leeming@lyx.org>
6541 * text2.C: remove unneeded #includes.
6543 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6545 * text2.C (dEPM): fix the heigth of the next row
6547 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6549 * text.C: squashed an invalid getChar requester + some ws changes
6551 2003-04-03 John Levon <levon@movementarian.org>
6553 * bufferview_funcs.h:
6554 * bufferview_funcs.C:
6557 * text2.C: make getStatus work for the env depth lfuns
6559 2003-04-03 John Levon <levon@movementarian.org>
6561 * bufferview_funcs.h:
6562 * bufferview_funcs.C:
6565 * text2.C: parlistize decDepth(), by merging it with incDepth()
6567 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6569 * lyxrow.h: store a ParagraphList::iterator instead of a
6570 Paragraph* and adjust other class functions to suit.
6572 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6575 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6577 * text2.C (setCursor): do not anchor to cursor row for the time being
6579 2003-04-02 John Levon <levon@movementarian.org>
6586 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6588 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6590 * paragraph.h: make ParagraphList and ParagraphList::iterator
6591 friends of Paragraph.
6593 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6595 * ParagraphList.C: Use the private next_ and previous_ from
6598 2003-04-01 John Levon <levon@movementarian.org>
6602 * Makefile.am: rename, remove defaults gunk
6605 * MenuBackend.C: remove defaults gunk
6608 * Languages.C: remove defaults gunk
6611 * lyx_main.C: error out if files couldn't be found.
6613 2003-04-02 John Levon <levon@movementarian.org>
6615 * text2.C: make incDepth() use parlist
6617 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6619 * undo_funcs.C (firstUndoParagraph): adjust
6621 * text3.C (gotoInset): adjust
6622 (dispatch): adjust, and rewrite loop.
6624 * text2.C (init): adjust, and rewrite loop.
6625 (redoParagraphs): adjust
6626 (updateInset): adjust, and rewrite loop.
6627 (deleteEmptyParagraphMechanism): adjust
6629 * tabular.C (LyXTabular): adjust
6630 (SetMultiColumn): adjust
6633 * lyxtext.[Ch] (ownerParagraph): delete function
6634 (ownerParagraphs): new function returns a ParagraphList.
6636 * BufferView.C (removeAutoInsets): adjust
6637 (insertErrors): adjust
6638 (setCursorFromRow): adjust
6640 2003-04-01 Angus Leeming <leeming@lyx.org>
6642 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6645 2003-04-02 John Levon <levon@movementarian.org>
6651 * text_funcs.C: make transposeChars a free function
6653 * lyxrow_funcs.C: remove wrong comment
6655 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6658 * rowpainter.C: adjust
6663 * lyxrow_funcs. [Ch]: new files
6665 * lyxrow.[Ch]: remove next and previous pointers
6666 (next,previous): remove accessor functions
6667 (isParEnd): move to lyxrow_funcs
6668 (lastPos): move to lyxrow_funcs
6669 (nextRowIsAllInset): move to lyxrow_funcs
6670 (lastPrintablePos): move to lyxrow_funcs
6671 (numberOfSeparators): move to lyxrow_funcs
6672 (numberOfHfills): move to lyxrow_funcs
6673 (numberOfLabelHfills): move to lyxrow_funcs
6674 (hfillExpansion): move to lyxrow_funcs
6678 * bufferview_funcs.C (toggleAndShow): adjust
6680 * RowList.h: Remove class RowList from file leave just a
6683 * RowList.C: delete file
6685 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6688 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6690 * text3.C (cursorPrevious): adjust
6691 (cursorNext): adjust
6694 * text2.C (redoHeightOfParagraph): adjust
6695 (redoDrawingOfParagraph): adjust
6698 * text.C (breakParagraph): adjust
6699 (insertChar): adjust
6702 * rowpainter.C (RowPainter): adjust
6703 (leftMargin): simplify and adjust
6704 (most rowpainter functions): adjust.
6706 * rowpainter.h: store the row as RowList::iterator not as Row*
6708 * lyxcursor.C (row): taka RowList::iterator as arg
6711 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6714 2003-04-01 Angus Leeming <leeming@lyx.org>
6716 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6717 stuff like bool Bool.
6719 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6721 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6724 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6726 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6729 * lyxtext.h (rows): drop one version and leve a const variant that
6730 returns a RowList::iterator.
6732 2003-03-31 Angus Leeming <leeming@lyx.org>
6734 * text.C (fill): ensure that the signature is the same as that in the
6737 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6739 * text2.C (redoParagraphs): adjust
6740 (updateCounters): adjust
6741 (checkParagraph): adjust
6742 (getColumnNearX): adjust and reformat a bit.
6744 * text.C (top_y): adjust
6746 (leftMargin): adjust
6747 (prepareToPrint): adjust
6749 (getRowNearY): adjust
6751 * lyxtext.h: make rowlist_ mutable.
6753 * RowList.h: add const_iterator
6754 * RowList.C: adjust for RowList::const_iterator.
6756 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6759 2003-03-31 John Levon <levon@movementarian.org>
6762 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6764 * lyx_main.C: set default fonts from using lyx_gui funcs
6766 * exporter.C: pdf_mode moved from lyxrc
6769 * lyxfunc.C: changes from above
6771 2003-03-31 John Levon <levon@movementarian.org>
6773 * lyx_main.C: fix to the last fix
6775 2003-03-31 John Levon <levon@movementarian.org>
6777 * bufferlist.C: "Load original" -> "Load Original"
6783 * format.C: more Alert cleanups
6785 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6787 * text2.C (removeParagraph): make it take a RowList::iterator as
6789 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6790 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6792 * text.C (anchor_row): make it take a RowList::iterator as arg,
6794 (computeBidiTables): make it take a const reference to Row instead
6795 of Row pointer, adjust.
6796 (leftMargin): make it take a RowList::iterator as arg, adjust.
6797 (rowBreakPoint): adjust
6798 (breakAgainOneRow): make it take a RowList::iterator as arg,
6800 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6802 * bufferview_funcs.C (toggleAndShow): adjust
6804 2003-03-30 John Levon <levon@movementarian.org>
6808 * boost-inst.C: moved to support
6810 * several files: changes as a result
6812 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6814 * text2.C (LyXText): adjust.
6816 (removeRow): make it take a RowList::iterator as arg, adjust.
6817 (fullRebreak): adjust
6818 (deleteEmptyParagraphMechanism): adjust
6819 (clearPaint): adjust
6822 * text.C (top_y): adjust
6823 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6824 (breakAgain): make it take a RowList::iterator as arg, adjust.
6825 (breakParagraph): adjust
6826 (insertChar): adjust
6829 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6830 need_break_row, and refresh_row.
6832 * text3.C (dispatch): adjust
6834 * text2.C (checkParagraph): adjust
6836 (setCursorFromCoordinates): adjust
6838 * text.C (top_y): adjust
6840 (getRow): make it return a RowList::iterator, adjust
6841 (getRowNearY): make it return a RowList::iterator, adjust
6843 * text2.C (init): adjust
6844 (insertRow): remove function
6845 (insertParagraph): adjust
6846 (redoParagraphs): adjust
6847 (fullRebreak): adjust
6848 (updateCounters): adjust
6850 * text.C (top_y): rewrite to use RowList iterators.
6852 (setHeightOfRow): rewrite to sue RowList iterators.
6853 (appendParagraph): adjust
6854 (breakAgain): adjust
6855 (breakAgainOneRow): adjust
6856 (breakParagraph): adjust
6858 (getRowNearY): adjust, and remove commented code.
6860 * lyxtext.h (firstRow): delete function
6861 (lastRow): delete function
6862 (rows): new function (const and non-const versions.)
6863 (insertRow): delete function
6865 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6867 2003-03-29 John Levon <levon@movementarian.org>
6869 * BufferView_pimpl.C: always update scrollbar top
6870 because pasting text when we're anchored could mean we
6871 miss an update altogether
6873 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6875 * text2.C (init): use rowlist_.end() and not 0.
6876 (insertRow): change to take a RowList::iterator as arg, adjust
6878 (insertParagraph): change to take a RowList::iterator as arg,
6880 (redoParagraphs): remove some debug msgs.
6882 * text.C (appendParagraph): change to take a RowList::iterator
6883 arg, adjust for this.
6884 (breakAgain): add an assert
6885 (breakAgainOneRow): ditto
6887 2003-03-29 John Levon <levon@movementarian.org>
6889 * text2.C: do not clear selection after inc/decDepth
6892 2003-03-29 John Levon <levon@movementarian.org>
6895 * buffer.C: fix broken strerrors according to Lars
6897 2003-03-29 John Levon <levon@movementarian.org>
6899 * converters.C: more Alert cleanups
6901 2003-03-29 John Levon <levon@movementarian.org>
6903 * bufferview_funcs.C: remove pointless Alert
6905 * buffer.C: fix confusing error message when
6906 a template is chmoded 000
6908 2003-03-29 John Levon <levon@movementarian.org>
6912 * BufferView_pimpl.C: Alert fixes
6916 * tabular-old.C: remove unused table compat reading
6918 2003-03-29 John Levon <levon@movementarian.org>
6923 * lyx_cb.C: more Alert cleanups
6925 * lyxfunc.C: don't allow chktex if not latex document
6927 2003-03-29 John Levon <levon@movementarian.org>
6931 * buffer.C: warnings pushed down from support/,
6934 2003-03-29 John Levon <levon@movementarian.org>
6936 * lyxfunc.C: safety check for C-r (revert)
6938 2003-03-29 John Levon <levon@movementarian.org>
6941 * bufferlist.C: several UI fixes using Alert::prompt.
6942 Fix the pointless looping quit code. Fix stupid revert
6947 * lyx_cb.C: use Alert::prompt
6949 * lyx_main.C: remove a silly question
6951 * lyxfunc.C: remove a couple of silly questions,
6954 2003-03-28 John Levon <levon@movementarian.org>
6956 * text2.C: fix bug 974 (End on empty par)
6958 2003-03-28 John Levon <levon@movementarian.org>
6960 * BufferView_pimpl.C:
6962 * lfuns.h: remove do-nothing math greek lfuns
6964 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6966 * lyxgluelength.h (isValidGlueLength): add default arg on
6967 parameter 2. Remove default arg from friend in class.
6969 * lyxlength.h (isValidLength): add default arg on parameter 2.
6970 Remove default arg from friend in class.
6972 * text2.C (LyXText): adjust, initialize refresh_row.
6976 (insertParagraph): adjst
6977 (redoParagraphs): adjust
6978 (fullRebreak): adjust
6979 (updateCounters): adjust
6980 (deleteEmptyParagraphMechanism): first attempt at fixing a
6983 * text.C (top_y): adjust
6984 (setHeightOfRow): adjust
6986 (getRowNearY): adjust
6988 * lyxtext.h: include RowList.h
6989 (~LyXText): not needed anymore, deleted.
6990 (firstRow): modify for RowList
6991 (lastRow): new function
6992 Delete firstrow and lastrow class variables, add a Rowlist
6993 rowlist_ class variable.
6995 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6998 * RowList.C (insert): fix case where it == begin().
7000 2003-03-26 Angus Leeming <leeming@lyx.org>
7002 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7003 the thesaurus dialog.
7005 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7007 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7009 * RowList.[Ch]: new files
7011 * ParagraphList.C (erase): handle the case where it == begin
7014 2003-03-25 John Levon <levon@movementarian.org>
7018 * aspell.C: add new aspell support
7021 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7024 2003-03-25 Angus Leeming <leeming@lyx.org>
7027 * LyXAction.C (init): new LFUN_INSET_INSERT.
7029 * BufferView_pimpl.C (dispatch): split out part of the
7030 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7032 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7035 2003-03-25 Angus Leeming <leeming@lyx.org>
7037 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7039 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7042 * text3.C: remove useless row->height(0)
7044 2003-03-25 John Levon <levon@movementarian.org>
7048 * text3.C: rename the refreshing stuff to better names
7050 2003-03-24 John Levon <levon@movementarian.org>
7052 * BufferView_pimpl.h:
7053 * BufferView_pimpl.C: update layout choice on a mouse
7056 2003-03-23 John Levon <levon@movementarian.org>
7058 * Makefile.am: fix commandtags.h reference
7060 2003-03-22 John Levon <levon@movementarian.org>
7062 * BufferView_pimpl.C:
7067 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7069 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7072 * text.C: take the rtl methods out of line
7074 2003-03-21 André Pönitz <poenitz@gmx.net>
7076 * metricsinfo.[Ch]: new files containing structures to be passed around
7077 during the two-phase-drawing...
7079 2003-03-21 André Pönitz <poenitz@gmx.net>
7081 * lyxtextclass.C: read 'environment' tag.
7083 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7085 * text2.C (removeRow): fix bug 964
7087 2003-03-20 John Levon <levon@movementarian.org>
7091 * text2.C: paint cleanups. Inset::update() dropped font
7094 2003-03-19 John Levon <levon@movementarian.org>
7096 * lyxfunc.C: only fitcursor/markDirty if available()
7098 2003-03-19 John Levon <levon@movementarian.org>
7100 * commandtags.h: rename to ...
7102 * lfuns.h: ... this, and renumber / cleanup
7104 2003-03-19 John Levon <levon@movementarian.org>
7106 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7107 fit the cursor after an lfun
7111 * BufferView_pimpl.h:
7112 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7114 * LyXAction.C: layout-character should have ReadOnly
7116 * ParagraphParameters.C:
7118 * bufferview_funcs.C:
7125 * undo_funcs.C: changes from above
7127 2003-03-18 John Levon <levon@movementarian.org>
7129 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7130 remove it from update()
7132 * lyxfunc.C: update layout choice after an lfun
7134 * text3.C: remove extra updateLayoutChoice()s
7136 2003-03-18 John Levon <levon@movementarian.org>
7138 * text.C: top_y change means full repaint, fix
7139 a drawing bug with cursor movement
7141 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7145 * text2.C: anchor row on setCursor
7147 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7149 * lyxtext.h: remove almost all mutable keywords
7152 * text3.C: remove const keywords accordingly
7154 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7156 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7158 (TeXEnvironment): ditto
7161 2003-03-17 John Levon <levon@movementarian.org>
7163 * text.C (rowBreakPoint): remove attempt to fix displayed
7164 math insets inside a manual label
7166 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * lyxtext.h: remove BufferView* as first arg from almost all class
7170 * other files: adjust.
7172 2003-03-17 John Levon <levon@movementarian.org>
7176 * text2.C: more paint cleanups
7178 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7181 * rowpainter.C: remove "smart" background painting code
7183 2003-03-16 John Levon <levon@movementarian.org>
7188 * text3.C: add helper functions for setting refresh_row/y
7190 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7192 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7193 newline inset which *can* get inserted in the pass_thru layouts.
7194 This is primarily for literate documents.
7196 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7198 * buffer.C: increment LYX_FORMAT to 223
7200 2003-03-14 André Pönitz <poenitz@gmx.net>
7202 * textclass.h: prepare for environment handling, ws changes
7203 * lyxlayout.C: read latexheader and latexfooter tags
7205 2003-03-14 John Levon <levon@movementarian.org>
7207 * text2.C: rewrite ::status() a bit
7209 2003-03-13 John Levon <levon@movementarian.org>
7211 * lyxtext.h: add some docs
7213 2003-03-13 John Levon <levon@movementarian.org>
7218 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7220 2003-03-13 John Levon <levon@movementarian.org>
7222 * text3.C: fix appendix redrawing
7224 2003-03-13 John Levon <levon@movementarian.org>
7226 * text.C (setHeightOfRow):
7228 * rowpainter.C: make appendix mark have the text
7229 "Appendix" so the user knows what it is
7232 * LColor.C: s/appendixline/appendix/ from above
7234 2003-03-13 John Levon <levon@movementarian.org>
7236 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7238 * text.C: fix a getChar(pos) bug properly
7240 2003-03-13 Angus Leeming <leeming@lyx.org>
7243 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7244 Probably only temporary. Let's see how things pan out.
7246 * BufferView.C (unlockInset):
7247 * BufferView_pimpl.C (fitCursor):
7248 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7250 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7251 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7253 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7254 new functions that convert ParagraphParameters to and from a string.
7256 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7257 BufferView::Pimpl's dispatch.
7258 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7260 2003-03-13 André Pönitz <poenitz@gmx.net>
7264 * factory.C: make it aware of InsetEnv
7266 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7268 * text2.C (setCursor): never ask for one past last
7269 (setCursor): add some debugging messages.
7271 * text.C (singleWidth): never ask for one past last
7272 (singleWidth): ditto
7274 (rightMargin): ditto
7275 (rowBreakPoint): ditto
7276 (setHeightOfRow): ditto
7277 (prepareToPrint): ditto
7279 * rowpainter.C (paintBackground): never ask for one past last
7280 (paintText): never ask for one past last
7282 * paragraph_pimpl.C (getChar): make the assert stricter, never
7283 allow the one past last pos to be taken
7285 * paragraph.C (getChar): ws changes only
7287 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7288 (numberOfSeparators): ditto
7289 (numberOfHfills): ditto
7291 2003-03-12 John Levon <levon@movementarian.org>
7297 * paragraph_funcs.C: fix per-buffer authorlists
7299 2003-03-12 John Levon <levon@movementarian.org>
7301 * text.C: fix newline in right address
7303 2003-03-12 Angus Leeming <leeming@lyx.org>
7305 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7306 duplicate those in LyXFunc::dispatch.
7310 * ToolbarDefaults.C:
7311 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7312 Add LFUN_FONTFREE_UPDATE.
7314 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7315 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7317 * bufferview_func.[Ch]: several new functions to facilliate
7318 transfer of data to and from the character dialog.
7320 2003-03-12 John Levon <levon@movementarian.org>
7325 * paragraph_funcs.C:
7326 * paragraph_pimpl.C:
7330 * text3.C: remove META_NEWLINE in favour of an inset
7333 * rowpainter.C: remove paintNewline (done by inset)
7335 2003-03-12 John Levon <levon@movementarian.org>
7337 * paragraph_pimpl.C: complain about bad getChar()s
7338 for a while at least
7340 2003-03-12 John Levon <levon@movementarian.org>
7343 * buffer.C: move paragraph read into a separate function,
7344 a little renaming to reflect that.
7347 * bufferparams.C: remove the author_ids map, not necessary now
7350 * factory.C: moved Buffer::readInset to here
7352 * paragraph_funcs.h:
7353 * paragraph_funcs.C: readParagraph free function moved from
7356 * tabular.C: name change
7358 2003-03-12 John Levon <levon@movementarian.org>
7361 * ParagraphParameters.C: move par params input to
7364 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7365 behave like a normal read from the stream wrt reading
7366 a line vs. a \\token
7368 2003-03-12 John Levon <levon@movementarian.org>
7371 * ParagraphParameters.h:
7372 * ParagraphParameters.C: move output code to a
7375 2003-03-12 John Levon <levon@movementarian.org>
7377 * BufferView.C (insertLyXFile):
7380 * tabular.C: use a parlist iterator for creating the
7383 2003-03-12 John Levon <levon@movementarian.org>
7385 * buffer.C: make current_change static local not
7388 2003-03-12 John Levon <levon@movementarian.org>
7390 * buffer.C: fix insertStringAsLines for change tracking
7392 2003-03-12 John Levon <levon@movementarian.org>
7399 * bufferparams.C: move author list into params. Rename some
7400 functions. Move the header reading into a separate token
7401 loop. Move the header token reading into BufferParams.
7403 2003-03-12 John Levon <levon@movementarian.org>
7405 * changes.C: put debug inside lyxerr.debugging() checks
7407 2003-03-11 André Pönitz <poenitz@gmx.net>
7409 * factory.C: make it aware of InsetHFill
7411 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7413 * buffer.C (latexParagraphs): move function from here...
7414 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7417 2003-03-10 Angus Leeming <leeming@lyx.org>
7419 * LyXAction.C (init): fix bug in poplating array with multiple entries
7420 with the same LFUN (spotted by JMarc).
7422 2003-03-10 John Levon <levon@movementarian.org>
7425 * text2.C: move getColumnNearX() near its
7428 2003-03-10 John Levon <levon@movementarian.org>
7430 * text.C: fix break before a minipage
7432 2003-03-10 John Levon <levon@movementarian.org>
7434 * text.C: fix the last commit
7436 2003-03-09 John Levon <levon@movementarian.org>
7440 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7441 bug 365 (don't break before insets unless needed). Don't
7442 return a value > last under any circumstances.
7444 2003-03-09 Angus Leeming <leeming@lyx.org>
7446 * BufferView_pimpl.C (trackChanges, dispatch): call
7447 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7449 2003-03-09 Angus Leeming <leeming@lyx.org>
7451 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7452 than Dialogs::showAboutlyx().
7454 2003-03-09 Angus Leeming <leeming@lyx.org>
7456 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7457 than Dialogs::showTabularCreate().
7459 2003-03-09 John Levon <levon@movementarian.org>
7463 * text2.C: 3rd arg to nextBreakPoint was always the same.
7466 2003-03-08 John Levon <levon@movementarian.org>
7473 * text2.C: Remove the "main" bit from the "main body"
7476 2003-03-08 John Levon <levon@movementarian.org>
7478 * text.C (leftMargin): The left margin of an empty
7479 manual label paragraph should not include the label width
7482 * text.C (prepareToPrint): don't attempt to measure hfills
7483 for empty manual label paragraphs - the answer should be 0
7485 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7487 * CutAndPaste.C: remove commented code and reindent.
7489 2003-03-08 John Levon <levon@movementarian.org>
7492 * lyxfunc.C: move reloadBuffer()
7495 * BufferView.C: to here
7497 * lyxvc.C: add comment
7500 * vc-backend.C: call bv->reload() to avoid
7501 getStatus() check on MENURELOAD
7503 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7505 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7506 to an old format .dep file.
7508 2003-03-07 Angus Leeming <leeming@lyx.org>
7510 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7511 when the LFUN_MOUSE_RELEASE should have been handled by
7512 inset->localDispatch.
7514 2003-03-07 Angus Leeming <leeming@lyx.org>
7516 * BufferView_pimpl.C (dispatch):
7517 * LyXAction.C (init):
7518 * ToolbarDefaults.C (init):
7520 * lyxfunc.C (getStatus):
7521 remove LFUN_INSET_GRAPHICS.
7523 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7525 2003-03-07 Angus Leeming <leeming@lyx.org>
7528 * LyXAction.C (init):
7529 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7531 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7534 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7536 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7537 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7539 2003-03-07 Angus Leeming <leeming@lyx.org>
7541 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7544 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7546 * ParagraphList.C (front): new function
7549 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7551 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7552 and top_row_offset_. removed var first_y.
7554 * text2.C (LyXText, removeRow):
7556 * BufferView_pimpl.C:
7557 use these methods instead of using first_y
7559 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7561 * text2.C (pasteSelection): adjust for checkPastePossible
7563 * CutAndPaste.C: remove Paragraph * buf and replace with
7564 ParagraphList paragraphs.
7565 (DeleteBuffer): delete
7566 (cutSelection): change the tc type to textclass_type
7567 (copySelection): change the tc type to textclass_type
7568 (copySelection): adjust for ParagraphList
7569 (pasteSelection): change the tc type to textclass_type
7570 (pasteSelection): adjust for Paragraphlist
7571 (nrOfParagraphs): simplify for ParagraphList
7572 (checkPastePossible): simplify for ParagraphList
7573 (checkPastePossible): remove unused arg
7575 * ParagraphList.C (insert): handle the case where there are no
7578 * CutAndPaste.h: make CutAndPaste a namespace.
7580 * text3.C (dispatch): adjust
7582 * text.C (breakParagraph): add a ParagraphList as arg
7584 * paragraph_funcs.C (breakParagraph): change to take a
7585 BufferParams and a ParagraphList as args.
7586 (breakParagraphConservative): ditto
7587 (mergeParagraph): ditto
7588 (TeXDeeper): add a ParagraphList arg
7589 (TeXEnvironment): ditto
7592 * buffer.C (readLyXformat2): adjust
7593 (insertStringAsLines): adjust
7594 (latexParagraphs): adjust
7596 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7597 (cutSelection): adjust
7598 (pasteSelection): adjust
7600 * BufferView_pimpl.C (insertInset): adjust
7602 2003-03-05 Angus Leeming <leeming@lyx.org>
7605 * LyXAction.C (init):
7606 * BufferView_pimpl.C (dispatch):
7607 * lyxfunc.C (getStatus):
7608 remove LFUN_CHILD_INSERT.
7610 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7612 2003-03-05 Angus Leeming <leeming@lyx.org>
7615 * LyXAction.C (init):
7616 * src/factory.C (createInset):
7617 * lyxfunc.C (getStatus):
7618 * text3.C (dispatch):
7619 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7621 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7623 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7625 * ParagraphList.C (insert): handle insert right before end()
7626 (erase): fix cases where it can be first or last paragraph.
7628 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7630 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7631 Paragraph::next and Paragraph::previous
7634 * text.C (breakParagraph): adjust
7636 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7637 BufferParams& as arg.
7638 (breakParagraph): use ParagraphList::insert
7639 (breakParagraphConservative): take a Buffer* instead of a
7640 BufferParams& as arg.
7641 (breakParagraphConservative): use ParagraphList::insert.
7643 * buffer.C (insertStringAsLines): un-const it
7644 (insertStringAsLines): adjust
7646 * ParagraphList.C (insert): new function
7648 * CutAndPaste.C (pasteSelection): adjust
7650 * text.C (backspace): adjust
7652 * tabular.C (SetMultiColumn): adjust
7654 * CutAndPaste.C (cutSelection): adjust
7655 (pasteSelection): adjust
7657 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7658 Buffer const * as arg
7660 * ParagraphList.C (erase): new function
7661 * paragraph_funcs.C (mergeParagraph): use it
7662 (mergeParagraph): make it take a Buffer* instead of a
7663 BufferParams* as arg
7665 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7667 (breakParagraphConservative): ditto
7669 * paragraph.h: remove the breakParagraph friend
7671 * paragraph.C (eraseIntern): new function
7672 (setChange): new function
7674 * paragraph_funcs.C (mergeParagraph): make it take a
7675 ParagraphList::iterator instead of a Paragraph *, adjust
7678 * paragraph.h: move an #endif so that the change tracking stuff
7679 also works in the NO_NEXT case.
7681 2003-03-04 Angus Leeming <leeming@lyx.org>
7684 * LyXAction.C: new LFUN_INSET_MODIFY.
7686 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7687 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7689 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7691 * several files: ws changes only
7693 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7694 (TeXEnvironment): ditto
7697 * buffer.C (makeLaTeXFile): adjust
7698 (latexParagraphs): make it take ParagraphList::iterator as args
7700 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7702 * buffer.C (latexParagraphs): adjust
7704 * paragraph.C (TeXOnePar): move function...
7705 (optArgInset): move function...
7706 (TeXEnvironment): move function...
7707 * paragraph_pimpl.C (TeXDeeper): move function...
7708 * paragraph_funcs.C: ...here
7710 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7712 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7714 * buffer.C (readInset): remove compability code for old Figure and
7717 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7719 * buffer.C: ws changes
7722 * BufferView_pimpl.C: ditto
7725 * bufferlist.h: ditto
7729 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7731 * converter.[Ch]: split into itself +
7734 * Makefile.am: += graph.[Ch] + format.[Ch]
7741 * lyxrc.C: added #include "format.h"
7743 2003-02-27 Angus Leeming <leeming@lyx.org>
7745 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7748 * factory.C (createInset): add "label" to the factory.
7750 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7751 string and do no more.
7753 2003-02-27 Angus Leeming <leeming@lyx.org>
7756 * LyXAction.C (init):
7757 * factory.C (createInset):
7758 * BufferView_pimpl.C (dispatch):
7759 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7761 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7763 * lyxfunc.C (dispatch):
7764 * text3.C (dispatch): pass name to params2string.
7766 2003-02-26 Angus Leeming <leeming@lyx.org>
7768 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7770 Rearrange the ~includes. Strip out the unnecessary ones.
7772 * factory.C (createInset): reformat.
7773 create new insets for the various LFUN_XYZ_APPLY lfuns.
7775 2003-02-26 John Levon <levon@movementarian.org>
7778 * lyxrow.C: add isParStart,isParEnd helpers
7780 * paragraph.h: make isInserted/DeletedText take refs
7782 * paragraph_funcs.h:
7783 * paragraph_funcs.C: remove #if 0'd code
7788 * text.C: use lyxrow helpers above.
7789 Move draw and paint routines to RowPainter.
7790 Make several methods use refs not pointers.
7791 Make backgroundColor() const.
7792 Add markChangeInDraw(), isInInset().
7793 Merge changeRegionCase into changeCase.
7794 Make workWidth() shouldn't-happen code into an Assert.
7797 * rowpainter.C: new class for painting a row.
7800 * vspace.C: make inPixels take a ref
7802 2003-02-26 Angus Leeming <leeming@lyx.org>
7804 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7807 2003-02-25 John Levon <levon@movementarian.org>
7809 * ispell.C: give the forked command a more accurate name
7811 2003-02-22 John Levon <levon@movementarian.org>
7814 * toc.C: make TocItem store an id not a Paragraph *
7817 2003-02-21 Angus Leeming <leeming@lyx.org>
7819 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7820 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7821 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7822 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7823 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7824 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7826 * BufferView_pimpl.C (dispatch):
7827 * LyXAction.C (init):
7828 * factory.C (createInset):
7829 * lyxfunc.C (getStatus, dispatch):
7830 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7832 2003-02-21 Angus Leeming <leeming@lyx.org>
7834 * BufferView_pimpl.C (MenuInsertLyXFile):
7835 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7836 * lyxfunc.C (menuNew, open, doImport):
7837 no longer pass a LyXView & to fileDlg.
7839 2003-02-21 Angus Leeming <leeming@lyx.org>
7841 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7842 * LyXAction.C: change, BIBKEY to BIBITEM.
7843 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7844 Change InsetBibKey to InsetBibitem.
7845 Change BIBKEY_CODE to BIBITEM_CODE.
7846 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7847 * factory.C: replace insetbib.h with insetbibitem.h.
7848 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7849 * paragraph.C: replace insetbib.h with insetbibitem.h.
7850 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7851 Change bibkey() to bibitem().
7852 * text.C: remove insetbib.h.
7853 * text2.C: replace insetbib.h with insetbibitem.h.
7854 change bibkey() to bibitem().
7855 * text3.C: remove insetbib.h.
7856 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7858 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7860 * lyxrc.C (output): enclose user email in quotes (in case there are
7863 2003-02-18 John Levon <levon@movementarian.org>
7865 * buffer.h: add std::
7867 2003-02-17 John Levon <levon@movementarian.org>
7873 * pspell.C: reworking. Especially in ispell, a large
7874 number of clean ups and bug fixes.
7876 * lyxfunc.C: fix revert to behave sensibly
7878 2003-02-17 André Pönitz <poenitz@gmx.net>
7881 * commandtags.h: new LFUN_INSERT_BIBKEY
7891 * paragraph_func.C: remove special bibkey handling
7893 2003-02-17 John Levon <levon@movementarian.org>
7895 * text.C (Delete): fix case where delete at the end of
7896 the very first paragraph would not merge the pars
7898 2003-02-17 John Levon <levon@movementarian.org>
7900 * lyxrow.C: fix lastPrintablePos()
7902 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7904 * bufferparams.C (writeLaTeX): add a std:here
7906 * buffer.C: and remove a using directive there
7908 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7910 * buffer.C (makeLaTeXFile): move the code that generates the
7913 * bufferparams.C (writeLaTeX): ... in this new method
7915 * LaTeXFeatures.C (getEncodingSet): make const
7916 (getLanguages): make const
7918 * MenuBackend.C (binding): returns the binding associated to this
7920 (add): sets the status of each item by calling getStatus. Adds
7922 (read): add support for OptSubMenu
7923 (expand): remove extra separator at the end of expanded menu
7925 2003-02-15 John Levon <levon@movementarian.org>
7928 * BufferView_pimpl.C:
7930 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7931 inset code that had no actual effect. Remove unneeded status
7934 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7936 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7939 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7941 * text.C (drawLengthMarker): also draw an arrow marker for
7942 symbolic lengths (medskip...)
7944 2003-02-14 John Levon <levon@movementarian.org>
7947 * tabular.C: better method names
7949 2003-02-14 John Levon <levon@movementarian.org>
7951 * BufferView_pimpl.C:
7956 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7957 it's a more accurate name. Remove some pointless uses.
7959 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7961 * text2.C (LyXText): change order of initilizers to shut off
7964 2003-02-14 John Levon <levon@movementarian.org>
7966 * buffer.C: use ParIterator for getParFromID()
7970 * paragraph_pimpl.h:
7971 * paragraph_pimpl.C: remove unused getParFromID()
7973 2003-02-14 John Levon <levon@movementarian.org>
7975 * buffer.C: remove some very old #if 0'd parse code
7977 2003-02-13 John Levon <levon@movementarian.org>
7981 * text2.C: move hfillExpansion(), numberOfSeparators(),
7982 rowLast(), rowLastPrintable(), numberofHfills(),
7983 numberOfLabelHfills() ...
7986 * lyxrow.C: ... to member functions here.
7991 * text.C: remove LyXText::beginningOfMainBody(), and call
7992 p->beginningOfMainBody() directly. Move the check for
7993 LABEL_MANUAL into the latter.
8000 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8006 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8007 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8009 2003-02-13 John Levon <levon@movementarian.org>
8011 * CutAndPaste.C: remove debug
8013 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8015 * paragraph.C (asString): remove two unused variables
8017 * lyxtextclass.C (readTitleType):
8019 (LyXTextClass): handle new members titletype_ and titlename_
8021 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8023 2003-02-09 John Levon <levon@movementarian.org>
8026 * buffer.C: replace hand-coded list with a map for the dep clean
8028 2003-02-08 John Levon <levon@movementarian.org>
8030 * LaTeX.C: consolidate code into showRunMessage() helper
8032 2003-02-08 John Levon <levon@movementarian.org>
8037 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8038 and pass the size in explicitly
8040 * BufferView_pimpl.h:
8041 * BufferView_pimpl.C:
8043 * BufferView.C: add getCurrentChange()
8045 * BufferView_pimpl.h:
8046 * BufferView_pimpl.C: handle change lfuns
8048 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8049 for changes. Mark pasted paragraphs as new.
8051 * support/lyxtime.h:
8052 * support/lyxtime.C:
8053 * DepTable.C: abstract time_t as lyx::time_type
8056 * LColor.C: add colours for new text, deleted text, changebars
8058 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8059 package use "usenames" option.
8063 * LyXAction.C: add change lfuns
8067 * author.C: author handling
8070 * buffer.C: add a per-buffer author list, with first entry as
8071 current author. Handle new .lyx tokens for change tracking. Output
8072 author list to .lyx file. Output dvipost stuff to .tex preamble.
8073 Bump lyx format to 222.
8076 * bufferlist.C: add setCurrentAuthor() to reset current author details
8080 * bufferparams.C: add param for tracking
8082 * bufferview_funcs.C: output change info in minibuffer
8086 * changes.C: add change-tracking structure
8089 * debug.C: add CHANGES debug flag
8092 * lyxfind.C: add code for finding the next change piece
8095 * lyxrc.C: add user_name and user_email
8098 * lyxrow.C: add a metric for the top of the text line
8101 * text.C: implement accept/rejectChange()
8104 * text.C: paint changebars. Paint new/deleted text in the chosen
8105 colours. Strike through deleted text.
8109 * paragraph_pimpl.h:
8110 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8111 in the current change to the insert functions. Rework erase to
8112 mark text as deleted, adding an eraseIntern() and a range-based
8113 erase(). Implement per-paragraph change lookup and
8116 * paragraph_funcs.C: Fixup paste for change tracking.
8118 * tabular.C: mark added row/columns as new.
8120 * text.C: fix rowLast() to never return -1. Don't allow
8121 spellchecking of deleted text. Track transpose changes. Don't
8122 allow paragraph break or merge where appropriate.
8124 * text2.C: leave cursor at end of selection after a cut.
8126 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8128 * text.C (getLengthMarkerHeight):
8129 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8130 visible on screen too.
8132 2003-02-07 John Levon <levon@movementarian.org>
8134 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8136 2003-02-05 Angus Leeming <leeming@lyx.org>
8138 * lyxserver.C (read_ready): revert my patch of 11 September last year
8139 as it sends PC cpu through the roof. Presumably this means that
8140 the lyxserver will no longer run on an Alpha...
8142 2003-01-30 Angus Leeming <leeming@lyx.org>
8144 * factory.C (createInset): create an InsetCommandParam of type "index"
8145 and use it to 'do the right thing'.
8147 * text2.C (getStringToIndex): ensure that cursor position is always
8148 reset to the reset_cursor position.
8150 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8152 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8155 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8159 * lyxfunc.C: Output messages with identical spelling, punctuation,
8162 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8164 * MenuBackend.C (expandFormats): List only viewable export formats
8167 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8170 * lyxfunc.C (getStatus): Make sure that formats other than
8171 "fax" can also be disabled
8173 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8175 * text3.C (dispatch): put the lfuns that insert insets in 3
8176 groups, and call doInsertInset with appropriate arguments.
8177 (doInsertInset): new function, that creates an inset and inserts
8178 it according to some boolean parameters.
8180 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8182 * buffer.C (readFile): remember to pass on 'par' when calling
8183 readFile recursively.
8185 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8187 * MenuBackend.C (expandFormats): add "..." to import formats.
8189 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8191 * paragraph.C (asString): Remove XForms RTL hacks.
8193 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8194 * buffer.C: fix typo
8196 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8198 * Makefile.am (LIBS): delete var
8199 (lyx_LDADD): add @LIBS@ here instead.
8201 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8203 * Clarify the meaning of "wheel mouse jump"
8205 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8207 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8210 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8212 * importer.C (Loaders): do not preallocate 3 elements in the
8213 vector, since one ends up with 6 elements otherwise
8215 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8217 * DepTable.C (write): write the file name as last element of the
8218 .dep file (because it may contain spaces)
8219 (read): read info in the right order
8221 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8223 * paragraph_pimpl.C (simpleTeXBlanks):
8224 (simpleTeXSpecialChars):
8225 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8227 * tabular.C (latex): add some missing case statements. Reindent.
8229 * MenuBackend.C (expandToc): remove unused variable.
8231 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8240 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8243 2003-01-05 John Levon <levon@movementarian.org>
8246 * BufferView.C: add getEncoding()
8249 * kbsequence.C: do not store last keypress
8252 * lyxfunc.C: store last keypress here instead. Pass encoding
8255 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8257 * lyx_main.C (init): remove annoying error message when following
8258 symbolic links (bug #780)
8260 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8262 * text.C (insertChar):
8263 * lyxrc.C (getDescription): remove extra spaces
8265 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8267 * lyxrc.C (getDescription): remove extra spaces
8269 2002-12-20 John Levon <levon@movementarian.org>
8271 * text3.C: hack fix for page up/down across tall rows
8273 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8275 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8278 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8280 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8281 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8282 thesaurus is not compiled in
8284 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8286 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8288 2002-12-16 Angus Leeming <leeming@lyx.org>
8291 * lyx_main.C (init): remove override_x_deadkeys stuff.
8293 2002-12-12 John Levon <levon@movementarian.org>
8295 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8296 insert. Only remove shift modifier under strict
8299 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8301 * MenuBackend.C (expandToc): fix crash.
8303 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8305 * MenuBackend.C (expandToc): gettext on float names.
8307 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8309 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8310 implement bool empty() [bug 490]
8312 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8314 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8316 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8318 * several files: ws changes
8320 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8322 * text2.C (setCounter): clean up a bit, use boost.format.
8323 (updateCounters): initialize par upon declaration.
8325 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8326 if the layout exists. We do not just store the layout any more.
8327 (SwitchLayoutsBetweenClasses): use boost.format
8329 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8331 * converter.C (convert): if from and to files are the same, use a
8332 temporary files as intermediary
8334 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8337 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8339 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8341 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8343 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8345 * tabular.C (asciiPrintCell): use string(size, char) instead of
8348 * sgml.C (openTag): fix order of arguments to string constructor
8351 * lyxfunc.C (dispatch): use boost.format
8353 * lots of files: change "c" -> 'c'
8355 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8357 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8359 2002-11-25 Angus Leeming <leeming@lyx.org>
8361 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8363 * lyx_main.C (init): compile fix.
8365 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8367 * lyx_cb.C (start): boost.formatify
8368 do not include <iostream>
8370 * lengthcommon.C: ws only
8372 * boost-inst.C,BoostFormat.h: add more explict instantations
8374 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8376 * lots of files: handle USE_BOOST_FORMAT
8378 2002-11-21 John Levon <levon@movementarian.org>
8380 * pspell.C: fix compile
8382 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8384 * lyxfunc.C (dispatch): use boost::format
8388 * lyxfont.C (stateText): use boost::format
8390 * lyx_main.C (LyX): use boost::format
8392 (queryUserLyXDir): ditto
8395 (typedef boost::function): use the recommened syntax.
8397 * importer.C (Import): use boost::format
8399 * debug.C (showLevel): use boost::format
8401 * converter.C (view): use boost::format
8406 * bufferview_funcs.C (currentState): use boost::format
8408 * bufferlist.C (emergencyWrite): use boost::format
8410 * buffer.C (readLyXformat2): use boost::format
8411 (parseSingleLyXformat2Token): ditto
8413 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8415 * LaTeX.C (run): use boost::format
8417 * Chktex.C (scanLogFile): use boost::format
8419 * BufferView_pimpl.C (savePosition): use boost::format
8420 (restorePosition): ditto
8421 (MenuInsertLyXFile): ditto
8423 * BoostFormat.h: help file for explicit instation.
8425 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8427 * tabular.C (latex): Support for block alignment in fixed width
8430 2002-11-17 John Levon <levon@movementarian.org>
8432 * BufferView_pimpl.C:
8434 * lyxfunc.C: split filedialog into open/save
8436 2002-11-08 Juergen Vigna <jug@sad.it>
8438 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8439 by my last patch (hopefully).
8441 2002-11-08 John Levon <levon@movementarian.org>
8450 * toc.C: ParConstIterator, and use it (from Lars)
8452 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8454 * lyxtextclass.[Ch]: revise and add doxygen comments
8456 2002-11-07 John Levon <levon@movementarian.org>
8458 * text.C: fix progress value for spellchecker
8460 * toc.C: fix navigate menu for insetwrap inside minipage
8462 * paragraph_funcs.C: added FIXME for suspect code
8464 2002-11-07 John Levon <levon@movementarian.org>
8466 * BufferView_pimpl.C: fix redrawing of insets
8469 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8471 * text2.C (updateCounters): fix bug 668
8473 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8475 * text3.C (dispatch): Do not make the buffer dirty when moving the
8478 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8480 * vc-backend.C: STRCONV
8483 * text2.C (setCounter): STRCONV
8485 * paragraph.C (asString): STRCONV
8487 * lyxlength.C (asString): STRCONV
8488 (asLatexString): ditto
8490 * lyxgluelength.C (asString): STRCONV
8491 (asLatexString): ditto
8493 * lyxfunc.C (dispatch): STRCONV
8496 * lyxfont.C (stateText): STRCONV
8498 * importer.C (Import): STRCONV
8500 * counters.C (labelItem): STRCONV
8501 (numberLabel): ditto
8502 (numberLabel): remove unused ostringstream o
8507 * bufferview_funcs.C (currentState): STRCONV
8509 * buffer.C (readFile): STRCONV
8510 (asciiParagraph): ditto
8511 (makeLaTeXFile): ditto
8513 * Spacing.C (writeEnvirBegin): STRCONV
8515 * LaTeXFeatures.C (getLanguages): STRCONV
8516 (getPackages): ditto
8518 (getBabelOptions): ditto
8519 (getTClassPreamble): ditto
8520 (getLyXSGMLEntities): ditto
8521 (getIncludedFiles): ditto
8525 (scanAuxFile): ditto
8528 * LString.h: add the STRCONV macros
8530 * BufferView_pimpl.C (savePosition): STRCONV
8531 (restorePosition): ditto
8532 (MenuInsertLyXFile): ditto
8534 * vc-backend.C (scanMaster): change from submatch[...] to
8537 * funcrequest.C: include config.h
8539 * factory.C: include config.h
8541 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8543 * box.C: include config.h
8545 * LaTeX.C (scanAuxFile): change from submatch[...] to
8549 2002-10-25 Angus Leeming <leeming@lyx.org>
8551 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8553 * ispell.[Ch] (setError): new method.
8554 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8555 Use setError() insetead of goto END.
8557 * lyx_cb.C (AutoSave): move out child process into new class
8560 2002-10-30 John Levon <levon@movementarian.org>
8562 * text3.C: make start appendix undoable
8564 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8566 * lyxlength.C (inPixels): Fix returned value.
8568 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8571 2002-10-24 Angus Leeming <leeming@lyx.org>
8573 * lyxgluelength.h: no need to forward declare BufferParams
8574 or BufferView, so don't.
8576 2002-10-21 John Levon <levon@movementarian.org>
8578 * BufferView.C: menuUndo ->undo, redo
8580 * BufferView.h: document, remove dead, make some methods private
8582 * paragraph_funcs.h:
8583 * paragraph_funcs.C:
8584 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8589 * sgml.C: move sgml open/close tag into sgml.C
8591 * bufferview_funcs.h: unused prototype
8594 * lyxfunc.C: remove unused
8597 * text.C: remove unused
8599 2002-10-21 John Levon <levon@movementarian.org>
8603 * BufferView_pimpl.h:
8604 * BufferView_pimpl.C: fix mouse wheel handling based on
8605 patch from Darren Freeman
8607 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8609 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8611 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8613 * lyxlength.C (inPixels): Fix hanfling of negative length.
8614 Fix LyXLength::MU case.
8616 2002-10-16 John Levon <levon@movementarian.org>
8618 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8620 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8622 * converter.C (view): add support for $$i (file name) and $$p
8623 (file path) for the viewer command. If $$i is not specified, then
8624 it is appended to the command (for compatibility with old syntax)
8626 2002-10-14 Juergen Vigna <jug@sad.it>
8628 * undo_funcs.C (textHandleUndo): alter the order in which the
8629 new undopar is added to the LyXText, as we have to set first
8630 the right prev/next and then add it as otherwise the rebuild of
8631 LyXText is not correct. Also reset the cursor to the right paragraph,
8632 with this IMO we could remove the hack in "redoParagraphs()".
8634 2002-10-09 Angus Leeming <leeming@lyx.org>
8636 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8637 to turn off an optimisation if a new inset is to be inserted.
8639 2002-10-11 André Pönitz <poenitz@gmx.net>
8641 * lyxtext.h: make some functions public to allow access
8642 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8644 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8646 * text3.C (dispatch): when changing layout, avoid an infinite loop
8649 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8651 * lyxrc.C (read): treat a viewer or converter command of "none" as
8654 * MenuBackend.C (expandFormats): for an update, also allow the
8655 formats that are not viewable
8657 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8658 script if it is newer than the lyxrc.defaults in user directory
8660 2002-10-07 André Pönitz <poenitz@gmx.net>
8662 * text.C: Vitaly Lipatov's small i18n fix
8664 2002-09-25 Angus Leeming <leeming@lyx.org>
8666 * ispell.h: doxygen fix.
8668 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8670 * buffer.h (readFile): Add a new argument to the method, to allow
8671 reading of old-format templates.
8673 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8675 * toc.C (getTocList): Get TOC from InsetWrap.
8677 2002-09-16 John Levon <levon@movementarian.org>
8679 * lyxfunc.C: check tabular for cut/copy too
8681 2002-09-12 John Levon <levon@movementarian.org>
8686 * factory.C: add header
8688 * paragraph_funcs.h:
8689 * paragraph_funcs.C: cleanup
8691 2002-09-11 John Levon <levon@movementarian.org>
8693 * PrinterParams.h: odd/even default to true
8695 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8697 * PrinterParams.h: update printer parameters for new xforms dialog
8699 2002-09-11 Angus Leeming <leeming@lyx.org>
8701 * lyxserver.C (read_ready): re-write to make it more transparent
8702 and to make it work in coherent fashion under Tru64 Unix.
8704 2002-09-11 André Pönitz <poenitz@gmx.net>
8708 * text3.C: implement LFUN_WORDSEL
8710 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8712 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8713 make floatlist_ a boost::shared_ptr<FloatList>
8715 * lyxtextclass.C: include FloatList.h
8716 (LyXTextClass): initialize floatlist_
8717 (TextClassTags): add TC_NOFLOAT
8718 (Read): match "nofloat" to TC_NOFLOAT and use it.
8719 (readFloat): modify call to floatlist_
8723 * FloatList.[Ch] (FloatList): remove commented out float
8725 (erase): new function
8727 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8729 * MenuBackend.C (expandToc): fix crash when there is no document
8732 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8734 * many files: Add insetwrap.
8736 2002-09-09 John Levon <levon@movementarian.org>
8738 * text2.C: remove confusing and awkward depth wraparound
8740 2002-09-09 John Levon <levon@movementarian.org>
8742 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8745 * buffer.C: remove getIncludeonlyList()
8748 * lyxfunc.C: remove headers
8750 2002-09-09 Juergen Vigna <jug@sad.it>
8752 * text.C (getColumnNearX): fix form Michael this is most
8753 probably a cut&paste bug.
8755 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8757 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8759 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8760 references, ws changes.
8762 * text2.C (init): update counters after init
8763 (insertParagraph): no need to set counter on idividual paragraphs.
8764 (setCounter): access the counters object in the textclass object
8765 on in the buffer object.
8766 (updateCounters): ditto
8768 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8769 shared_ptr<Counters> to avoid loading counters.h in all
8771 (LyXTextClass): initialize ctrs_
8772 (TextClassTags): add TC_COUNTER, and ...
8773 (Read): use it here.
8774 (CounterTags): new tags
8775 (readCounter): new function
8776 (counters): new funtion
8777 (defaultLayoutName): return a const reference
8779 * counters.C (Counters): remove contructor
8780 (newCounter): remove a couple of unneeded statements.
8781 (newCounter): simplify a bit.
8782 (numberLabel): some small formatting changes.
8784 * buffer.[Ch]: remove all traces of counters, move the Counters
8785 object to the LyXTextClass.
8787 2002-09-06 Alain Castera <castera@in2p3.fr>
8789 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8790 package to set the horizontal alignment on fixed width columns.
8793 * lyx_sty.h: added tabularnewline macro def.
8795 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8797 2002-09-06 John Levon <levon@movementarian.org>
8799 * LyXAction.C: tooltips for sub/superscript
8801 * MenuBackend.C: a bit more verbose
8803 * lyxfunc.C: tiny clean
8805 * undo_funcs.C: document undo_frozen
8807 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8809 * counters.C (Counters): add missing algorithm counter.
8811 * text2.C (setCounter): lookup the counter with layouts latexname
8812 instead of by section number.
8813 (setCounter): use a hackish way to lookup the correct enum
8815 a float name->type change
8816 reset enum couners with counter name directly instead of depth value.
8818 * counters.C (Counters): remove the push_backs, change to use the
8819 float type not the float name.
8820 (labelItem): remove unused string, float name->type change
8822 * counters.h: don't include vector, loose the enums and sects vectors
8824 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8826 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8827 (Read): add float->TC_FLOAT to textclassTags
8828 (Read): and handle it in the switch
8829 (readFloat): new function
8831 * FloatList.C (FloatList): comment out the hardcoded float
8834 * lyxlayout.h: ws change.
8836 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8838 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8840 2002-09-03 Angus Leeming <leeming@lyx.org>
8842 * BufferView_pimpl.h: qualified name is not allowed in member
8843 declaration: WorkArea & Pimpl::workarea() const;
8845 * factory.C: added using std::endl directive.
8847 * text3.C: added using std::find and std::vector directives.
8849 2002-08-29 André Pönitz <poenitz@gmx.net>
8852 * text2.C: remove unused member number_of_rows
8855 * BufferView2.C: remove file, move contents to...
8856 * BufferView.C: ... here
8858 * BufferView_pimpl.C:
8859 * factory.C: move more inset creation to factory
8861 * vspace.C: avoid direct usage of LyXText, ws changes
8864 don't provide direct access to WorkArea, use two simple
8865 acessors haveSelction() and workHeight() instead
8868 2002-08-29 John Levon <levon@movementarian.org>
8870 * BufferView_pimpl.C (dispatch): do not continue when
8873 2002-08-28 André Pönitz <poenitz@gmx.net>
8875 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8878 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8880 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8882 * buffer.C: increment LYX_FORMAT to 221
8884 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8885 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8887 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8889 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8891 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8893 * factory.C (createInset): use LyXTextClass::floats
8895 * MenuBackend.C (expandFloatListInsert):
8896 (expandFloatInsert):
8899 * text2.C (setCounter):
8901 * LaTeXFeatures.C (useFloat):
8902 (getFloatDefinitions):
8904 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8906 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8907 floatlist_, with accessor floats().
8909 * FloatList.h: remove global FloatList
8911 2002-08-26 André Pönitz <poenitz@gmx.net>
8913 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8917 * BufferView_pimpl.C:
8918 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8920 2002-08-25 John Levon <levon@movementarian.org>
8922 * LyXAction.C: fix margin note description
8924 2002-08-24 John Levon <levon@movementarian.org>
8928 * bufferview_funcs.C:
8930 * undo_funcs.C: cleanups
8932 * lyxfunc.C: disable CUT/COPY when no selection
8934 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8936 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8937 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8939 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8940 Add backward compatibility to "mono", "gray" and "no".
8942 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8944 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8945 (and file_format >= 200).
8947 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8949 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8951 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8953 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8955 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8957 * BufferView_pimpl.C:
8964 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8965 inset and code to make it work with the paragraph code. The inset
8966 can be anywhere in the paragraph, but will only do the expected
8967 thing in LaTeX if the layout file contains the parameter line
8969 (or more generally, a nonzero value) for that layout.
8971 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8973 * paragraph.h: remove the declaration of undefined counters class
8976 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8978 * text2.C (setCounter): fixed enumeration mis-count as reported by
8979 Dr. Richard Hawkins.
8981 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8983 * paragraph_funcs.h: remove some unneeded includes
8985 * text.C (backspace): pasteParagraph now in global scipe
8987 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8988 (pasteSelection): ditto
8990 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8991 * paragraph_funcs.C (pasteParagraph): ... here
8993 2002-08-20 André Pönitz <poenitz@gmx.net>
8995 * commandtags.h: new LFUNs for swapping/copying table row/colums
8998 * lyxfunc.C: support for new lfuns
9000 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9003 * buffer.[Ch]: remove NO_COMPABILITY stuff
9005 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9007 * boost.C (throw_exception): new file, with helper function for
9008 boost compiled without exceptions.
9013 * ParameterStruct.h:
9014 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9016 * bufferlist.C (emergencyWriteAll): use boost bind
9018 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9020 * text.C: include paragraph_funcs.h
9021 (breakParagraph): breakParagraph is now in global scope
9023 * paragraph_funcs.[Ch]: new files
9025 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9028 * buffer.C: include paragraph_funcs.h
9029 (insertStringAsLines): breakParagraph is now in global scope
9031 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9034 * CutAndPaste.C: include paragraph_funcs.h
9035 (cutSelection): breakParagraphConservative is now in global scope
9036 (pasteSelection): ditto
9038 * buffer.h: declare oprator== and operator!= for
9039 Buffer::inset_iterator
9041 * bufferlist.C (emergencyWrite): don't use fmt(...)
9043 * text3.C: add using std::endl
9045 * BufferView.C (moveCursorUpdate): remove default arg
9047 2002-08-20 André Pönitz <poenitz@gmx.net>
9049 * buffer.[Ch]: move inline functions to .C
9052 * BufferView_pimpl.C:
9054 * buffer.[Ch]: use improved inset_iterator
9057 * paragraph.[Ch]: write one paragraph at a time
9059 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9061 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9062 style if style is not specified.
9064 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9066 * text2.C (setCounter): when searching for right label for a
9067 caption, make sure to recurse to parent insets (so that a caption
9068 in a minipage in a figure float works) (bug #568)
9070 2002-08-20 André Pönitz <poenitz@gmx.net>
9072 * text3.C: new file for LyXText::dispatch() and helpers
9074 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9076 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9078 2002-08-19 André Pönitz <poenitz@gmx.net>
9081 * text.C: new LyXText::dispatch()
9083 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9085 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9087 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9089 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9092 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9094 * Makefile.am: use $(variables) instead of @substitutions@
9096 2002-08-15 André Pönitz <poenitz@gmx.net>
9099 * BufferView_pimpl.C: streamlining mathed <-> outer world
9103 * LyXAction.C: remove unused LFUN_MATH
9105 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9107 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9109 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9111 * paragraph.C (Paragraph): reformat a bit
9112 (cutIntoMinibuffer): use builtin InsetList function instad of
9116 * buffer.C: include boost/bind.hpp, add using std::for_each
9117 (writeFileAscii): use ParagraphList iterators
9118 (validate): use for_each for validate traversal of paragraphs
9119 (getBibkeyList): use ParagraphList iterators
9120 (resizeInsets): use for_each to resizeInsetsLyXText for all
9122 (getParFromID): use ParagraphList iterators
9124 * BufferView2.C (lockInset): use paragraph list and iterators
9126 2002-08-14 John Levon <levon@movementarian.org>
9128 * lyxserver.C: remove spurious xforms include
9130 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9132 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9134 2002-08-13 André Pönitz <poenitz@gmx.net>
9137 * lyxfunc.C: further cleaning
9139 2002-08-13 André Pönitz <poenitz@gmx.net>
9141 * funcrequest.h: new constructor
9143 * funcrequest.C: move stuff here from .h
9146 * BufferView_pimpl.C:
9149 * lyxfunc.C: subsequent changes
9151 * lyxfunc.h: new view() member function
9153 * lyxfunc.C: subsequent changes
9155 2002-08-13 Angus Leeming <leeming@lyx.org>
9158 * BufferView_pimpl.C:
9166 changes due to the changed LyXView interface that now returns references
9167 to member variables not pointers.
9169 2002-08-13 Angus Leeming <leeming@lyx.org>
9171 * WordLangTuple (word, lang_code): return references to strings,
9176 * lyxtext.h: forward-declare WordLangTuple.
9181 * text.C: #include "WordLangTuple.h".
9184 * text.C: (selectNextWordToSpellcheck): constify return type.
9186 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9192 * paragraph_pimpl.h:
9195 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9197 Made updateCounter always count from start of buffer, and removed
9198 second argument (par).
9199 Reverted floats number display to '#'. Perhaps I'll try again when the
9200 code base is sanitized a bit.
9202 2002-08-12 Angus Leeming <leeming@lyx.org>
9204 * buffer.[Ch] (getLabelList): constify.
9206 2002-08-07 André Pönitz <poenitz@gmx.net>
9208 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9210 * funcrequest.h: extension to keep mouse (x,y) position
9212 2002-08-12 Juergen Vigna <jug@sad.it>
9214 * BufferView2.C (insertErrors): forbid undo when inserting error
9217 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9219 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9221 * ParagraphList.[Ch]: new files
9223 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9225 * BufferView2.C (lockInset): ParagraphList changes
9228 * bufferlist.C: ditto
9232 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9234 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9235 unused class variable counter_,
9237 * paragraph.[Ch] (getFirstCounter): delete unused function
9239 * counters.C: include LAssert.h
9240 (reset): add a new function with no arg, change other version to
9241 not have def. arg and to not allow empty arg.
9243 * text2.C (setCounter): remove empty arg from call to Counters::reset
9245 2002-08-11 John Levon <levon@movementarian.org>
9247 * Makefile.am: add WordLangTuple.h
9249 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9251 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9252 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9254 * insets/insettext.C: InsetList changes
9256 * graphics/GraphicsSupport.C (operator()): InsetList changes
9258 * toc.C (getTocList): InsetList changes
9260 * paragraph_pimpl.[Ch]: InsetList changes
9262 * paragraph.[Ch]: InsetList changes
9264 * buffer.C (inset_iterator): InsetList changes
9265 (setParagraph): ditto
9266 * buffer.h (inset_iterator): ditto
9267 * iterators.C (operator++): ditto
9268 * iterators.h: ditto
9270 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9272 * InsetList.[Ch]: new files, most InsetList handling moved out of
9275 * BufferView2.C (removeAutoInsets): InsetList changes
9277 (ChangeInsets): ditto
9279 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9281 * paragraph_pimpl.h (empty): new function
9283 * paragraph.[Ch] (empty): new function
9285 * other files: use the new Paragraph::empty function
9287 2002-08-09 John Levon <levon@movementarian.org>
9289 * lyxtext.h: remove unused refresh_height
9291 2002-08-09 John Levon <levon@movementarian.org>
9298 * paragraph.C: move sgml char escaping out of paragraph
9301 * paragraph.C: remove id setter
9305 * paragraph_pimpl.C: remove dead tex_code_break_column
9307 * bufferview_funcs.C: small cleanup
9309 * lyxfunc.C: remove dead proto
9311 * lyxtext.h: make some stuff private. Remove some dead stuff.
9313 * lyxgluelength.C: make as[LyX]String() readable
9315 2002-08-08 John Levon <levon@movementarian.org>
9320 * ToolbarDefaults.C:
9323 * toc.C: lyxaction cleanup
9325 2002-08-08 John Levon <levon@movementarian.org>
9327 * BufferView2.C: small cleanup
9330 * lyxfind.C: move unnecessary header into the .C
9332 2002-08-08 John Levon <levon@movementarian.org>
9334 * funcrequest.h: just tedious nonsense
9337 * lyx_main.C: cleanups
9340 * vspace.C: remove dead header lyx_main.h
9342 2002-08-07 Angus Leeming <leeming@lyx.org>
9345 * paragraph_pimpl.h:
9346 Forward declare class Counters in paragraph.h by moving the ctrs member
9347 variable into Paragraph::Pimpl.
9348 (counters): new method, returning a reference to pimpl_->ctrs.
9350 * text2.C: ensuing changes.
9352 2002-08-07 John Levon <levon@movementarian.org>
9354 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9356 * BufferView_pimpl.C: announce X selection on double/triple
9359 * lyx_main.C: use correct bool in batch dispatch
9361 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9363 2002-08-07 André Pönitz <poenitz@gmx.net>
9365 * funcrequest.h: new class to wrap a kb_action and its argument
9368 * BufferView_pimpl[Ch]:
9372 * lyxrc.C: subsequent changes
9375 2002-08-07 John Levon <levon@movementarian.org>
9377 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9378 document options change.
9380 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9385 * makefile.am: move counters functionality over from
9386 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9388 2002-08-06 John Levon <levon@movementarian.org>
9390 * WordLangTuple.h: new file for word + language code tuple
9401 * BufferView2.C: use WordLangTuple
9404 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9406 2002-08-06 John Levon <levon@movementarian.org>
9408 * lyx_main.C: fix cmdline batch handling
9410 2002-08-06 André Pönitz <poenitz@gmx.net>
9412 * lyxrc.C: set default for show_banner to true
9414 2002-08-06 John Levon <levon@movementarian.org>
9416 * pspell.C: fix a crash, and allow new aspell to work
9418 2002-08-06 John Levon <levon@movementarian.org>
9421 * kbmap.C: small cleanup
9424 * vspace.C: add const
9426 2002-08-05 John Levon <levon@movementarian.org>
9428 * LyXAction.C: back to tabular-insert
9430 2002-08-04 John Levon <levon@movementarian.org>
9433 * BufferView.C: cosmetic change
9435 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9445 * BufferView2.C: purge all "Lyx" not "LyX" strings
9448 * lyxcursor.C: attempt to add some documentation
9453 * ToolbarDefaults.C:
9454 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9455 merge with LFUN_TABULAR_INSERT
9462 * pspell.C: split up i/pspell implementations into separate
9463 files, many cleanups
9465 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9467 * text2.C: some cleanup
9469 * lyxfunc.C: don't check for isp_command == "none" any more, it
9470 didn't make any sense
9472 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9477 * makefile.am: move counters functionality over
9478 from text2.C/paragraph.[Ch] to counters.[Ch], and
9480 2002-08-02 John Levon <levon@movementarian.org>
9482 * buffer.C: s/lyxconvert/lyx2lyx/
9484 2002-08-02 Angus Leeming <leeming@lyx.org>
9486 * lyxlex.C: revert John's change as it breaks reading of the user
9489 2002-08-02 Angus Leeming <leeming@lyx.org>
9491 * importer.C (Import):
9492 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9493 changes due to LyXView::view() now returning a boost::shared_ptr.
9495 2002-08-02 John Levon <levon@movementarian.org>
9497 * lyxlex.C: small cleanup
9499 2002-08-02 John Levon <levon@movementarian.org>
9501 * text2.C (status): small cleanup, no logic change
9503 2002-08-01 John Levon <levon@movementarian.org>
9506 * buffer.C (writeFile): don't output alerts, caller
9510 * lyx_cb.C: from above
9512 * lyxfunc.C: allow to open non-existent files
9514 2002-07-31 John Levon <levon@movementarian.org>
9516 * lyxserver.C: don't let incidental errors get
9519 2002-07-30 John Levon <levon@movementarian.org>
9521 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9523 2002-07-30 John Levon <levon@movementarian.org>
9526 * lyxserver.C: remove I/O callback too
9528 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9530 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9533 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9535 * many files: strip,frontStrip -> trim,ltrim,rtrim
9537 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9539 * PrinterParams.h: remove extern containsOnly, and include
9540 support/lstrings.h instead.
9542 * LaTeX.C (scanAuxFile): modify because of strip changes
9544 * buffer.C (makeLaTeXFile): ditto
9545 * bufferparams.C (writeFile): ditt
9546 * lyxfont.C (stateText): ditto
9547 * lyxserver.C (read_ready): ditto
9548 * vc-backend.C (scanMaster): ditto
9550 * BufferView_pimpl.h: ws changes
9552 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9554 2002-07-26 André Pönitz <poenitz@gmx.net>
9556 * kb_sequence.C: remove unnedred usings
9558 2002-07-26 Juergen Vigna <jug@sad.it>
9560 * lyxfind.C (LyXReplace): we have to check better if the returned
9561 text is not of theLockingInset()->getLockingInset().
9563 2002-07-25 Juergen Vigna <jug@sad.it>
9565 * lyxfind.C (LyXReplace): don't replace if we don't get the
9568 * undo_funcs.C (createUndo): remove debugging code.
9570 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9572 * buffer.C (parseSingleLyXformat2Token): Use default placement
9573 when reading old floats.
9575 * FloatList.C (FloatList): Change the default placement of figure
9576 and tables to "tbp".
9578 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9580 * MenuBackend.C: using std::max
9582 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9584 * MenuBackend.C (expandToc):
9585 (expandToc2): code moved from xforms menu frontend. It is now
9586 generic and TOCs are transparent to menu frontends.
9588 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9590 * toc.C (getTocList): protect against buf=0
9592 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9593 Menu as first parameter. Now, this calls itself recursively to
9594 expand a whole tree (this will be useful for TOC handling)
9595 (expandFloatInsert): remove 'wide' version of floats
9597 * MenuBackend.h (submenuname): returns the name of the submenu.
9598 (submenu): returns the submenu itself, provided it has been
9599 created by MenuBackend::expand
9601 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9603 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9604 insets which have noFontChange == true. (bug #172)
9606 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9608 * BufferView_pimpl.C: add connection objects and use them...
9611 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9613 * MenuBackend.C (expandLastfiles):
9616 (expandFloatListInsert):
9617 (expandFloatInsert):
9618 (expand): split expand in parts
9620 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9622 * lyx_gui.C: use lyx_gui::exit()
9624 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9626 * LyXAction.C: show the failing pseudo action
9628 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9630 * buffer.C (readFile): Run the lyxconvert script in order to read
9633 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9637 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9639 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9643 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9645 2002-07-22 Herbert Voss <voss@lyx.org>
9648 * lyxlength.[Ch]: add support for the vertical lengths
9650 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9652 * toc.[Ch]: std:: fixes
9654 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9656 * lyxrc.C: do not include lyx_main.h
9658 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9664 * BufferView2.C: include "lyxlex.h"
9667 * bufferparams.h: do not #include "lyxlex.h"
9669 * lyxtextclasslist.C (Add): remove method
9670 (classlist): renamed to classlist_
9672 * paragraph_pimpl.C:
9676 * bufferview_funcs.C:
9681 * toc.C (getTocList): use BufferParams::getLyXTextClass
9683 * toc.C (getTocList): use InsetFloat::addToToc
9685 * toc.[Ch]: new files, containing helper functions to handle table
9688 * lyxfunc.C (dispatch): no need to remove spaces around command
9690 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9691 first command of the sequence; it is not very clever, but I do not
9692 have a better idea, actually
9694 * LyXAction.C (LookupFunc): make sure to remove space at the
9695 beginning and end of the command
9697 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9699 * MenuBackend.C (getMenubar): new method: return the menubar of
9701 (read): treat differently reading of menu and menubar (in
9702 particular, the menubar has no name now)
9703 (Menu::menubar): remove
9705 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9708 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9710 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9711 a bibitem inset in a RTL paragraph.
9713 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9715 * paragraph_pimpl.C: constify
9717 * BufferView_pimpl.C:
9719 * lyxfunc.C: fix dispatch in a nicer way
9721 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9723 * lyxfunc.C (dispatch):
9724 * BufferView_pimpl.C:
9725 * BufferView_pimpl.h:
9727 * BufferView.h: rename Dispatch() to dispatch()
9729 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9731 * lyxlayout.C (Read): honor DependsOn tag
9733 * lyxlayout.[Ch] (depends_on): new method
9735 * version.C.in: update lyx_docversion
9737 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9739 * paragraph.C (validate): remove from here...
9740 * paragraph_pimpl.C (validate): ... and move here
9741 (isTextAt): make it const
9743 * buffer.C (getLists): ws cleanup
9745 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9747 * language.C (read): Use iso8859-1 encoding in latex_lang
9748 (this prevents LyX from crashing when using iso10646-1 encoding).
9750 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9752 * text2.C (toggleInset): if cursor is inside an inset, close the
9753 inset and leave cursor _after_ it
9755 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9757 * lyxfunc.C: move minibuffer completion handling out of here
9759 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9761 * BufferView_pimpl.C:
9762 * LaTeX.C: fix dispatch calls
9764 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9766 * text.C (drawChars): Fix Arabic text rendering.
9768 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9772 * lyxfunc.C: remove message-push/pop
9776 * lyxfunc.C: rationalise some code by removing verboseDispatch
9777 in favour of a bool argument to dispatch()
9779 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9781 * lyx_main.C (init): make sure to read symlinks as absolute paths
9783 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9786 * lyxfunc.C: no need for commandshortcut to be a member
9788 2002-07-15 André Pönitz <poenitz@gmx.net>
9790 * converter.C: add support for $$s (scripts from lib/scripts dir)
9791 * lyx_main.C: white space
9793 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9797 * lyxrc.C: remove second exit confirmation
9799 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9804 * BufferView_pimpl.h:
9805 * BufferView_pimpl.C:
9806 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9808 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9810 * MenuBackend.C (expand): add numeric shortcuts to document menu
9812 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9814 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9816 * lyxfont.C (setLyXFamily):
9823 * buffer.C (asciiParagraph): use ascii_lowercase
9825 2002-07-15 Mike Fabian <mfabian@suse.de>
9827 * lyxlex_pimpl.C (search_kw):
9828 * lyxlex.C (getLongString):
9829 * converter.h (operator<):
9830 * converter.C (operator<):
9831 * buffer.C (parseSingleLyXformat2Token):
9833 * ToolbarDefaults.C (read):
9834 * MenuBackend.C (checkShortcuts):
9836 * LColor.C (getFromGUIName):
9837 (getFromLyXName): use the compare_ascii_no_case instead of
9838 compare_no_case, because in turkish, 'i' is not the lowercase
9839 version of 'I', and thus turkish locale breaks parsing of tags.
9841 2002-07-16 Angus Leeming <leeming@lyx.org>
9843 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9844 now takes a Buffer const & argument.
9846 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9848 * BufferView.C (resize): check there's a buffer to resize
9850 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9852 * lyxfunc.C: remove dead code
9855 * lyxserver.C: use lyx_guii::set_read_callback
9857 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9859 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9860 an inset in a RTL paragraph.
9862 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9864 * lyxfunc.C: repaint after a font size update
9866 2002-07-15 André Pönitz <poenitz@gmx.net>
9868 * lyxlength.C: inBP should be able to return negative values
9870 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9872 * lyxfunc.C: use lyx_gui::update_fonts()
9874 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9876 * lyxfunc.C: use lyx_gui::update_color()
9878 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9884 * lyxrc.C: remove file->new asks for name option, and let
9885 buffer-new take an argument
9887 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9889 * BufferView_pimpl.C: remove unneeded extra repaint()
9891 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9893 * LyXAction.C: allow command-sequence with NoBuffer
9895 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9897 2002-07-10 Angus Leeming <leeming@lyx.org>
9899 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9901 2002-07-09 Angus Leeming <leeming@lyx.org>
9903 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9905 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9907 * lengthcommon.h: whitespace
9909 * lyxfunc.C: update scrollbar after goto paragraph
9911 * lyxtext.h: factor out page break drawing, and fix it so
9912 page break/added space paints as selected nicely
9914 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9916 * BufferView_pimpl.C: add FIXMEs, clean up a little
9918 2002-07-09 André Pönitz <poenitz@gmx.net>
9920 * lyxfont.[Ch]: support for wasy symbols
9922 2002-07-08 André Pönitz <poenitz@gmx.net>
9924 * BufferView_pimpl.C: apply John's patch for #93.
9926 2002-07-05 Angus Leeming <leeming@lyx.org>
9928 * BufferView_pimpl.C (buffer): generate previews if desired.
9930 * LColor.h: add "preview" to the color enum.
9932 * LColor.C (LColor): add a corresponding entry to the items array.
9934 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9937 2002-07-05 Angus Leeming <leeming@lyx.org>
9939 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9940 The body of the code is now in the method that is passed an ostream &
9941 rather than a file name.
9942 Pass an additional only_preamble parameter, useful for the forthcoming
9945 2002-07-03 André Pönitz <poenitz@gmx.net>
9947 * lyxfunc.C: simplify getStatus() a bit for math stuff
9949 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9951 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9953 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9955 * text.C (changeRegionCase): do not change case of all the
9956 document when region ends at paragraph end (bug #461)
9958 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9960 * paragraph.C (startTeXParParams):
9961 (endTeXParParams): add \protect when necessary
9963 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9965 * BufferView_pimpl.C (workAreaExpose): remove warning
9967 2002-06-27 Angus Leeming <leeming@lyx.org>
9969 * Makefile.am: add lyxlayout_ptr_fwd.h.
9971 2002-06-26 André Pönitz <poenitz@gmx.net>
9973 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9975 2002-06-25 Angus Leeming <leeming@lyx.org>
9977 * lyxfunc.C (dispatch): Comment out the call to
9978 grfx::GCache::changeDisplay. The method no longer exists now that the
9979 pixmap generation part of the graphics loader has been moved into
9982 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9984 * text2.C: layout as layout
9986 * text.C: layout as layout
9988 * tabular.C (OldFormatRead): layout as layout
9990 * paragraph_pimpl.C (TeXDeeper): layout as layout
9991 (realizeFont): layout as layout
9993 * paragraph.C (writeFile): layout as layout
9994 (validate): layout as layout
9995 (getFont): layout as layout
9996 (getLabelFont): layout as layout
9997 (getLayoutFont): layout as layout
9998 (breakParagraph): layout as layout
9999 (stripLeadingSpaces): layout as layout
10000 (getEndLabel): layout as layout
10001 (getMaxDepthAfter): layout as layout
10002 (applyLayout): layout as layout
10003 (TeXOnePar): layout as layout
10004 (simpleTeXOnePar): layout as layout
10005 (TeXEnvironment): layout as layout
10006 (layout): layout as layout
10007 (layout): layout as layout
10009 * lyxtextclass.C (compare_name): new functor to work with
10010 shared_ptr, layout as layout
10011 (Read): layout as layout
10012 (hasLayout): layout as layout
10013 (operator): layout as layout
10014 (delete_layout): layout as layout
10015 (defaultLayout): layout as layout
10017 * lyxlayout_ptr_fwd.h: new file
10019 * lyxlayout.C (Read): layout as layout
10021 * lyx_cb.C (MenuInsertLabel): layout as layout
10023 * bufferlist.C (newFile): layout as layout
10025 * buffer.C (readLyXformat2): layout as layout
10026 (parseSingleLyXformat2Token): layout as layout
10027 (insertStringAsLines): layout as layout
10028 (asciiParagraph): layout as layout
10029 (latexParagraphs): layout as layout
10030 (makeLinuxDocFile): layout as layout
10031 (simpleLinuxDocOnePar): layout as layout
10032 (makeDocBookFile): layout as layout
10033 (simpleDocBookOnePar): layout as layout
10034 (getLists): layout as layout
10036 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10038 * CutAndPaste.C (cutSelection): layout as layout
10039 (pasteSelection): layout as layout
10040 (SwitchLayoutsBetweenClasses): layout as layout
10042 * BufferView_pimpl.C (Dispatch): layout as layout
10043 (smartQuote): layout as layout
10045 * BufferView2.C (unlockInset): layout as layout
10047 2002-06-24 André Pönitz <poenitz@gmx.net>
10049 * lyxfunc.C: fix #487
10051 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10055 * lyxfunc.C: remove display_shortcuts, show_banner
10057 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10059 * Buffer_pimpl.C: oops, update on resize
10061 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10068 * BufferView.C: use repaint()
10070 * BufferView_pimpl.h:
10071 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10072 as it's a clearer description. Remove superfluous
10075 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10077 * text.C: fix bug 488. Not ideal, but getting
10078 getWord() to work properly for the insets that
10079 matter is more difficult ...
10081 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10083 * BufferView_pimpl.C:
10086 * lyxfunc.C: remove the six million index lyxfuncs to just
10087 one, and DTRT (bug 458)
10089 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10093 * BufferView_pimpl.h:
10094 * BufferView_pimpl.C: clean up resize() stuff,
10095 and unnecessary updateScreen()s
10097 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10101 * BufferView_pimpl.h:
10102 * BufferView_pimpl.C:
10105 * minibuffer.C: remove focus management of workarea,
10106 not needed. Use screen's greyOut()
10108 2002-06-17 Herbert Voss <voss@lyx.org>
10110 * converter.C: (convert) do not post a message, when converting
10111 fails, let the calling function decide what to do in this case
10113 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10115 * lyxfunc.C: tidy up a little
10117 2002-06-16 <alstrup@diku.dk>
10119 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10120 Got rid of FORMS_H_LOCATION include. Now we are
10123 2002-06-15 LyX Development team <lyx@rilke>
10125 * buffer.[Ch] (sgmlOpenTag):
10126 (sgmlCloseTag): Added support for avoiding pernicious mixed
10127 content. Return number of lines written.
10129 (makeLinuxDocFile):
10130 (makeDocBookFile): Fixed calls to sgml*Tag.
10131 Simple white space clean.
10133 (simpleDocBookOnePar): Simple white space clean.
10135 * tabular.[Ch] (docBook): Renamed to docbook and got another
10136 argument to related with the pernicious mixed content.
10138 (docbookRow): Fixed calls for docbook inset method.
10140 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10142 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10143 so it's X11 independent.
10147 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10149 2002-06-15 Lyx Development team <lyx@electronia>
10151 * intl.h: Renamed getTrans to getTransManager.
10153 2002-06-14 Angus Leeming <leeming@lyx.org>
10155 * Makefile.am: nuke forgotten stl_string_fwd.h.
10157 2002-06-12 Angus Leeming <leeming@lyx.org>
10159 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10161 2002-06-13 Angus Leeming <leeming@lyx.org>
10164 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10166 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10168 * kbmap.C (getiso): add support for cyrillic and greek
10170 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10174 * BufferView_pimpl.h:
10175 * BufferView_pimpl.C: move bogus scrolling logic
10178 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10181 * BufferView_pimpl.C: view->resize() change
10183 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10185 * BufferView_pimpl.C: topCursorVisible
10188 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10192 * lyx_gui.C: move to frontends/
10196 * lyx_main.C: changes from above
10198 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10205 * lyx_main.C: minor tidy
10207 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10209 * BufferView_pimpl.h:
10210 * BufferView_pimpl.C:
10212 * BufferView.C: make painter() const,
10215 * BufferView2.C: use screen() accessor
10218 * lyx_main.C: some minor cleanup
10220 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10222 * BufferView_pimpl.h:
10223 * BufferView_pimpl.C: remove enter/leaveView,
10226 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10231 * BufferView_pimpl.h:
10232 * BufferView_pimpl.C: only construct screen once,
10235 * lyxrc.C: remove pointless comment
10237 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10240 * BufferView.C: remove active() and belowMouse()
10242 * BufferView_pimpl.h:
10243 * BufferView_pimpl.C: use workarea() not workarea_,
10244 and make it use a scoped_ptr instead
10246 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10248 * lyx_gui.C: add debug message on BadWindow
10250 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10252 * sp_spell.C: fdopen is not part of the C++ standard.
10254 * paragraph.C (InsetIterator): use >= instead of ==
10256 2002-06-07 Angus Leeming <leeming@lyx.org>
10258 Fixes needed to compile with Compaq cxx 6.5.
10259 * BufferView_pimpl.C:
10266 * lyxtextclasslist.C:
10271 all c-library variables have been moved into namespace std. Wrap
10272 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10277 Add a using std::abs declaration.
10279 * kbmap.h (modifier_pair):
10280 * paragraph.h (InsetTable, InsetList):
10281 * lyxfont.h (FontBits):
10282 type definition made public.
10284 * bufferlist.C (emergencyWriteAll): the compiler complains that
10285 there is more than one possible lyx::class_fun template to choose from.
10286 I re-named the void specialisation as lyx::void_class_fun.
10288 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10290 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10291 the compiler is is unable to find tostr in write_attribute.
10293 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10295 * buffer.C (sgmlError): hide #warning
10297 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10299 * xtl/*: get rid of xtl, which is not in use anyway
10301 * LyXAction.C (init):
10302 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10303 were unimplemented xtl experimentation
10305 2002-06-04 André Pönitz <poenitz@gmx.net>
10307 * lyxfunc.C: disable array operation on simple formulae
10309 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10311 * converter.C: constify a bit
10313 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10315 * lyx_gui.C: check xforms version correctly
10317 2002-04-30 Herbert Voss <voss@lyx.org>
10319 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10322 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10324 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10325 attempt to register it with a VCS)
10327 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10329 * lyx_main.C (init): honor variables LYX_DIR_13x and
10332 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10336 * lyx_main.C: fix a crash on bad command line,
10337 and give a useful exit status on error
10339 * lyxfunc.C (doImport): allow -i lyx to work
10341 2002-03-30 André Pönitz <poenitz@gmx.net>
10343 * lyxfunc.C: mathed font changes
10345 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10360 * trans_mgr.h: srcdocs, and some minor cleanups
10362 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10364 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10365 call getFont all the time)
10367 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10369 * switch from SigC signals to boost::signals
10371 2002-05-29 André Pönitz <poenitz@gmx.net>
10373 * paragraph_pimpl.C (getChar): don't call size() too often...
10375 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10377 * paragraph_pimpl.C (insertChar): do not try to update tables when
10378 appending (pos == size())
10380 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10381 in order to reduce drastically the number of comparisons needed to
10382 parse a large document
10384 2002-05-29 André Pönitz <poenitz@gmx.net>
10390 * textclasslist.[Ch]:
10391 * sp_ispell.h: whitespace change
10393 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10395 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10396 lyxaction directly now.
10398 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10402 * lyxvc.C: remove unused headers
10404 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10411 * undo_funcs.C: some cleanups. Use shared_ptr
10412 and a template for the undo stacks.
10414 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10416 * BufferView_pimpl.h:
10417 * BufferView_pimpl.C:
10424 * text2.C: use key_state/mouse_state
10426 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10428 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10431 * chset.C: change include order
10432 (loadFile): use boost regex and get rid of LRegex and LSubstring
10434 * Makefile.am (BOOST_LIBS): new variable
10435 (lyx_LDADD): use it
10437 * LaTeX.C: change include order.
10438 (scanAuxFile): use boost regex and get rid of LRegex and
10442 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10447 * FontInfo.C: moved to frontends/xforms/
10450 * FontLoader.C: moved into frontends for GUIIzation
10455 * lyxfunc.C: changes from above
10457 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10459 * LColor.C: remove spurious X include
10461 * BufferView_pimpl.C:
10466 * text2.C: move font metrics to frontends/
10468 2002-05-24 Juergen Vigna <jug@sad.it>
10470 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10471 setting the undo_cursor.
10473 * ParagraphParameters.h: include local includes first.
10475 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10477 * BufferView_pimpl.C:
10478 * BufferView_pimpl.h:
10482 * screen.C: move WorkArea into frontends/
10488 * BufferView2.C: move LyXScreen into frontends/
10492 * lyx_gui.C: move lyxlookup into frontends/xforms/
10494 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10497 * BufferView_pimpl.C:
10507 * bufferview_funcs.C:
10520 * vc-backend.C: move LyX/XFormsView into frontends/
10522 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10534 * text2.C: move Painter to frontends/
10536 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10538 * buffer.C: comment out some some code that depend upon lyx_format
10541 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10542 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10544 * buffer.h (NO_COMPABILITY): turn off compability
10546 * ColorHandler.C: include scoped_array.hpp
10548 * font.C: Use more specific smart_ptr header.
10551 * ShareContainer.h: ditto
10552 * lyx_main.h: ditto
10554 * FontInfo.h: ditto
10555 * BufferView_pimpl.h: ditto
10556 * ColorHandler.h: ditto
10558 * kbmap.C (defkey): change call to shared_ptr::reset
10560 2002-05-21 Juergen Vigna <jug@sad.it>
10562 * buffer.C (insertErtContents): fix to insert ert asis if it is
10563 non empty. Skip it completely if it contains only whitespaces.
10565 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10567 * BufferView_pimpl.C:
10568 * BufferView2.C: clear selection on paste (bug 393)
10570 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10572 * DepTable.C: include ctime
10574 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10576 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10578 2002-05-14 Juergen Vigna <jug@sad.it>
10580 * text.C (breakParagraph): fixed function to honor the keepempty
10581 layout in the right maner and also to permit the right breaking
10582 algorithm on empty or non empyt keepempty paragraphs.
10584 * paragraph.C (breakParagraph): we have to check also if the par
10585 is really empty (!size()) for isempty otherwise we do the wrong
10588 2002-05-10 Juergen Vigna <jug@sad.it>
10590 * buffer.[Ch] : The following are only changes to the ert
10591 compatibility read reading old LaTeX layout and font stuff and
10592 convert it to ERTInsets.
10594 * buffer.h: added isErtInset().
10596 * buffer.C (struct ErtComp): add a fromlayout bool to check
10597 if we're inside a LaTeX layout.
10598 (isErtInset): new helper function.
10599 (insertErtContents): look for other ert insets before this one
10600 and insert the contents there, so that we don't have subsequent
10601 ERT insets with nothing between them. This way we create only one
10602 inset with multiple paragraphs. Also check if we don't insert only
10603 spaces ' ' as they are ignored anyway afterwards in the .tex file
10604 so if we have only spaces we will ignore this latex part in the
10606 (parseSingleLyXformat2Token \\layout): better compatibility when
10607 reading layout-latex stuff.
10608 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10610 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10611 stuff after reading the inset only get the information back from
10614 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10616 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10618 * LaTeXFeatures.C (getBabelOptions): New method.
10620 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10622 * BufferView_pimpl.C (Dispatch): work around missing argument for
10625 2002-05-08 Juergen Vigna <jug@sad.it>
10627 * text.C (leftMargin): handle paragraph leftindent.
10629 * paragraph.C (writeFile): write the new \\leftindent tag.
10630 (validate): handle leftindent code.
10631 (TeXEnvironment): handle paragraphleftindent code again.
10633 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10635 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10636 for paragrap_extra indent code and new token \\leftindent.
10637 (latexParagraphs): handle the leftindent as environment.
10639 * ParameterStruct.h: added leftindent support.
10641 * ParagraphParameters.C (leftIndent): added support functions for
10642 the paragraph left indent.
10644 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10647 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10649 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10652 * text.C (computeBidiTables): No bidi in insetERT.
10654 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10657 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10659 * version.C.in: pre 5
10661 2002-05-02 José Matos <jamatos@fep.up.pt>
10662 * buffer.C (makeDocBookFile): white space changes, add newline to
10664 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10666 * tabular.C (docBook): fix typo.
10668 2002-05-03 Juergen Vigna <jug@sad.it>
10670 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10671 change in LyXText as we can not be sure it was not freed.
10672 (drawOneRow): remove unused code.
10674 * text.C (drawInset): redo the calculation of the need_break_row as
10675 it could have a row which was already freed.
10676 (draw): look at the return value of drawInset and return false if
10677 it also returned false.
10678 (paintRowText): look at the return value of draw and return false if
10679 it also returned false.
10681 * lyxtext.h: added bool return type to drawInset() and draw() so that
10682 if we have a change in the row so that the rowbreak has to be redone
10683 we abort drawing as it will be called again.
10685 2002-05-02 Juergen Vigna <jug@sad.it>
10687 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10688 a change in the maintext also if we're inside an inset.
10689 (Dispatch): set the cursor again after a break line and after the
10690 screen has been updated as it could be we're in a different row.
10692 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10693 to set the cursor behind the pargraph with > size().
10694 (setCursor): check also for the same paragraph when checking where
10695 to put the cursor if we have a NFR inset.
10697 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10698 parts of layout read further up as it still was in the wrong
10701 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10703 * screen.C (drawFromTo): change sine fullRebreak always return
10706 * buffer.C (parseSingleLyXformat2Token): reindent some
10708 * BufferView_pimpl.C (update): change since fullRebreak always
10710 (Dispatch): git rid of the last hardcoded "Standard"s.
10712 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10714 * text2.[Ch] (fullRebreak): make it return void now that we always
10717 2002-04-30 Juergen Vigna <jug@sad.it>
10719 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10720 ert compatibility check for "latex" layout.
10722 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10724 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10725 minipages: use col% instead of p%, and also use the current font.
10726 (makeLaTeXFile): Fix use babel condition.
10727 (parseSingleLyXformat2Token): Correct font when reading old floats.
10729 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10731 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10732 inserting list of floats.
10734 2002-04-25 Herbert Voss <voss@lyx.org>
10736 * MenuBackend.C (expand): don't add the graphics extensions to the
10739 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10741 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10742 non-existing layout, do not complain if it was the default layout
10743 of the original class (bug #342)
10745 2002-04-24 Juergen Vigna <jug@sad.it>
10747 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10748 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10750 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10752 * buffer.C (getBibkeyList): If using \bibliography, return the
10753 option field with the reference itself. Enables us to provide natbib
10754 support when using \bibliography.
10756 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10758 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10760 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10761 natbib is provided by the LaTeX class.
10763 2002-04-23 Juergen Vigna <jug@sad.it>
10765 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10768 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10770 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10772 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10774 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10775 ensuremath around textordmasculine, textordfeminine and
10778 2002-04-19 Juergen Vigna <jug@sad.it>
10780 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10781 reinitializing the buffer otherwise row-dimensions may be wrong.
10782 (update): reset also the selection cursors if they do exits otherwise
10783 their x/y positions may be wrong.
10785 * text2.C (cursorDown): don't enter the inset if we came from a row
10786 above and are one row over the inset.
10788 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10789 really leaving an inset.
10791 2002-04-18 Juergen Vigna <jug@sad.it>
10793 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10794 of the selected paragraph does not have the selected layout also if
10797 * text2.C (setLayout): fixed bug which did not change last selected
10800 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10801 changed the read and substituted \\end_float with \\end_inset!
10803 * BufferView_pimpl.C (cursorPrevious):
10804 (cursorNext): fixed to make it work with rows heigher than the work
10805 area without moving the cursor only the draw of the row.
10806 (workAreaMotionNotify): fix jumping over high rows.
10808 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10810 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10813 2002-04-16 Juergen Vigna <jug@sad.it>
10815 * text2.C (setCursor): set also the irow().
10816 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10818 (cursorDown): support for locking an inset if the x_fix value goes
10819 inside it. That way I can transverse insets too with cursor up/down.
10821 * lyxrow.h: added irow helper function same as other (i) functions.
10823 * BufferView_pimpl.C (cursorPrevious):
10824 (cursorNext): fixed for insets!
10826 2002-04-15 Juergen Vigna <jug@sad.it>
10828 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10829 position otherwise it is wrong in some cases.
10831 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10832 inside the inset before the call.
10834 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10836 * buffer.[Ch] (getBibkeyList): make it const.
10838 2002-04-12 Juergen Vigna <jug@sad.it>
10840 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10842 * text2.C (getCursorX): new helper function
10843 (setCursor): compute also ix_
10844 (setCursorFromCoordinates): set also ix.
10846 * lyxcursor.h: added ix_ and helper functions.
10848 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10850 * buffer.C (insertStringAsLines): dont break paragraph if the this
10851 paragraph is inside an inset which does not permit it!
10853 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10854 also with no chars on this paragraph.
10855 (paintRowText): only paint stuff if it's inside the workarea!
10857 * paragraph.C (breakParagraph): honor keepempty flag and break the
10858 paragraph always below not above.
10860 * BufferView2.C (unlockInset): update the paragraph layout on inset
10861 unlock as we changed paragraph in such a case.
10863 * lyxfind.C (LyXFind): clear the former selection if not found!
10865 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10866 again called in insertChar().
10868 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10869 an inset which uses the whole row!
10870 (rightMargin): ditto.
10871 (insertChar): force a rebreak if we inserted an inset!
10873 2002-03-28 Herbert Voss <voss@lyx.org>
10875 * lyxlength.[Ch]: add inBP() to get the right PS-point
10876 units (BigPoint). With inPixels we have rounding errors
10878 2002-04-11 Juergen Vigna <jug@sad.it>
10880 * text2.C (setCursorFromCoordinates): set iy to the right value.
10881 (setCursor): add check if row->previous exists!
10883 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10884 an old float_type as this was the case in the old code!
10886 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10888 * BufferView2.C (showLockedInsetCursor): use iy
10889 (fitLockedInsetCursor): ditto
10891 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10892 locked insets as there we have the right value now.
10894 * lyxcursor.C: added iy_ variable and iy functions to set to the
10895 baseline of cursor-y of the locked inset.
10897 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10898 (setCursor): fixed for insets which need a full row.
10900 * text.C (rowLastPrintable): don't ignore the last space when before
10901 an inset which needs a full row.
10902 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10903 as last character of a row when before a inset which needs a full row.
10905 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10907 * version.C.in: update date
10909 * text2.C (fullRebreak): try to always return true and see what
10912 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10914 * MenuBackend.C (expand): use Floating::listName
10916 * FloatList.C (FloatList): add listName argument to the built-in
10919 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10920 text associated with the float.
10922 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10924 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10926 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10928 * ShareContainer.h: add a couple of missing typenames.
10930 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10932 * lyxrc.C (getDescription): use _() correctly rather than N_().
10934 2002-03-28 Herbert Voss <voss@lyx.org>
10936 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10937 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10939 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10941 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10942 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10944 2002-03-29 Juergen Vigna <jug@sad.it>
10946 * lyxfunc.C (dispatch): add a missing fitCursor call.
10948 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10949 it was scrolled by a cursor move, so return the bool status.
10951 * BufferView.C (fitCursor): return the bool flag also to the outside
10952 world as this is needed.
10954 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10956 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10957 call the edit() as it is not needed (and wrong) IMO.
10958 (workAreaButtonPress): set the screen_first variable before evt.
10959 unlock the inset as this may change screen_first and then we have
10960 a wrong y position for the click!
10962 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10964 * MenuBackend.C (expand): another translation that I missed
10966 2002-03-28 Juergen Vigna <jug@sad.it>
10968 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10970 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10972 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10974 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10976 * MenuBackend.C (expand): fix export/view/update when there is no
10979 2002-03-27 Herbert Voss <voss@lyx.org>
10981 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10984 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10986 * bufferview_funcs.C (currentState): only show paragraph number
10987 for is DEVEL_VERSION is set.
10989 * lyxfunc.C (dispatch): put warning in INFO channel
10991 * MenuBackend.C (expand): translate the name of floats
10993 * FloatList.C (FloatList): mark the float names for translation
10995 * converter.C (convert): use LibScriptSearch
10997 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10999 * MenuBackend.C (defaults): fix default menu (we might as well get
11002 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11004 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11007 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11009 * lyxvc.C: reorder includes.
11011 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11013 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11016 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11018 * CutAndPaste.C: change layouts earlier on paste
11019 to avoid crashing when calling getFont()
11021 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11023 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11026 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11028 * WorkArea.C: remove 'Pending' debug message.
11030 * most files: ws cleanup
11032 * buffer.[Ch]: ws changes
11034 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11036 2002-03-21 Juergen Vigna <jug@sad.it>
11038 * tabular.C (SetMultiColumn): collapse also the contents of the
11039 cells and set the last border right. Added a Buffer const * param.
11041 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11043 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11046 2002-03-19 Juergen Vigna <jug@sad.it>
11048 * text2.C (clearSelection): reset also xsel_cache.
11050 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11051 where it needs to be called (John tells us to do so too :)
11052 (selectionLost): reset sel_cache.
11054 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11056 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11058 * text2.C (setCursorIntern): put debuging code in INSETS channel
11060 2002-03-19 André Pönitz <poenitz@gmx.net>
11062 * lyxfunc.C: tiny whitespace change
11064 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11066 * ToolbarDefaults.C (init):
11067 * LyXAction.C (init):
11069 * BufferView_pimpl.C (Dispatch):
11070 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11072 2002-03-19 Allan Rae <rae@lyx.org>
11074 * exporter.C (Export): removeAutoInsets before doing anything else.
11075 While I've just introduced a dependency on BufferView this really is
11076 the best place to clean the buffer otherwise you need to cleanup in
11077 a dozen places before calling export or cleanup in a dozen functions
11080 * converter.C (runLaTeX):
11081 (scanLog): Better handling of removeAutoInsets and screen updates.
11083 * lyxfunc.C (dispatch): small whitespace changes
11085 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11087 * WorkArea.C (C_WorkAreaEvent): return a value.
11088 (event_cb): return 1 if we handled the event, 0 otherwise.
11090 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11092 2002-03-18 Juergen Vigna <jug@sad.it>
11094 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11095 (GetAdditionalWidth): ditto.
11096 (RightLine): ditto.
11099 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11100 inset if we're there actually (probably not used right now but this
11101 is the direction to go for unifying code).
11102 (paste): disable code to clear the selection.
11104 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11105 inside an InsetText and move the check further up as it is in the
11108 * text2.C (pasteSelection): set a selection over the pasted text.
11110 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11112 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11113 and libgraphics to build on Cygwin.
11115 2002-03-15 Juergen Vigna <jug@sad.it>
11117 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11118 inserting an Inset into the paragraph. I know this is not the best
11119 fix but we already use current_view in CutAndPaste so we will remove
11120 all of it's using at the same time.
11122 * buffer.C (sgmlError): deactivated function till it is rewritten in
11123 the right mode, now it can create problems.
11125 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11126 before accessing it.
11128 2002-03-14 Juergen Vigna <jug@sad.it>
11130 * undo_funcs.C (textHandleUndo): do the right thing when updating
11131 the inset after the undo/redo.
11133 * text2.C (setCursor): just some testcode for #44 not ready yet.
11135 * undo_funcs.C (textHandleUndo): set the next() and previous()
11136 pointers of the paragraph to 0 before deleting otherwise we have
11137 problems with the Paragraph::[destructor].
11139 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11140 on a paragraph insertion.
11142 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11144 * buffer.C (asciiParagraph): use += operator for char append to
11147 * paragraph.C (getFontSettings): compare >= not just >
11148 (highestFontInRange): ditto
11151 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11153 * paragraph.C: change several algorithm to be more appripriate for
11154 the problem domain. This is lookip in FontList and in the InsetList.
11156 2002-03-13 André Pönitz <poenitz@gmx.net>
11159 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11161 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11166 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11168 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11170 * Painter.C (display): anon helper function, adjust code for this
11172 (pixmap): remove function.
11174 * Painter.h: remove private display variable.
11176 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11178 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11180 * WorkArea.[Ch]: remove figinset_canvas cruft.
11182 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11184 * lyxtextclass.C (operator): add one item cache optimization.
11186 * bufferlist.h: doxy changes
11188 * bufferlist.C: ws changes
11190 * DepTable.[Ch] (ext_exist): place const in the right spot.
11192 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11194 (workAreaExpose): call resizeInsets when the with BufferView changes.
11195 (Dispatch): adjust for protectedBlank removal
11196 (specialChar): call updateInset if the insert went ok.
11198 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11199 specialChar instead.
11201 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11203 * BufferView.h: doxy change
11205 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11207 * lyxtextclass.C (operator[]): remove non-const version
11208 (defaultLayout): remove non-const version
11210 2002-03-12 Juergen Vigna <jug@sad.it>
11212 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11213 did resize the LyXText too.
11215 * buffer.C (readLyXformat2): set layout information on newly allocated
11218 * tabular.C (OldFormatRead): set layout information on the paragraph.
11220 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11222 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11224 2002-03-11 Juergen Vigna <jug@sad.it>
11226 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11228 (resizeCurrentBuffer): force also the insets to resize themselfes.
11229 (moveCursorUpdate): fixed up for InsetText.
11231 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11234 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11235 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11236 value of Dialogs::tooltipsEnabled().
11237 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11239 2002-03-08 Juergen Vigna <jug@sad.it>
11241 * BufferView_pimpl.C (updateInset): update inset inside inset also
11242 if it isn't inside theLockingInset().
11244 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11246 * buffer.C (asciiParagraph): redo some of the word and line length
11248 (getLists): look for Caption instead of caption.
11250 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11252 * buffer.C (Buffer): initialize niceFile to true
11254 (makeLinuxDocFile):
11255 (makeDocBookFile): make sure niceFile is true on exit
11257 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11259 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11261 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11263 * LyXSendto.C: remove.
11264 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11265 * lyx_gui.C: remove now-redundant comment.
11266 * ColorHandler.h: remove forward declaration of class WorkArea.
11267 * lyxfunc.C: remove #include "WorkArea.h".
11269 2002-03-07 Juergen Vigna <jug@sad.it>
11271 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11272 got moved away with the DEPM and also set the inset_owner always
11273 right which before could have been omitted.
11275 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11277 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11278 wanted layout is not found.
11280 2002-03-07 Juergen Vigna <jug@sad.it>
11282 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11284 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11286 * paragraph.C (breakParagraph): use default layout not layout of
11288 (Paragraph): clear ParagraphParameters.
11290 2002-03-06 Juergen Vigna <jug@sad.it>
11292 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11293 otherwise it would not be a valid lenght. Fixed a special case in
11294 the minipage compatibility read where we end the document with a
11297 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11298 was set as it could be 0 for InsetTexts first entry.
11300 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11302 * paragraph.C (writeFile): if layout is empty write out
11303 defaultLayoutName().
11305 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11306 file without named layout we set layout to defaultLayoutName().
11308 2002-03-06 Juergen Vigna <jug@sad.it>
11310 * CutAndPaste.C (copySelection): set layout for new paragraph.
11312 * text.C (prepareToPrint): leave ERT inset left aligned
11313 (leftMargin): don't indent paragraphs inside ERT insets
11315 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11317 * paragraph.C (breakParagraph): dont call clear do the work manually
11319 * paragraph.[Ch] (clear): remove function
11321 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11323 * paragraph.C (Paragraph): dont call clear, the work has already
11326 * lyxtextclass.C (operator): assert if n is empty
11328 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11329 work manually instead.
11331 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11333 * BufferView_pimpl.C: protect selectionLost against text == 0
11335 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11337 * text.C (breakParagraph): fix a setting layout to '0' problem.
11339 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11341 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11342 final location of file, for the included files, and graphics.
11344 2002-03-05 Juergen Vigna <jug@sad.it>
11346 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11348 2002-03-04 Juergen Vigna <jug@sad.it>
11350 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11352 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11353 last column of multicolumn cells.
11354 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11356 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11358 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11359 file if it doesn't go to a temporary file.
11361 * buffer.C (sgmlOpenTag):
11362 (sgmlCloseTag): remove extra newline insertion.
11364 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11366 * text.C (getRowNearY): comment out debug msg
11368 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11370 * text2.C: first -> first_y
11372 * text.C (getRowNearY): add some attemts at a possible
11373 optimization, not working.
11375 * tabular.[Ch]: add BufferParams to several function so that newly
11376 created paragraph can be initialized to he default layotu for the
11379 * tabular-old.C (ReadOld): add buf->params to call of Init
11381 * screen.C: rename text->first to text->first_y
11383 * paragraph.C (breakParagraph): always set layout in the broken
11386 * lyxtextclass.C (Read): remove lowercase
11389 (delete_layout): ditto
11391 * lyxtext.h: rename first -> first_y
11393 * lyxlayout.C (Read): remove lowercase
11396 (obsoleted_by): ditto
11398 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11400 * buffer.C (insertErtContents): add params are to InsetERT
11401 (parseSingleLyXformat2Token): add code to check if a paragraphs
11402 layout really exist.
11403 (parseSingleLyXformat2Token): add params to several inset
11405 (asciiParagraph): remove lowercase, do the layout comparisons with
11408 * BufferView_pimpl.C (cursorNext): first -> first_y
11409 (resizeCurrentBuffer): first -> first_y
11410 (updateScrollbar): first -> first_y
11411 (scrollCB): first -> first_y
11412 (workAreaMotionNotify): first -> first_y
11413 (workAreaButtonPress): first -> first_y
11414 (checkInsetHit): first -> first_y
11415 (cursorPrevious): first -> first_y
11416 (cursorNext): first -> first_y
11417 (Dispatch): add buffer_->params to severl inset contructors
11419 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11421 * lyxlayout.C (Read): remove some debug info that I forgot.
11423 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11424 clean up the code slightly.
11425 (makeLinuxDocFile): ditto
11426 (makeDocBookFile): ditto
11428 * text2.C: layout as string
11430 * text.C: layout as string
11432 * paragraph_pimpl.C: layout as string
11434 * paragraph.[Ch]: layout as string
11436 * lyxtextclasslist.[Ch]: layout as string
11438 * lyxtextclass.[Ch]: layout as string
11440 * lyxtext.h: layout as string
11442 * lyxlayout.[Ch]: layout as string
11444 * lyx_cb.C: layout as string
11446 * bufferview_funcs.C: layout as string
11448 * bufferparams.C: layout as string
11450 * buffer.C: layout as string
11452 * LyXView.[Ch]: layout as string
11454 * LaTeXFeatures.[Ch]: layout as string
11456 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11458 * BufferView_pimpl.C: change current_layout to string, remove
11463 (workAreaButtonRelease): layout as string
11465 * BufferView2.C (unlockInset): adjust
11467 * vspace.C (asLatexCommand): use an explict temp variable.
11469 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11471 * Makefile.am: use FRONTEND_*
11473 2002-03-01 Juergen Vigna <jug@sad.it>
11475 * tabular.C (SetWidthOfMulticolCell): changed to something better
11476 I hope but still work in progress.
11477 (recalculateMulticolumnsOfColumn): renamed function from
11478 recalculateMulticolCells as it is more appropriate now.
11479 (SetWidthOfCell): calculate multicols better.
11481 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11483 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11485 * lyxfunc.C (processKeySym): print sequence also if it is
11486 `deleted' (complete)
11488 * kbsequence.C (print): print sequence even if it is deleted
11489 (complete would be a better word, actually).
11491 * lyxfunc.C (dispatch): print complete options after a prefix key
11493 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11495 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11497 * text2.C (setCharFont): eliminate setCharFont code duplication.
11499 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11501 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11502 LFUN_TABULAR_FEATURE (bug #177)
11504 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11506 * Makefile.am: remove figure.h
11508 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11510 * Bufferview_pimpl.C:
11522 * text2.C: remove #include "lyx_gui_misc.h".
11524 * LaTeX.C: added #include <cstdio>
11526 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11528 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11529 that the paragraph following this one can have.
11531 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11533 * vspace.C (asLatexCommand): fix bogus gcc warning
11535 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11537 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11539 * text2.C (setLayout): get rid of redundant code
11541 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11543 * text2.C (incDepth): make sure depth cannot be increased beyond
11546 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11548 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11549 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11551 * PainterBase.h (image):
11552 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11553 a LyXImage const *.
11555 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11559 * BufferView_pimpl.C:
11560 * BufferView_pimpl.h:
11580 * sp_spell.C: remove fig inset, and the crap house of
11581 cards that follows it
11583 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11588 * os2_errortable.h:
11589 * nt_defines.h: move .h into support/
11591 * vms_defines.h: remove
11593 * WorkArea.C: add space in debug output
11597 * buffer.C: add WITH_WARNINGS
11601 * bufferlist.C: s/retrive/retrieve/, add docs
11610 * chset.C: add docs
11612 * lyxgui.C: add ID to X error handler
11614 * lyxtestclass.c: fix typo
11616 2002-02-26 Juergen Vigna <jug@sad.it>
11618 * tabular_funcs.C (write_attribute): changed so that some default
11619 attributes are not written at all.
11620 (getTokenValue): set default values before trying to read the
11621 value so we have the return value always set as default if we don't
11622 find the token we search for.
11624 * tabular.C (Write): write bools as bools not as strings!
11626 2002-02-22 Juergen Vigna <jug@sad.it>
11628 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11629 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11631 * text.C (leftMargin): don't add an indent for paragraphs inside
11632 tabular cells (fix #208).
11634 2002-02-21 José Matos <jamatos@fep.up.pt>
11636 * tabular.C (docBook): fixed support for long tables.
11638 2002-02-20 Juergen Vigna <jug@sad.it>
11640 * text2.C (getFont): get the drawing font of the Inset if this
11641 paragraph is inside an inset (only important for InsetERT for now).
11643 * buffer.C (insertErtContents): use new lanugage params in ERT
11646 * CutAndPaste.C: commenting out seemingly uneeded code.
11648 2002-02-19 Allan Rae <rae@lyx.org>
11650 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11651 Iterators might be simple to use but they also get invalidated.
11652 (removeAutoInsets): renamed saved cursor tracking variables and added
11653 some comments to clarify what everything does.
11655 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11662 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11663 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11666 * vc-backend.h: remove #include "support/syscall.h"
11670 * converter.C: rearrange #includes in Lars' approved fashion.
11672 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11673 forward declare class Timeout in the header file.
11675 * XFormsView.C: changes due to the above.
11677 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11678 similar to LyXView.
11680 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11681 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11683 2002-02-18 José Matos <jamatos@fep.up.pt>
11685 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11688 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11690 * a lot of small ws changes
11691 * add a lot of using std::XXX
11692 * use std construcs some places where approp.
11693 * use some exisint stuff from lyxfunctional where approp.
11694 * Make file changes to use partial linking (lets test this now...)
11696 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11700 remove #include "support/syscontr.h" as it's redundant. Always has been.
11708 change Systemcalls::System to Systemcalls::Wait and
11709 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11710 No change of functionality, just reflects the stripped down Systemcalls
11713 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11715 * debug.[Ch]: add a GRAPHICS type to the enum.
11717 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11719 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11721 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11724 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11726 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11727 match the changes below.
11729 * text2.C (toggleInset): if there is not editable inset at cursor
11730 position, try to see if cursor is _inside_ a collapsable inset
11733 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11735 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11736 document menu has a nice checkbox
11738 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11740 * lyxlength.C (asLatexString): change PW to output as percent of
11743 * lengthcommon.C: change '%' to 't%'
11745 * lyxfunc.C (dispatch): a few comments from Martin
11747 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11751 * BufferView_pimpl.h:
11752 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11755 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11757 * vspace.C (inPixels): fix compiler warning
11759 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11761 * lyxfunc.C (getStatus): fix status message for disabled commands.
11763 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11765 * BufferView_pimpl.C: fix crash on close buffer
11766 during selection (#227)
11768 2002-01-27 Herbert Voss <voss@lyx.org>
11770 * buffer.C: link old Figure to new graphic inset
11772 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11774 * FontLoader.C (getFontinfo): Change the latex font names in order
11775 to match the names of type1inst.
11777 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11779 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11781 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11782 (extchanged): ditto
11784 (remove_files_with_extension): ditto
11785 (remove_file): ditto
11788 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11789 document is smaller than the work area height. Do not initialize
11790 static variables to 0.
11792 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11794 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11796 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11797 LFUN_LAYOUT_PARAGRAPHS.
11799 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11800 tabular. It is possible to provide a possible cell, which will
11801 typically be the actcell from the corresponding insettabular
11803 * lyxfunc.C (getStatus): small cleanup; disable
11804 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11807 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11809 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11811 * paragraph.C (startTeXParParams):
11812 (endTeXParParams): new methods. The LaTeX code to
11813 start/end paragraph formatting
11814 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11815 empty (fixes bug #200)
11817 * vspace.C (inPixels): adapt to the change below
11818 (inPixels): [later] more cleanups (remove unused variables)
11820 * lyxlength.C (inPixels): change to use a width and a height as
11823 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11825 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11826 Replaced with \paperwidth
11828 * DepTable.C (insert): add std:: qualifier
11830 2002-01-18 Allan Rae <rae@lyx.org>
11832 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11835 * text.C (drawInset): Turned out I didn't know enough about how
11836 rebreaking worked. This fixes most of the redraw problems. I see
11837 an occasional cursor trail when a line is broken now and the cursor
11838 placement can seem out by a few pixels also after a rebreak.
11840 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11842 * buffer.C (parseSingleLyXformat2Token): update because minipage
11843 width is now a LyXLength
11845 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11847 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11850 2002-01-17 Juergen Vigna <jug@sad.it>
11852 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11854 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11855 is set correctly and the inset is updated correctly.
11857 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11859 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11860 the beginning of the loop.
11862 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11864 * lyxrc.C: improve help for use_scalable_fonts
11866 2002-01-17 Allan Rae <rae@lyx.org>
11868 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11870 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11872 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11873 make sure to set their inset_owner to the right value (bug #171)
11875 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11878 * DepTable.C: Implement mtime checking to reduce time spent doing
11881 2002-01-16 Juergen Vigna <jug@sad.it>
11883 * tabular.C (GetAdditionalHeight): one of error fixed.
11885 * lyxrc.C (output): small fix in writing use_pspell.
11887 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11889 * sp_base.h: #include LString.h
11891 2002-01-16 Allan Rae <rae@lyx.org>
11893 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11894 Can someone check this please?
11896 * text.C (drawInset): It was possible that p.row would be removed by
11897 breakAgainOneRow upsetting a few other settings. There may be another
11898 small tweak possible by setting need_break_row = 0 when p.row has been
11899 removed but I don't know enough about the logic here.
11901 2002-01-15 Allan Rae <rae@lyx.org>
11903 * text.C (insertChar): removed conditional truism.
11905 * BufferView2.C (removeAutoInsets): More tweaks.
11906 cur_par_prev could be a stray pointer. Check for trailing empty line
11907 in case last line was cur_par and only had an error inset on it.
11909 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11911 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11914 * vc-backend.C (most methods):
11915 * exporter.C (Export):
11916 * converter.C (convert):
11918 * LyXSendto.C (SendtoApplyCB):
11919 * lyxfunc.C (dispatch):
11923 * lyx_cb.C (AutoSave):
11925 * BufferView_pimpl.C (MenuInsertLyXFile):
11926 * buffer.C (runChktex): use Buffer::filePath().
11928 * buffer.h: rename filename to filename_; rename filepath to
11929 filepath_ and make it private
11930 (filePath): new method
11932 * buffer.C (writeFile): use fileName()
11935 * lyx_main.C (init): fix starting of LyX when the binary is a
11936 link from so,ewhere else.
11938 * minibuffer.C: include <cctype> for isprint
11940 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11942 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11943 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11944 name clash with InsetCollapsable's width function.
11946 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11948 * lastfiles.C: include <iterator>
11950 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11952 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11955 * buffer.C (makeLaTeXFile): ditto.
11956 Also make loop operation more transparent.
11958 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11960 * ToolbarDefaults.C: remove trailing comma closing namespace.
11962 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11964 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11967 * trans.C (Load): comment out unused variable, allowed.
11969 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11971 * minibuffer.[Ch] (append_char): new method to recieve input from the
11972 drop-down completion browser. If a key was pressed, then recieve this
11973 char and append it to the existing string.
11974 (peek_event): modify the positioning data passed to the completion
11975 browser so that it can be placed above the minibuffer rather than below.
11976 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11978 * LyXAction.C (init): alloe error-next for readonly documents.
11980 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11983 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11985 * bufferlist.C (readFile): create the buffer _after_ checking that
11988 * lyxfunc.C (verboseDispatch): fix handling of arguments
11990 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11992 * lyxrc.C: use string::erase() instead of initializing to "".
11995 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11997 * BufferView_pimpl.h:
11998 * BufferView_pimpl.C:
12001 * text2.C: tell X when we have made a selection for copying
12003 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12005 * BufferView_pimpl.C (MenuInsertLyXFile):
12006 * lyxfunc.C (menuNew):
12008 (doImport): add shortcuts to directory buttons
12010 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12013 * lyxfunc.C (setStatusMessage):
12014 (getStatusMessage): new methods
12015 (getStatus):use setStatusMessage instead of setErrorMessage
12016 (dispatch): when function is disabled, set error message here
12017 [instead of in getStatus previously]
12019 * BufferView_pimpl.C (workAreaButtonRelease): update
12020 toolbar/menubar here too.
12022 2002-01-13 Allan Rae <rae@lyx.org>
12024 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12025 Now seems indestructible. Remaining task is to audit all other
12026 code affected by deleteEmptyParagraphMechanism. One small quirk
12027 left is that an empty document with an error in the preamble can
12028 be made to report an error but no error box appears. I don't know
12030 (removeAutoInsets): Improved comments.
12032 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12035 * Thesaurus.C: update for Aiksaurus 0.14
12037 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12039 * text2.C (firstParagraph): removed member function, all uses
12040 replaces with ownerParagraph
12041 (redoParagraphs): here
12042 (updateInset): here
12043 (toggleAppendix): here
12044 * BufferView2.C (insertErrors): here
12045 (setCursorFromRow): here
12047 2002-01-13 Allan Rae <rae@lyx.org>
12049 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12050 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12051 There is still a way to segfault this although you may have to do this
12052 multiple times: Have an InsetERT with an unknown command in it.
12053 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12054 <down-arrow>, <Enter> again, View->DVI, BANG!
12056 * text2.C (setCursor):
12057 (deleteEmptyParagraphMechanism):
12058 * lyxtext.h (setCursor):
12059 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12060 Making use of the return value may help fix other bugs.
12062 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12064 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12066 * LyXView.C (updateMenubar): call MenuBar::update here
12067 (updateToolbar): but not here
12068 (showState): do not update toolbar/menubar
12070 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12071 should need to care about that.
12073 * lyxfunc.C (verboseDispatch): simplify a bit
12074 (getStatus): have a version which takes a pseudoaction, and
12075 another which requires a (kb_action,string).
12077 * LyXAction.C (retrieveActionArg): make it work also when action
12078 is not a pseudo-action.
12079 (getActionName): simplify a bit
12082 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12084 * lyxfunc.C (verboseDispatch): new families of methods with
12085 several ways to specify a command and a bool to indicate whether
12086 the command name and shortcut should be displayed in minibuffer
12087 (eventually, we could extend that to a finer bitmask like
12088 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12089 (dispatch): the pristine dispatch command which just, well,
12090 dispatchs! Note it still sets its result to minibuffer; I'm not
12093 * lyxfunc.h: remove setHintMessage
12095 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12097 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12099 * BufferView_pimpl.C (specialChar): delete new inset if we have
12100 not been able to insert it.
12102 * kbmap.C: revert to using int instead of kb_action, since all we
12103 are dealing with is pseudo-actions.
12105 * LyXAction.C (searchActionArg): change to return int instead of
12106 kb_action, since the result is a pseudoaction.
12108 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12110 * buffer.C (insertErtContents): Fix (partially) the font bug.
12112 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12114 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12115 as the other one is broken on my machine!
12117 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12120 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12122 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12124 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12125 reflect their actual use. Provide compatibility code for older lyxrc
12128 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12130 change names of popup font variables in line with the changes to lyxrc.C
12132 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12134 * buffer.C (asciiParagraph): avoid outputing a word twice after
12137 * lyxrc.C (getDescription): document that document_path and
12138 template_path can be empty.
12140 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12142 * LaTeXFeatures.C (getMacros):
12143 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12145 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12147 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12149 (getPackages): rename feature "floats" to "float". Use an array to
12150 iterate over 'simple' features (i.e. just a \usepackage). Add
12151 handling of "amsmath" (renamed from "amsstyle").
12153 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12155 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12158 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12160 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12161 FuncStaus::FuncStatus & FuncStaus::some_method().
12163 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12165 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12166 of the func_satus stuff. Edited and massaged in various ways by
12169 * lyxfunc.C (getStatus): use FuncStatus
12171 2002-01-08 Juergen Vigna <jug@sad.it>
12173 * text.C (nextBreakPoint): use function Inset::isChar().
12175 * paragraph.C (TeXOnePar): use function
12176 Inset::forceDefaultParagraphs.
12178 * buffer.C (latexParagraphs): use function
12179 Inset::forceDefaultParagraphs.
12181 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12183 * lyx_gui.C (init): set the style of the menu popups to
12184 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12186 2002-01-07 Juergen Vigna <jug@sad.it>
12188 * text.C (setHeightOfRow): small fix
12189 (prepareToPrint): don't look at alignment if we don't have the place
12192 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12194 * box.C: New file. Move the Box methods and functions out of box.h,
12195 following Lars' suggestion.
12197 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12199 * box.h: #include "support/LOstream.h", needed for inlined function.
12202 * lyxtextclasslist.C: added some using std declarations.
12204 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12206 * box.h: make signed dimensions to allow insets wider than
12207 the screen (bug #162)
12209 * BufferView_pimpl.C: add some insetHit debug
12211 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12213 * vc-backend.C: add FIXME
12215 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12217 * lyxfunc.C (getStatus): enable code for showing math font status
12220 2002-01-07 Juergen Vigna <jug@sad.it>
12222 * text.C (nextBreakPoint): removed debug output not needed anymore.
12224 2002-01-06 Juergen Vigna <jug@sad.it>
12226 * text.C (nextBreakPoint): fixed up this function we had this bug
12227 since ever but now hopefully we break row better.
12228 (insertChar): we have to check if an inset is the next char as it
12229 could now happen that a large inset is causing a break.
12231 2002-01-05 Juergen Vigna <jug@sad.it>
12233 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12234 if it doesn't like to be drawed.
12236 2002-01-04 Juergen Vigna <jug@sad.it>
12238 * BufferView2.C (lockInset): forgot to set a cursor.
12240 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12242 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12244 * FormMathsPanel.C:
12247 * form_maths_panel.C:
12248 * form_maths_panel.h:
12249 * form_maths_panel.fd: implemented sub- and super- buttons in math
12252 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12253 (or ^ space) to be used as in TeX (req'd by André).
12255 * lyxfunc.C: Allow ^ and _ again to be used both as
12256 super/subscript (mathed) and as themselves (in text).
12258 2002-01-03 Allan Rae <rae@lyx.org>
12260 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12261 "LyX" or the filename of the current buffer if it has one. This is a
12262 modified form of John Levon's patch.
12264 * XFormsView.C (setWindowTitle): also set icon title.
12266 * LyXView.h (setWindowTitle): signature changed.
12267 * XFormsView.h (setWindowTitle): ditto.
12269 2002-01-02 Juergen Vigna <jug@sad.it>
12271 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12273 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12275 * screen.C (topCursorVisible): introduce a temp var for
12276 text->cursor.row(), handle the case where this row is null. (kindo
12279 * text2.C (setCursor): add a couple of asserts.
12281 * paragraph.h (inset_iterator): add -> operator
12283 * paragraph.[Ch] (autoDeleteInsets): remove member function
12285 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12286 cursor pos correctly and handle inset deletion by itself.
12287 (insertErrors): move iterator declaration out of for expression
12289 * lyxtextclass.C: add <algorithm>
12291 * Makefile.am: added the new files to sources, removed layout.C
12293 * layout.C: removed file
12295 * layout.h: remove LYX_DUMMY_LAYOUT
12297 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12301 * lyxtextclass.[Ch]:
12302 * lyxtextclasslist.[Ch]: new files
12304 * include order changes to a lot of files, also changes because of
12307 2001-12-27 Juergen Vigna <jug@sad.it>
12309 * buffer.C (asciiParagraph): more fixes.
12311 * tabular.C (ascii): make ascii export support export of only the
12312 data separated by a column-delimiter.
12313 (ascii): better support for ascii export.
12315 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12317 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12319 * tabular_funcs.C: use a "using std::getline" instead of the
12320 previous fix from Angus (necessary for cxx + lyxstring)
12322 2001-12-24 Juergen Vigna <jug@sad.it>
12324 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12326 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12327 problems. First check a minipage also if we have some ert-contents
12328 (not only on par->size(), second set the right depth of the paragraph
12329 on the relink to the root-paragraph-list!
12331 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12332 which then did not anymore update the main paragraphs on undo/redo!
12334 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12336 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12337 code. Support all font-changing funcs (even those which are not in
12338 menu currently). Support for reporting font settings in
12339 mathed (disabled until Andre provides a function on mathed's side).
12341 * func_status.h (toggle): small helper function to set toggle
12344 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12346 * tabular_funcs.C: getline -> std::getline
12348 2001-12-21 Juergen Vigna <jug@sad.it>
12350 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12351 accessed and could be 0 (I couldn't generate this but it seems
12354 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12356 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12357 * tabular_funcs.h: here and include iosfwd
12359 2001-12-20 Juergen Vigna <jug@sad.it>
12361 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12362 inside inset but undo_par was.
12364 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12366 * Thesaurus.C: always include <config.h> in sources.
12370 * box.h: do not include <config.h> in header files
12372 * text.C (paintLastRow): remove unused variable
12374 * text.C (transformChar):
12376 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12378 * Painter.C (text):
12379 * font.C (width): rewrite to use uppercase() instead of
12382 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12384 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12386 * lyxfind.C: clean up of find failure position change
12388 2001-12-20 Juergen Vigna <jug@sad.it>
12390 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12392 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12393 (TeXRow): added to LaTeX a single tabular row.
12394 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12395 (Latex): simplified and finally good LT-h/f support.
12396 (various_functions): just small adaptions for LT-h/f support.
12398 * tabular_funcs.[hC]: added and moved here all not classfunctions
12401 2001-12-19 Juergen Vigna <jug@sad.it>
12403 * tabular.[Ch]: better support for longtabular options (not finished
12406 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12408 * text.C (paintLastRow): use the label font instead of the font of
12409 the last character to compute the size of *_BOX. This makes more
12410 sense and avoids a crash with empty paragraphs.
12411 Use Painter::rectangle to draw EMPTY_BOX.
12413 2001-12-19 Juergen Vigna <jug@sad.it>
12415 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12416 the paragraphs if the replaced paragraph is not the first one!
12417 Tried to delete not used paragraphs but does not work yet so for
12418 now it's inside #ifdef's and by default off!
12420 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12422 * MenuBackend.C: include "lyx_main.h" instead of declaring
12423 lastfiles (actually was declared as LastFiles* instead of a
12426 2001-12-17 Juergen Vigna <jug@sad.it>
12428 * tabular.C (AppendColumn): applied John's fix
12430 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12434 * BufferView_pimpl.h:
12435 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12438 * box.h: new start of class for above
12440 * lyxfunc.C: ignore space-only minibuffer dispatches.
12441 Show the command name when it doesn't exist
12443 * minibuffer.C: don't add empty lines to the history
12445 * minibuffer.C: add a space on dropdown completion
12447 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12449 * text.C: fix line above/below drawing in insets
12451 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12453 * lyxlength.C (LyXLength): Initialize private variables.
12455 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12457 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12458 when inserting error insets.
12460 2001-12-13 Juergen Vigna <jug@sad.it>
12462 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12463 actually sometimes the before-paragraph.
12464 (setUndo): don't clear the redostack if we're not actually undoing!
12466 2001-12-06 Juergen Vigna <jug@sad.it>
12468 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12469 and fixed redoing of main paragraph, so we can use it now ;)
12471 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12473 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12475 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12478 2001-12-13 André Pönitz <poenitz@gmx.net>
12481 * undo_func.C: minor cleanup
12483 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12485 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12486 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12487 font in urw-fonts package which is marked as -urw-fontspecific and
12488 does not work (incidentally, changing the encoding in the
12489 fonts.dir of this package to -adobe-fontspecific fixes the
12492 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12493 is a crash when undoing first paragraph (Juergen, please take a
12494 look). THis does not mean the undo fix is wrong, just that it
12497 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12498 the (Paragraph*) version when needed instead of duplicating the
12501 * text.C (workWidth): use Inset::parOwner to find out where the
12502 inset has been inserted. This is a huge performance gain for large
12503 documents with lots of insets. If Inset::parOwner is not set, fall
12504 back on the brute force method
12506 * paragraph_pimpl.C (insertInset):
12507 * paragraph.C (Paragraph):
12508 (cutIntoMinibuffer): set parOwner of insets when
12509 inserting/removing them
12511 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12513 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12519 * mathed/formulabase.C:
12520 * mathed/math_cursor.[Ch]:
12521 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12524 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12526 * lyxlength.[Ch] (operator!=): new function
12528 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12530 * text.C (workWidth): use Inset::parOwner to find out where the
12531 inset has been inserted. This is a huge performance gain for large
12532 documents with lots of insets. If Inset::parOwner is not set, fall
12533 back on the brute force method
12535 * paragraph_pimpl.C (insertInset):
12536 * paragraph.C (Paragraph):
12537 (cutIntoMinibuffer): set parOwner of insets when
12538 inserting/removing them
12540 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12542 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12544 * tabular-old.C (getTokenValue):
12545 * tabular.C (getTokenValue):
12546 (write_attribute): new versions for LyXLength
12547 (everywhere): adjust the use of widths
12549 * tabular.h: change the type of widths from string to LyXLength
12551 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12553 * paragraph.C: fixed missing line number count when exporting
12554 Environments to LaTeX file
12556 * buffer.C: added informational message for checking line numbers.
12558 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12560 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12561 paragraph, do the 'double space' part, but not the 'empty
12564 * text.C (workWidth): small optimization
12565 (getLengthMarkerHeight): use minimal size for negative lengths.
12567 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12569 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12571 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12573 2001-12-11 André Pönitz <poenitz@gmx.net>
12576 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12578 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12580 * text2.C: keep selection on a setFont()
12582 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12584 * lyx_cb.C: another bv->text misuse, from insert label
12586 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12589 * kbsequence.C: re-instate nmodifier mask
12591 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12593 * lyx_main.h: make lyxGUI private.
12595 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12597 * lyxfind.C: place the cursor correctly on failed search
12599 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12601 * text.C (getLengthMarkerHeight): for small heights, the arrows
12602 are not always on top/bottom of the text
12603 (drawLengthMarker): smaller arrows; take the left margin in
12604 account; draw also vfills.
12606 (paintLastRow): remove special code for vfill and standard spaces,
12607 since everything is handled in drawLengthMarker now.
12609 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12611 * buffer.C (insertErtContents): try to handle font and language
12612 interaction a bit better.g
12614 * ColorHandler.C (updateColor): change the hash to cover the whole
12615 LColor enum, ws cleanup
12616 (getGCLinepars): ditto
12617 (getGCLinepars): only lookup in the linecache once.
12619 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12621 * iterators.C (operator++): Make the iterator more robust
12623 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12625 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12627 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12630 * text.C: better added space drawing
12632 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12635 * BufferView2.C: fix layout combo update on inset unlock
12637 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12639 * Makefile.am: don't compile unused files
12641 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12645 * LyXAction.C: remove old LFUN_LAYOUTNO
12647 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12649 * paragraph_pimpl.h:
12650 * paragraph_pimpl.C: isTextAt() doesn't need font param
12652 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12655 * lyxlex.C: little cleanup
12657 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12659 * BufferView_pimpl.C: fix insertAscii for insets
12661 2001-12-05 Juergen Vigna <jug@sad.it>
12663 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12664 set the right font on the "multi" paragraph paste!
12666 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12672 * lyxlength.C: remove out-commented code.
12674 * BufferView_pimpl:
12688 * vc-backend.C: change "while(" to "while ("
12690 * lyxlength.[Ch]: add zero function to check if length is zero or
12692 * lyxgluelength.C: use it
12694 2001-12-05 Allan Rae <rae@lyx.org>
12696 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12697 Works for 2.95.3, from what I understand of Garst's reports this should
12698 work for other g++ versions. We're screwed if the abs(int) definition
12699 changed between bugfix releases of gcc.
12701 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12703 * text.C: fix chapter label offset !
12705 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12708 * text.C: fix hfill at end of line, clean up
12710 2001-12-04 Juergen Vigna <jug@sad.it>
12712 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12713 that we force an update of the inset and it's owners if neccessary.
12715 2001-12-03 Juergen Vigna <jug@sad.it>
12717 * text.C (rowLast): simplified code
12719 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12721 * lyxfunc.C: fix show options on timeout
12723 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12725 * screen.C (topCursorVisible): scroll half a page when the cursor
12726 reached top of bottom of screen
12728 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12730 * minibuffer.C: deactivate on loss of focus
12732 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12734 * vspace.[Ch] (operator!=): add operator.
12736 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12738 * BufferView_pimpl.C: refuse to open an inset when
12739 there's a selection.
12741 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12743 * BufferView_pimpl.C: allow to click on RHS of full row insets
12745 2001-11-30 Juergen Vigna <jug@sad.it>
12747 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12748 insets for undo reasons.
12750 2001-11-28 André Pönitz <poenitz@gmx.net>
12752 * vspace.[Ch]: cosmetical changes
12754 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12764 * kbsequence.C: part re-write of old kb code
12767 * WorkArea.C: remove Lgb_bug_find_hack
12769 2001-11-30 José Matos <jamatos@fep.up.pt>
12771 * buffer.C (makeDocBookFile): add a comment to point a hack.
12772 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12773 Fixed a double write of labels.
12775 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12778 * LaTeX.h Fixed bug in LaTeX class where it would not
12779 re-run latex if no depfiles were changed, but the .dvi was removed.
12781 2001-11-28 André Pönitz <poenitz@gmx.net>
12783 * all the files from the change on 2001/11/26:
12784 use lyx::layout_type instead of LyXTextClass::size_type
12785 use lyx::textclass_type instead of LyXTextClassList::size_type
12787 2001-11-29 Juergen Vigna <jug@sad.it>
12789 * text.C: added support for paragraph::isFreeSpacing()
12791 * buffer.C: same as above
12793 * paragraph.h: inserted isFreeSpacing() function to enable
12794 FreeSpacing inside InsetERT.
12796 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12797 of the paragraph's in the cut/copy buffer to 0!
12799 * text2.C (removeRow): remove the assert as it can!
12801 * lyxtext.h: added helper function firstRow returning firstrow and
12802 made firstrow private again.
12804 * BufferView2.C (lockInset): don't relock if we're already locked!
12806 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12807 the only paragraph.
12808 (removeRow): added Assert::(firstrow)
12810 * debug.C: forgot to add INSETTEXT here.
12812 2001-11-28 Juergen Vigna <jug@sad.it>
12814 * sp_spell.C (initialize): changed error text to more general
12815 spellchecker command use (not only ispell!)
12817 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12819 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12821 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12823 * vspace.C: initialise lyxgluelength on failure
12825 2001-11-28 Allan Rae <rae@lyx.org>
12827 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12828 declaration & definition that looks like a function declaration.
12830 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12832 * BufferView2.C (copy):
12833 (copyEnvironment): do not clear the selection when doing a copy.
12835 * text.C (paintFirstRow): compilation fix
12837 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12839 * tabular.C (Latex): correct line count when writing latex.
12841 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12843 * paragraph_pimpl.h:
12844 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12847 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12851 * LColor.C: change vfillline->added_space
12853 * text.C: add markers and text for added space
12855 * vspace.C: fix comment
12857 2001-11-28 André Pönitz <poenitz@gmx.net>
12859 * paragraph.C: whitespace changes
12860 * all the other files from the change on 2001/11/26:
12861 change *::pos_type into lyx::pos_type
12863 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12865 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12866 language of the document when inserting error insets.
12868 2001-11-26 André Pönitz <poenitz@gmx.net>
12870 * BufferView_pimpl.[Ch]:
12878 * paragraph_pimpl.[Ch]:
12881 * text2.C: reduce header dependencies, introduce type for positions
12883 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12885 * <various>: change to use Alert.h
12887 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12889 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12890 when encountering an unknown token.
12891 (readLyXformat2): Show an error message if there were unknown tokens.
12893 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12896 * BufferView_pimpl.C:
12900 * text2.C: use par->isInset()
12902 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12904 * paragraph_pimpl.h:
12905 * paragraph_pimpl.C: cleanup
12907 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12909 * text2.C (removeRow):
12910 * text.C (setHeightOfRow): remove useless (and costly) call to
12913 2001-11-20 Allan Rae <rae@lyx.org>
12915 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12916 Now need Inset*::checkInsertChar() to return true for appropriate
12917 cases so that the characters in the minibuffer will actually be
12920 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12922 * text.C: change the order of the includes.
12923 (workWidth): initialize it at once.
12924 (workWidth): make maxw unsigned
12925 (setHeightOfRow): remove unused variable (inset)
12926 (selectSelectedWord): remove unused variable (inset)
12927 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12929 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12931 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12932 server is not running.
12934 (closeConnection): add debug info when server is disabled.
12936 * ColorHandler.C (getGCForeground): send debug message to GUI
12939 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12941 * kbmap.C (bind): modify because return conventions of
12942 kb_sequence::parse have changed.
12944 * kbsequence.C (parse): only ignore spaces and not any stupid
12945 control character. This avoids tests like s[i] <= ' ', which are
12946 guaranteed to fail with 8bit characters and signed chars.
12947 Change return code to string::npos when there have been no error
12948 (0 was a bad idea when error is at first character)
12950 2001-11-14 José Matos <jamatos@fep.up.pt>
12953 * buffer.C (simpleDocBookOnePar): removed unused argument.
12955 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12957 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12958 insets which are part of a word. Paragraph::isLetter takes care of
12959 that now. Use Paragraph::isInset to identify insets.
12960 (selectSelectedWord): do not test for hyphenation break.
12962 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12963 that protected spaces are considered as spaces.
12965 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12968 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12971 * lyxserver.C: fix it. and small cleanup.
12973 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12975 * BufferView_pimpl.C: use inline helpers
12978 * LaTeXFeatures.C: fix typos
12981 * Spacing.C: move spacing_string into class
12983 * ToolbarDefaults.C: move stuff into namespace anon
12985 * layout.h: update enum
12987 * lyxfunc.C: use better debug
12989 * minibuffer.h: fix typo
12993 * WorkArea.C: add and use Debug::WORKAREA
12997 * text2.C: code re-organisation, inline helpers
12999 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13001 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13002 std::vector.empty().
13004 2001-11-09 Allan Rae <rae@lyx.org>
13006 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13007 '\n's after tables. Tabular and ERT inset work now makes this no
13010 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13013 * minibuffer.C: fix crash, improve drop-down completion
13015 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13018 * lyxserver.C: invalidate fd's when doing endPipe()
13020 2001-11-08 José Matos <jamatos@fep.up.pt>
13022 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13023 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13026 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13028 2001-11-07 José Matos <jamatos@fep.up.pt>
13031 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13034 * buffer.C (sgmlOpenTag):
13035 * buffer.C (sgmlCloseTag): removed debug info.
13037 * buffer.h (sgmlOpenTag):
13038 * buffer.h (sgmlCloseTag): made public.
13040 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13042 * buffer.C (saveParamsAsDefaults):
13043 * lyx_cb.C (MenuLayoutSave): remove
13045 * LyXAction.C (init):
13047 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13049 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13051 * buffer.C (setPaperStuff): removed from here...
13053 * bufferparams.C (setPaperStuff): ... and moved there.
13055 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13059 * XFormsView.C: add support for drop-down completion
13061 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13063 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13066 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13068 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13071 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13073 * lyx_main.C: change ref to known bugs
13075 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13077 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13078 to work around older babel problems.
13080 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13082 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13084 2001-10-24 Juergen Vigna <jug@sad.it>
13086 * tabular-old.C (ReadOld): below variable changes reflected.
13088 * tabular.[Ch]: added ltType struct for longtable header/footer
13089 defines and changed all instances where they are used. Added
13090 future support for double top/bottom rows.
13092 2001-10-24 José Matos <jamatos@fep.up.pt>
13094 * buffer.h (docbookHandleCaption):
13095 * buffer.C (docbookHandleCaption): removed unused function.
13096 (makeDocBookFile): moved docbook supported version to v4.1.
13098 2001-10-24 José Matos <jamatos@fep.up.pt>
13101 * tabular.C (docbookRow): new function to export docbook code of a row.
13102 (DocBook): now honors the longtable flags.
13104 2001-10-23 José Matos <jamatos@fep.up.pt>
13107 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13108 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13110 * buffer.C (makeLinuxDocFile):
13111 (makeDocBookFile): reworked the preamble, more clean, and with
13112 support for lyx defined entities. Changed the document declaration
13113 to be more XML friendly.
13115 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13116 if we need to output XML that should be done with a filter.
13118 2001-10-22 Juergen Vigna <jug@sad.it>
13120 * sp_pspell.h (class PSpell): add alive function needed in the
13121 controller to see if the spellchecker could be started.
13123 2001-10-22 Juergen Vigna <jug@sad.it>
13125 * buffer.C (insertStringAsLines): modify the font for inserting
13126 chars in certain conditions by calling checkInsertChar(font).
13128 2001-10-19 Juergen Vigna <jug@sad.it>
13130 * text.C (workWidth): use getRow instead of wrong algorithm.
13131 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13133 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13138 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13140 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13142 * text.C (workWidth): do not search for the exact row when
13143 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13144 optimization for big documents.
13146 2001-10-18 Juergen Vigna <jug@sad.it>
13148 * text.C (workWidth): new function with added Inset * parameter.
13150 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13152 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13154 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13155 change return type of getColumnNearX.
13158 * text.C (changeRegionCase): use uppercase/lowercase instead of
13161 (rightMargin): simplify code by factoring out the uses of
13166 (appendParagraph): use Paragraph::size_type
13168 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13170 * vspace.C (asLatexString): add a missing break
13172 2001-10-15 Herbert Voss <voss@perce.de>
13174 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13176 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13178 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13181 2001-10-10 André Pönitz <poenitz@gmx.net>
13183 * lyxfunc.C: removed greek_kb_flag.
13185 2001-10-10 Herbert Voss <voss@perce.de>
13187 * lyx_main.C: delete global string help_lyxdir.
13189 2001-10-09 Herbert Voss <voss@perce.de>
13191 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13193 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13195 * lyx_main.C: added global string help_lyxdir.
13197 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13199 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13201 * lyxrc.C (set_font_norm_type): support iso8859-4
13203 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13205 * LaTeX.C (deplog): add another regex for MikTeX
13207 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13209 * lyxrc.C (set_font_norm_type): support iso8859-3
13211 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13213 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13215 * LaTeXFeatures.C: remove special case of french and index
13217 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13218 before \begin{document}). This solves several incompatibilities.
13220 2001-10-03 Garst Reese <reese@isn.net>
13222 * lyx_cb.C: change CheckTex error msg.
13224 2001-10-03 José Matos <jamatos@fep.up.pt>
13226 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13228 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13230 * .cvsignore: update
13232 * lyx_main.C (commandLineVersionInfo): use new style version info.
13234 * buffer.C (writeFile):
13236 (makeLinuxDocFile):
13237 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13239 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13241 * version.h: update to use stuff in version.C
13243 * version.C.in: new file. Contains version information determined
13244 at compile time. This is a merging of version.h and
13247 2001-10-03 Juergen Vigna <jug@sad.it>
13249 * BufferView_pimpl.C (update): don't change "dirty" status in
13252 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13254 * WorkArea.C (c-tor): re-position version string slightly.
13256 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13258 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13259 revert to previous code.
13261 WorkArea.[Ch]: (show, destroySplash): methods removed.
13263 WorkArea.C: rework code so that it's an amalgam of the codes before and
13264 after the splash screen was moved to WorkArea.
13266 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13269 * vspace.C (inPixels):
13272 * buffer.C (insertStringAsLines):
13273 (asciiParagraph): fix types to be large enough
13275 * lyxlex_pimpl.h: change member status from short to int
13277 * layout.h: fix type of endlabeltype
13280 * kbsequence.C (parse): change return type to string::size_type
13282 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13285 * Bullet.C (bulletSize):
13286 (bulletEntry): do not use short ints as parameters
13288 * BufferView2.C (insertLyXFile): change a char to an int.
13290 * WorkArea.C (WorkArea): remove unneeded floats in computation
13292 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13294 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13296 * paragraph.C (asString): Do not ignore newline/hfill chars when
13297 copying to the clipboard.
13299 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13301 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13302 after a multi-line inset.
13304 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13306 * paragraph.C (validate): Set NeedLyXFootnoteCode
13308 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13310 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13311 and decrease-error to decrease.
13313 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13315 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13316 it more readable (should be equivalent)
13318 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13320 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13322 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13324 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13325 of a cursor (row, etc.) after a character has been deleted
13326 (deleteEmptyParagraphMechanism): call the method above on _all_
13327 cursors held by the LyXText when a double space has been
13330 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13332 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13334 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13336 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13337 background. Use greyOut() and the new show() methods to toggle between
13338 the foreground and background. Add code to remove the splash after
13339 its initial showing.
13341 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13342 (create_forms): no longer call Dialogs::showSplash.
13344 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13346 * .cvsignore: add version_info.h
13348 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13350 * version_info.h.in: new file
13352 * Makefile.am: add version_info.h.in
13354 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13355 version_info.h instead of VERSION_INFO
13357 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13359 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13360 The ERT inset now returns string().
13362 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13364 * lyxtext.h, text.C (selectNextWord): renamed as
13365 selectNextWordToSpellcheck.
13367 * text.C (selectNextWordToSpellcheck): Modified to not select
13368 words inside an ERT inset.
13370 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13372 * lyx_cb.C (MenuLayoutSave): change a bit the question
13374 * sp_base.h: include <sys/types.h>
13376 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13378 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13380 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13382 * several files: fix typos in user-visible strings
13384 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13386 * text2.C (pasteSelection): do not set the selection, since it
13387 will be cleared later. Actually, the intent was to fix the way the
13388 selection was set, but I figured rmoving the code was just as good.
13390 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13392 * FontLoader.C (available): Check if font is available without
13395 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13397 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13399 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13401 * lyxrc.[Ch]: added display_graphics variable and associated code.
13403 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13405 * bufferparams.C (hasClassDefaults): new method. Returns true if
13406 the buffer parameters correspond to known class defaults
13408 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13410 * XFormsView.C (show): set minimum size to the main window.
13412 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13414 * text2.C (copySelection):
13416 * lyxfind.C (LyXReplace):
13417 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13418 LyXText::selectionAsString.
13420 * paragraph.C (asString): add "label" argument to the second form
13422 * text2.C (selectionAsString): add "label" argument and pass it to
13423 Paragraph::asString.
13425 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13427 * lyx_main.C (commandLineHelp): remove version information
13429 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13431 * lyx_main.C: add -version commandline option
13433 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13435 * paragraph.h: make the optional constructor arg required instead.
13436 some modifications to other files because of this.
13438 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13440 * lyxserver.C (C_LyXComm_callback): make it static
13442 * lyx_main.C (error_handler): make it static
13444 * lyx_gui.C (LyX_XErrHandler): make it static
13446 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13448 * WorkArea.C: make the extern "C" methods static.
13450 * Makefile.am (lyx_LDADD): simplify
13452 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13454 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13455 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13457 * LyXAction.C (init):
13458 * lyxfunc.C (dispatch): associated code removal.
13460 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13462 * lyxfont.h (isSymbolFont): shut off warning
13464 * text.C (setHeightOfRow):
13465 (getVisibleRow): fix crash with empty paragraphs which have a
13468 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13470 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13473 2001-09-04 José Matos <jamatos@fep.up.pt>
13476 * tabular.C (docbook): rename docBook method to docbook.
13478 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13480 * Makefile.am: add dependencies to main.o.
13482 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13484 * FontLoader.C (available): Return false if !lyxrc.use_gui
13486 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13488 * FontInfo.C (query):
13489 * converter.C (view):
13490 * importer.C (Import):
13491 * exporter.C (Export): Can not -> cannot.
13493 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13495 * BufferView_pimpl.C: allow to create index inset even if
13498 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13500 * buffer.C (getLists): replace boost::tie code with an explicit pair
13501 as boost::tie can break some compilers.
13503 * iterators.h: Added a std:: declaration to the return type of
13506 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13508 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13511 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13513 * iterators.[Ch]: New files. Provide paragraph iterators.
13515 * buffer.C (changeLanguage): Use paragraph iterators.
13516 (isMultiLingual): ditto
13518 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13520 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13522 * FontLoader.C: Support for cmr font.
13524 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13526 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13527 (available): New method.
13529 * FontInfo.C (getFontname): Use scalable fonts even when
13530 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13533 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13535 * converter.C (Formats::view): reverted! Incorrect fix.
13537 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13539 * converter.C (Formats::view): only output the -paper option
13540 if the dvi viewer is xdvi, thereby fixing bug #233429.
13542 2001-08-23 Herbert Voss <voss@perce>
13544 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13546 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13548 * Spacing.h (Spacing): Set space to Default on in the default
13551 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13553 * vc-backend.h (RCS::versionString): add RCS to version
13554 (CVS::versionString): add CVS to version
13556 * vc-backend.C (scanMaster): do not add CVS to version.
13557 (scanMaster): do not add RCS to version
13559 * lyxvc.C (versionString): new method
13561 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13563 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13565 * Spacing.C (set): initialize fval
13567 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13569 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13572 2001-08-16 Juergen Vigna <jug@sad.it>
13574 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13576 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13578 * BufferView_pimpl.C:
13581 * text2.C: setParagraph takes linespacing now
13583 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13585 * LyxAction.C: add internal LFUN_CITATION_INSERT
13587 * LyXView.C: actually apply fix
13589 * bufferlist.C: fix open non-existent file
13591 * lyxfind.C: fix indentation
13593 * lyxfunc.C: remove unneeded assert, fix typo
13595 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13597 * MenuBackend.C: use "Floatname List"
13599 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13601 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13602 when converting LaTeX layout to insetERT.
13603 Generate a non-collapsed float when reading old float
13605 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13607 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13610 2001-08-13 Juergen Vigna <jug@sad.it>
13612 * text.C (fill): return 0 instead of 20 as this seems to be the more
13615 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13617 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13620 2001-08-13 Juergen Vigna <jug@sad.it>
13622 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13624 (SearchBackward): comment out the unlocking of the inset_owner this
13625 should not be needed!
13627 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13629 * Many files: Remove inherit_language, and add latex_language
13631 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13632 collapsible insets.
13634 2001-08-10 Juergen Vigna <jug@sad.it>
13636 * text.C (prepareToPrint): fixed hfill-width in draw!
13638 * BufferView2.C (selectLastWord): save the selection cursor as this
13639 now is cleared in the function LyXText::clearSelection!
13641 2001-08-08 Juergen Vigna <jug@sad.it>
13643 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13644 BACKSPACE type functions.
13646 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13647 is only cutted from the document but not put in the cut-buffer, where
13648 still the old stuff should be.
13650 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13652 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13654 * tabular.C (SetWidthOfCell): fixed special case where the width
13656 (LeftLine): handle '|' in align_special.
13658 (LeftAlreadyDrawed): ditto
13659 (SetWidthOfCell): ditto
13661 2001-08-07 Juergen Vigna <jug@sad.it>
13663 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13665 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13667 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13668 * lyxlex.[hC]: ditto
13670 2001-08-06 Juergen Vigna <jug@sad.it>
13672 * text.C (getVisibleRow): fix up row clearing a bit.
13674 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13676 * minibuffer.C: make sure the X server sees the changes in the input.
13678 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13680 * paragraph.C (getFont): split into...
13681 (getLabelFont): this
13682 (getLayoutFont): and this
13683 * paragraph_pimpl.C (realizeFont): calling this
13685 * text2.C (getFont): split into...
13686 (getLayoutFont): this
13687 (getLabelFont): and this
13688 (realizeFont): all three calling this
13690 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13693 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13695 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13697 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13699 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13700 layouts from the Quote inset insertion.
13702 2001-08-03 Juergen Vigna <jug@sad.it>
13704 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13706 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13707 only if status not is already CHANGED_IN_DRAW (second level).
13709 * text.C (draw): don't set the need_break_row when inside an
13712 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13714 * buffer.C (parseSingleLyXformat2Token): handle more latex
13717 * bufferview_funcs.[hC]: change function names to
13718 begin with small char, adjust other files.
13720 2001-08-02 André Pönitz <poenitz@gmx.net>
13723 BufferView_pimpl.C: remove broken special code for math-greek
13725 2001-08-02 Juergen Vigna <jug@sad.it>
13727 * BufferView_pimpl.C (update): redone this function so that we
13728 update the text again if there was a CHANGE_IN_DRAW.
13730 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13731 (drawFromTo): added a new internal bool which is used by draw() and
13733 (general): some cursor drawing problems fixed.
13735 2001-08-01 Juergen Vigna <jug@sad.it>
13737 * lyxfind.C (LyXFind): fixed
13738 (SearchForward): ditto
13739 (SearchBackward): ditto
13741 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13742 spurius drawing of the cursor in the main area.
13744 * text2.C (status): small fix which could lead to a segfault!
13745 (clearSelection): remove unneeded BufferView param.
13747 2001-08-01 André Pönitz <poenitz@gmx.net>
13749 * lyxfunc.C: small change due to changed mathed interface
13751 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13753 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13755 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13757 * lyxfunc.c: fail gracefully if file doesn't exist
13762 * BufferView_pimpl.C: IsDirWriteable() proto changed
13764 * LyXView.C: fix updateWindowTitle() to store the last title
13766 2001-07-31 Juergen Vigna <jug@sad.it>
13768 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13769 the font (wrong since using of Paragraph::highestFontInRange).
13771 * paragraph.C (highestFontInRange): added a default_size parameter.
13773 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13774 (setHeightOfRow): reformat
13776 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13778 * converter.[hC] + affected files: move to (inital-char)lowercase
13781 * ParagraphParameters.C (ParagraphParameters): remove commented code
13783 * PainterBase.[Ch]: remove commented code
13785 * LaTeXFeatures.h: add "bool floats" for float.sty
13787 * LaTeXFeatures.C (LaTeXFeatures): init floats
13788 (require): handle float
13789 (getPackages): do it with floats
13791 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13793 * BufferView_pimpl.C (Dispatch): improve handling of
13794 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13796 * commandtags.h: #include lyxfont.h here temporarily to avoid
13799 * bufferlist.h: include LString.h here.
13801 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13803 * text2.C (getStringToIndex): new method.
13805 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13807 * *: Reduced header file dependencies all over.
13809 2001-07-30 Baruch Even <baruch@lyx.org>
13811 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13813 2001-07-29 Baruch Even <baruch@lyx.org>
13815 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13817 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13819 * ParameterStruct.h (endif): add a default constructor to make
13820 sure that all variables is initialized.
13822 * ParagraphParameters.C (ParagraphParameters): adjust
13824 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13826 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13827 index; also, check that there is something to index, and that it
13828 does not span over several paragraphs.
13829 (doubleClick): use WHOLE_WORD_STRICT for double click.
13831 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13833 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13836 2001-07-26 Baruch Even <baruch@lyx.org>
13838 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13839 an InsetFig figure, backwards compatible reading of old figure code.
13841 2001-07-27 Juergen Vigna <jug@sad.it>
13843 * text2.C: font.realize function adaption.
13845 * text.C (draw): add a warnings lyxerr text if needed.
13847 * layout.C: font.realize function adaption.
13849 * language.C: add inherit_language and implement it's handlings
13851 * bufferview_funcs.C (StyleReset): remove language parameter from
13852 font creation (should be language_inherit now).
13854 * bufferparams.C (writeFile): handle ignore_language.
13856 * paragraph.C (getFontSettings): the language has to be resolved
13857 otherwise we have problems in LyXFont!
13859 * lyxfont.C (lyxWriteChanges): added document_language parameter
13860 (update): removed unneeded language parameter
13862 * paragraph.C (validate): fixed wrong output of color-package when
13863 using interface colors for certain fonts in certain environments,
13864 which should not seen as that on the final output.
13866 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13868 * BufferView_pimpl.C:
13873 * LyXAction.C: add thesaurus support
13876 * lyxfind.C: add "once" parameter, for thesaurus, to not
13877 move to the next match
13879 2001-07-26 Juergen Vigna <jug@sad.it>
13881 * lyxfont.C (realize): honor ignore_language too!
13884 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13886 * text.C (draw): one place more for ignore_language to not draw
13889 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13891 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13893 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13895 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13896 the minipage conversion problem.
13898 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13900 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13903 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13905 * BufferView.h: don't forward declare WorkArea
13907 * BufferView.C: don't include WorkArea.h
13909 2001-07-25 André Pönitz <poenitz@gmx.net>
13913 * lyxfunc.C: new LFUN 'math-space'
13915 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13917 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13919 * text2.C (toggleInset): call open/close
13921 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13923 * lyxfunc.C (dispatch): add debug for the disabled case
13925 * font.C (buttonText): make similar to rectText
13927 * buffer.C (readInset): comment out parsing of insetlist and
13930 * PainterBase.C (rectText): small correction
13932 * BufferView_pimpl.C: comment out insettheorem and insetlist
13933 * LyXAction.C: ditto
13934 * commandtags.h: ditto
13936 2001-07-24 Juergen Vigna <jug@sad.it>
13938 * text.C (draw): honor the ignore_language.
13940 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13942 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13944 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13947 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13949 * lyxtext.h: remove unused (and unimplemented) methods
13951 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13953 * text.C (getVisibleRow): honor background color
13956 * Painter.h: remove default color argument for fillRectangle
13958 * text.C (backgroundColor): new method
13960 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13962 * text.C (getVisibleRow): adjust
13964 * font.[Ch] (rectText): new method, metrics
13965 (buttonText): new method, metrics
13967 * PainterBase.[hC]: make rectText and buttonText always draw and take
13970 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13972 * ToolbarDefaults.C (read):
13973 * MenuBackend.C (read): allow escaping in all strings
13975 * BufferView_pimpl.C (insertAndEditInset): new method.
13976 (Dispatch): use insertAndEditInset whenever appropriate.
13978 * BufferView_pimpl.C (insertNote): removed
13980 * BufferView_pimpl.C (smartQuote): new method, moved from
13981 BufferView; if an insetquote cannot be inserted, insert a '"'
13984 * BufferView2.C: remove insertCorrectQuote();
13986 * lyxfunc.C (getStatus): Add support for all remaingin
13987 inset-insert lfuns.
13989 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13991 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13992 command (necessary to pass " as parameter of self-insert.
13994 * text.C (selectWordWhenUnderCursor):
13995 (selectWord): add word_location parameter
13996 (selectWordWhenUnderCursor): same + remove special code for word
13998 (selectNextWord): use kind() to guess type of insetspecialchar,
14001 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14002 (insertErtContents): create ert insets as collapsed.
14003 (readInset): better compatibility code for Info inset.
14005 2001-07-20 Juergen Vigna <jug@sad.it>
14007 * lyxfunc.C (dispatch): use always LyXFind now!
14009 * text2.C (init): add a reinit flag so that the LyXText can be
14010 reinited instead of deleted and reallocated (used in InsetText).
14012 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14018 2001-07-18 Juergen Vigna <jug@sad.it>
14020 * text.C (selectNextWord): handle insets inside inset by calling
14021 always the bv->text functions so that we can go up the_locking_inset!
14023 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14024 in strange locations when inside an inset!
14026 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14027 handling to include insets.
14029 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14031 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14033 * LyXAction.C (init):
14035 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14036 LIGATURE_BREAK, since the name is so stupid.
14038 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14040 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14043 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14045 * sp_form.[Ch]: remove.
14047 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14049 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14052 * src/buffer.C (readInset): ditto.
14054 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14056 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14057 menuSeparator(), endOfSentenceDot(), ldots() and
14058 hyphenationPoint(), which are therefore removed.
14059 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14061 * LyXAction.C (init):
14062 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14064 * paragraph.C (getWord): removed.
14066 * BufferView_pimpl.C (Dispatch): use last word or selection for
14067 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14069 * lyx_main.C (queryUserLyXDir): do not ask before creating
14070 user_dir, except if it has been named explicitely.
14072 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14074 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14075 a document of zero size.
14077 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14079 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14080 approriately in the c-tor and in require().
14081 (getPackages): output the appropriate LaTeX for natbib support.
14083 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14084 variables "use_natbib" and "use_numerical_citations" when reading the
14086 (readInset): read the various natbib cite commands.
14087 (validate): white-space change.
14089 * bufferparams.[Ch]: new variables "bool use_natbib" and
14090 "bool use_numerical_citations".
14091 (writeFile): output them in the LyX file.
14093 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14095 * lyxfunc.C (getStatus): add support for all the inset insertion
14098 * text2.C (insertInset):
14099 * paragraph.C (insetAllowed):
14100 * BufferView_pimpl.C (insertInset): update to take in account the
14101 renaming of insertInsetAllowed
14103 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14105 * text2.C (getInset): new method. returns inset at cursor position.
14107 * BufferView_pimpl.C (Dispatch): changes because of this.
14109 * LyXAction.C (init): rename open-stuff to inset-toggle.
14111 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14113 * text2.C (toggleInset): renamed from openStuff; use
14116 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14118 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14120 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14122 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14124 * buffer.C (readLyXformat2): Add filename to the error dialog
14126 2001-07-18 Juergen Vigna <jug@sad.it>
14128 * tabular.C (GetCellNumber): put an assert here instead of the check!
14130 2001-07-17 Juergen Vigna <jug@sad.it>
14132 * BufferView_pimpl.C (toggleSelection): adapted too.
14134 * text.C (selectNextWord): adapted for use with insets.
14135 (selectSelectedWord): ditto
14137 2001-07-17 Juergen Vigna <jug@sad.it>
14139 * sp_spell.C (PSpell): fix initialitation order.
14141 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14143 * paragraph.C: spacing
14145 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14147 * sp_spell.C: repair language selection for pspell
14149 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14151 * lyxfunc.h: change more methods to begin with lower char.
14153 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14155 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14156 for unknown layouts.
14158 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14160 * buffer.C (readLyXformat2): Generate an error dialog if there are
14163 2001-07-16 Juergen Vigna <jug@sad.it>
14165 * sp_spell.C: always compile ISpell part.
14167 * lyxrc.C: added use_pspell entry and it's handling.
14169 2001-07-13 Juergen Vigna <jug@sad.it>
14171 * sp_spell.C: removed double includes.
14173 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14175 Consistent use of Lsstream.h:
14176 * Lsstream.h: added using std::stringstream for consistencies sake.
14178 * buffer.C: removed using std::stringstream
14180 * lyxfont.C (stateText):
14181 * paragraph.C (asString):
14182 * text.C (selectNextWord, selectSelectedWord):
14183 * text2.C (setCounter):
14184 * vspace.C (asString, asLatexString):
14185 std::ostringstream -> ostringstream.
14187 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14189 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14190 * commandtags.h: add LFUN_HELP_ABOUTLYX
14191 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14193 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14195 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14197 * lyx_gui_misc.C: remove spellchecker
14198 * lyxfunc.C: showSpellchecker
14200 * sp_ispell.h: added
14201 * sp_pspell.h: added
14202 * sp_spell.C: added
14203 * sp_form.[Ch]: removed
14204 * spellchecker.[Ch]: removed
14206 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14208 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14210 (simpleTeXSpecialChars): Simply print the input character without
14211 any special translation if pass_thru is set.
14213 * layout.h: Added bool pass_thru to layout class for being able to
14214 implement pass through of a paragraph for Literate Programming.
14216 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14217 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14218 * layout.C (Read): add "passthru" to list of layout tags and add
14219 code to set the pass_thru boolean when it is read.
14221 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14223 * trans_decl.h: remove allowed from KmodInfo
14225 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14226 remove allowed code
14229 * paragraph_pimpl.C (erase): use boost::prior
14231 * Painter.C (text): use data() instead of c_str() when length is
14233 * WorkArea.C (putClipboard): ditto
14234 * font.h (width): ditto
14236 * BufferView2.C: use it-> instead of (*it). for iterators
14238 * paragraph_pimpl.C: ditto
14239 * paragraph.C: ditto
14240 * minibuffer.C: ditto
14241 * language.C: ditto
14243 * encoding.C: ditto
14244 * counters.C: ditto
14245 * converter.C: ditto
14247 * Variables.C: ditto
14248 * TextCache.C: ditto
14249 * MenuBackend.C: ditto
14250 * LyXAction.C: ditto
14252 * FloatList.C: ditto
14253 * DepTable.C: ditto
14254 * ColorHandler.C (LyXColorHandler): ditto
14256 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14258 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14260 * text2.C (openStuff): reintroduce this method (which had been
14261 nuked in NEW_INSETS frenzy).
14263 * lyxfunc.C (Dispatch): when an action has not been handled, use
14264 its name in the error message, not its number.
14266 * paragraph.C (inInset): change method name to begin with lowercase.
14269 * text2.C: updates because of this.
14271 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14273 * ToolbarDefaults.C (add): add spaces in error message
14275 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14277 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14278 (readLyXformat2): rename return_par to first_par, use lyxlex's
14279 pushToken and remove the manual push handling.
14280 (parseSingleLyXformat2Token): add another ert comp. variable:
14281 in_tabular, rename return_par to first_par. handle newlines better
14283 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14285 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14287 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14289 * text2.C (getParFromID): removed
14291 * buffer.C (getParFromID): new method moved form lyxtext.
14292 * BufferView2.C (insertErrors): adjust
14293 (setCursorFromRow): adjust
14294 * BufferView_pimpl.C (restorePosition): adjust
14295 * lyxfunc.C (Dispatch): adjust
14296 * undo_funcs.C (textUndo): adjust
14298 (textHandleUndo): adjust
14299 (textHandleUndo): adjust
14301 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14303 * buffer.C: up' the LYX_FORMAT
14305 * lyxfont.h: turn NO_LATEX on as default
14307 * buffer.C (insertErtContents): new methods of tex style compability.
14308 (parseSingleLyXformat2Token): use it several places.
14309 * tabular.C (OldFormatRead): and here
14311 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14313 * text2.C: remove some commented code.
14316 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14317 * trans.C: changes because of the above.
14319 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14321 * text2.C (setCounter): Fix counters bug with bibliography layout.
14323 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14325 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14326 own member functions
14327 (simpleTeXSpecialChars): ditto
14329 2001-07-06 Juergen Vigna <jug@sad.it>
14331 * a lot of files: changed the access to LyXText::status and the
14332 call of undo-functions.
14334 * undo.[Ch]: added a inset_id to the undo informations.
14336 * undo_funcs.[Ch]: added and moved here all undo functions.
14338 * lyxtext.h: give the status enum a weight, made status_ a private
14339 variable and made accessor functions for it, removed the whole bunch
14340 of undo-functions as they are now in their own file, make some
14341 functions publically available. Added function ownerParagraph with
14344 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14345 made InInset() a const function, added getParFromID() function.
14347 * buffer.[Ch]: added const version for inset_iterator functions,
14348 added getInsetFromID() function.
14350 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14351 changed undo functions for new version.
14353 2001-07-05 Juergen Vigna <jug@sad.it>
14355 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14356 unknow mechanism does not call the proper constructor but only this
14357 one also if I request the other!?
14359 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14361 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14363 * text2.C (LyXText): use initialization lists.
14365 * lyxtext.h (Selection): initialize set_ and mark_
14366 (init): remove method
14368 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14370 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14372 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14374 * screen.[Ch]: change method names to begin with lowercase
14376 * BufferView_pimpl.C (updateScrollbar): simplify further and
14377 hopefully make it a bit faster.
14379 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14381 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14382 calling directly xforms functions.
14384 * Painter.C (Painter):
14385 * lyx_cb.C (MenuWrite):
14386 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14389 * lyx_gui.C: remove bogus guiruntime extern declaration.
14391 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14393 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14395 (redoDrawingOfParagraph): ditto
14396 (redoParagraphs): ditto
14397 (cutSelection): don't create a object for CutAndPaste use the
14398 static method directly
14399 (pasteSelection): ditto
14401 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14404 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14406 * modifications to some other files because of this.
14408 * Makefile.am (lyx_SOURCES): add XFormsView
14410 * XFormsView.[Ch]: new files
14412 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14413 the main window. Move the gui dependent stuff to XFormsView
14415 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14417 * tabular.C (GetCellInset): update cur_cell also in the row/col
14418 version of this function.
14420 * lyxfunc.C: no need to include figure_form.h here.
14426 * lyxvc.C: no need to include forms.h here.
14428 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14430 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14432 * lyxfunc.C (Dispatch):
14434 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14435 constructor argument.
14437 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14439 * paragraph.C (Paragraph): dont't clear, and just set layout.
14440 (makeSameLayout): use params's copy contructor.
14442 * ParagraphParameters.[Ch] (makeSame): delete method
14444 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14446 * Variables.[Ch]: fix indentation, rename set to isSet
14448 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14450 * lyxfunc.C (Dispatch): fix typo
14452 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14454 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14457 * bufferlist.C: include assert.h for emergencyWrite().
14459 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14461 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14462 give up at last (bug #425202) !
14464 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14470 * spellchecker.C: strip spellchecker options and bring up
14471 preferences tab instead
14473 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14475 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14476 the istringstream constructor
14478 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14480 * paragraph.C (getLayout): fix return value
14482 * paragraph.h: do not declare getLayout as inline.
14484 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14486 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14488 * lyxcursor.h (operator<): new func
14489 (operator>): new func
14490 (operator>=): new func
14491 (operator<=): new func
14493 * text.C (changeCase): use selection.start and selection.end
14494 (changeRegionCase): require from to be <= to. Require par to be a
14497 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14499 2001-06-27 Juergen Vigna <jug@sad.it>
14501 * text.C (cursorLeftOneWord): changed to return the cursor and added
14502 overlay with BufferView * parameter which calls this one.
14504 (selectWord): use new getWord function.
14505 (changeCase): renamed from changeWordCase as and extended to work
14506 also on selections.
14508 * lyxtext.h: added enum word_location
14510 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14511 changeCase as this operates now also on selections.
14513 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14515 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14517 * many files: send debug output to Debug::INFO instead of
14520 * converter.C (View):
14522 (Move): send debug output to Debug::FILES instead of console.
14524 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14526 * lyxfunc.C (getStatus): use func_status
14528 * func_status.h: new header, describing the results of
14529 LyXFunc::getStatus;
14531 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14534 2001-06-25 The LyX Project <jug@sad.it>
14536 * buffer.C (sgmlOpenTag):
14538 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14540 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14542 * text2.C: remove some dead code
14544 * tabular.C (GetCellInset): store the last cell checked (gotten)
14546 * tabular.h: add the helper for the speedup
14548 * lyxtext.h: remove some dead code
14550 2001-06-26 The LyX Project <Asger>
14552 * paragraph.C: Change export to LaTeX of alignment to
14553 \begin{center} and family for better roundtrip work with reLyX.
14555 * Tune the math drawing a bit.
14557 2001-06-25 The LyX Project <Asger>
14559 * LColor.C (LColor): New color for math background. New color
14562 2001-06-25 The LyX Project <jug@sad.it>
14564 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14566 * lyxfunc.C (Open):
14567 * bufferlist.C (newFile): do not restrict to files ending with
14570 * BufferView_pimpl.C (MenuInsertLyXFile):
14572 2001-06-24 The LyX Project <jug@sad.it>
14574 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14577 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14579 * lyxtext.h: rename most methods to begin with a small char.
14580 Lots of changes because of this.
14582 * paragraph.C (Paragraph): do not call fitToSize
14583 (erase): call Pimpl::erase
14584 (insertChar): call Pimpl::insertChar
14585 (insertInset): call Pipl::insertInset
14586 (breakParagraph): do not call fitToSize
14587 (breakParagraphConservative): do not call fitToSize
14588 (fitToSize): remove method
14590 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14592 2001-06-24 The LyX Project <Asger>
14594 * Fix Qt compilation^2
14596 2001-06-24 The LyX Project <jug@sad.it>
14598 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14599 depthHook(getDepth()-1).
14602 * ParagraphParameters.h:
14603 * ParameterStruct.h: change type of depth to unsigned int ==
14604 depth_type. Many adaptations to other files before of that.
14606 2001-06-24 The LyX Project <Asger>
14608 * Fix Qt compilation.
14610 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14612 * paragraph.h: renamed several methods to begin with small letter.
14613 several changes to many parts of the code because of this.
14615 2001-06-23 The LyX Project <jug@sad.it>
14617 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14618 rewritten to discard all double spaces when KeepEmpty is off
14619 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14620 to only handle newlines but not fiddle with spaces and friends.
14622 * lyxfunc.C (MenuNew): when doing 'new from template', use
14623 template_path as default directory
14625 2001-06-23 The LyX Project <Asger>
14627 * Clean-up of header file includes all over
14628 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14630 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14632 * paragraph.h: renamed from lyxparagraph.h
14634 2001-06-23 Asger <lyx@violet.home.sad.it>
14636 * Buffer.h: Removed Buffer::resize
14637 * BufferList.h: Removed BufferList::resize
14638 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14639 the document lazily when we change the width, or the font settings.
14641 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14643 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14645 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14647 * buffer.h: remove out of date comment
14649 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14652 * screen.C: fix "theoretical" GC leak
14654 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14656 * LaTeX.C (scanAuxFile):
14657 (deplog): remove trailing \r when reading stream (useful under
14660 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14662 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14663 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14664 and BufferView::theLockingInset(Inset*), so should use them and not
14665 access bv_->text->the_locking_inset directly.
14667 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14669 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14672 * tex-defs.h: remove old unused file
14674 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14676 * BufferView_pimpl.C: fix typo, remove minibuffer message
14677 when buffer has loaded
14679 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14681 * lyxfunc.C (Dispatch): use stringstream
14682 (MenuNew): use stringstream
14683 (Open): use stringstream
14685 * importer.C (Import): use stringstream
14687 * bufferview_funcs.C (CurrentState): use stringstream
14689 * LaTeX.C (run): use stringstream
14691 * BufferView_pimpl.C (savePosition): use stringstream
14692 (restorePosition): use stringstream
14693 (MenuInsertLyXFile): use stringstream
14695 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14708 * vspace.C: removed // -*- C++ -*- as first line.
14711 * version.h: added // -*- C++ -*- as first line.
14713 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14715 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14717 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14720 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14722 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14725 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14727 * gettext.C: include LString.h even when --disable-nls is on.
14729 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14731 * converter.h (Get): changed argument type from int to
14732 FormatList::size_type to avoid unnecessary conversion.
14734 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14737 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14739 * gettext.h: include LString.h even when --disable-nls is on.
14741 2001-06-07 Juergen Vigna <jug@sad.it>
14743 * text.C (BreakAgain): subst spaces with tabs.
14745 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14746 (resizeInsetsLyXText): set force on resizeLyXText.
14748 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14750 * gettext.h (gettext_init):
14751 (locale_init): use a real definition instead of a macro
14753 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14755 * Bufferview_pimpl.C:
14757 * LColor.C: further lcolor tidies
14759 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14761 * BufferView_pimpl.C (updateScrollbar): simplify.
14763 * BufferView2.C: don't include insets/insetinfo.h, change
14764 prototype for insertInset and call the Pimpl version. let
14765 updateInset call Pimpl version.
14767 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14768 gotoInset to BufferView::Pimpl
14770 2001-06-01 Juergen Vigna <jug@sad.it>
14772 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14773 inside a LockingInset (is the update needed at all?).
14775 2001-05-31 Juergen Vigna <jug@sad.it>
14777 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14778 here not the old one otherwise how should we compare it afterwards
14781 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14786 * FontInfo.C: bring C functions into global namespace when
14789 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14791 * LString.h: make sure config.h has been loaded before LString.h.
14793 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14794 (one for each char read by EatLine!).
14796 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14799 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14801 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14802 to the same as the par we break from
14804 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14806 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14808 * MenuBackend.C (expand): also create menu entries for wide
14809 versions of the floats.
14811 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14813 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14815 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14816 frontends/Makefile.am
14822 * tabular.C (getTokenValue): add std::
14824 * tabular-old.C (getTokenValue): add std::
14825 (getTokenValue): ditto
14826 (getTokenValue): ditto
14828 * screen.C (ToggleSelection): adjust
14830 * lyxtext.h: put selection cursors inside a Selection struct.
14832 * lyxfunc.C (moveCursorUpdate): adjust
14834 * lyxfont.C (latexWriteStartChanges): add std::
14836 * lyxfind.C: adjust
14838 * font.h: delete with(char const *, LyXFont const &)
14840 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14842 * FontInfo.C (getFontname): add std::
14844 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14845 (workAreaButtonPress): adjust
14846 (tripleClick): adjust
14848 (moveCursorUpdate): adjust
14851 * BufferView2.C (gotoInset): adjust
14853 2001-05-30 Juergen Vigna <jug@sad.it>
14855 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14856 to check pspell I add this as default as I now have new pspell
14857 libraries and they seem to use this.
14859 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14861 * text2.C (CutSelection): make the cursor valid before the call to
14864 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14866 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14867 relied on 0 terminated strings and other horrors. Bug found due to
14868 the new assert in lyxstring!
14870 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14873 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14875 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14878 * lyxfunc.C (processKeySym): change method of getting to the
14881 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14882 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14883 * BufferView_pimpl.[Ch]: here as private methods.
14885 2001-05-28 Juergen Vigna <jug@sad.it>
14887 * text.C (SetHeightOfRow): added the update() call again as it is
14888 needed to initialize inset dimensions!
14890 2001-05-16 Juergen Vigna <jug@sad.it>
14892 * text2.C (SetCharFont): Add new function with BufferView * and
14893 bool toggleall parameters for setting insets internal fonts.
14894 (SetFont): Freeze the undo as we may change fonts in Insets and
14895 all this change should be inside only one Undo!
14897 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14898 setting font's in insets as for them we have the SetFont function!
14900 2001-05-15 Juergen Vigna <jug@sad.it>
14902 * text2.C (ClearSelection): to be sure we REALLY don't have any
14905 * tabular.C (TeXCellPreamble): fixed the left border problem for
14908 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14910 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14913 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14915 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14916 LFUN_BREAKPARAGRAPH.
14918 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14919 help test to "internal only", similar for LFUN_INSERT_URL
14921 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14922 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14923 auto_region_delete and deadkeys.
14925 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14928 * LColor.C: remove some dead entries, tidy a little
14930 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14932 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14934 (Dispatch): implement LFUN_ESCAPE
14936 * commandtags.h: add LFUN_ESCAPE
14938 * LyXAction.C (init): add entry for LFUN_ESCAPE
14940 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14941 Remove commented code.
14942 (insertNote): moved here
14943 (open_new_inset): moved here
14945 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14948 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14950 * kbmap.C (findbinding): clean it up and make it work correctly.
14952 * lyx_main.C (init): do not pass argc and argv as parameters
14954 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14956 * buffer.C: fix path for OS/2 & Win32
14960 * lyx_main.C: Added os:: class.
14962 * os2_defines.h: update
14964 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14966 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14967 better by trying again with reduced state.
14969 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14971 * lyxrc.C (read): print error about invalid key sequence only when
14972 debugging (because not all latinX keysyms are known to some X
14975 * kbsequence.C (getiso): add a few std:: qualifiers
14976 (getiso): comment out extra return statement.
14978 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14980 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14982 (Dispatch): enhance the accent inset a bit. (not perfect)
14984 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14986 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14988 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14990 * bufferlist.C (emergencyWrite): fix assert() call
14992 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14994 * text.C (InsertChar): Added trivial patch to only send the "you
14995 can not do multiple spaces this way" message once during a
14998 2001-05-08 Baruch Even <baruch@lyx.org>
15000 * Makefile.am: Changed order of libraries to get LyX to link properly
15001 with the gnome frontend.
15003 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15005 * LaTeXFeatures.h: add a std:: qualifier
15007 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15009 * paragraph.C (String): use stringstream
15011 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15013 * paragraph.C (writeFile): remove footflag arg
15015 * buffer.C (makeLaTeXFile): use stringstream
15016 (latexParagraphs): remove footnot gurba
15018 * LaTeXFeatures.C (getPackages): use stringstream
15019 (getMacros): likewise
15020 (getTClassPreamble): likewise
15021 (getFloatDefinitions): new method
15023 * paragraph.C (writeFile): reindent
15026 * WorkArea.h: revert the xpos + etc changes.
15028 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15030 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15032 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15033 (pasteSelection): likewise
15034 * text2.C (CreateUndo): likewise
15036 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15038 * minibuffer.C (peek_event): temporarily reduce the functionality
15039 of the minibuffer (to allow args on lfuns)
15041 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15042 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15044 * buffer.C (readInset): add compability reading of old float
15045 lists, add reading of new style float list.
15046 (readInset): avoid reevaluation of inscmd.getCmdName()
15047 (getLists): reindent
15049 * MenuBackend.C (MenuItem): implement parsing of
15050 md_floatlistinsert and md_floatinsert.
15051 (expand::LastFiles): move initalizaton of iterators out of loop,
15052 avoid reevaluation.
15053 (expand::Documents): introduce typdedef vector<string> Strings,
15055 (expand::ExportFormats): introduce typedef vector<Format const *>
15056 Formats, and use it.
15057 (expand): implement FloatListInsert and FloatInsert.
15059 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15060 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15061 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15063 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15065 (Dispatch::LFUN_FLOAT_LIST): implement
15067 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15069 * LaTeX.C (run): Fix problem with --export code.
15071 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15073 * BufferView.[Ch] (workarea): removed.
15074 (getClipboard) new method; wrapper for workarea()->getClipboard()
15076 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15079 * WorkArea.h (width, height, xpos, ypos): These methods all
15080 returned the dimensions of the work_area sub-area of WorkArea,
15081 resulting in a position error if the WorkArea were resized. Now
15082 return the dimensions of the entire WorkArea.
15084 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15086 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15088 * LaTeX.C (deplog): correct the syntax of regex reg1
15090 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15092 * undo.C: remove !NEW_INSETS cruft
15094 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15096 * text2.C: remove !NEW_INSETS cruft
15098 * text.C: remove !NEW_INSETS cruft
15100 * tabular.C: remove !NEW_INSETS cruft
15102 * spellchecker.C: remove !NEW_INSETS cruft
15104 * lyxtext.h: remove !NEW_INSETS cruft
15106 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15108 * lyxfunc.C: remove !NEW_INSETS cruft
15110 * lyxfind.C: remove !NEW_INSETS cruft
15112 * lyx_cb.C: remove !NEW_INSETS cruft
15114 * figureForm.C: remove !NEW_INSETS cruft
15116 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15118 * buffer.[Ch]: remove !NEW_INSETS cruft
15120 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15122 * CutAndPaste.C: remove !NEW_INSETS cruft
15124 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15126 * BufferView2.C: remove !NEW_INSETS cruft
15128 * BufferView.h: remove !NEW_INSETS cruft
15130 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15132 * Lsstream.h: include LString.h before the sstream headers to
15133 fix problem with gcc 2.95.3 and lyxstring
15135 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15137 * lyx_main.C: add using directives when needed for C functions
15138 declared in std:: namespace.
15140 2001-04-27 Juergen Vigna <jug@sad.it>
15142 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15143 (SetHeightOfRow): comment out the update call should not be needed!
15145 2001-04-13 Juergen Vigna <jug@sad.it>
15147 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15148 (LyXTabular): tried to minimize operator= operations (and realized
15149 hopfully Lars wish).
15151 2001-04-27 Juergen Vigna <jug@sad.it>
15153 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15155 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15157 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15159 * buffer.C (readInset): hack to make listof algorithm work
15161 * BufferView_pimpl.C: hack to make listof algorithm work
15163 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15165 * LyXAction.C: removed all !NEW_INSETS cruft
15166 (init): moved lfun_item in method
15168 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15170 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15172 * BufferView2.C (theLockingInset): white space.
15174 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15176 * minibuffer.C: include <iostream>
15178 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15180 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15182 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15184 * text.[Ch] (TransposeChars): new method
15186 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15188 * call message directly through LyXView instead of through LyXFunc
15189 * BufferView2.C: adjust
15190 * BufferView_pimpl.C: adjust
15191 * FontLoader.C: adjust
15193 * bufferview_funcs.C: adjust
15194 * converter.C: adjust
15195 * figureForm.C: adjust
15196 * importer.C: adjust
15198 * lyx_gui_misc.C: adjust
15199 * lyxfunc.C: adjust
15202 + more files in subdirs
15204 * lyxparagraph.h (size): move up int file
15207 * adjust all uses of Assert to lyx::Assert.
15209 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15210 lyxfunctional in namespace lyx
15211 * layout.C (hasLayout): ditto
15214 (delete_layout): ditto
15215 (NumberOfClass): ditto
15216 * converter.C (GetFormat): ditto
15221 * bufferlist.C (getFileNames): ditto
15222 (emergencyWriteAll): ditto
15225 * MenuBackend.C (hasSubmenu): ditto
15228 * BufferView_pimpl.C (getInsetByCode): ditto
15230 2001-04-18 Juergen Vigna <jug@sad.it>
15232 * vspace.C (asLatexString): fixed the 100% problem.
15234 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15236 * lyxfunc.C (Dispatch):
15238 * minibuffer.h: add a few std:: qualifiers
15240 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15242 * minibuffer.[Ch]: reimplement so that commands is initiated and
15243 run from lyxfunc, simplified som handling, and made the completion
15244 and history code for complete. wip.
15246 * lyxfunc.C (processKeySym): call message
15247 (miniDispatch): new temporary method
15248 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15249 (LFUN_MESSAGE): implement
15250 (LFUN_MESSAGE_PUSH): implement
15251 (LFUN_MESSAGE_POP): implement
15252 (initMiniBuffer): the initial/defualt minibuffer message.
15254 * lyxfont.[Ch]: inline some more getters
15256 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15258 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15260 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15261 (AutoSave): use LFUN_MESSAGE
15262 (Reconfigure): ditto
15264 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15266 * figureForm.C: use LFUN_MESSAGE
15268 * converter.C (runLaTeX): use LFUN_MESSAGE
15270 * bufferview_funcs.C: use LFUN_MESSAGE
15272 (changeDepth): ditto
15274 * bufferparams.h: use boost::
15276 * bufferlist.h: inherit privately from noncopyable
15278 * bufferlist.C (loadLyXFile): remove some commented code.
15280 * buffer.C (runChktex): use LFUN_MESSAGE
15282 * ShareContainer.h: inherit privately from noncopyable
15284 * ParagraphParameters.[hC] (depth): inline it.
15286 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15288 (message): new method
15289 (messagePush): ditto
15290 (messagePop): ditto
15291 (show): init minibuffer
15292 (showState): direct call
15294 * LaTeX.[Ch]: inherit privately from noncopyable
15295 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15296 instead of WriteStatus.
15298 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15300 * BufferView_pimpl.C (buffer): don't init minibuffer
15301 (workAreaButtonPress): use LFUN_MESSAGE
15302 (workAreaButtonRelease): ditto
15303 (savePosition): ditto
15304 (restorePosition): ditto
15305 (MenuInsertLyXFile): ditto
15306 (workAreaExpose): don't init minibuffer
15307 (update): remove commented code, simplify
15309 * BufferView2.C (openStuff): use LFUN_MESSAGE
15310 (toggleFloat): ditto
15313 (copyEnvironment): ditto
15314 (pasteEnvironment): ditto
15319 (updateInset): remove some commented code
15321 * lastfiles.h: inherit privately from noncopyable
15324 * lyx_main.h: ditto
15326 * lyxlex_pimpl.h: ditto
15328 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15329 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15330 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15332 * LyXAction.h: inherit privately from noncopyable, add methods
15333 func_begin, func_end, returning iterators to the func map.
15335 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15336 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15337 (func_begin): new method
15338 (func_end): new method
15340 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15342 (copySelection): ditto
15343 (pasteSelection): ditto
15345 * BufferView.C: whitespace change
15346 * BufferView.h: inherit privately from noncopyable
15348 2001-04-16 Allan Rae <rae@lyx.org>
15350 * tabular-old.C (l_getline):
15351 * spellchecker.C (sc_check_word):
15352 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15353 an unrecognised preprocessor directive. So ensure they're wrapped.
15355 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15357 * src/exporter.C (Export): Give an error message when path to file
15360 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15362 * LaTeX.C (deplog): Always check that foundfile exists.
15364 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15367 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15369 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15371 * tabular.[Ch] (getLabelList): implement new method
15373 * minibuffer.h: comment ouf setTiimer
15375 * minibuffer.C (ExecutingCB): constify res
15376 (peek_event): constify s
15377 (Set): constify ntext
15378 (Init): constify nicename
15380 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15382 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15383 (savePosition): use two params to Minibuffer::Set
15384 (restorePosition): ditto
15386 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15388 * lyx_main.C: include language.h
15390 * Makefile.am (lyx_main.o): add language.h
15392 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15398 * CutAndPaste.C: include gettext.h
15400 * lyxfont.h: remove old hack with ON and OFF.
15403 * lyxfont.h: do not include language.h...
15408 * bufferview_funcs.C:
15414 * paragraph.C: ... but do it here instead
15416 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15418 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15420 * tabular.C: small reformat
15422 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15425 (BreakParagraph): ditto
15426 (SetOnlyLayout): ditto
15429 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15432 * lastfiles.C: removed most using decl, add std:: where needed
15434 * buffer.C: ws changes
15436 * MenuBackend.C (class compare_format): put into anon namespace
15437 (expand): constify label, names, action, action2
15440 * text.C (SingleWidth): constify font
15441 (IsBoundary): constify rtl2
15442 (GetVisibleRow): constify ww
15444 * LaTeX.C (deplog): constify logfile
15446 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15448 (workAreaExpose): constify widthChange, heightChange
15450 * lyxrow.C (par): moved
15453 * lyxrow.h: as inlines here
15455 * lyxfont.h (shape): moved from lyxfont.C
15456 (emph): moved from lyxfont.C
15458 * lyxfont.C (LyXFont): use initialization list for all
15460 (shape): move to lyxfont.h as inline
15461 (emph): move to lyxfont.h as inline
15464 2001-04-04 Juergen Vigna <jug@sad.it>
15466 * vspace.C: had to include stdio.h for use of sscanf
15468 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15471 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15472 independent of xforms.
15474 2001-04-02 Juergen Vigna <jug@sad.it>
15476 * spellchecker.C: fixed namespace placing!
15478 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15480 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15481 the LyXParagraph * is 0.
15483 2001-03-29 Juergen Vigna <jug@sad.it>
15485 * vspace.C: added support for %, c%, p%, l%.
15486 (stringFromUnit): added helper function.
15487 (asLatexString): changed to give right results for the %-values.
15489 * buffer.C: convert the widthp in a width%.
15491 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15493 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15496 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15497 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15499 * lyx_cb.[Ch]: see above.
15501 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15505 * lyx.[Ch]: replaced by figure_form.[Ch].
15509 * lyxfunc.C: changed headers associated with above changes.
15511 2001-03-27 Juergen Vigna <jug@sad.it>
15513 * BufferView_pimpl.C: set the temporary cursor right!
15515 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15517 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15519 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15521 * LString.h: removed "using std::getline"!
15523 * BufferView_pimpl.C (Dispatch): changes due to changes in
15524 InsetInclude::Params.
15526 * buffer.C (tag_name): removed redundant break statements as they were
15527 producing lots of warnings with my compiler.
15529 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15531 * LString.h: add "using std::getline" when using the real <string>.
15533 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15535 * buffer.C: removed bitset usage.
15536 PAR_TAG moved to an anonymous name space.
15537 (tag_name): new funtion, also in the anonymous namespace.
15538 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15539 (makeDocBookFile): clean code. Completed transition from string arrays
15541 (SimpleDocBookOnePar): code clean.
15543 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15545 * tabular.C: add some comments.
15547 2001-03-22 Juergen Vigna <jug@sad.it>
15549 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15550 compatibility read a bit and fixed bug with minipage in different
15553 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15555 * buffer.C (pop_tag): removed.
15556 (push_tag): removed.
15557 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15558 array replaced with vector. Added support for CDATA sections.
15559 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15561 (makeDocBookFile): XML conformant declaration of CDATA section,
15562 fixed bug related to <emphasis> in the first paragraph char.
15563 (sgmlOpenTag): exclude empty tags.
15564 (sgmlCloseTag): ditto.
15566 * buffer.h (pop_tag): removed.
15567 (push_tag): removed.
15569 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15571 * language.h (Languages): added size_type and size().
15573 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15575 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15576 response on compability reading of minipages. One probliem is that
15577 the old usage of minipages was «flertydig»
15579 * several files here and in subdirs: don't use static at file
15580 scope use anon namespaces instead.
15582 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15584 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15585 LaTeX output. This is necessary for Literate document
15588 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15590 * buffer.C: insert hfill when needed.
15592 * tabular.C (l_getline): use string::erase, small whitespace change.
15594 * BufferView_pimpl.C: try the anon namespace.
15595 * WorkArea.C: ditto
15597 2001-03-16 Juergen Vigna <jug@sad.it>
15599 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15600 otherwise it won't open options-dialogs.
15602 * buffer.C: honor pextraWidth(p) on converting minipages.
15604 * tabular.C (l_getline): changed the functions to strip trailing \r.
15606 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15608 * BufferView_pimpl.C:
15609 * minibuffer..C: added "using SigC::slot" declaration.
15611 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15613 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15619 * paragraph.C: ditto
15621 * lyxtext.h: NO_PEXTRA
15623 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15625 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15626 * ParameterStruct.h: ditto
15627 * ParagraphParameters.h: ditto
15628 * lyxparagraph.h: ditto
15630 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15632 * buffer.C: add compability for minipage alignment.
15633 (latexParagraphs): remove unwanted pextra check.
15635 * several files: remove CXX_WORKING_NAMESPACES
15637 * buffer.C (pop_tag): tie is in namespace boost
15639 * BufferView.h: noncopyable is in namespace boost
15641 * lyx_main.h: ditto
15644 * lastfiles.h: ditto
15645 * bufferlist.h: ditto
15646 * ShareContainer.h: ditto
15648 * LyXAction.h: ditto
15651 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15653 * Merging changes from BRANCH_MVC back into HEAD.
15655 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15657 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15659 * BufferView_pimpl.C: change from intl.C
15663 * Makefile.am: move combox.*
15669 * intl.C: remove dialog (covered by prefs)
15671 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15673 * lyxfunc.C (Dispatch): removed redundant break statement.
15675 2001-03-14 Juergen Vigna <jug@sad.it>
15677 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15679 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15681 * buffer.C: add hack to fix compability reading of minipages.
15683 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15685 * buffer.C (getLists): Cleanup.
15687 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15689 * lyxfont.C (update): don't honor toggleall on font size.
15691 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15695 * Makefile.am: moved to frontends/xforms/
15699 * BufferView_pimpl.C: changes for moved mathpanel
15701 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15703 * gettext.h: fix gettext_init() in --disable-nls
15705 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15707 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15709 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15712 * lyx.h: strip external form
15714 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15716 * BufferView_pimpl.C: add comment, destroySplash()
15718 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15720 * BufferView_pimpl.C:
15724 * lyxfunc.C: use re-worked insetinclude
15726 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15728 * buffer.C: add using std::stringstream.
15730 * lyx_cb.C: readd using std::ios.
15732 * buffer.C: add using std::map.
15734 * BufferView_pimpl.C: add using std::vector.
15736 * ShareContainer.h: add std:: to swap.
15738 * buffer.h: add some typedefs
15739 * buffer.C (getLists): use them
15740 (getLists): renamed from getTocList.
15741 add a counter for the different float types and use it in the
15743 (getLists): use the same counter for the NEW_INSETS and the "non"
15746 * lyx_cb.h: remove unused items, includes, using etc.
15748 * ShareContainer.h: remove some commented code, add more comments
15749 and "documentation".
15751 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15753 * buffer.C (getTocList): make the list also when NEW_INSETS is
15756 * buffer.h: remove TocType
15758 * buffer.C (getTocList): change to return a map<string,
15759 vector<TocItem> >, implement for dynamic number of list.
15761 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15762 * text2.C (PasteSelection): adjust
15763 * CutAndPaste.C (pasteSelection): adjust
15765 * FloatList.C (FloatList): update from the new_insets branch.
15766 * Floating.[Ch]: ditto
15767 * LaTeXFeatures.C: ditto
15769 * lyxlex_pimpl.C: ditto
15771 * paragraph.C (Last): remove when NEW_INSETS is defined.
15773 * other file: changes because of the above.
15775 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15777 * lyxparagraph.h: rename next to next_, previous to previous_,
15778 make them private for NEW_INSETS. Rename Next() to next(),
15779 Previous() to previous().
15781 * other files: changes because of the above.
15783 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15786 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15789 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15791 * main.C (main): pass lyx_localedir to gettext_init().
15793 * gettext.h: remove locale_init and gettext_init macros
15795 * gettext.C (locale_init): new function
15796 (gettext_init): new function
15798 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15801 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15803 * Moved credits to frontends:
15804 * credits.[Ch]: removed
15805 * credits_form.[Ch]: removed
15806 * lyx_gui_misc.C: remove credits stuff
15809 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15811 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15813 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15814 unneeded destructor.
15816 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15817 a standalone pointer again.
15819 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15821 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15827 * ToolbarDefaults.C:
15836 * BufferView_pimpl.C: use new file dialog in GUII
15839 * lyx_cb.C: remove LayoutsCB to Toolbar
15841 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15843 * ShareContainer.h (get): add std:: qualifier
15845 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15847 * ShareContainer.h: define a proper ShareContainer::value_type
15848 type (and use typename to please compaq cxx)
15850 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15852 * lyxparagraph.h: move serveral local vars to
15853 ParameterStruct/ParagraphParameters., use ShareContainer in
15854 FontTable., make vars in FontTable private and add getter and
15857 * paragraph.C: changes because of the above.
15859 * lyxfont.h: remove copy constructor and copy assignment. (the
15860 default ones is ok), move number inside FontBits. move inlines to
15863 * lyxfont.C: add number to initializaton of statics, move several
15864 inlines here. constify several local vars. some whitespace
15865 cleanup. Dont hide outerscope variables.
15867 * Spacing.h: add two new constructors to match the set methods.
15869 * ShareContainer.h: new file, will perhaps be moved to support
15871 * ParameterStruct.h: new file
15873 * ParagraphParameters.h: new file
15875 * ParagraphParameters.C: new file
15877 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15878 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15880 * BufferView_pimpl.C: ParagraphParameter changes.
15881 * buffer.C: Likewise.
15882 * bufferview_funcs.C: Likewise.
15883 * text.C: Likewise.
15884 * text2.C: Likewise.
15886 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15888 * lyxfind.C (LyXReplace): do not redefine default argument in
15890 (IsStringInText): ditto
15891 (SearchForward): ditto
15892 (SearchBackward): ditto
15894 2001-03-06 Juergen Vigna <jug@sad.it>
15896 * lyxfind.C (IsStringInText): put parentes around expressions.
15898 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15900 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15902 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15904 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15906 * stl_string_fwd.h: add comment
15908 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15911 * tabular.C: remove unused DocBook methods
15917 killed DO_USE_DEFAULT_LANGUAGE
15919 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15921 * lyx_gui.C: do not include language.h.
15923 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15924 arguments in function implementation.
15926 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15928 * BufferView_pimpl.C: add <ctime>
15930 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15932 * BufferView_pimpl.C: add using std::find_if
15934 2001-02-27 José Matos <jamatos@fep.up.pt>
15936 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15939 2001-02-11 José Matos <jamatos@fep.up.pt>
15941 * buffer.C (makeDocBookFile): command styles now have a parameter as
15942 "title" by default.
15944 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15946 * layout_forms.[Ch]: removed
15947 * lyx_cb.[Ch]: out character
15948 * lyx_gui.C: out character
15949 * lyx_gui_misc.C: out character
15950 * bufferview_funcs.C: : out character,
15951 added toggleall as parameter in ToggleAndShow
15953 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15955 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15957 * text2.C (SetCurrentFont): Disable number property at boundary.
15959 2001-02-26 Juergen Vigna <jug@sad.it>
15961 * lyxfunc.C (getStatus): added a string argument override function so
15962 that this is correctly called from LyXFunc::Dispatch if it contains a
15963 do_not_use_argument which is used!
15964 (Dispatch): added check for "custom" export and call appropriate func.
15966 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15968 * lyxrc.C: Add language_command_local, language_use_babel and
15969 language_global_options.
15971 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15973 * buffer.C (makeLaTeXFile): Use language_use_babel and
15974 language_global_options.
15976 2001-02-23 Juergen Vigna <jug@sad.it>
15978 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15979 which works with LyXText and putted it inside BufferView. Here now we
15980 only call for that part the BufferView::Dispatch() function.
15982 * BufferView.C (Dispatch): added.
15984 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15985 functions which needs to use a LyXText over from LyXFunc.
15986 (MenuInsertLyXFile): added
15987 (getInsetByCode): added
15988 (moveCursorUpdate): added
15989 (static TEXT): added
15991 2001-02-22 Juergen Vigna <jug@sad.it>
15993 * BufferView_pimpl.C (update): call a status update to see if LyXText
15996 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15998 * vc-backend.C (revert): implement for CVS
15999 (getLog): implement for CVS
16001 2001-02-20 Juergen Vigna <jug@sad.it>
16003 * text2.C (ClearSelection): added BufferView param for inset_owner call
16005 * lyxfunc.C (TEXT): added this function and use it instead of
16006 directly owner->view()-text of getLyXText().
16008 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16010 * src/layout_forms.C: out preamble
16011 * src/layout_forms.h: out preamble
16012 * src/lyx_cb.C: out preamble
16013 * src/lyx_cb.h: out preamble
16014 * src/lyx_gui.C: out preamble
16015 * src/lyx_gui_misc.C: out preamble
16016 * src/lyxfunc.C: connect with guii preamble
16018 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16020 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16022 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16024 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16025 whether to run bibtex.
16027 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16029 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16031 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16033 * Makefile.am (lyx_SOURCES): removed bibforms.h
16035 * vspace.h: doxygen
16037 * text.C (GetVisibleRow): make several local vars const
16039 * tabular.C: small cleanup.
16041 * lyxserver.C (callback): use compare instead of strncmp
16043 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16044 inlines to after class or to paragraph.C
16046 * lyxfont.h: remove friend operator!=
16048 * converter.h: move friend bool operator< to non friend and after
16051 * combox.h: small cleanup
16053 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16054 to inlines after class def.
16056 * buffer.C (pop_tag): use string operations instead of strcmp
16058 * bmtable.c: doxygen, small cleanup
16060 * LaTeX.h: remove friend operator==
16062 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16074 * BufferView_pimpl.C:
16075 * BufferView.[Ch]: remove cruft
16077 2001-02-14 Juergen Vigna <jug@sad.it>
16079 * lyxfunc.C: removed #if 0 unused code
16081 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16083 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16085 * text2.C (SetSelection): added a BufferView * parameter
16087 2001-02-13 Juergen Vigna <jug@sad.it>
16089 * lyxfunc.C (Dispatch): fixed protected blank problem.
16090 * BufferView2.C (protectedBlank): added LyxText * parameter.
16092 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16093 (AppendColumn): same as above for column_info.
16095 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16096 (moveCursorUpdate): use a LyXText param for support of InsetText.
16098 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16099 (tripleClick): ditto
16101 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16103 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16105 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16107 * text2.C (SetSelection): set correct update status if inset_owner
16108 (ToggleFree): ditto
16110 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16112 * tabular.C: remove some commented code.
16114 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16116 * BufferView_pimpl.C: call hideSplash()
16118 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16121 * bibforms.h: remove
16124 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16125 add LFUN_CHILD_CREATE
16127 * counters.h: fix tiny typo
16132 * lyx.C: move splash to frontends/xforms/
16134 * lyx_gui_misc.C: move Include and Bibform to frontends
16136 * lyxvc.h: clarify comment
16138 * vspace.C: tiny housekeeping
16140 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16142 * text.C (PrepareToPrint): RTL Fix.
16144 * paragraph.C (GetUChar): New method.
16145 (String): Use GetUChar.
16147 * buffer.C (asciiParagraph): Use GetUChar.
16149 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16151 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16153 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16156 * buffer.C: rename to getLogName(), handle
16157 build log / latex log nicely
16159 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16162 * MenuBackend.h: remove support for reference menuitem type.
16164 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16166 * BufferView_pimpl.C: housekeeping
16167 * BufferView_pimpl.h:
16172 * minibuffer.h: move Timeout GUI-I
16174 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16176 * lyxrc.C (read): Update converters data-structures.
16178 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16180 * LaTeX.h (operator!=): add operator != for Aux_Info
16182 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16184 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16186 * LaTeXLog.C: deleted, useful code moved to Buffer
16189 * buffer.C: new function getLatexLogName()
16195 * lyxfunc.C: use frontends for LaTeX and VC logs
16197 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16199 * LaTeX.h: yet another std:: that Allan forgot.
16201 * Variables.C (set): renamed from isset(), because this clashes
16202 with some HP-UX macros (grr).
16204 2001-02-06 Allan Rae <rae@lyx.org>
16206 * LaTeX.h: Another bug fix. Missing std:: this time.
16208 2001-02-04 Allan Rae <rae@lyx.org>
16210 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16211 floats problem. I've left it commented out because it's not quite
16212 correct. It should also test that the current object is a table or
16213 figure inset. But I haven't gotten around to figuring out how to do
16214 that. I *think* it'll be something like: "table" == inset.type()
16216 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16219 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16221 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16222 all the citation/databases/styles in the auxilary file.
16223 (run): Rerun latex if there was a babel language error.
16225 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16227 * text.C (Backspace): Preserve the font when changing newline char
16229 (BreakParagraph): If the cursor is before a space, delete the space.
16231 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16233 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16235 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16236 new argument (code).
16237 (ChangeCitationsIfUnique): New method.
16239 * paragraph.C (GetPositionOfInset): Handle bibkey.
16241 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16243 * BufferView_pimpl.h: change type of Position::par_pos to
16244 LyXParagraph::size_type.
16246 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16248 * BufferView_pimpl.C (savePosition, restorePosition): Write
16249 messages to minibuffer.
16251 2001-01-28 José Matos <jamatos@fep.up.pt>
16253 * buffer.C (makeDocBookFile): adds support for document language.
16254 A silly restriction on the name of LatexCommand types where removed.
16255 Added support for CDATA sections, allows to chars unescaped, used
16256 among others in code, to avoid escape < and >.
16258 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16260 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16261 saved positions instrad of a stack. Furthermore, a position is
16262 stored using paragraph id/paragraph position.
16264 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16265 Remove LFUN_REF_BACK.
16267 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16269 * converter.C (dvipdfm_options): New method.
16271 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16273 * vspace.C (isValidLength): Fix for empty input string.
16275 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16277 * LyXAction.C (init): change description of LFUN_FIGURE to
16280 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16282 * LaTeX.C: add using directive
16284 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16286 * MenuBackend.C (expand): Fix the sorting of the formats.
16288 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16290 * lyx_main.C: tiny error message fix
16292 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16294 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16295 calling fl_initialize(). This fixes the problem with ',' as
16296 decimal separator in text files.
16298 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16300 * trans.C (process): Fix the keymap bug.
16302 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16304 * LaTeX.C (scanAuxFiles): New method. Provides support for
16305 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16306 (scanLogFile) Scan for "run BibTeX" messages.
16308 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16309 OT1 font encoding. Also, load the aecompl package if the ae
16312 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16314 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16316 * texrow.C (increasePos): turn two error messages into debug
16319 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16321 * LaTeX.C (scanAux): Handle the \@input macro.
16322 (runBibTeX): Use scanAux().
16324 * language.C (latex_options_): New field.
16326 * LaTeXFeatures.C (getMacros): Add language macros.
16328 * buffer.C (makeLaTeXFile): Small fix.
16330 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16332 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16334 * text2.C: add a using directive.
16336 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16341 * lyxfunc.C: kill LyXBell.
16343 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16345 * text.C (IsBoundary): Remove the error message
16347 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16349 * lyxrc.C (setDefaults): Correct initialization value for
16352 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16354 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16357 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16358 and GotoNextNote().
16360 * src/LyXAction.C: Added reference-next.
16362 * text.C (InsertChar): Use contains instead of strchr.
16364 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16366 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16368 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16369 alignment commands (when needed).
16371 * text.C (InsertChar): Add ':' to number separator chars.