1 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * text2.C (setCounter): prevent endless loop
5 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
7 * exporter.C (copyFile): use the mover instead of support::copy()
8 * exporter.C (Export): pass format and latex name to copyFile()
9 * exporter.h (addExternalFile): document
10 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
12 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
16 2004-10-30 José Matos <jamatos@lyx.org>
18 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
19 text and no inset or font change. This allows to use CDATA
20 sections just for the whole paragraph.
22 2004-10-30 José Matos <jamatos@lyx.org>
24 * paragraph.C (getFirstWord): remove unused variable.
26 2004-10-30 José Matos <jamatos@lyx.org>
28 * paragraph.C (getFirstWord): the content should always be escaped there.
29 (simpleDocBookOnePar):
30 * output_docbook.C (makeEnvironment): replace reference to CDATA to style pass_thru.
32 2004-10-30 José Matos <jamatos@lyx.org>
34 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
36 2004-10-30 José Matos <jamatos@lyx.org>
38 * output_docbook.C (makeParagraphs):
39 * paragraph.[Ch] (emptyTag): for docbook and company, if the
40 standard paragraph has only a given type of content drop the wrapper.
42 2004-10-29 José Matos <jamatos@lyx.org>
44 * output_docbook.C (makeEnvironment):
46 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
48 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
50 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
51 (cleanID): sanitize any id.
53 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
55 * buffer.C, lyxlex_pimpl.C:
56 * lyxlex_pimpl.C (setFile):
57 s/getExtFromContents/getFormatFromContents/
59 2004-10-28 José Matos <jamatos@lyx.org>
61 * output_docbook.C (makeEnvironment): move id to broadest possible scope.
63 * sgml.C (openTag): apply substitution of <> for all attribuites.
65 2004-10-28 José Matos <jamatos@lyx.org>
67 * buffer.C (makeLinuxDocFile, makeDocBookFile):
68 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
69 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
71 * sgml.[Ch]: new version for open and closeTag for paragraph and
72 for strings. Now they handle the ids of paragraphs.
74 2004-10-26 Angus Leeming <leeming@lyx.org>
76 * Makefile.am: add mover.[Ch].
78 * converter.C (convert, move): use the new Movers to move external
79 files to the temp directory.
81 * lyx_main.C (init): ensure that the global system_movers data
84 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
87 * mover.[Ch]: new files, defining a Mover as a utility to move an
88 external file between directories and, if necessary, manipulate this
89 file using a helper script.
91 2004-10-25 José Matos <jamatos@lyx.org>
93 * output_docbook.C (makeCommand): merge two if's that tested the same condition.
95 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
97 * sgml.C (escapeString): fix warning in a better way
99 2004-10-25 José Matos <jamatos@lyx.org>
101 * sgml.C (escapeString): import the require boosts header file for
102 tie, and avoid a signed unsigned comparison.
104 2004-10-25 José Matos <jamatos@lyx.org>
106 * sgml.h: add #include <string>
108 2004-10-25 José Matos <jamatos@lyx.org>
110 * sgml.[Ch] (escapeString): new function to escape all the string.
112 2004-10-24 José Matos <jamatos@lyx.org>
114 * paragraph.[Ch] (getFirstWord): new function to get the first
115 word. Useful for description.
116 (simpleDocBookOnePar): remove depth argument, add another that
117 says where to start the paragraph.
119 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
120 use the new functions to fix cleanly the support for descriptions.
122 2004-10-24 José Matos <jamatos@lyx.org>
124 * buffer.C (makeLinuxDocFile, makeDocBookFile):
125 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
126 * output_linuxdoc.C (linuxdocParagraphs):
127 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
128 add buffer as argument.
130 2004-10-24 José Matos <jamatos@lyx.org>
132 * output_docbook.C (makeEnvironment, searchEnvironment): place
133 CDATA inside paragraphs and fix scope for listitems.
135 2004-10-24 José Matos <jamatos@lyx.org>
137 * output_docbook.C: remove using statement for stack.
139 2004-10-23 José Matos <jamatos@lyx.org>
141 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
142 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
143 docbook. The new scheme is recursive and makes use of iterators, the
144 same as latex export works.
145 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
146 directly with the paragraph contents. This code was moved up to
147 output_docbook.C (docbookParagraphs).
148 * sgml.C (openTag, closeTag): removed unneeded newlines.
149 (closeEnvTags) removed.
151 2003-10-23 André Pönitz <poenitz@gmx.net>
153 * undo.C (textUndoOrRedo):
154 * dociterator.C (asDocIterator): work around crash
156 * cursor.C (getStatus): replace ASSERT by more verbose error message
157 and manual correction of the problem. Should increase stability
158 while providing more sensible information.
160 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
162 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
164 * bufferlist.C (previous, next): new methods
167 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
169 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
171 * buffer.C (makeDocBookFile): add dsssl stylesheet control
172 entities to preamble.
174 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
176 * messages.C (Pimpl): strip off translation context information
178 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
180 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
181 the cursor is correct (bug 1694)
183 2004-10-13 José Matos <jamatos@lyx.org>
185 * output_docbook.C (docbookParagraphs): fix closing tags in the
188 2004-10-09 José Matos <jamatos@lyx.org>
190 * buffer.C: format up to 237.
191 * bufferparams.C (write): use tostr to convert booleans to strings.
193 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
195 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
197 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
199 * LaTeX.C: implement use of babel language in xindy.
201 2004-10-05 José Matos <jamatos@lyx.org>
203 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
204 Add new translators to help reading and writing the lyx file.
206 2004-10-05 José Matos <jamatos@lyx.org>
208 * ParagraphParameters.C (read):
209 * text.C (readParToken): replace nexToken by more appropriate lex
212 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
214 * LaTeX.C (runMakeIndex):
215 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
216 (usually 'makeindex') configurable.
218 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
219 with a variable rather than with a number.
221 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * output_latex.C (TeXOnePar): make sure font setting is the first
224 thing that gets output (and the last at the end). Should fix bug
227 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
229 * pch.h: use proper signal include
231 * LaTeX.h: Use preferred calling of Boost.Signal
234 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
236 * pch.h: dont include <boost/function/function0.hpp>
238 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
240 * paragraph_pimpl.h: remove usage of ShareContainer
242 * paragraph_pimpl.C: remove initialization of ShareContainer.
244 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
248 * BufferView.C (putSelectionAt): change the semantics when
249 backwards == true: now, this just swaps cursor and anchor wrt the
252 * BufferView.h (putSelectionAt): add some documentation
254 * lyxfind.C (findBackwards): rewrite using while(). In particular,
255 make sure backwardChar is done at least once (to avoid getting
257 (findNextChange): use putSelectionAt in the forward direction
258 (operator()): use Paragraph::isWord
260 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
262 * Spacing.C (set): c_str fix
264 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
266 * lyx_cb.C (Reconfigure): quote the name of configure script in
267 case it contains spaces
269 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
273 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
274 (BOOST_LIBS): use top_buildir when looking for the file
276 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
278 * pch.h: do not use include boost/format.hpp, multiple symbols
279 will result (gcc bug)
282 2004-08-23 José Matos <jamatos@lyx.org>
284 * bufferparams.C (readToken): fix reading of the author field.
286 2004-08-20 José Matos <jamatos@lyx.org>
288 * lyxrc.C: remove support/translator.h inclusion since it is not used.
290 2004-08-20 José Matos <jamatos@lyx.org>
292 * lyxlex.[Ch] (findToken): remove function.
294 * ParagraphParameters.C (findToken):
295 * bufferparams.C (findToken): replace call for previous function
296 with local copy. This local function has one more argument, the
297 read string argument.
299 2004-08-16 José Matos <jamatos@lyx.org>
301 * ParagraphParameters.C (write):
302 * Spacing.C (writeFile):
303 * bufferparams.C (writeLaTeX):
304 * lyx_cb.C (Reconfigure):
305 * paragraph.C (write):
306 * tabular.C (write): remove unnecessary space at end of line.
309 2004-08-16 José Matos <jamatos@lyx.org>
311 * text.C (readParagraph): remove debug message.
313 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
315 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
318 * output_plaintext.C (asciiParagraph): set depth correctly
320 * outputparams.h: add member depth
322 * paragraph_funcs.C (ownerPar): remove.
324 * text2.C (setCounter): remove first_pit; comment out some
325 non-working code that uses ownerPar
327 * BufferView.C (getParentLanguage): remove. Not used anymore, and
330 2004-08-16 José Matos <jamatos@lyx.org>
332 * text.C (readParToken, readParagraph, read): report all unknown tokens.
333 For the same level of importance use the same chanel to report problems.
334 (read): add code to deal with \begin_body and \end_body.
337 2004-08-15 José Matos <jamatos@lyx.org>
339 * lyxlex.C (getString): fix comment, buffer::readBody is now
342 * tex-strings.C (string_papersize): Default -> default,
343 Custom -> custom, for consistency with other options.
345 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
349 * Makefile.am: support pch
351 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * text.C (readParToken): remove the static LyXFont variable and
354 pass it as a parameter instead. This fixes a nasty bug where an
355 inset will be inserted with a bad font in some situations
356 (readParagraph): adapt
358 * text2.C (setCounter): reduce number of calls to pars_[pit]
360 * text.C (singleWidth): add an assert, fix a test
362 * rowpainter.C (paintText): reduce number of calls to singleWidth
364 * paragraph.C (isHfill):
367 2004-08-14 André Pönitz <poenitz@gmx.net>
372 * lyxtext.h (several functions): use a Paragraph & argument
375 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
377 * metricsinfo.h: add a new field ltr_pos to PainterInfo
379 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
381 * text.C (singleWidth): remove useless test
383 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
385 * tabular.h: remove bogus comments
387 * tabular.C (getDescentOfRow):
388 (isPartOfMultiColumn): add assertions
390 * lyxlength.C (inPixels): remove #warning
392 2004-08-14 André Pönitz <poenitz@gmx.net>
394 * paragraph.h: inline getChar()
396 * BufferView.h: remove unused declarations
398 2004-08-14 José Matos <jamatos@lyx.org>
400 * Buffer.[Ch] (readDocument): new name for old readBody.
401 * Buffer.C: new file format, new keywords: \begin_document,
402 \begin_header, \begin_body, \end_body.
404 * bufferparams.C (readToken): replace all calls to lex.nextToken
405 by lex.next(). Do the same to eatLine except where really needed.
407 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
408 line when writing to the lyx file.
410 * output_plaintext.C (asciiParagraph): fix Bibliography style
413 * text.C (read): fix end of file handling.
415 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
417 * MenuBackend.C (Menu::operator[]): new method to access
418 individual menu items
419 (Menu::hasFunc): new method. search for an item that corresponds
421 (MenuBackend::specialMenu): new method
422 (MenuBackend::expand): if a special menu has been set, skip
423 entries whose func() appears in this menu
425 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
427 * text3.C: use Debug::DEBUG a bit more
429 * text.C (leftMargin): try to simplify a tiny bit change var x to
430 l_margin. Dont output the wide margins always.
431 (rightMargin): no margin in inner texts
433 * rowpainter.h (nestMargin): new func
434 (changebarMargin): new func
435 (rightMargin): new func
437 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
441 * factory.C (createInset): modify setDrawFrame
443 * cursor.C: use Debug::DEBUG a bit more
445 2004-08-14 André Pönitz <poenitz@gmx.net>
448 * Makefile.am: new files to accomodate an 'external' (x,y)-position
449 cache for all insets in (at least partially) visible (top-level)
452 * BufferView_pimpl.C: reset external coord cache before every update.
453 This means the coord cache only contains valid entries.
455 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
458 * BufferView_pimpl.C (getInsetByCode): move function out of class
459 and change in to a template in anon namespace. Also fix to do what
462 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
465 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
467 (breakParagraph): rename par to par_offset and use a local
468 reference. Add code to keep the language over a rebreak.
469 (breakParagraphConservative): rename par to par_offset, use a
471 (mergeParagraph): ditto
473 (isFirstInSequence): ditto
474 (outerFont): rename pit to par_offset
476 * paragraph.C: ws change
481 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
483 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
486 * paragraph.C (simpleTeXOnePar): when we have a \item with
487 optional argument, enclose the argument with curly brackets (in
488 case it contains a closing square bracket)
492 * text3.C (checkInsetHit): constify
494 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
496 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
499 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
501 Fix toggling of collapsable insets with the mouse (bug 1558)
503 * lyxfunc.C (dispatch): adapt to LCursor changes
505 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
506 make sure that dispatch is not invoked twice
508 * cursor.C (needsUpdate): new method
509 (dispatch): return void
510 (result): new method, to access the DispatchResult of the cursor.
512 2004-08-13 José Matos <jamatos@lyx.org>
514 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
516 2004-08-13 André Pönitz <poenitz@gmx.net>
518 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
520 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
523 2004-08-12 André Pönitz <poenitz@gmx.net>
525 * text3.C: take out the 'cursor right' form insertInset and only
526 do it in those places when it is really needed. Fixes crash on
529 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
531 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
533 * BufferView_pimpl.C (setBuffer): initialize the current font of
534 the underlying LyXText
536 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
538 * kbsequence.C (print): use UI native formatting for menu
541 * text.C (insertChar): call Paragraph::insertChar with a font
544 * paragraph.C (insertInset, insertChar): the version that takes a
545 LyXFont argument is now a wrapper around the other one (the
546 opposite used to be true).
548 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
549 argument. Font setting is done in Paragraph now.
551 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
553 * outputparams.h: add new members intitle and lang.
555 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
556 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
558 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
560 * text3.C (dispatch): remove special handling of button 4 and 5,
561 it is now taken care of in the frontend code.
563 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
565 * Spacing.h: add <string> (STLPort compile fix)
567 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
569 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
571 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
573 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
576 * converter.C (showMessage): inherit from unary_function, make
579 * buffer.C (writeFile): initialize retval
581 * InsetList.h: rename private variable list to list_
582 * InsetList.[Ch]: adjust accordingly.
584 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
586 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
587 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
588 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
589 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
590 * ParagraphParameters.C, LaTeXFeatures.C: replace
591 "support/std_sstream.h" with <sstream>
593 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
595 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
596 * lyxsocket.C (LyXServerSocket): ditto
597 (serverCallback): ditto
599 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
601 * LaTeXFeatures.C: check release date when loading jurabib.
603 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
605 * lyxserver.C (startPipe): call register_socket_callback
606 (endPipe): call unregister_socket_callback
608 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
610 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
611 (LyXServerSocket): register the callback
612 (LyXServerSocket): unregister the callback
613 (fd): delete function
614 (serverCallback): improve error checking and setup the callbacks.
615 (dataCallback): change arg to fd.
616 (writeln): new func (copied fro the client socket) used for server
618 (LyXDataSocket): simplify
619 (~LyXDataSocket): close ann unregiser callback
620 (server): delete function
621 (fd): delete function
622 (readln): small changes, improve some std::string usage
623 (writeln): constify a bit
625 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
627 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
630 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
632 * BufferView_pimpl.C (setBuffer): set the layout combox value only
633 after it has been populated
635 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
637 * text2.C (insertInset): move cursor when inserting inset.
639 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * kbmap.C (findbindings): a couple of new methods. returns a
642 container of kb_sequence objects. The real work is done by the
643 private recursive version
644 (printbindings): uses findbindings to print out a bracketed list
645 of bindings (renamed from findbinding).
647 * MenuBackend.C (binding): use kb_keymap::findbindings
649 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
651 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
653 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
655 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
657 * paragraph.C (isWord): return true on insets that report
660 * text.C (getWord): use Paragraph::isWord to decide what is in a
661 word and what is not; fix bug 1609.
663 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
665 * tex-strings.C: add "none" to string_paperpackages[], fixes
666 off-by-one-error in the paperpackage selection.
669 * tex-strings.[Ch]: char const * string[n]
670 -> char const * const string[]
672 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
674 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
675 command, return early.
677 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
679 * debug.h: add DEBUG to enum and fix size of ANY.
681 * debug.C: add support for Debug::DEBUG
682 (showTags): cast errorTags.level to unsigned int
684 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
685 (redoCurrentBuffer): ditto
686 (updateScrollbar): ditto
687 * cursor.C (dispatch): ditto
688 * text2.C (setLayout): ditto
690 (updateCounters): ditto
692 (deleteEmptyParagraphMechanism): ditto
694 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
696 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
697 annotations to cleanup the Makefile slightly.
699 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
701 * lyxrc.C: do not set user_email to a default value but use empty
702 instead. The entry used to be translated, which does not work
703 since at the point where lyxrc is constructed there is no
704 translation service available
706 * messages.C (getLocaleDir): remove and use directly
707 lyx_localedir() instead
709 2004-06-02 Angus Leeming <leeming@lyx.org>
711 Fix crash caused by dereferencing null pointer 'exportdata' in
712 OutputParams by creating a new ExportData variable on the heap,
713 storing it in a boost::shared_ptr.
714 The crash was triggered when generating an Instant Preview
715 of an external inset.
717 * Makefile.am: add outputparams.C
719 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
720 (c-tor): allocate memory to it.
722 * exporter.C (c-tor): associated changes.
724 2004-06-01 Angus Leeming <leeming@lyx.org>
726 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
727 contains data before calling isInset(0). (Bug 1513.)
729 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
731 * exporter.C (checkOverwrite): new method
732 * exporter.C (copyFile): new method
733 * exporter.C (Export): copy referenced files to the document dir
734 * exporter.[Ch]: new class ExportedFile
735 * exporter.[Ch]: new class ExportData. Contains currently the
736 names of referenced external files
737 * outputparams.h: add exportdata member.
739 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
741 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
744 2004-05-19 Angus Leeming <leeming@lyx.org>
749 * lyxfunc.C: small changes due to the introduction of namespace
750 lyx::frontend and the moving of namespace biblio to lyx::biblio.
752 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
754 * text3.C (dispatch): supress update when only moving the cursor
755 * cursor.C (selHandle): remove commented code
757 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
759 * paragraph.C (startTeXParParams): correct column count
760 * CutAndPaste.C (pasteSelection): remove const_cast
761 * output_docbook.C (docbookParagraphs): remove const_cast
762 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
763 const_cast and return ParagraphList::const_iterator
764 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
765 * output_plaintext.C (writeFileAscii): remove const_cast
766 * paragraph.[Ch] (simpleTeXOnePar): make const
767 * paragraph_funcs.C (outerPar): use const iterators
768 * paragraph_pimpl.C (validate): use const iterators
769 * text.C (setHeightOfRow): use const iterators
771 2004-05-17 Angus Leeming <leeming@lyx.org>
774 * LyXAction.C (init): new LFUN_INSET_REFRESH.
776 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
777 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
778 if the citation engine has changed.
780 2004-05-14 José Matos <jamatos@lyx.org>
782 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
783 if the textclass does not provide it. Have it different for sgml and
785 support the language of document.
786 * output_docbook.C (docbookParagraphs):
787 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
788 first anchor as the id of the paragraph, remove special case code.
789 * sgml.C (escapeChar): escape only < & >.
791 2004-05-14 Angus Leeming <leeming@lyx.org>
793 * bufferparams.h: move biblio::CiteEngine enum here to minimize
794 dependencies on src/frontends/controllers/biblio.h. Define a
795 CiteEngine_enum wrapper class to enable the enum to be forward
798 2004-05-12 Angus Leeming <leeming@lyx.org>
800 * buffer.C: up LYX_FORMAT to 234.
801 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
802 use_numerical_citations with a single biblio::CiteEngine cite_engine
804 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
806 2004-05-13 José Matos <jamatos@lyx.org>
809 * converter.C (Converter, readFlags): add xml member.
810 * outputparams.h: add XML flavor.
811 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
813 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
815 * lyxfunc.C (dispatch):
816 (getStatus): fix handling of LFUN_SEQUENCE
818 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
820 * debug.C (showLevel): do not forget the end-of-line marker
822 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
824 * kbmap.C (read): do not stop parsing a bind file when an error
827 2004-04-29 Angus Leeming <leeming@lyx.org>
832 * text2.C: wrap a bunch of #warning statements
833 inside #ifdef WITH_WARNINGS blocks.
835 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
837 * buffer.C: increment format to 233.
839 2004-04-28 Angus Leeming <leeming@lyx.org>
841 * BufferView_pimpl.C:
844 s/updateToolbar()/updateToolbars()/
845 s/Toolbar.h/Toolbars.h/
847 2004-04-28 Angus Leeming <leeming@lyx.org>
849 * BufferView.[Ch] (c-tor):
850 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
851 No longer passes these data to the WorkArea generator.
853 2004-04-28 Angus Leeming <leeming@lyx.org>
855 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
857 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
859 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
861 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
863 * output_latex.C (TeXEnvironment): make sure that there is a line
864 break before \end{foo} for the last paragraph of a document
865 (TeXOnePar): if the paragraph is at the end of the document (or
866 inset) and the language has to be reset, then make sure that the
867 line break is _before_ the language command, not after (fixes bug
868 1225); also make sure that the language reset command is the first
869 thing after the paragraph (to ensure proper nesting of
870 environments and thus fix bug 1404)
872 2004-04-21 John Levon <levon@movementarian.org>
875 * ToolbarBackend.C: make "name" be a programmatic name
876 and a gui_name field.
878 * lyxfunc.C: display the minibuffer on M-x
880 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
882 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
885 2004-04-19 Angus Leeming <leeming@lyx.org>
887 * BufferView_pimpl.C (setBuffer): changed preview interface.
889 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
892 2004-04-19 John Levon <levon@movementarian.org>
894 * BufferView_pimpl.C:
895 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
897 2004-04-05 Angus Leeming <leeming@lyx.org>
899 * text.C (redoParagraphs): add call to updateCounters(), thereby
900 fixing the missing "Figure #:" label from the caption of a
903 2004-04-13 Angus Leeming <leeming@lyx.org>
905 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
906 cursor is clicked out of an inset.
908 2004-04-13 Angus Leeming <leeming@lyx.org>
910 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
911 than an InsetOld one.
913 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
915 * format.[Ch]: add editor to Format
916 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
917 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
919 2004-04-08 André Pönitz <poenitz@gmx.net>
921 * metricsinfo.h: remove PainterInfo::width member
923 2004-04-08 Angus Leeming <leeming@lyx.org>
925 * lyx_sty.C (boldsymbol_def): modify so that it outputs
926 "\providecommand" rather than "\newcommand", thereby preventing
927 clashes with packages that define "\boldsymbol" themselves.
930 2004-04-08 Angus Leeming <leeming@lyx.org>
932 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
933 thereby squashing an unnecessary warning.
935 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
937 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
940 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
942 * BufferView.C (setCursor): call redoParagraph (some insets could
944 (putSelectionAt): remove the 'double update' trick
946 * BufferView_pimpl.C (fitCursor): call refreshPar
947 (workAreaDispatch): remove an uneeded update call
948 (dispatch): remove some manual update calls
950 * cursor.[Ch]: remove cached_y_, updatePos
951 (selHandle): set noUpdate when appropriate
953 * lyxfunc.C (dispatch): track if we need an update
955 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
957 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
958 (paintSelection): cheap optimization, do not call cursorX when not
960 (paintPars): change signature
963 (paintTextInset): adjust
967 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
969 * lengthcommon.C: compilation fix: remove explicit array size from
970 unit_name[] and friends
972 2004-04-05 Angus Leeming <leeming@lyx.org>
974 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
976 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
977 present only for the preferences dialog.
978 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
980 2004-04-05 Angus Leeming <leeming@lyx.org>
982 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
983 to enable the frontends to export changes to lyxrc correctly.
985 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
987 2004-04-07 André Pönitz <poenitz@gmx.net>
989 * cursor.[Ch] (selClear, adjust): remove math
991 * cursor_slice.C: more agressive assert
994 * BufferView_pimpl.C: rework mouse event dispatch
1001 2004-04-05 André Pönitz <poenitz@gmx.net>
1003 * cursor.[Ch] (valign, halign...): remove unneeded functions
1005 2004-04-05 Angus Leeming <leeming@lyx.org>
1007 * lyxlength.[Ch] (unit_name et al.): const-correct.
1009 2004-04-05 Angus Leeming <leeming@lyx.org>
1011 * BufferView_pimpl.C:
1020 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1022 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1024 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1026 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1028 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1029 * BufferView_pimpl.[Ch] (getStatus)
1030 * BufferView.[Ch] (getStatus): add
1031 * lyxfunc.C (getStatus): move lfuns handled in
1032 BufferView::dispatch to te function above
1033 * Cursor.C (setSelection): set selection() = true
1035 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1037 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1039 2004-03-31 Angus Leeming <leeming@lyx.org>
1041 * lyxfunc.C (dispatch): Fall through to the generic
1042 Dialogs::show("preamble").
1044 2004-03-31 Angus Leeming <leeming@lyx.org>
1046 * lyxfunc.C (dispatch): Fall through to the generic
1047 Dialogs::show("spellchecker").
1049 2004-03-31 Angus Leeming <leeming@lyx.org>
1051 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1054 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1059 * insetiterator.[Ch]:
1064 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1066 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1068 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1069 insets where we are putting the cursor.
1071 2004-03-31 Angus Leeming <leeming@lyx.org>
1074 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1076 * lyxrc.[Ch] (read, write): overloaded member functions taking
1077 a std::[io]stream arguments.
1079 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1081 2004-03-31 Angus Leeming <leeming@lyx.org>
1083 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1084 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1086 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1087 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1089 2004-03-31 Angus Leeming <leeming@lyx.org>
1091 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1092 the LFUN_ALL_INSETS_TOGGLE code.
1094 2004-03-30 Angus Leeming <leeming@lyx.org>
1096 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1097 has died. Fall through to the generic Dialogs::show("document").
1099 2004-03-30 Angus Leeming <leeming@lyx.org>
1102 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1103 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1105 * lyxfunc.C (getStatus, dispatch): define the actions for these
1106 lfuns. Little more than a cut and pste job from ControlDocument.C
1108 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1110 2004-03-30 Angus Leeming <leeming@lyx.org>
1113 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1114 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1116 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1117 open/closed state of ollapsable insets. Usage:
1119 all-inset-toggle <state> <name>, where
1120 <state> == "open" || "closed" || "toggle" and
1121 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1123 * lyxtext.h, text2.C (toggleInset): removed.
1125 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1126 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1127 now passes LFUN_INSET_TOGGLE to the found inset.
1129 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1130 is now invoked as "all-insets-toggle toggle branch".
1132 2004-03-30 Angus Leeming <leeming@lyx.org>
1136 * pariterator.[Ch]: added/corrected header blurb.
1138 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1140 * dociterator.[Ch]: add an inset_ member
1141 (backwardPos): implemented
1142 (backwardPos, forwardPos): use inset_ when the stack is empty.
1143 (doc_iterator_begin, doc_iterator_end): implemented
1144 * pariterator.[Ch]: adjust, add begin, end
1145 * insetiterator.[Ch]: adjust, add begin, end
1149 * BufferView_pimpl.C:
1150 * CutAndPaste.C: adjust
1152 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1154 * buffer.C: increment file format to 232.
1155 * LaTeXFeatures.C: add bibtopic package.
1156 * bufferparams.[Ch]: param \use_bibtopic.
1158 * lyxrc.[Ch]: add lyxrc bibtex_command
1159 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1161 * buffer.C: increment file format to 231.
1163 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1165 * dociterator.C: implement forwardPar
1166 * iterators.[Ch]: remove, replaced by
1167 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1169 * BufferView_pimpl.C:
1172 * bufferview_funcs.C:
1178 * Makefile.am: adjust
1180 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1182 * CutAndPaste.C (pasteSelection): fix 2 crashes
1183 (eraseSelection): fix a crash
1184 * paragraph_funcs.C: remove a warning
1186 2004-03-28 Angus Leeming <leeming@lyx.org>
1189 * LyXAction.C (init): new LFUN_PRINT.
1191 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1193 2004-03-27 Angus Leeming <leeming@lyx.org>
1196 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1198 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1200 2004-03-27 Angus Leeming <leeming@lyx.org>
1202 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1203 insetlist always contains non-null pointers to insets.
1205 2004-03-26 Angus Leeming <leeming@lyx.org>
1207 * src/BufferView_pimpl.C:
1208 * src/CutAndPaste.C:
1211 * src/output_plaintext.C:
1212 * src/outputparams.h:
1213 * src/paragraph_funcs.C:
1217 * src/frontends/controllers/ControlErrorList.C:
1218 * src/frontends/gtk/FileDialogPrivate.C:
1219 * src/frontends/gtk/GPainter.C:
1220 * src/frontends/gtk/GToolbar.C:
1221 * src/frontends/qt2/QRef.C:
1222 * src/mathed/math_scriptinset.C: squash compiler warnings.
1224 2004-03-26 Angus Leeming <leeming@lyx.org>
1226 * ispell.C (LaunchIspell::start):
1227 * lyx_cb.C (AutoSaveBuffer::start):
1228 invoke run(DontWait) rather than runNonBlocking().
1230 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1232 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1234 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1236 * kbsequence.C (print): adjust
1238 * kbmap.C (printKeySym): rename and change signature
1239 (printKey): use LyXKeySym::print()
1241 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1243 * undo.C: add using std::advance to compile for stlport
1245 2004-03-24 Angus Leeming <leeming@lyx.org>
1247 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1248 it leads to a crash when no buffer is present.
1250 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1251 Martin Vermeer <martin.vermeer@hut.fi>
1253 * lyxfunc.C (dispatch):
1254 * bufferparams.C (readToken): use the new LColor::setColor
1256 * LColor.[Ch] (setColor): new version that takes two strings as
1257 argument and creates a new color entry if necessary
1259 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1261 * buffer.C (makeLaTeXFile): if the main latex file that is
1262 processed is usually a subdocument of some master, then pretend
1263 for a while that it is actually the master
1265 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1267 * buffer.C (getLabelList):
1268 (getBibkeyList): use getMasterBuffer()
1269 (getMasterBuffer): new method. Returns the main document in the
1270 case where one is using included documents.
1272 2004-03-25 André Pönitz <poenitz@gmx.net>
1276 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1278 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1280 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1281 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1283 * ParameterStruct.h: merge with ParagraphParameters
1285 * lyxtext.h: remove LyXText::parOffset() and getPar()
1287 * text3.C: Remove all 'manual' update calls. We do now one per user
1288 interaction which is completely sufficient.
1292 * BufferView_pimpl.C:
1293 * FontIterator.[Ch]:
1295 * ParagraphParameters.[Ch]:
1300 * cursor_slice.[Ch]:
1307 * output_docbook.[Ch]:
1308 * output_latex.[Ch]:
1309 * output_linuxdoc.[Ch]:
1310 * output_plaintext.[Ch]:
1312 * paragraph_funcs.[Ch]:
1313 * paragraph_pimpl.[Ch]:
1321 * frontends/controllers/ControlDocument.C:
1322 * frontends/controllers/ControlErrorList.C:
1323 * frontends/controllers/ControlSpellchecker.C:
1326 * insets/insetbase.h:
1327 * insets/insetbibitem.C:
1328 * insets/insetbox.C:
1329 * insets/insetbranch.C:
1330 * insets/insetcaption.C:
1331 * insets/insetcharstyle.C:
1332 * insets/insetcharstyle.h:
1333 * insets/insetcollapsable.C:
1334 * insets/insetcollapsable.h:
1335 * insets/insetert.C:
1336 * insets/insetfloat.C:
1337 * insets/insetfoot.C:
1338 * insets/insetmarginal.C:
1339 * insets/insetnote.C:
1340 * insets/insetoptarg.C:
1341 * insets/insettabular.C:
1342 * insets/insettext.C:
1343 * insets/insettext.h:
1344 * insets/insetwrap.C:
1345 * mathed/math_mboxinset.C:
1346 * mathed/math_nestinset.C:
1347 * mathed/math_scriptinset.C:
1348 * mathed/math_scriptinset.h:
1351 2004-03-24 Angus Leeming <leeming@lyx.org>
1353 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1354 deal with any child processes that have finished but are waiting to
1355 communicate this fact to the rest of LyX.
1357 2004-03-24 Angus Leeming <leeming@lyx.org>
1359 64-bit compile fixes.
1361 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1362 (c-tor): pass lyx::pos_types rather than ints.
1364 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1367 * text.C (Delete): compile fix.
1368 (getPar): ensure that function declaration is the same as that in
1371 2004-03-23 Angus Leeming <leeming@lyx.org>
1373 * ispell.C (LaunchIspell):
1374 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1375 a boost::shred_ptr rather than a std::auto_ptr.
1377 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1379 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1380 handle LFUN_FILE_INSERT_*
1382 * lyxrc.C (setDefaults, getDescription, output, read):
1383 * lyxrc.h: remove ps_command
1385 2004-03-22 Angus Leeming <leeming@lyx.org>
1387 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1388 Ensure that error_handler is processed once only and that all data
1389 is saved before attempting to output any warning messages.
1391 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1393 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1395 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1397 2004-03-19 André Pönitz <poenitz@gmx.net>
1399 * cursor.[Ch] (reset): take main text inset as argument
1401 * BufferView: adjust
1402 * BufferView_pimpl.C: adjust
1404 * paragraph.[Ch]: fix completely broken operator=()
1406 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1408 * LColor.C (getFromLyXName): make sure that the color name is used
1411 2004-03-17 Angus Leeming <leeming@lyx.org>
1414 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1416 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1417 dialog and to kill a forked process.
1419 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1421 * text2.C (setCursorFromCoordinates): fix font problem
1423 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1425 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1426 bogus "rebuild cursor" code
1428 2004-03-11 André Pönitz <poenitz@gmx.net>
1430 * buffer.[Ch]: use InsetText instead of LyXText as container for
1433 * dociterator.[Ch]: drop the BufferView * member which is not needed
1434 anymore after the change to buffer.C
1436 * paragraph_funcs.C:
1440 * BufferView_pimpl.[Ch]:
1442 * cursor_slice.[Ch]: adjust
1444 * text3.C: fix bug in mathDispatch
1446 2004-03-08 André Pönitz <poenitz@gmx.net>
1448 * undo.[Ch]: use 'StableDocumentIterator' as base for
1451 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1454 * bufferparams.[Ch]: add jurabib support and param.
1456 * LaTeX.C: add FIXME/comment.
1458 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1460 * buffer.C: increment file format to 230.
1462 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1464 * cursor.C (dispatch): avoid infinite loops
1466 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1468 * rowpainter.C (paintSelection): fix x coordinates
1470 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1472 * text.C (rowBreakPoint): fix breaking before displayed insets
1474 2004-03-01 André Pönitz <poenitz@gmx.net>
1476 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1478 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1482 * BufferView_pimpl.C:
1490 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1496 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1497 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1499 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1501 * Bidi.[Ch] (computeTables): const correctness
1502 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1503 fill_hfill, fill_label_hfill and x from Row
1504 * lyxtext.h: prepareToPrint returns a RowMetrics
1505 * rowPainter.C: adjust
1506 * text.C (prepareToPrint): use width, not textWidth. adjust
1507 (redoParagraphInternal, cursorX): adjust
1508 * text2.C (getColumnNearX): adjust
1509 (init): put a default value to the top LyXText::width
1511 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1513 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1515 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1517 * lyxtext.h: add FontIterator class
1519 * text.C (FontIterator, operator*, operator->, operator++): add
1520 (rowBreakPoint, setRowWidth): adjust (fixing a
1523 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1525 * BufferView_pimpl.C (workAreaDispatch): allow also
1526 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1528 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1530 * text.C (rowBreakPoint): fix a bug showing with very large insets
1532 2004-02-25 André Pönitz <poenitz@gmx.net>
1535 * cursor.[Ch]: move some mathed specific code to mathed
1537 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1539 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1540 use_tempdir in preferences
1541 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1543 * lyx_main.C: ensure that tempdir is valid
1544 * lyxlex.h: correct typo
1545 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1546 * paragraph.[Ch] (isMultiLingual): make const
1547 * cursor.[Ch] (openable): make const
1549 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1551 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1553 2004-02-20 André Pönitz <poenitz@gmx.net>
1555 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1557 * cursor.[Ch]: prepare for localized getStatus()
1563 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1565 2004-02-20 André Pönitz <poenitz@gmx.net>
1567 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1569 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1571 * text2.C (setCursorFromCoordinates): switch to absolute coords
1573 (cursorDown): adjust
1574 * text3.C (dispatch): adjust
1576 2004-02-16 André Pönitz <poenitz@gmx.net>
1578 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1581 * cursor_slice.[Ch]: remove unneeded acessor function
1583 * lyxtext.h: rename rtl() to isRTL()
1591 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1593 * rowpainter.C (paintSelection): coord fix
1595 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1597 * Spacing.C: compile fix
1599 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1601 * cursor.C (dispatch): restore current_ before returning
1603 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1605 * text2.C (cursorUp, cursorDown): fix coords
1608 2004-02-12 André Pönitz <poenitz@gmx.net>
1613 * text3.C: add LCursor & parameter to most cursor movement functions
1614 remove usage of LyXText::cursorRow() and cursorPar()
1616 * cursor.[Ch]: add textRow() needed members
1619 * BufferView_pimpl.C:
1622 * BufferView_pimpl.C: adjust
1624 2004-02-11 André Pönitz <poenitz@gmx.net>
1628 * BufferView_pimpl.C: shift undo/redo handling
1630 * cursor.[Ch]: fix mathed crash
1633 * lyxtext.h: move selectionAsText to LCursor
1641 * rowpainter.C: fix excessive drawing
1643 2004-02-06 André Pönitz <poenitz@gmx.net>
1646 * BufferView_pimpl.[Ch]:
1647 * text3.C: move some text specific LFUN handling
1649 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1651 * text3.C (checkInsetHit): adjust coords
1652 * text2.C (getColumnNearX): adjust coords
1653 (edit): adjust coords
1654 * text.C (getRowNearY): add two asserts
1656 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1659 * format.C: add using std::distance to compile on gcc 2.95/stlport
1661 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1663 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1665 2004-02-04 André Pönitz <poenitz@gmx.net>
1667 * BufferView.[Ch] (insertInset):
1668 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1673 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1675 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1676 on the default clause of the switch
1677 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1678 wasn't catched by LCursor::dispatch
1680 2004-02-03 André Pönitz <poenitz@gmx.net>
1683 * cursor.[Ch]: some additional asserts
1685 * undo.[Ch]: remove LyXText dependency in interface
1689 * lyxtext.h (firstPar, lastPar): remove dead functions
1694 * paragraph.[Ch]: adjust
1696 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1698 * lyxfind.C (find): fix argument order in call to ::find
1700 2004-02-02 André Pönitz <poenitz@gmx.net>
1702 * cursor.[Ch]: remove direct access to anchor
1704 * text.C: remove findText() hack
1706 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1708 * iterators.[Ch] (lockPath): remove in favour of...
1709 * BufferView.[Ch] (setCursor): this addition
1710 * BufferView.C (putSelectionAt): adjust
1711 * undo.C (performUndoOrRedo): adjust
1712 * lyxfunc.C (dispatch): adjust
1714 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1716 * iterators.C (lockPath): add a missing slice
1717 * undo.C (performUndoOrRedo): remove redundant positioning code
1719 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1721 * vc-backend.C (scanMaster): ";" -> ';'
1723 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1725 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1726 std::binary_function
1728 * lyxtextclass.C (compare_name): rename to...
1729 (LayoutNamesEqual): ...this
1731 * lyxlex_pimpl.C (compare_tags): inherit from
1732 std::binary_function, put back into anon namespace
1734 * lyxfind.C (MatchString): inherig from std::binary_function
1735 (findChange): use empty() istead of !size()
1737 * format.C (FormatNamesEqual): new functor
1744 * converter.C (compare_Converter): rename to...
1745 (ConverterEqual): ...this, and fixup a bit.
1746 (getConverter): use it, and make function const
1747 (getNumber): use it, and make function const
1751 * bufferlist.C: add using boost::bind
1753 * MenuBackend.C (MenuNamesEqual): new functor
1754 (hasMenu): use it, and make function const
1755 (hasSubmenu): use nested bind to get rid of compare_memfun.
1757 2004-01-30 André Pönitz <poenitz@gmx.net>
1759 * BufferView_pimpl.C:
1762 * cursor_slice.[Ch]:
1765 * paragraph_funcs.C:
1766 * paragraph_funcs.h:
1770 * text3.C: move some of the edit(x,y) handling to the insets
1771 some coordinate changes.
1773 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1775 * text.C: add using statements for std::advance and std::distance
1777 * paragraph.C: add using statement for std::distance
1779 * lyxfind.C: add using statement for std::advance
1781 * cursor.C (region): remove std:: from swap
1782 (openable): use nucleus in stead of operator->
1784 * BufferView.C: add using statements for std::distance and std::swap
1786 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1788 * iterators.C: Remove the pimple, move the needed structures to
1789 the header file. Create accessor for the positions stack.
1790 (asPosIterator): remove function
1792 * PosIterator.C (PosIterator): move constructors to top of file
1793 (PosIterator): reimplement the constructor taking a ParIterator in
1795 (setFrom): new function
1796 (operator!=): inline it
1798 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1800 * lyxfind.C (replaceAll): use std::advance
1802 * iterators.h: inherit from std::iterator.
1804 * PosIterator.C (advance, distance): remove
1805 * PosIterator.h: interit from std::iterator.
1807 2004-01-26 André Pönitz <poenitz@gmx.net>
1810 * BufferView_pimpl.[Ch]:
1814 * bufferview_funcs.C:
1824 * output_linuxdoc.C:
1825 * output_plaintext.C:
1827 * paragraph_funcs.[Ch]:
1828 * paragraph_pimpl.[Ch]:
1834 * text3.C: more IU: dumps most of the rest of the mathcursor
1835 implementation into cursor.[Ch]; "globalize" a bit of it.
1837 2004-01-25 Angus Leeming <leeming@lyx.org>
1839 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1841 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1843 * LaTeXFeatures.h: add nice_ and nice() const
1844 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1846 2004-01-20 André Pönitz <poenitz@gmx.net>
1849 * BufferView_pimpl.C:
1851 * bufferview_funcs.C:
1853 * cursor_slice.[Ch]:
1864 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1865 LCursor and mathcursor parts to LCursor and InsetBase.
1867 2004-01-15 André Pönitz <poenitz@gmx.net>
1869 * cursor_slice.[Ch]: add a few covienience functions
1871 * funcrequest.[Ch]: remove BufferView * member
1873 * BufferView_pimpl.C:
1880 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1882 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1884 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1885 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1887 2004-01-13 André Pönitz <poenitz@gmx.net>
1890 * lyxtext.h: hide cursor and selection anchor behind accessor function
1893 * BufferView_pimpl.[Ch]:
1895 * bufferview_funcs.C:
1905 * cursor_slice.[Ch]: some integer type changes for inset unification
1907 * lyxcursor.[hC]: remove, it's CursorSlice now.
1910 * BufferView_pimpl.[Ch]:
1911 * bufferview_funcs.C:
1917 * textcursor.[Ch]: adjust
1919 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1921 * text2.C (undoSpan): add and use
1922 * text.C (breakParagraph): use undoSpan (fix bug 578)
1925 2004-01-08 Angus Leeming <leeming@lyx.org>
1927 * BufferView_pimpl.C (MenuInsertLyXFile):
1928 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1929 * lyxfunc.C (menuNew, open, doImport):
1930 FileFilterList change to the FileDialog open and save functions.
1932 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1934 * ShareContainer.h: make isEqual and isUnique adaptable
1936 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1938 2004-01-07 Angus Leeming <leeming@lyx.org>
1941 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1943 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1945 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1946 functions replacing find, replace and replaceAll.
1948 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1949 LFUN_WORDFIND(FORWARD|BACKWARD).
1951 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1953 * text.C (breakParagraph): remove an outdated #warning
1955 2004-01-07 André Pönitz <poenitz@gmx.net>
1957 * lyxfind.C: somewhat clearer logic
1959 * text.C: prevent crash in cursorX on unitialized row cache
1961 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1963 * lyxcursor.[Ch] (operator>): add
1964 * textcursor.C (selStart, selEnd): use std::min and std::max
1966 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1968 * Chktex.C: include boost/format.hpp
1970 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1972 * InsetList.C: replace functor MathcIt with adaptable functor
1974 (insetIterator): modify accordingly
1976 * BranchList.h: move the BranchNamesEqual functor here from...
1977 * BranchList.C: ... to here
1979 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1981 (add): replace a finding loop with std::find_if.
1983 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1985 * output_docbook.C: moving LatexParam functionality into
1988 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1990 * buffer.C: increment format to 229.
1992 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1995 * lyx_sty.[Ch]: remove minipageindent_def
2001 * text3.C: remove LFUN_INSET_MINIPAGE
2003 2003-12-28 Angus Leeming <leeming@lyx.org>
2005 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2007 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2009 * text2.C (setParagraph): fix off-by-one crash
2011 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2013 * output_docbook.C: header stuff for AGU
2015 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2017 * text2.C (redoCursor): remove
2020 * BufferView_pimpl.C: remove calls to redoCursor and
2021 setCursor(cursor.par(), cursor.pos()) all around
2023 2003-12-15 Angus Leeming <leeming@lyx.org>
2025 * buffer.C: up the format to 228.
2027 2003-12-15 André Pönitz <poenitz@gmx.net>
2029 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2034 * BufferView_pimpl.C:
2043 2003-12-15 Angus Leeming <leeming@lyx.org>
2045 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2046 than getFromGUIName to manipulate the color.
2048 2003-12-14 Angus Leeming <leeming@lyx.org>
2050 * BranchList.[Ch]: minimize the API.
2051 (Branch::getBranch, getColor): now return a 'const &'.
2052 (Branch::setSelected) now returns a bool set to true if the
2053 selection status changes.
2054 (BranchList::clear, size, getColor, setColor, setSelected,
2055 allBranches, allSelected, separator): removed.
2056 (BranchList::find): new functions, returning the Branch with
2058 (BranchList::add, remove): return a bool indicating that
2059 the operation was successful.
2061 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2062 new InsetBranch::isBranchSlected member function.
2064 * LColor.[Ch]: mimimize the API.
2065 (fill): renamed as addColor and made private.
2066 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2067 versions of these functions taking a string arg have been removed.
2069 * bufferparams.C (readToken):
2070 * lyxfunc.C (dispatch):
2071 * lyxrc.C (read): changes due to the altered BranchList and
2074 * factory.C (createInset, readInset): changes due to altered
2077 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2080 * lyxfunc.C: remove insetminipage. "minipage-insert"
2081 now produces a frameless minipage box inset.
2083 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2085 * textcursor.[Ch] (selStart,selEnd): add new methods
2086 remove selection::start, end, use LyXCursor::operator<
2087 * lyxcursor.[Ch] (operator<): add
2088 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2089 * BufferView.[Ch] (unsetXSel): add
2090 * text2.C (clearSelection): use unsetXSel,adjust
2093 * rowpainter.C: adjust
2094 * bufferview_funcs.C (put_selection_at): adjust
2096 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2098 * BufferView_pimpl.C: small coord. correction
2100 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2102 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2103 dragging over the splash screen.
2105 2003-12-11 Angus Leeming <leeming@lyx.org>
2107 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2108 as it is now handled in LyXText::dispatch.
2110 * text3.C (doInsertInset): remove a level of nesting.
2112 2003-12-11 Angus Leeming <leeming@lyx.org>
2114 * factory.C (createInset): changes due to the changed interface to
2115 InsetCommandMailer::string2params.
2117 2003-12-10 Angus Leeming <leeming@lyx.org>
2119 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2120 'dialog-show-new-inset <inset name>'
2122 2003-12-10 Angus Leeming <leeming@lyx.org>
2124 * buffer.C: up the format to 227.
2126 * factory.C: the box inset is now identified simply by 'Box'.
2128 2003-12-10 Angus Leeming <leeming@lyx.org>
2130 * buffer.C: up the format to 226.
2132 * factory.C: the note inset is now identified simply by 'Note'.
2134 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2136 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2137 when a pit is enough. Standarize a couple of loops.
2139 2003-12-05 Angus Leeming <leeming@lyx.org>
2141 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2142 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2143 data to the re-worked "log" dialog.
2145 2003-12-03 André Pönitz <poenitz@gmx.net>
2151 * paragraph_funcs.C:
2153 * text2.C: use Inset::getText instead of Inset::getParagraph
2155 2003-12-03 André Pönitz <poenitz@gmx.net>
2159 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2160 InsetText::read() as LyXText::read()
2162 2003-12-02 Angus Leeming <leeming@lyx.org>
2164 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2165 type. Add a comment in the implementation that the function uses
2166 the stream's bad() function rather than fail() as the std::streams
2169 2003-12-02 André Pönitz <poenitz@gmx.net>
2171 * lyxlex.[Ch]: make interface more similar to std::stream
2173 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2175 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2177 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2179 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2181 * vspace.[Ch]: remove VSpace::NONE
2183 2003-12-01 André Pönitz <poenitz@gmx.net>
2186 * lyxtext.h: move ParagraphList member to LyXText
2187 rename LyXText::ownerParagraphs to LyXText::paragraph
2190 * bufferview_funcs.C:
2200 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2202 * undo.C: fix cursor positioning
2204 2003-12-01 John Levon <levon@movementarian.org>
2206 * BufferView_pimpl.C: fix a crash on exit with
2209 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2211 * BranchList.C: fix setSelected() method.
2213 2003-11-28 André Pönitz <poenitz@gmx.net>
2215 * ParagraphParameters.[Ch]:
2216 * ParameterStruct.h: remove space above/below from Paragraph to
2219 * BufferView_pimpl.C:
2225 * paragraph_funcs.C:
2231 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2233 * factory.C: Syntax change for CharStyles
2235 2003-11-28 André Pönitz <poenitz@gmx.net>
2240 * buffer.[Ch]: move LyXText member
2242 2003-11-28 André Pönitz <poenitz@gmx.net>
2244 * BufferView.[Ch]: make LyXText * text a private member
2246 * BufferView_pimpl.C:
2257 * output_plaintext.C: cleanup
2259 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2262 * lyxtextclass.[Ch]: parametrize SGML document header
2264 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2267 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2270 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2272 * text2.C (setFont): rework using PosIterator (no more recursive)
2273 (setCharFont): no more needed
2274 (setLayout): no more selection cursors fiddling (done by redoCursor)
2275 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2276 destroy remaining ones)
2278 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2280 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2282 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2285 * text3.C: adjust + re-allow multi par depth changes
2286 * textcursor.C: simplify a bit
2288 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2294 * src/output_docbook.C:
2295 * src/output_latex.C:
2300 * src/text2.C: Introducing a number of tags parametrizing various
2301 XML formats that we may want to support
2303 2003-11-25 André Pönitz <poenitz@gmx.net>
2305 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2307 * lyxtext.h (leftMargin/rightMargin): simplify interface
2314 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2316 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2317 master file to any child files. Fixes bug 546.
2319 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2321 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2323 2003-11-24 André Pönitz <poenitz@gmx.net>
2325 * rowpainter.C: simplification
2327 * text2.C (updateCounters): remove call to redoParagraph on
2328 changed labels as this is far too expensive.
2330 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2332 * converter.C (convert): fix a crash: this function gets
2333 called with buffer == 0 from importer code.
2335 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2337 * text3.C (cursorPrevious): make sure that we do not compare
2338 iterators form different containers.
2341 * rowpainter.C (paintSelection): make sure that we do not compare
2342 iterators from different containers.
2344 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2345 iterators from different ParagraphList containers.
2348 * text2.C (LyXText): change order of initialization slightly
2349 (operator=): new function. copy all variables except cache_par_
2350 (moveUp): make sure that we do not compare iterators from
2351 different ParagraphList constainers.
2354 * text.C (firstPar): new function
2355 (lastPar): new function
2356 (endPar): new function
2358 * lyxtext.h: move things around and group public functions, public
2359 variables, private functions, private variables
2361 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2363 * factory.C: change call to InsetERT constructor to avoid
2364 additional invocation of method status
2365 * text2.C (toggleInset): remove redundant update() call
2366 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2367 instead of a Bufferview pointer
2369 2003-11-21 André Pönitz <poenitz@gmx.net>
2371 * rowpainter.C: simplification
2373 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2375 * text3.C (dispatch): make possible to extend a word/row selection
2378 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2380 * lyxtext.h: x0_,y0_ -> xo_,yo_
2381 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2382 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2383 * rowpainter.C (paintRows): paint full paragraphs
2385 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2387 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2390 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2392 * lyxtext.h: add x0_, y0_
2393 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2394 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2396 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2398 * text2.C (setCursorIntern): move the x_target update here *
2399 * text3.C: change some bv() to true/false in calls to
2400 cursorUp/Down/Right/Left
2401 * cursor.C: use helper function.
2403 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2405 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2406 * paragraph_funcs.[Ch]: correct comment
2407 * rowpainter.C: do not paint selections away from bv->cursor()
2408 Fix a long standing selection painting bug.
2409 * text3.C: generalize mouse-selection code to LyXTexts other that
2411 * textcursor.C: do not use y coords if we can use par offsets
2413 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2415 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2416 cursor position after e.g. inset insert)
2418 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2420 * lyxfind.C (replace): adjust to locking removal + some
2423 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2425 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2428 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2431 * output_docbook.C: XML sanitation: new layout
2432 parameters InnerTag and CommandDepth
2434 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2436 * BufferView_pimpl.C:
2438 * text3.C: Fix the insertion and modification of button-style
2441 2003-11-13 André Pönitz <poenitz@gmx.net>
2443 * InsetList.[Ch]: remove deleteLyXText
2445 * paragraph.[Ch]: cache beginOfBody position
2450 * text3.C: remove superfluous update() calls
2454 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2456 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2457 * BufferView.C (fitLockedInsetCursor): remove
2458 * cursor.[Ch] (getDim): add
2459 * text.C (getRowNearY): add faster version
2460 * text3.C: remove some update calls
2462 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2474 * text3.C: The Character Style /XML short element patch.
2476 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2479 * factory.C: Small step to solving 'unable to insert some insets'
2482 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2484 * cursor.[Ch] (updatePos): new function for updating the y
2485 position of the tip inset
2486 * bufferview_funcs.C (put_selection_at):
2487 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2489 2003-11-11 André Pönitz <poenitz@gmx.net>
2491 * text.C: remove big comment on invalid Paragraph pointers as it is
2494 2003-11-11 André Pönitz <poenitz@gmx.net>
2496 * text_funcs.[Ch]: merge with ...
2504 * Makefile.am: remove text_funcs.[Ch]
2506 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2508 * cursor.C (getPos): return absolute cached y coord
2510 * BufferView_pimpl.C (fitCursor): new simplistic code
2511 (workAreaDispatch): add a fitCursor call
2513 2003-11-10 André Pönitz <poenitz@gmx.net>
2516 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2518 2003-11-10 André Pönitz <poenitz@gmx.net>
2520 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2521 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2522 indicate that the cursor needs to leave an inset
2524 * lyxtext.h: remove inset locking
2526 * cursor.[Ch]: re-implement functionality provided by inset locking
2529 * BufferView_pimpl.[Ch]:
2531 * bufferview_funcs.[Ch]:
2543 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2545 * PosIterator.[Ch]: replace the stack with a vector, add inset
2547 * iterators.[C]: adjust
2549 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2551 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2553 * paragraph_funcs.C (readParToken): put the correct id in the
2554 error item, not the id of the top paragraph
2556 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2558 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2559 * bufferview_funcs.C (put_selection_at): use the above
2561 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2563 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2565 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2567 * output_linuxdoc.h:
2568 * output_plaintext.h:
2570 * output_docbook.h: add #include statements
2572 2003-11-05 José Matos <jamatos@lyx.org>
2574 * output_docbook.[Ch]:
2575 * output_latex.[Ch]:
2576 * output_linuxdoc.[Ch]:
2577 * output_plaintext.[Ch]: New files for output formats.
2578 * output.[Ch]: New file for helper functions.
2581 * paragraph_funcs.[Ch]: output functions moved to new files.
2583 * outputparams.h: rename of latexrunparams.h
2591 * paragraph_funcs.[Ch]:
2592 * paragraph_pimpl.[Ch]:
2593 * tabular.[Ch]: rename ascii to plaintext
2594 and LatexRunParams to OutputParams.
2596 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2598 * iterators.[Ch] (text): require bv argument
2599 * undo.C (recordUndo):
2600 * lyxfunc.C (dispatch):
2601 * bufferview_funcs.C (put_selection_at): adjust
2603 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2605 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2607 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2609 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2612 2003-11-04 André Pönitz <poenitz@gmx.net>
2614 * cursor.[Ch]: restructure
2617 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2619 * iterators.[Ch] (asCursor): remove
2621 * lfuns.h: remove LFUN_INSET_EDIT
2627 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2629 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2631 * lyxfind.[Ch]: complete overhaul
2632 * BufferView_pimpl.C:
2634 * paragraph.[Ch] (insert): add
2636 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2640 * text.C: remove dead spellcheck code
2642 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2644 * dispatchresult.h: add a val setter
2646 * cursor.C (dispatch): use a tempvar for data_[i]
2648 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2650 * PosIterator.[Ch]: compile fix
2652 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2654 * text.C (cursorPar): deactivate the cursor cache
2656 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2658 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2660 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2662 * text3.C (dispatch): adjust for new DisptchResult semantics.
2664 * lyxfunc.C (dispatch): handle update when return from
2665 Cursor::dispatch, adjust for new DispatchResult semantics.
2667 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2668 DispatchResult(true) mean to not update. Add class functions for
2669 setting dispatched and update, as well as reading.
2671 * cursor.C (dispatch): don't handle update here
2673 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2675 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2676 * trans_mgr.C: adjust
2678 * paragraph_funcs.C (readParToken): exception safety
2680 * lyxvc.h: store the vcs pointer in a scoped_ptr
2683 * lyxsocket.C (serverCallback): exception safety
2685 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2687 * ispell.C (clone): make it return a auto_ptr
2689 * factory.C (createInset): exception safety
2690 (readInset): exception safety
2692 * bufferlist.C (newBuffer): exception safety
2694 * Thesaurus.C (Thesaurus): use initialization for aik_
2696 * MenuBackend.C (expandToc): exception safety.
2698 2003-11-03 André Pönitz <poenitz@gmx.net>
2702 * bufferview_funcs.C: remove getInsetFromId()
2705 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2711 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2713 * PosIterator.C (distance, advance): new
2714 * bufferview_funcs.[Ch] (put_selection_at): new
2715 * iterators.[Ch] (lockPath): new
2717 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2719 * iterators.[Ch] (asPosIterator): added
2720 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2721 * PosIterator.[Ch]: added
2723 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2727 * cursor.C (dispatch):
2728 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2730 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2731 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2732 contructor, add a class function dispatched. Remove operator>=
2734 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2736 * debug.C: only use the default constructor for debugstream
2739 * main.C (main): include debug.h and setup the lyxerr streambuf
2742 2003-10-31 José Matos <jamatos@lyx.org>
2744 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2746 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2747 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2748 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2749 * paragraph_pimpl.C (simpleTeXSpecialC):
2750 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2751 add LatexRunParams argument.
2753 * exporter.C (Export): change call accordingly.
2755 * latexrunparams.h: add new member to take care of the other backends.
2756 2003-10-30 José Matos <jamatos@lyx.org>
2758 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2759 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2760 factorise code for paragraph output.
2762 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2765 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2767 * text3.C (dispatch):
2768 * lyxfunc.C (dispatch):
2769 * cursor.C (dispatch):
2770 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2772 * dispatchresult.h: make the dispatch_result_t ctor explicit
2774 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2777 * buffer.C: small refactoring of docbook stuff
2779 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2781 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2784 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2786 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2787 operator dispatch_result_t, and operators for == != and >=
2789 * cursor.C (dispatch): adjust for operator dispatch_result_t
2790 removal. comment out call to update
2792 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2794 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2802 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2805 * dispatchresult.h: new file, DispatchResult broken out of
2808 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2810 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2812 * text.C (rowBreakPoint): put a hack inside #if 0
2814 2003-10-28 André Pönitz <poenitz@gmx.net>
2818 * paragraph_funcs.C:
2821 * text2.C: general cleanup (lots of small stuff)
2823 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2825 * text2.C (cursorEnd): simple fix to the "end key goes to one
2826 before the end on last row" bug
2828 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2830 * text.C (backspace): fix the "zombie characters"
2832 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2834 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2836 2003-10-27 André Pönitz <poenitz@gmx.net>
2838 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2840 * factory.C: handle new InsetPagebreak, InsetLine
2842 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2843 and move handling into new InsetPagebreak, InsetLine
2845 * BufferView_pimpl.C:
2847 * ParagraphParameters.C:
2848 * ParameterStruct.h:
2853 * paragraph_funcs.C:
2854 * paragraph_pimpl.C:
2860 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2863 * lyxrow_funcs.[Ch]:
2869 * text3.C: remove lastPos uses in favour of Row::endpos
2871 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2873 * undo.C (performUndoOrRedo): fix two crashes by setting a
2874 cursor by hand and reordering some calls. Use bv->lockInset instead
2875 of inset->edit because the latter loses cursor information
2877 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2879 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2881 (rowBreakPoint): fix width. change point to point + 1.
2882 Add a missing check.
2884 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2887 * lyxfunc.C: fix (at least partly) the problems
2888 with the Nav menu and headers inside branch insets
2891 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2893 * paragraph.C (getChar): add strong asserts
2895 * lyxrow_funcs.C (lastPos): remove hideous hack
2897 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2898 (fill): adjust to that (avoid an infinite loop)
2900 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2902 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2904 2003-10-23 André Pönitz <poenitz@gmx.net>
2906 * RowList_fwd.h: change list<> to vector<> to gain speed
2907 after suggestion from Alfredo
2909 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2911 * lyxtext.h: move the bidi stuff from here...
2914 * Bidi.[Ch]: ... to here
2916 2003-10-23 André Pönitz <poenitz@gmx.net>
2919 * text.C (isLastRow, isFirstRow): new functions
2921 * paragraph.h: new width cache member
2923 * rowpainter.C: replace RowList::iterator with Row & where possible
2925 * lyxfunc.C: replace several view()->text with a single call
2927 * toc.C: fix 'unused' warning
2929 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2931 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2932 when woring with stream::pos_type
2933 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2935 2003-10-22 André Pönitz <poenitz@gmx.net>
2938 * text.C: use Row & instead of RowList::iterator
2940 * lyxrow.h: rename end() to endpos()
2946 2003-10-22 Angus Leeming <leeming@lyx.org>
2948 * buffer.[Ch] (fully_loaded): new member function, returning true
2949 only when the file has been loaded fully.
2950 Used to prevent the premature generation of previews and by the
2951 citation inset to prevent computation of the natbib-style label.
2953 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2954 templates are all set up.
2956 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2958 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2960 * text.C: fixed an "oops" in the "is a bit silly"
2963 2003-10-21 André Pönitz <poenitz@gmx.net>
2965 * FuncStatus.[Ch]: small stuff, whitespace
2967 * lyxfont.[Ch]: operator<<() for debug reasons
2971 * lyxtext.h: whitespace, spelling
2973 * paragraph.C: naming of variables
2976 * text2.C: small stuff
2979 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2981 * text.C: (1) finish off the inset display() work;
2982 (2) fix the "is a bit silly" bug (accessing char
2985 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2987 * text.C: re-introduce display() for insets, fixing the
2988 various bugs (stretch of line above, math inset
2991 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2993 * text.C (rightMargin): remove spurious semicolon
2995 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2998 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3000 * text3.C: fix one crash due to wrong cursor def
3002 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3004 * vc-backend.C (scanMaster): make the regex static
3006 * LaTeX.C (scanAuxFile): make the regexs static
3008 * text3.C (doInsertInset, dispatch, dispatch):
3009 * text2.C (cursorUp, cursorDown):
3010 * text.C (selectNextWordToSpellcheck):
3011 * BufferView_pimpl.C (dispatch):
3012 * lyxfunc.C (dispatch): localDispatch -> dispatch
3014 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3016 * lyxsocket.C: include <cerrno>
3018 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3020 * lyxfunc.C (dispatch): remove textcache stuff
3022 * bufferlist.C (release): remove textcache stuff
3025 * TextCache.C: delete file
3026 * TextCache.h: delete file
3028 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3030 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3031 delete of the bv_->text.
3032 (resizeCurrentBuffer): remove texcache stuff
3033 (workAreaResize): ditto
3035 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3037 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3040 2003-10-16 André Pönitz <poenitz@gmx.net>
3047 * text3.C: speed up by storing y positions per paragraph plus per-row
3048 offset instead of having a 'full' y position in the row.
3050 2003-10-15 André Pönitz <poenitz@gmx.net>
3054 * undo.[Ch]: make undo aware of inner insets
3056 2003-10-14 Angus Leeming <leeming@lyx.org>
3058 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3059 static member functions LyX::ref() and LyX::cref.
3060 (lastfiles): new accessor functions for the new lastfiles_ member var.
3061 (addLyXView, views_): add a new LyXView to the list of views_.
3062 (updateInset): loop over all LyXViews to call their own updateInset
3063 member function, returning a pointer to the Buffer owning the inset.
3065 * BufferView_pimpl.C (loadLyXFile):
3066 * MenuBackend.C (expandLastfiles):
3067 * bufferlist.C (MenuWrite, QuitLyX):
3068 lastfiles is no longer a global variable.
3069 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3071 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3072 static function. Access through LyX::cref().emergencyCleanup().
3074 2003-10-14 André Pönitz <poenitz@gmx.net>
3076 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3078 * undo.[Ch]: restoring part of 'undo in insets'
3081 * undo_funcs.[Ch]: merge with undo.[Ch]
3083 * tabular.C: small cleansing stuff
3085 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3087 * paragraph_funcs.C (readParToken): report unknown insets as error
3088 boxes. Use the outer paragraph as location (also for unknown
3091 * factory.C (readInset): do not abort on reading an unknown inset.
3092 Eat it and return 0.
3094 2003-10-13 Angus Leeming <leeming@lyx.org>
3096 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3098 * lyxrc.C: displayTranslator is now a function,
3099 declared in GraphicsTypes.h.
3101 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3103 * format.C: new placeholder $$a to pass the socket address.
3105 * bufferlist.[Ch]: new function getBufferFromTmp.
3107 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3108 files in the temporary dir.
3110 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3112 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3114 * Makefile.am: add lyxsocket.[Ch].
3116 * lyx_main.C (error_handler): handle SIGPIPE.
3118 2003-10-13 André Pönitz <poenitz@gmx.net>
3120 * BufferView_pimpl.C:
3125 * undo_funcs.[Ch]: use paroffset_type instead of
3126 ParagraphList::iterators to prevent multiple conversion
3127 (and get a more robust interface)
3129 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3131 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3133 * text3.C (dispatch): ditto
3135 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3137 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3138 move the onlyfile, use onlyfile instead of foundfile in a couple
3141 * DepTable.C (update): flush the error stream a bit more
3143 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3145 * lyxserver.C (callback): adjust
3147 * lyxfunc.C (getStatus): add a missing brace in commented code
3148 (ensureBufferClean): reindent
3149 (dispatch): delete version taking a string
3151 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3153 * LaTeX.C (deplog): move found file handlig from here...
3154 (handleFoundFile): .. to new function here.
3155 (deplog): make sure to discover several files mentioned on the
3158 2003-10-10 André Pönitz <poenitz@gmx.net>
3165 * text3.C: fix some of the tabular crashes
3167 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3169 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3171 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3173 2003-10-09 André Pönitz <poenitz@gmx.net>
3175 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3178 * BufferView_pimpl.C:
3179 * bufferview_funcs.C:
3190 * undo_funcs.C: adjust
3192 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3194 * text2.C (incrementItemDepth): new function, use a backtracking
3195 algorithm to discover the correct item depth.
3196 (resetEnumCounterIfNeeded): new function, use a backtracking
3197 algorithm to discover if counter reset is needed.
3198 (setCounter): use them. Simplify a bit. Add different labels for
3199 different item depths for itemize.
3201 * paragraph.C (Paragraph): remove initialization of enumdepth
3204 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3205 enumerate and itemize. Change the type of itemdepth to signed char.
3207 2003-10-08 André Pönitz <poenitz@gmx.net>
3209 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3214 * tabular.[Ch]: fix crash after 'row-insert'
3216 2003-10-08 Angus Leeming <leeming@lyx.org>
3218 Fix doxygen warnings.
3220 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3221 Remove CutAndPaste:: prefix from header file declaration.
3223 * LColor.h (fill): remove LColor:: prefix from declaration.
3225 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3226 use lyx::depth_type rather than Paragraph::depth_type so that
3227 header file and .C file match.
3229 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3231 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3232 * aspell.C: \file aspell_local.C -> \file aspell.C
3233 * gettext.C: \file gettext.C -> \file src/gettext.C
3234 * gettext.h: \file gettext.h -> \file src/gettext.h
3235 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3236 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3237 * text.C: \file text.C -> \file src/text.C
3239 * toc.C: move comment so that doxygen is not confused.
3241 2003-10-07 Angus Leeming <leeming@lyx.org>
3243 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3245 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3248 * aspell_local.h: add forgotten std::string's.
3250 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3257 * text3.C: The Box patch. Fancybox support, minipage, parbox
3259 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3265 * ParagraphParameters.h:
3275 * lyxtextclasslist.h:
3278 * paragraph_pimpl.C:
3279 * textcursor.h: add <string> and other small fixes to make Lars'
3280 std::string patch compile with STLport.
3282 2003-10-06 Angus Leeming <leeming@lyx.org>
3284 * LColor.h: Add missing #include <string>.
3286 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3288 * All most all file in all subdirs: Make <string> be the prefered
3289 way of getting to std::string, add using declarations.
3291 2003-10-06 André Pönitz <poenitz@gmx.net>
3293 * metricsinfo.C: initialize LyXFont before changing attribute.
3294 (fixes the 'math in \emph is upright' bug)
3296 2003-10-06 André Pönitz <poenitz@gmx.net>
3298 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3300 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3303 * paragraph_pimpl.C: Small fixes to build using STLport
3305 2003-10-02 André Pönitz <poenitz@gmx.net>
3308 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3310 2003-10-01 André Pönitz <poenitz@gmx.net>
3312 * factory.C: assert early
3314 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3316 * lyx_main.C: remove the global debug object
3318 * debug.h: adjust for new debugstream
3320 * debug.C: adjust for new debugstream and keep the global debug
3323 2003-09-22 Angus Leeming <leeming@lyx.org>
3325 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3326 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3327 an incomplete class LyXFont.
3329 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3331 * factory.C: bug fix in branches
3333 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3335 * lyxfunc.C (processKeySym): adjust
3337 (dispatch): change arg name from ev to func, adjust
3338 (sendDispatchMessage): ditto
3340 * lyx_main.C (defaultKeyBindings): adjust keybindings
3341 (deadKeyBindings): ditto
3343 * kbsequence.C (addkey): return a FuncRequest
3345 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3347 * kbmap.C (bind): take a FuncRequest as arg, adjust
3350 (defkey): change to take a FuncRequest as arg, adjust
3351 (findbinding): take a FuncRequest as arg, adjust.
3353 * funcrequest.h (operator=): added
3355 * funcrequest.C (FuncRequest): default kb_action changed from
3356 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3358 * buffer.C (dispatch): simplify
3359 (dispatch): adjust to take a FuncRequest as arg, adjust
3361 * boost.C (assertion_failed): change assertion message slightly
3363 * ToolbarBackend.C (read): simplify
3365 * MenuBackend.C (binding): adjust call to findbinding, add a
3366 message if no binding is found.
3368 (expandToc): correct by adding a empty FuncRequest
3370 * LyXAction.C: include <boost/assert.hpp>
3371 (isPseudoAction): delete function
3372 (LookupFunc): change name to...
3373 (lookupFunc): this. change return type to FuncRequest.
3374 (getActionName): take kb_action as arg, simplify
3375 (funcHasFlag): add an assert, simplify.
3377 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3379 * toc.C (action): return a FuncRequest, simplify
3381 * lyxfunc.C (processKeySym): adjust
3382 (getStatus): delete version that takes an int.
3384 (dispatch): delete version that takes action as int
3386 (sendDispatchMessage): simplify and adjust
3388 * funcrequest.C (getArg): take unsigned int as arg
3390 * ToolbarBackend.C (read): adjust
3391 (add): delete version that takes func as a string.
3392 (getIton): take a FuncRequest as arg
3394 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3397 * MenuBackend.C (MenuItem): add a new construct that only takes a
3398 Kind, simplify the constructor use for submenus.
3400 (expandLastfiles): adjust
3401 (expandDocuments): adjust
3402 (expandFormats): adjust
3403 (expandFloatListInsert): adjust
3404 (expandFloatInsert): adjust
3405 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3407 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3408 Remove class variables lyx_pseudo_map and lyx_arg_map
3410 * LyXAction.C (searchActionArg): delete function
3411 (getPseudoAction): delete function
3412 (retrieveActionArg): delete function
3413 (LookupFunc): make it return kb_action, simplify.
3414 (getActionName): simplify
3416 * factory.C (createInset): fix new bug
3418 2003-09-19 Angus Leeming <leeming@lyx.org>
3420 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3421 masterFilename_ parameter in the include inset.
3423 * factory.C (createInset): changes due to the changes to InsetInclude.
3425 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3427 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3429 2003-09-18 Angus Leeming <leeming@lyx.org>
3432 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3433 Inset::fillWithBibKeys.
3434 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3436 2003-09-18 Angus Leeming <leeming@lyx.org>
3438 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3440 (ctor): pass and store a 'Buffer const &'
3441 (buffer): new member function.
3443 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3444 '*this' to the LaTeXFeatures ctor.
3446 2003-09-18 Angus Leeming <leeming@lyx.org>
3452 * text.C: rename EnumLColor as LColor_color.
3454 2003-09-18 Angus Leeming <leeming@lyx.org>
3456 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3457 remove #include "insets/insetbase.h" from cursor.h.
3459 2003-09-18 Angus Leeming <leeming@lyx.org>
3461 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3462 InsetOld_code to remove #include "inset.h".
3464 * iterators.C: add #include "insets/inset.h"
3466 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3468 * BufferView.C: remove more locking stuff that apparently doesn't
3469 do anything sensible.
3471 2003-09-16 André Pönitz <poenitz@gmx.net>
3474 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3477 2003-09-16 Angus Leeming <leeming@lyx.org>
3479 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3481 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3484 * paragraph.h: remove #include "lyxfont.h". Forward declare
3487 2003-09-16 Angus Leeming <leeming@lyx.org>
3489 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3490 of support/textutils.h.
3491 (isWord): move the contents of support/textutils.h's IsWordChar here.
3497 * text2.C: add #include "paragraph.h".
3500 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3502 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3508 * LaTeX.C: use namespace alias for lyx::support::os
3510 2003-09-16 Angus Leeming <leeming@lyx.org>
3513 * bufferview_funcs.C:
3516 * paragraph_pimpl.C:
3518 * text.C: add #include "LColor.h".
3520 2003-09-16 Angus Leeming <leeming@lyx.org>
3522 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3523 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3525 Store the FontBits::color variable as an int rather than as an
3526 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3529 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3530 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3531 string calls together.
3533 * lyxrc.C: add #include "LColor.h".
3535 2003-09-15 Angus Leeming <leeming@lyx.org>
3537 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3540 2003-09-15 Angus Leeming <leeming@lyx.org>
3542 * LColor.h: add an EnumLColor wrapper for LColor::color.
3544 * lyxfont.[Ch] (color, setColor, realColor):
3545 * lyxtext.h, text.C (backgroundColor):
3546 pass EnumLColor args to/from the functions, rather than LColor::color
3550 * lyxtext.h: forward declare EnumLColor.
3552 * lyx_main.C: add #include "LColor.h".
3554 2003-09-15 Angus Leeming <leeming@lyx.org>
3556 * .cvsignore: add lyx-gtk.
3558 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3563 * ParagraphParameters.C
3567 * bufferview_funcs.C
3577 * vc-backend.C: remove usage of STRCONV
3579 2003-09-15 Angus Leeming <leeming@lyx.org>
3581 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3582 explicitly define the color passed to the painter.
3584 2003-09-15 Angus Leeming <leeming@lyx.org>
3586 * bufferparams.C (BufferParams): reorder member initializers to avoid
3589 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3591 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3592 * text.C (updateRowPositions): remove an unusual nop
3594 2003-09-12 André Pönitz <poenitz@gmx.net>
3596 * BufferView_pimpl.C:
3605 * Counters.[Ch]: finish the 'automatic counters' job
3607 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3609 * aspell.C: include <boost/assert.cpp> (compile fix)
3611 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3613 * boost.C (assertion_failed): use lyx::support::abort instead of
3616 2003-09-10 Angus Leeming <leeming@lyx.org>
3618 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3619 with their _fwd progeny.
3621 2003-09-09 Angus Leeming <leeming@lyx.org>
3623 134 files throughtout the source tree: replace 'using namespace abc;'
3624 directives with the appropriate 'using abc::xyz;' declarations.
3626 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3628 * boost.C (emergencyCleanup): moved here from LAssert.c
3629 (assertion_failed): new function, called by BOOST_ASSERT
3631 * several files: change Assert to BOOST_ASSERT
3633 2003-09-09 Angus Leeming <leeming@lyx.org>
3635 * buffer.[Ch]: Add an Impl class and move Buffer's member
3636 variables into it. As a result move several header files out of
3639 Add header files to lots of .C files all over the tree as a result.
3641 2003-09-09 Angus Leeming <leeming@lyx.org>
3643 * buffer.[Ch]: make Buffer's member variables private. Add
3646 Lots of changes all over the tree as a result.
3648 2003-09-08 Angus Leeming <leeming@lyx.org>
3650 * graph.C: #include <config.h>.
3652 2003-09-08 Angus Leeming <leeming@lyx.org>
3656 * BufferView_pimpl.C:
3685 * toc.C: remove redundant using directives.
3687 2003-09-07 Angus Leeming <leeming@lyx.org>
3689 * LaTeXFeatures.h: remove #include "support/types.h".
3690 * ToolbarBackend.h: remove #include <algorithm>.
3691 * changes.h: remove #include <ctime>.
3692 * debug.h: remove #include <iosfwd>.
3693 * graph.h: remove #include "support/std_string.h".
3694 * lyx_main.h: remove #include <csignal>.
3695 * lyxlex_pimpl.h: remove #include <fstream>.
3696 * sgml.h: remove #include <algorithm>, <utility>.
3697 * toc.h: remove #include "support/std_ostream.h".
3698 Add #include <iosfwd>.
3700 2003-09-07 Angus Leeming <leeming@lyx.org>
3702 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3704 * converter.h: forward declare LatexRunParams.
3705 * encoding.h: remove #include "lyxrc.h".
3706 * lyxtext.h: remove #include "LColor.h".
3707 * lyxtextclass.h: remove #include "support/types.h".
3708 * trans.h: remove #include "tex-accent.h".
3709 * trans_mgr.h: remove #include "tex-accent.h".
3710 * insets/inset.h: remove #include "support/types.h", <vector>.
3711 * insets/insetcollapsable.h: remove #include "LColor.h".
3712 * insets/insetinclude.h: remove #include "dimension.h".
3713 * insets/insetlatexaccent.h: remove #include "dimension.h".
3714 * insets/insetoptarg.h:: remove #include "insettext.h".
3715 * insets/insettext.h: remove #include "dimension.h",
3716 <boost/shared_ptr.hpp>
3718 * insets/renderers.h: add #include "dimension.h".
3719 * insets/updatableinset.h: add #include "support/types.h".
3721 * many .C files: Associated changes.
3723 2003-09-06 Angus Leeming <leeming@lyx.org>
3725 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3726 one, inside testInvariant.
3728 * PrinterParams.C: new file.
3729 * PrinterParams.[Ch]: move the function bodies out of line.
3731 2003-09-06 Angus Leeming <leeming@lyx.org>
3733 * ParagraphParameters.h: forward declare ParameterStruct rather than
3734 including its header file.
3735 (depth): moved out-of-line.
3737 2003-09-06 Angus Leeming <leeming@lyx.org>
3739 * BufferView_pimpl.h:
3742 * lyxfunc.h: forward declare LyXKeySym rather than
3743 #include "frontends/LyXKeySym.h".
3745 * BufferView_pimpl.C:
3748 * lyxfunc.C: associated changes.
3750 2003-09-06 Angus Leeming <leeming@lyx.org>
3752 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3753 As a result, can remove the #include "insets/inset.h" from BufferView.h
3755 2003-09-06 Angus Leeming <leeming@lyx.org>
3757 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3758 As a result, can remove the #include "insets/inset.h" from BufferView.h
3760 2003-09-06 Angus Leeming <leeming@lyx.org>
3766 * bufferview_funcs.C:
3767 * BufferView_pimpl.C:
3772 * ParagraphParameters.C:
3777 * frontends/controllers/ControlDocument.C:
3778 * insets/insetcaption.C: rearrange the #includes into some sort of
3781 * buffer.h: remove #includes ErrorList.h, undo.h
3783 2003-09-06 Angus Leeming <leeming@lyx.org>
3785 * support/types.h: add a 'depth_type' typedef, used to store the
3786 nesting depth of a paragraph.
3789 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3790 defining explicitly.
3793 * paragraph_funcs.h:
3794 * ParagraphParameters.h:
3795 * sgml.h: use lyx::depth_type rather than Paragraph or
3796 ParameterStruct's depth_type.
3799 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3802 * BufferView_pimpl.C:
3804 * ParagraphParameters.C:
3807 * bufferview_funcs.C:
3814 * frontends/LyXView.C:
3815 * frontends/controllers/ControlDocument.C:
3816 * frontends/controllers/ControlErrorList.C:
3817 * insets/insetbibitem.C:
3818 * insets/insetbranch.C:
3819 * insets/insetcaption.C:
3820 * insets/insetcollapsable.C:
3821 * insets/insetenv.C:
3822 * insets/insetert.C:
3823 * insets/insetfloat.C:
3824 * insets/insetfoot.C:
3825 * insets/insetfootlike.C:
3826 * insets/insetnewline.C:
3827 * insets/insetquotes.C:
3828 * insets/insettabular.C:
3829 * insets/insettext.C:
3830 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3832 * frontends/controllers/ControlChanges.C: #include "changes.h".
3834 2003-09-06 Angus Leeming <leeming@lyx.org>
3836 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3837 than #including paragraph.h.
3840 * RowList.h: deleted. Superfluous.
3850 * insets/insettext.h: use ParagraphList_fwd.h rather than
3853 * paragraph.h: don't forward declare ParagraphList.
3856 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3857 rather than ParagraphList.h. paragraph.h is still needed for the
3858 Paragraph::depth_type parameters.
3860 * textcursor.h: enable it to compile stand-alone in light of the
3863 * bufferview_funcs.C:
3875 * frontends/controllers/ControlParagraph.C:
3876 * frontends/controllers/ControlTabular.C:
3877 * insets/insetmarginal.C:
3878 * insets/insetminipage.C:
3879 * insets/insetnote.C:
3880 * insets/insetoptarg.C: add header files needed to compile again.
3882 2003-09-06 Angus Leeming <leeming@lyx.org>
3884 * RowList_fwd.h: new file, forward-declaring Row rather than
3885 #including lyxrow.h.
3890 * insets/insettext.h: use it instead of RowList.h
3892 * bufferview_funcs.C:
3899 * text3.C: #include "RowList.h".
3901 2003-09-05 Angus Leeming <leeming@lyx.org>
3903 * factory.C (createInset):
3904 * vspace.C (c-tor): replace sscanf call with an istringstream.
3905 * ispell.C: re-add missing HP/UX headers.
3906 * lyxserver.C: re-add missing os2 headers.
3908 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3917 * text3.C: re-add missing system headers, needed for 2.95.2.
3919 2003-09-05 Angus Leeming <leeming@lyx.org>
3921 Changes most place everywhere due to the removal of using directives
3922 from support/std_sstream.h.
3924 2003-09-05 Angus Leeming <leeming@lyx.org>
3926 Replace LString.h with support/std_string.h,
3927 Lsstream.h with support/std_sstream.h,
3928 support/LIstream.h with support/std_istream.h,
3929 support/LOstream.h with support/std_ostream.h.
3931 Changes resulting throughout the tree.
3933 2003-09-05 Angus Leeming <leeming@lyx.org>
3935 * sgml.h: ensure that the header file can be compiled stand-alone.
3936 * *.C: strip out redundant #includes. (320 in total.)
3938 2003-09-04 Angus Leeming <leeming@lyx.org>
3940 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3941 here (from getPackages).
3943 * debug.[Ch]: add a new EXTERNAL tag.
3945 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3947 * text2.C (cursorEnd): simplify
3949 (getColumnNearX): adjust
3951 * text.C (computeBidiTables): adjust
3954 * rowpainter.C (paintChars): adjust
3955 (paintSelection): adjust
3956 (paintChangeBar): adjust
3959 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3961 (numberOfSeparators): adjust
3963 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3969 * text3.C: Restricts the mouse click functionality
3970 of insets like bibtex, include, toc and floatlist to the visible
3971 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3972 up the dialogs. Cursor has to be in front of the inset (i.e.
3973 start of row) for this to function.
3975 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3977 * bufferview_funcs.C (currentState): output row information
3979 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3981 * bufferview_funcs.C (currentState): output paragraph position
3983 2003-09-04 Angus Leeming <leeming@lyx.org>
3985 * FloatList.h: move out #include "Floating.h".
3986 * LaTeX.h: move out #include "DepTable.h".
3987 * LyXAction.h: move out #include "funcrequest.h".
3988 * buffer.h: move out #include "author.h", "iterators.h".
3989 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3990 * lyx_main.h: move out #include "errorlist.h".
3991 * lyxfunc.h: move out #include "FuncStatus.h".
3992 * lyxtext: move out #include "lyxcursor.h".
3993 * paragraph_pimpl.h: move out #include "counters.h".
3995 2003-09-03 Angus Leeming <leeming@lyx.org>
3997 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3998 preamble_snippets list, enabling us to add snippets to the preamble
3999 only if the snippet was not there already.
4001 2003-09-04 Angus Leeming <leeming@lyx.org>
4003 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4005 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4007 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4010 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4012 * BranchList.C: point fix, earlier forgotten
4014 2003-09-02 Angus Leeming <leeming@lyx.org>
4016 * box.C (contains): renamed from 'contained' after a fantastic
4019 2003-09-02 John Levon <levon@movementarian.org>
4025 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4027 2003-09-02 John Levon <levon@movementarian.org>
4029 * text2.C: simplification of cursorEnd(), including partial
4032 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4034 * buffer.C (readFile): add a space
4036 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4038 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4040 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4042 * buffer.C (readFile): new function, take a filename and a
4043 ParagraphList::iterator
4045 (readFile): adjust, make it private. don't use setStream, make
4046 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4047 always contain the filename.
4049 * BufferView.C (insertLyXFile): simplify and make it work for
4052 2003-08-30 John Levon <levon@movementarian.org>
4054 * Makefile.am: fix dist (from Kayvan)
4056 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4058 * most files: change to use const Buffer refs
4060 2003-08-27 André Pönitz <poenitz@gmx.net>
4062 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4063 on top of ownerPar().
4065 2003-08-27 John Levon <levon@movementarian.org>
4067 * funcrequest.C: properly initialise POD members
4069 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4071 * lyxtext.h (top_y): move top_y from here
4076 * BufferView_pimpl.[Ch]: to here
4077 * frontends/screen.C:
4078 * insets/insettabular.C:
4079 * insets/insettext.C: adjust
4080 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4082 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4085 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4087 2003-08-26 André Pönitz <poenitz@gmx.net>
4089 * paragraph_func.[Ch] (outerPar): new function
4092 * paragraph_funcs.C:
4093 * paragraph_funcs.h:
4094 * paragraph_pimpl.C:
4095 * text2.C: remove Inset::par_owner
4097 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4102 * text2.C: eliminates the needFullRow/display() stuff
4103 altogether, putting the logic in metrics/draw in the insets.
4105 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4107 * text2.C (redoParagraphInternal, redoParagraphs):
4108 * text.C (redoParagraph): add a call to updateRowPositions at the
4109 end of each 'metrics-like' call. Remove all others.
4110 (getRow): remove the 'y-computing' version.
4111 (getRowNearY): do not compute nor return the real y. Solve the
4112 'y < 0' problem and simplify.
4114 2003-08-22 Angus Leeming <leeming@lyx.org>
4116 * *.[Ch]: clean-up of licence and author blurbs.
4117 Also move config.h out of a few .h files and into a few .C files.
4119 2003-08-22 André Pönitz <poenitz@gmx.net>
4121 * lyxrow.[Ch]: add x_ and *fill_ members
4126 * text2.C: adjust/remove prepareToPrint() calls
4128 2003-08-22 André Pönitz <poenitz@gmx.net>
4130 * lyxrow.[Ch]: add end_ member
4132 * lyxrow_funcs.C: use LyXRow::end_
4134 * lyxtext.h (singleWidth): add LyXFont parameter
4137 * text2.C: adjust LyXText::singleWidth() calls
4139 * text.C (redoParagraph): simplify row breaking logic
4142 2003-08-19 André Pönitz <poenitz@gmx.net>
4144 * funcrequest.C: initialize button_ member
4147 * rowpainter.[Ch]: interface consolidation
4149 2003-08-18 André Pönitz <poenitz@gmx.net>
4152 * BufferView_pimpl.C:
4154 * paragraph_funcs.C:
4156 * text3.C: remove LyXScreen::draw() and fitCursor calls
4158 * BranchList.h: remove spurious semicolons
4160 * MenuBackend.C: fix branchlist related crash
4162 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4170 * bufferparams.[Ch]:
4174 * text3.C: implements the 'branch inset'
4175 idea. This allows the output of various versions of a document
4176 from a single source version, selectively outputing or suppressing
4177 output of parts of the text.
4178 This implementation contains a 'branch list editor' in a separate
4179 tab of the document settings dialog. Branches are user definable
4180 and have a "display colour" to distinguish them on-screen.
4182 ColorHandler was somewhat cleaned up.
4183 (1) make possible a dynamically growing LColor list by allowing
4184 the graphic context cache to grow along (vector);
4185 (2) eliminate an IMHO unnecessary step in colour allocation.
4187 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4189 * BufferView_pimpl.C: compile fix
4191 2003-08-15 André Pönitz <poenitz@gmx.net>
4193 * rowpainter.C: remove extra metrics calls
4195 * lyxtext.h: merge the two constructors into a single one,
4196 pass reference to owner's par list
4198 * BufferView_pimpl.C:
4202 2003-08-15 André Pönitz <poenitz@gmx.net>
4204 * lyxrow_funcs.[Ch]:
4207 * paragraph_funcs.C:
4212 * text_funcs.C: split LyXText::rowlist_ into individual
4213 Paragraph::rows_ chunks
4216 * BufferView_pimpl.[Ch]:
4219 * text3.C: remove toggleSelection()
4221 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4223 * bufferlist.C: beautify two alerts (shorter text of buttons)
4224 * buffer.C: Remove redundant ' ' from message
4226 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4227 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4228 rename VALIGN_CENTER to VALIGN_MIDDLE
4230 2003-08-11 André Pönitz <poenitz@gmx.net>
4232 * lyxtext.h (getPar):
4233 * text.C: new function
4235 2003-08-11 André Pönitz <poenitz@gmx.net>
4238 * tracer.[Ch]: remove unneeded files
4240 * InsetList.[Ch]: remove resizeInsetsLyXText()
4245 * text3.C: merge insertParagraphs() and appendParagraph()
4246 remove breakAgain(), update()
4248 * BufferView_pimpl.[Ch]:
4249 * bufferview_funcs.[Ch]:
4253 * tabular.C: adjust after text & InsetList changes.
4255 2003-08-08 André Pönitz <poenitz@gmx.net>
4257 * text.C (insertChar, backspace): replace rowlist fiddling
4258 with rebreak of full par
4261 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4262 checkParagraph, updateInset): removed
4264 2003-08-07 André Pönitz <poenitz@gmx.net>
4267 * text3.C: merge some LFUN handlers, remove dead code
4269 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4271 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4273 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4275 * text2.C (DEPM): fix part of bug 1255 and 1256
4277 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4279 * BufferView_pimpl.C (workAreaDispatch): change to use
4280 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4281 that are no mouse related.
4283 2003-08-05 André Pönitz <poenitz@gmx.net>
4286 * BufferView_pimpl.[Ch]:
4287 * bufferview_funcs.C:
4289 * text3.C: rip out "deep update"
4291 * textcursor.[Ch] (last_sel_cursor): remove unused member
4293 2003-08-04 André Pönitz <poenitz@gmx.net>
4296 * BufferView_pimpl.[Ch]:
4297 * ParagraphParameters.C:
4298 * bufferview_funcs.C:
4304 * text3.C: replace "complicated" BufferView::update(...) calls with
4307 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4309 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4311 * Makefile.am (lyx_SOURCES): add paper.h
4313 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4315 * Makefile.am: move things around so that both lyx-qt and
4316 lyx-xforms can be built (according to --with-frontend). Then lyx
4317 is a symbolic link to lyx-[firstfrontend]
4319 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4321 * Always use std::endl with lyxerr
4323 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4325 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4327 2003-08-01 André Pönitz <poenitz@gmx.net>
4330 * BufferView_pimpl.[Ch]:
4332 * text3.C: merge BufferView::repaint() and BufferView::update()
4334 2003-08-01 José Matos <jamatos@lyx.org>
4336 * buffer.[Ch]: file_format is no longer a buffer data element.
4338 2003-08-01 André Pönitz <poenitz@gmx.net>
4343 * text2.C: make redoParagraph more independent of current cursor
4345 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4347 * text2.C: remove unneeded members
4349 2003-07-30 André Pönitz <poenitz@gmx.net>
4351 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4353 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4354 create a single function...
4356 * paragraph_funcs.C (moveItem): ... here.
4359 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4361 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4363 * LColor.[Ch]: Add comment and greyedout logical colors.
4365 2003-07-30 André Pönitz <poenitz@gmx.net>
4367 * tabular.C: don't use Assert too heavily. This crashes where it
4370 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4372 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4373 is disabled (bug 1232)
4375 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4377 * factory.C: limited 'arg' scope
4379 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4381 * factory.C: fixed Note submenu issues
4383 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4385 * factory.C: submenu for Note/Comment/Greyedout
4387 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4390 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4392 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4395 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4396 greyedout. Patch provided by Jürgen Spitzmüller.
4398 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4400 * kbmap.C (read): fix error message when reading bind files
4402 2003-07-29 Angus Leeming <leeming@lyx.org>
4404 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4405 certainly does not do what it purports to do. I am doing it, and
4406 us, a favour by killing it.
4408 2003-07-28 José Matos <jamatos@lyx.org>
4410 * buffer.C (readBody, do_writeFile):
4411 * paragraph.C(readParagraph): \end_document replaces \the_end.
4413 2003-07-29 André Pönitz <poenitz@gmx.net>
4416 * BufferView_pimpl.[Ch]:
4420 * textcursor.[Ch]: remove toggleToggle & Co
4422 2003-07-28 José Matos <jamatos@fep.up.pt>
4424 * buffer.C (readParagraph):
4425 * params_func (readParToken, readParagraph):
4426 * paragraph.C (write): \layout -> \begin_layout.
4428 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4430 * lyxlex_pimpl.C (setFile): clean up slightly.
4432 * bufferparams.h: add compressed var
4434 * buffer_funcs.C (readFile): adjust for LyXLex change
4435 (newFile): ditto + simplify
4437 * buffer.C (writeFile): handle writing of compressed files
4439 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4440 Check if the file is compressed and set a bufferparm if so.
4442 * Makefile.am (lyx_LDADD): remove explicit -lz
4444 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4446 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4447 makeDocBookFile): put the real LyX version in the first line of
4451 * version.C.in: remove lyx_docversion
4453 * tabular.C (write_attribute): add a template-based version to
4454 write enums properly
4456 2003-07-28 André Pönitz <poenitz@gmx.net>
4461 * text3.C: use doubles again for x-coordinates. They are needed.
4463 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4465 * messages.C (getLocaleDir): use lyx_localedir()
4467 * lyxlex_pimpl.C (setFile): compress stuff
4469 * buffer.C (writeFile): add some compression stuff
4470 (do_writeFile): new func, dont call expliti close... will this
4473 * Makefile.am (lyx_LDADD): add -lz
4475 2003-07-28 José Matos <jamatos@fep.up.pt>
4477 * buffer.C: increment file format.
4478 * paragraph_funcs (readParagraph, readParToken):
4479 * paragraph.C (readParagraph): add \end_layout.
4481 2003-07-27 Angus Leeming <leeming@lyx.org>
4483 * Makefile.am: remove special casing for configure-time setting of
4484 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4486 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4487 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4489 2003-07-26 André Pönitz <poenitz@gmx.net>
4491 * paragraph_func.[Ch]:
4492 * paragraph.C (realizeFont): inline it whereever it is used
4497 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4500 2003-07-26 André Pönitz <poenitz@gmx.net>
4504 * text2.C: get rid of LyXText::need_break_row
4506 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4508 * toc.[Ch]: put namespace toc inside namespace lyx
4510 * MenuBackend.C (expandToc2): adjust for lyx::toc
4513 * lyxfunc.C (dispatch): adjust for lyx::find
4515 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4516 lyx::find instead. Reorganize a bit.
4517 (LyXReplace): rename to replace
4518 (LyXFind): rename to find
4520 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4523 2003-07-26 André Pönitz <poenitz@gmx.net>
4525 * text.C (setHeightOfRow): restrict scope of temporary variable
4527 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4528 code (never has been used?)
4530 2003-07-27 Asger Alstrup <alstrup@local>
4532 * text.C (fill): Optimise algorithm to exploit that we can reuse
4533 the LyXFont for many characters.
4534 (setHeightOfRow): Same thing.
4535 (rowBreakPoint): Same thing.
4537 2003-07-26 Asger Alstrup <alstrup@local>
4539 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4541 * text.C (singleWidth): Spurious font copying in hot-spot
4542 singleWidth avoided. Reorder tests for arabic for efficiency.
4544 * text.C (fill): handle empty paragraphs better.
4546 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4549 * encoding.h: add includes
4551 * lyxrc.C: remove reading of bind files
4553 * lyx_main.C (init): setup bindings and menus only if we have a
4556 * kbmap.C (read): new method. Do the actual reading of bind
4559 * converter.C (dvipdfm_options):
4562 (output): adapt PAPER_* enums.
4564 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4566 * bufferparams.h: remove paper-related enums from there
4568 * paper.h: New file. A trivial header file to hold paper-related
4569 enums. It should later expand to contain many paper-related
4572 * lyxrc.C: declare extern displayTranslator
4574 2003-07-27 José Matos <jamatos@fep.up.pt>
4576 * tabular.[Ch] (linuxdoc): add support for tables and figures
4579 2003-07-27 José Matos <jamatos@fep.up.pt>
4581 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4582 consistency in both functions.
4583 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4585 2003-07-26 Asger Alstrup <alstrup@local>
4587 * rowpainter.C (paintRows): Change algorithm to work directly on
4588 the insets rather than asking every character in the document
4589 whether its an inset.
4591 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4593 * buffer.C (openFileWrite): factorize some code
4595 2003-07-26 Angus Leeming <leeming@lyx.org>
4598 * lyx_main.[Ch]: replace occurances of system_tempdir with
4601 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4603 * rename Inset to InsetOld
4605 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4607 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4608 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4609 which I think is a bit clearer. EDIT is gone, since it was
4610 premature optimisation, and broken for mathed anyway.
4611 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4612 with cursor positioning in insets as well (math insets still do not
4613 work, but that's a different story anyway.) It mysteriously
4614 crashes sometimes with undo in the first paragraph, but I'm fairly
4615 confident that this is a compiler bug.
4617 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4619 * paragraph.C (Paragraph): adjust for new clone return type
4621 (copyIntoMinibuffer): ditto
4623 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4625 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4626 by not having a special case, and always doing a full rebreak of
4627 the document after undo.
4629 2003-07-23 Angus Leeming <leeming@lyx.org>
4631 * factory.C (createInset): InsetExternal::setParams now takes a
4634 2003-07-23 Angus Leeming <leeming@lyx.org>
4636 * factory.C (createInset): changed interface to the external and
4637 graphics mailers' string2params functions.
4639 2003-07-23 Angus Leeming <leeming@lyx.org>
4641 * factory.C (createInset): pass a
4642 Buffer const * parameter to InsetExternalMailer's string2params.
4644 2003-07-22 John Levon <levon@movementarian.org>
4646 * Thesaurus.h: include the right aiksaurus header
4648 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4650 * MenuBackend.C (expand): check menu shortcuts unconditionally
4652 2003-07-21 Angus Leeming <leeming@lyx.org>
4654 * factory.C (createInset): pass a
4655 buffer_path parameter to InsetGraphicsMailer's string2params.
4657 2003-07-21 Angus Leeming <leeming@lyx.org>
4659 * BufferView_pimpl.C (buffer):
4662 * lyxfunc.C (dispatch):
4663 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4664 rather than the grfx shortcut.
4666 2003-07-21 André Pönitz <poenitz@gmx.net>
4668 * rowpainter.C: remove unused variables
4671 * tabular_funcs.h: move to tabular.C
4672 * Makefile.am: adjust
4674 * tabular.[Ch]: basic optical cleaning
4676 * author.h: pass references, not values
4678 2003-07-18 André Pönitz <poenitz@gmx.net>
4686 * text3.C: two-phase drawing for InsetText and InsetTabular
4687 some float -> int changes.
4689 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4691 * lyx_main.C: fix the fix
4693 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4695 * lyx_main.C: fix a crash in batch mode if no files specified
4698 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4700 * format.[Ch] (papersize): moved to BufferParams
4701 * converter.[Ch] (dvips_options): moved to BufferParams
4702 (dvipdfm_options): moved to anon namespace
4703 * bufferparams.[Ch]: added above functions.
4705 2003-07-17 André Pönitz <poenitz@gmx.net>
4709 * text2.C: don't call inset->update() anymore
4711 * metricsinfo.[Ch]: add convenience constructor
4713 2003-07-16 André Pönitz <poenitz@gmx.net>
4718 * text2.C: replace the LyXCursor::irow_ member with
4719 on-demand computation of the value
4721 2003-07-16 John Levon <levon@movementarian.org>
4723 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4725 2003-07-15 André Pönitz <poenitz@gmx.net>
4728 * text2.C: remove no more needed refresh_row
4730 2003-07-15 André Pönitz <poenitz@gmx.net>
4735 * text3.C: refresh_status tristate -> need_update bool
4737 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4739 * lyxtext.h (init): remove reinit argument (act as if always true)
4740 * text2.C: adjust to that
4742 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4744 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4745 * text3.C: use it to delete selections in some cases
4746 (bugs 441, 673, 702, 954).
4748 2003-07-14 André Pönitz <poenitz@gmx.net>
4750 * rowpainter.[Ch]: reduce interface
4752 2003-07-14 André Pönitz <poenitz@gmx.net>
4754 * BufferView_pimpl.C:
4755 * text2.C: adjust after removing unused BufferView * argument
4757 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4759 * text2.C (init): fix a crash fired on resize
4761 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4763 * buffer.[Ch]: added new closing signal
4764 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4765 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4766 BufferView::Pimpl via the closing the signal
4768 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4770 * buffer.[Ch]: take out all bv-related from buffer
4772 * BufferView_pimpl.[Ch]: connect to new signals
4773 * CutAndPaste.C: removed useless asserts
4774 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4777 * lyxfunc.C: moved view-related funciontality from vc here
4778 * paragraph.C: removed outdated comments
4781 2003-07-10 André Pönitz <poenitz@gmx.net>
4783 * BufferView_pimpl.C:
4787 * text2.C: remove InsetText::InnerCache, clean up consequences
4789 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4791 * ispell.C: fix two typos in error messages
4793 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4795 * Extend Note inset to other forms of annotation like Comment
4796 and Greyedout. Right button click gives dialog.
4798 Files modified or added (+):
4802 * ControlNote.[Ch] +
4804 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4805 frontends/controllers
4809 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4811 * aspell.C: add missing namespace lyx::support
4813 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4815 * BufferView.[Ch] (newFile): Add
4816 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4817 * LaTeX.[Ch] (message): added this signal and use it
4818 * buffer.[Ch] (busy, message): added these signals and use them
4819 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4823 * importer.C: use buffer signals instead of direct bv calling
4824 * lyx_cb.[Ch] (ShowMessage): removed
4827 * paragraph_funcs.C:
4828 * text2.C: use buffer signals
4830 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4832 * introduce namespace lyx::graphics
4834 2003-07-02 André Pönitz <poenitz@gmx.net>
4836 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4838 2003-07-01 André Pönitz <poenitz@gmx.net>
4845 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4846 text*.C to text_func.C
4848 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * introduce namespace lyx::support
4852 2003-06-30 André Pönitz <poenitz@gmx.net>
4857 * text.C: re-enable --with-included-string
4859 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4861 * textcursor.C: add <config.h>
4863 * text.C (getWord): remove const from word_location arg
4865 * lyxvc.C (getLogFile): fix const type order
4867 * lyxtext.h: remove const from word_location arg, add arg name
4869 * lyxlayout.h: currect type on labeltype.
4871 * importer.C: correct \file
4873 * converter.C (intToFormat): use std:: on ret val, ws changes
4875 * bufferlist.h: correct \file
4877 * buffer.C (makeLinuxDocFile): fix const type order
4878 (makeDocBookFile): ditto
4879 (fillWithBibKeys): use std:: on stdlib args.
4881 * CutAndPaste.C: fix authors.
4882 (availableSelections): use std:: on return vector
4884 2003-06-27 André Pönitz <poenitz@gmx.net>
4886 * BufferView_pimpl.C:
4887 * bufferview_funcs.C:
4895 * text3.C: remove LyXCursor::row_ member
4898 * text.C: rename fullRebreak() to partialRebreak() and implement
4899 a fullRebreak() that really bereks fully
4901 * textcursor.h: new struct for cursor-related data
4903 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4905 * lyx_main.C (LyX): get full path of document loaded on the
4908 2003-06-26 André Pönitz <poenitz@gmx.net>
4910 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4911 remove unused/broken operator>,<,>=.
4913 * text.C: remove only use of broken operator<= in an Assert().
4915 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4917 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4918 moved errorlist_.clear to showErrorList
4920 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4922 * converter.C (scanLog, runLaTeX):
4923 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4924 move the bv->showErrorList call to the callers
4925 * lyxfunc.C: i.e. here...
4927 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4928 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4929 namespace, the second to...
4930 * buffer_funcs (BufferFormat, parseErrors): added
4931 * errorlist.C (ErrorList(TeXErrors const &)): removed
4933 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4935 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4937 2003-06-24 "Garst R. Reese" <reese@isn.net>
4941 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4943 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4945 * version.C.in: change docversion to 1.4
4947 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4949 * buffer.C: fix a bug just introduced
4951 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4953 * buffer.[Ch]: added the parseError signal and use it, removed
4955 * BufferView.[Ch] (addError): moved to ...
4956 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4957 to the Buffer::parseError signal to catch (guess what) parse errors
4958 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4960 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4962 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4963 ability to create a buffer and to return an existing one from
4964 the list. Moved these functions to...
4965 * buffer_funcs.[Ch]: added
4966 * BufferView.[Ch] (loadLyXFile): added
4967 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4968 job removed from bufferlist::loadLyXFile.
4969 * buffer.C (setReadOnly): make it work without view
4970 (i.e added an if (users))
4972 2003-06-19 Angus Leeming <leeming@lyx.org>
4975 * LyXAction.C (init):
4976 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4977 with LFUN_DIALOG_SHOW <name> <data>.
4979 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4981 * CutAndPaste.C (availableSelections): small compilation fix for
4982 ancient (gcc 2.9x) compilers
4984 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4986 * text3.C (cursorNext): add tmp var
4988 * text2.C (updateCounters): for function calling out of for clause
4989 (replaceSelectionWithString): ditto
4990 (insertStringAsParagraphs): ditto
4991 (getColumnNearX): add tmp var
4992 (setCursorFromCoordinates): add tmp var
4993 (cursorDownParagraph): add tmp var
4994 (deleteEmptyParagraphMechanism): add tmp var
4996 * text.C (insertChar): add tmp var
4998 * rowpainter.C (paintDepthBar): add tmp var
5000 * CutAndPaste.C (availableSelections): potentially check all
5001 paragraphs in a cut to fill the shown strings.
5003 2003-06-18 André Pönitz <poenitz@gmx.net>
5005 * kbmap.[Ch]: use vector<> instead of list<>
5007 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5009 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5010 pasteSelection with index
5012 * text2.C (pasteSelection): modify, call pasteSelection with index
5014 * paragraph.C (asString): reimplement version with no interval to
5015 call the one with interval.
5017 * lyxtext.h: add index arg to pasteSelection
5019 * MenuBackend.C (MenuItem): handle PasteRecent
5020 (Menu::read::Menutags): add md_pasterecent
5022 (expandPasteRecent): new function
5025 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5027 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5029 (availableSelections): new function
5031 2003-06-17 Angus Leeming <leeming@lyx.org>
5033 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5035 2003-06-17 Angus Leeming <leeming@lyx.org>
5038 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5040 * lyxfunc.C (dispatch): invoke it.
5042 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5044 * iterators.C (operator++, ParPosition): reintroduce some
5045 const_cast for the benefit of older compilers.
5047 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5049 * text3.C (dispatch): do not modify clipboard when doing
5050 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5051 LFUN_DELETE_SKIP on a selection selection
5053 2003-06-16 André Pönitz <poenitz@gmx.net>
5059 * tabular.[Ch]: IU of clone() and getLabelList();
5061 2003-06-13 André Pönitz <poenitz@gmx.net>
5063 * tabular.h: compactification
5065 2003-06-12 André Pönitz <poenitz@gmx.net>
5069 * tabular_funcs.h: some renaming plus whitespace
5071 2003-06-12 André Pönitz <poenitz@gmx.net>
5074 * BufferView_pimpl.C:
5080 * toc.C: Return a Paragraph & for ParIterator::operator*()
5082 2003-06-11 John Levon <levon@movementarian.org>
5086 * ToolbarBackend.C: add "Toolbars" section and
5089 2003-06-10 Angus Leeming <leeming@lyx.org>
5092 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5094 * lyxfunc.C (dispatch): invoke it.
5096 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5098 * main.C: protect <ios> with HAVE_IOS
5099 (main): protect sync_with_stdio with HAVE_IOS
5101 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5103 * text2.C (cutSelection): adjust
5104 (pasteSelection): adjust
5106 * messages.C: handle get of empty string
5108 * main.C (main): use sync_with_stdio(false)
5110 * lyxfunc.C (dispatch): adjust
5112 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5113 (WriteAs): remove unneeded BufferView arg.
5115 * bufferparams.h: use correct types on papersize, papersize2 and
5118 * bufferparams.C (readToken): adjust for type
5119 (writeLaTeX): add missing cases to switch.
5121 * bufferlist.C (quitWriteBuffer): adjust
5124 * buffer.C (asciiParagraph): remove some commented code.
5126 * CutAndPaste.C: remove current_view extern variable.
5127 (cutSelection): add BufferParams arg.
5128 (eraseSelection): add BufferParams arg.
5129 (pasteSelection): add Buffer const & arg
5131 2003-06-07 John Levon <levon@movementarian.org>
5134 * paragraph_funcs.C:
5135 * paragraph_pimpl.C:
5139 * paragraph.C: allow InsetERT to freely space lines,
5140 and some consolidation of code
5142 2003-06-06 José Matos <jamatos@fep.up.pt>
5144 * buffer.C (makeDocBookFile): fix bug #821
5146 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5148 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5150 2003-06-04 Angus Leeming <leeming@lyx.org>
5152 * buffer.C: bump format to 224.
5154 2003-06-05 André Pönitz <poenitz@gmx.net>
5156 * text2.C (redoParagraphs): remove two const_cast<>
5158 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5160 * ParagraphList.h: remove last remnants of NO_STD_LIST
5162 2003-06-03 Angus Leeming <leeming@lyx.org>
5164 * factory.C (createInset): small change to the way InsetExternal's params
5167 2003-06-04 André Pönitz <poenitz@gmx.net>
5169 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5171 * paragraph_pimpl.h:
5172 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5174 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5176 * undo_funcs.C: make some simple cases of undo work again
5178 2003-06-03 John Levon <levon@movementarian.org>
5180 * ispell.C: HPUX doesn't have sys/select.h
5183 2003-06-03 John Levon <levon@movementarian.org>
5185 * CutAndPaste.C: update tabular and include inset
5190 * paragraph.C: remove owningBuffer(), don't pass Buffer
5193 * factory.C: insetGraphicsParams changed
5195 2003-06-02 John Levon <levon@movementarian.org>
5201 * text3.C: remove insetparent
5203 2003-06-02 John Levon <levon@movementarian.org>
5206 * buffer.C: fix inset_iterator.end(), move out of line
5209 2003-06-01 John Levon <levon@movementarian.org>
5211 * text3.C: use a proper cut/paste when doing inset
5212 insert (from Jürgen Spitzmüller)
5214 2003-06-01 John Levon <levon@movementarian.org>
5216 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5218 2003-05-30 André Pönitz <poenitz@gmx.net>
5220 * rowpainter.C: unify second drawing phase
5222 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5224 * trans_mgr.C: remove one case of current_view
5226 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5228 * paragraph_funcs.h: remove paragraph.h include
5230 * paragraph.h: delete NO_STD_LIST stuff
5232 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5234 * buffer.h: remove paragraph.h include
5236 * ParagraphList.C: delete file
5238 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5240 * toc.C (getTocList): adjust
5242 * paragraph_pimpl.C (validate): adjust
5244 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5246 * paragraph.C (Paragraph): adjust
5247 (getPositionOfInset): use const_iterator, adjust
5248 (bibitem): use const_iterator, adjust
5249 (setInsetOwner): adjust
5251 * iterators.C (operator++): adjust
5253 * InsetList.[Ch]: Replace selfmade iterator with standard
5254 vector::iterator also introduce const_iterator. Remove getPos,
5255 getInset and setInset from InsetTable. Adjust accordingly.
5257 * BufferView.C (lockInset): adjust
5258 (ChangeInsets): adjust
5260 * tabular.[Ch]: delete commented same_id functions
5262 2003-05-28 John Levon <levon@movementarian.org>
5264 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5266 2003-05-28 André Pönitz <poenitz@gmx.net>
5268 * metricsinfo.[Ch]: remove 'fullredraw' member
5270 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5272 * lyxtextclass.C (operator): remove caching.
5274 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5278 * text2.C (cursorBottom): adjust
5279 (setCounter): use ParagraphList::find, adjust
5281 * text.C (workWidth): use ParagraphList::find, adjust
5283 * lyxcursor.C (LyXCursor): adjust
5285 * buffer.C (inset_iterator): adjust
5287 * ParagraphList.h: make iterator(value_type) private, make
5288 ParagraphList a friend of iterator.
5290 * ParagraphList.C (find): new function
5292 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5294 2003-05-27 André Pönitz <poenitz@gmx.net>
5296 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5298 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5300 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5302 2003-05-26 John Levon <levon@movementarian.org>
5304 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5306 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5308 * remove same_id from function signatures, adjust.
5310 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5312 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5314 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5316 * paragraph.C (Paragraph): get rid of same_ids parameter
5318 * ParagraphList.C (insert): adjust
5321 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5323 * paragraph_funcs.C (breakParagraph): adjust
5324 (breakParagraphConservative): adjust
5326 * buffer.C (readParagraph): adjust
5328 * ParagraphList.C (insert): take a reference instead of a pointer
5331 * paragraph.[Ch] (id): new function
5333 * bufferlist.C (newFile): adjust
5335 * ParagraphList.C (ParagraphList): adjust
5337 (push_back): take a reference instead of a pointer.
5339 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5341 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5344 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5345 set else use old code.
5347 * ParagraphList.C: remove all NO_NEXT code and only compile this
5348 code of NO_STD_LIST is set.
5350 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5352 * BufferView_pimpl.C:
5362 * graphics/GraphicsConverter.C:
5363 * graphics/PreviewLoader.C: header adjustment
5365 2003-05-23 Angus Leeming <leeming@lyx.org>
5367 * LaTeXFeatures.[Ch] (useBabel): new method.
5368 * bufferparams.C (writeLaTeX): use it.
5370 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5372 * ParagraphList.h (set): remove unused function.
5374 2003-05-23 André Pönitz <poenitz@gmx.net>
5377 * BufferView_pimpl.C:
5381 * undo_funcs.C: setUndo reworked
5383 * iterators.[Ch]: add access to topmost ParagraphList
5385 * lyxtext.[Ch] (workWidth): add a const
5387 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5389 * texrow.[Ch] (increasePos): remove function
5390 * exporter.C (export): removed unused var and outdated comment
5392 2003-05-23 Angus Leeming <leeming@lyx.org>
5394 * latexrunparams.h: rename fragile as moving_arg.
5395 * paragraph.C (simpleTeXOnePar): ditto.
5396 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5398 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5400 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5402 (textUndoOrRedo): comment out a currently unused var.
5404 * paragraph.h (NO_NEXT): enable NO_NEXT
5406 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5408 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5410 * exporter.C (Export): adjust for removeAutoInsets removal.
5412 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5414 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5416 * BufferView.[Ch] (removeAutoInsets): delete function
5418 2003-05-22 Angus Leeming <leeming@lyx.org>
5420 * latexrunparams.h: add a free_spacing variable.
5422 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5423 to pass moving_arg, as the data is stored in runparams.fragile.
5425 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5426 to Inset::latexOptional or to simpleTeXOnePar.
5428 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5429 free_spacing arg to Inset::latexOptional.
5431 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5434 2003-05-22 Angus Leeming <leeming@lyx.org>
5436 * latexrunparams.h: add fragile and use_babel variables.
5438 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5439 * buffer.C (makeLaTeXFile): store this returned value in
5440 runparams.use_babel, thus passing it to the inset::latex methods.
5442 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5443 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5445 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5446 longer has a fragile arg, as it is stored in runparams.fragile.
5448 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5449 moving_arg parameter as the data is stored in runparams.fragile.
5451 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5452 a fragile parameter as the data is stored in runparams.fragile.
5454 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5456 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5458 2003-05-22 Angus Leeming <leeming@lyx.org>
5460 * latexrunparams.h: add a 'bool nice' which defaults to false.
5462 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5463 now encapsulated within runparams.
5465 * bufferlist.C (updateIncludedTeXfiles):
5466 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5468 2003-05-22 Angus Leeming <leeming@lyx.org>
5470 * latexrunparams.h: new file containing struct LatexRunParams.
5471 * Makefile.am: add new file.
5473 * LaTeX.[Ch] (c-tor, run):
5474 * buffer.[Ch] (makeLaTeXFile):
5475 * bufferlist.[Ch] (updateIncludedTeXfiles):
5476 * converter.C (convert, scanLog):
5477 * converter.[Ch] (runLaTeX):
5478 * exporter.C (Export):
5479 * paragraph.[Ch] (simpleTeXOnePar):
5480 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5481 * paragraph_funcs.[Ch] (latexParagraphs):
5482 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5483 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5484 pass around a LatexRunParams parameter.
5486 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5488 * paragraph.[Ch]: remove unused constructor
5490 * ParagraphList.C (erase): new function, taking two iterators
5492 2003-05-22 André Pönitz <poenitz@gmx.net>
5494 * undo_funcs.C: remove duplicated code
5496 * iterator.[Ch]: operator=
5498 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5500 * tabular.C (SetMultiColumn): ws changes
5502 * rowpainter.C (paintFirst): get rid of a ->previous
5504 * lyx_cb.C (getPossibleLabel): parlist simplification
5506 * BufferView.C (ChangeInsets): simplify slightly.
5508 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5510 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5511 * lfuns.h: new LFUN_SPACE
5512 * lyxfunc.C: protected space has a new lfun
5513 * paragraph_funcs.C: read new space insets
5515 * factory.C: handle new space insets
5517 2003-05-22 André Pönitz <poenitz@gmx.net>
5520 * BufferView_pimpl.C:
5523 * undo_funcs.C: return a ParIterator from getParFromID.
5525 * iterators.[Ch]: add two const's
5527 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5529 * toc.C (getTocList): adjust
5531 * iterators.[Ch]: rework for parlist
5533 * buffer.C (par_iterator_begin): adjust
5534 (par_iterator_end): adjust
5536 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5538 * BufferView.C (removeAutoInsets): adjust
5539 (ChangeInsets): adjust
5541 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5543 * text.C (top_y): fix bug 1110
5545 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5547 * errorlist.[Ch]: added
5550 * BufferView_pimpl.C:
5551 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5554 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5556 * Makefile.am: ensure that lyx is relinked upon changes to the
5557 various "convenience" libs.
5559 2003-05-20 Angus Leeming <leeming@lyx.org>
5561 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5562 files are compiled in alphabetical order again.
5564 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5566 2003-05-19 Angus Leeming <leeming@lyx.org>
5568 * gettext.[Ch]: remove "char const * _(char const *)".
5570 2003-05-19 André Pönitz <poenitz@gmx.net>
5572 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5581 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5583 2003-05-19 André Pönitz <poenitz@gmx.net>
5587 * lyxtextclass.[Ch]:
5589 * paragraph_funcs.[Ch]:
5591 * text3.C: more insetenv work
5593 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5595 * ParagraphParameters.C (params2string): small bug fixed
5597 2003-05-16 André Pönitz <poenitz@gmx.net>
5600 * bufferview_funcs.C: patch from Kornel Benko to prevent
5601 crash when _(...) is called twice in a statement
5603 2003-05-16 André Pönitz <poenitz@gmx.net>
5610 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5612 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5614 * lyx_main.C (init): remove spurious static_cast
5616 2003-05-14 André Pönitz <poenitz@gmx.net>
5618 * BufferView.C: fix format string
5620 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5622 * BufferView.[Ch] (insertErrors): removed
5623 * BufferView.[Ch] (showErrorList): added
5624 * buffer.C (runChkTeX):
5625 * converter.C (scanLog): call showErrorList instead of inserterrors
5627 2003-05-13 André Pönitz <poenitz@gmx.net>
5629 * BufferView_pimpl.C:
5631 * bufferview_func.C:
5638 * tabular_funcs.h: tostr() from its own header
5640 * ParagraphParameters.C:
5645 * text3.C: STRCONV()
5647 2003-05-12 André Pönitz <poenitz@gmx.net>
5650 * BufferView_pimpl.C:
5654 * ParagraphParameters.C:
5658 * bufferview_funcs.C:
5671 * paragraph_funcs.C:
5675 * text3.C: boost::format -> bformat all over the place
5678 2003-05-09 André Pönitz <poenitz@gmx.net>
5680 * LColor.[Ch]: Pimpl the #include <map> away
5682 2003-05-09 John Levon <levon@movementarian.org>
5684 * bufferlist.C: never remove emergency saves
5686 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5688 * Makefile.am: better lib building
5690 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5692 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5694 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5695 (simpleTeXSpecialChars): adjust
5696 (simpleTeXSpecialChars): adjust
5697 * paragraph.C (simpleTeXOnePar): adjust
5698 * buffer.C (makeLaTeXFile): adjust
5700 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5702 * text2.C (changeDepth): parlist cleanup
5703 (getColumnNearX): ditto
5705 * rowpainter.C (getLabelFont): parlist cleanup
5707 * bufferlist.C (newFile): parlist cleanup
5709 * CutAndPaste.C (eraseSelection): parlist cleanup
5711 * BufferView_pimpl.C (trackChanges): parlist cleanup
5714 * BufferView.C (lockInset): parlist cleanup.
5715 (ChangeInsets): ditto
5717 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5719 * CutAndPaste.h: Update file header.
5721 * CutAndPaste.C: Update file header.
5722 Store the parts cut out of the Document in a limited_stack.
5723 (copySelection): adjust
5724 (pasteSelection): new function, takes the index in the limited stack.
5725 (nrOfParagraphs): adjust
5726 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5727 simplify error inset insertion.
5728 (checkPastePossible): adjust
5730 2003-05-06 John Levon <levon@movementarian.org>
5732 * text2.C: don't cast wrap inset to float
5734 2003-05-05 André Pönitz <poenitz@gmx.net>
5737 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5739 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5740 few naked Paragraph *.
5742 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5744 * bufferparams.C: Output warning if a document with missing
5745 TeX document class is loaded
5746 * exporter.C: Disable TeX exports if the document class is missing
5749 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5750 isTeXClassAvailable()
5752 2003-05-03 John Levon <levon@movementarian.org>
5755 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5756 explicit cursor show/hide
5758 * BufferView_pimpl.h:
5759 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5760 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5762 * lyxfunc.C: hide cursor before dispatching.
5767 * text3.C: remove explicit cursor hides
5769 2003-05-02 André Pönitz <poenitz@gmx.net>
5771 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5774 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5777 * text2.C: tiny whitespace
5779 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5781 * undo_funcs.C: almost only ws changes.
5783 * ParagraphList.C (splice): just return if pl is empty.
5785 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5787 * ParagraphList.C (splice): new function.
5789 * CutAndPaste.C (pasteSelection): use it
5791 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5793 * CutAndPaste.C (pasteSelection): remove the last next and
5794 previous from this file.
5796 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5798 * CutAndPaste.C (pasteSelection): more clean up, user proper
5799 ParagraphList functions for pasteing.
5801 * ParagraphList.C (insert): new function, three arg insert
5803 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5805 * ParagraphList.C (insert): new function, three arg insert
5807 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5810 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5812 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5814 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5816 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5818 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5820 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5821 (copySelection): clean up a bit.
5822 (pasteSelection): use make_pair
5824 * ParagraphList.C (ParagraphList): implement copy constructor
5825 (operator=): implement, base on copy constructor.
5828 * paragraph.C (erase): return a bool
5830 * paragraph_pimpl.C (erasePos): remove function, move contents...
5831 (erase): ... here. Return a bool.
5832 (erase): call erase instead of erasePos.
5834 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5836 * ParagraphList.h: define PitPosPair
5837 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5838 ParagraphList, fix a bug on pasting multiple pars
5839 * text2.C: change interface to C&P
5841 2003-04-30 André Pönitz <poenitz@gmx.net>
5843 * undo_func.C: revert part of yesterday's patch 2
5845 2003-04-30 John Levon <levon@movementarian.org>
5847 * LColor.C: s/tabular/table/
5849 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5851 * text3.C (dispatch): do not convert iterator -> pointer
5852 * undo_funcs.C (setCursorParUndo): ditto
5853 * text_funcs.C (transposeChars): ditto
5855 * text2.C (setLayout): ws changes only
5857 * text.C (breakParagraph): do not convert iterator -> pointer
5859 (acceptChange): ditto
5860 (rejectChange): ditto
5865 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5868 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5870 * text3.C (gotoInset): YABG (yet another bad getChar)
5872 2003-04-29 André Pönitz <poenitz@gmx.net>
5874 * paragraph.h: make operator= private unimplemented as long as
5877 * ParagraphList.C: whitespace
5880 * paragraph_pimpl.[Ch]:
5881 * paragraph_funcs.C:
5883 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5886 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5888 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5890 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5891 * paragraph.[Ch] (erase):
5892 * paragraph_pimpl.[Ch] (erase): change return type and value
5893 * text2.C (cutSelection): some rework
5895 2003-04-28 John Levon <levon@movementarian.org>
5897 * bufferlist.C: changes for unsaved changes dialog
5899 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5901 * bufferlist.C (newFile): set language (messages_) for new
5904 * buffer.C (readFile): ws changes only.
5906 2003-04-28 André Pönitz <poenitz@gmx.net>
5911 * BufferView_pimpl.C:
5912 * BufferView.C: getParFromID related ParagraphList::iterator changes
5914 2003-04-28 André Pönitz <poenitz@gmx.net>
5916 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5919 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5921 * messages.C: remove one more localedir class variable.
5923 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5925 * messages.C (getLocaleDir): singleton generation function
5927 (Messages): add a default constructor.
5929 * main.C (main): do not setup localedir here, do not call
5932 * gettext.C (_): use it.
5933 (gettext_init): delete funciton
5935 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5937 * gettext.C (getLyXMessages): new singleton generating function.
5939 * buffer.C (updateDocLang): adjust
5941 * Makefile.am (messages.o): add target
5942 (main.o): remove target
5944 2003-04-27 John Levon <levon@movementarian.org>
5949 * lyxvc.C: specify cancel button in Alert::prompt
5951 2003-04-26 John Levon <levon@movementarian.org>
5956 * LyXAction.C: add LFUN_INSET_SETTINGS
5958 * lyxfunc.C: don't enable tabular-feature when there's
5959 just any locking inset
5961 2003-04-26 John Levon <levon@movementarian.org>
5963 * bufferlist.C: re-add Cancel to buffer close question
5965 * lyxfunc.C: fix import UI a bit
5967 2003-04-25 John Levon <levon@movementarian.org>
5969 * gettext.C: remove the broken asserts for now
5971 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5973 * messages.C: make case where setlocale cannot comply work better.
5975 * buffer.C (updateDocLang): new function
5976 (changeLanguage): use it
5979 * text2.C (setCounter): use B_ a bit.
5981 * lyxlayout.C (Read): be sure to trim the label strings.
5983 * messages.C (Messages): fix typo in comment
5985 * buffer.C (readFile): set message_ after file is loaded.
5986 (makeDocBookFile): remove double return
5987 (changeLanguage): reset message_ upon language change.
5988 (B_): new func, use this to get translated buffer strings.
5990 * main.C: add myself and Jean Marc as authors.
5992 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5994 * messages.[hC]: pimplify Messages, and three different pimpls to be
5995 used in different circumstances.
5997 * gettext.[Ch]: change for use with new message code.
5999 2003-04-24 André Pönitz <poenitz@gmx.net>
6001 * factory.C: support for eqref
6003 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6005 * messages.[Ch]: add missing char
6007 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6009 * messages.[Ch]: New files
6011 2003-04-18 John Levon <levon@movementarian.org>
6015 * BufferView_pimpl.C:
6019 * text2.C: remove layout-copy/paste (bug 778)
6021 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6023 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6025 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6027 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6028 if they succeed. Act accordingly.
6030 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6032 * text2.C (setCharFont): adjust
6033 (setCounter): adjust
6034 (insertStringAsLines): adjust
6036 * text.C (leftMargin): adjust
6037 (setHeightOfRow): adjust
6039 * rowpainter.C (paintFirst): adjust
6042 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6044 (isFirstInSequence): ditto
6045 (getEndLabel): ditto
6048 * paragraph.C (getParLanguage): comment out some hard stuff.
6050 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6052 (simpleDocBookOnePar): ditto
6053 (makeDocBookFile): use ParagraphList::iterator
6055 * CutAndPaste.C (pasteSelection): adjust
6057 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6059 * text2.C (getFont): adjust
6060 (getLayoutFont): adjust
6061 (getLabelFont): adjust
6063 * paragraph_funcs.C (TeXOnePar): adjust
6065 * buffer.C (simpleLinuxDocOnePar): adjust
6066 (simpleDocBookOnePar): adjust
6068 * CutAndPaste.C (pasteSelection): adjust
6070 * BufferView.C (getEncoding): adjust
6072 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6074 2003-04-16 John Levon <levon@movementarian.org>
6076 * lyxfind.C: use parlist stuff for search/changes
6078 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6080 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6082 * text2.C (deleteEmptyParagraphMechanism): adjust
6084 * text2.[Ch] (ownerParagraph): delete func (both of them
6086 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6088 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6090 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6092 * ParagraphList.C: prepare for NO_NEXT
6094 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6096 * text2.C (getFont): adjust
6097 (getLayoutFont): adjust
6098 (getLabelFont): adjust
6100 * paragraph.C (getFont): adjust
6101 (getLabelFont): adjust
6102 (getLayoutFont): adjust
6104 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6106 2003-04-15 John Levon <levon@movementarian.org>
6110 * lyx_main.C: handle Include in .ui files
6112 2003-04-15 John Levon <levon@movementarian.org>
6114 * MenuBackend.C: make the doc files length shorter
6117 * ToolbarBackend.C: handle toolbar placement flags,
6120 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6122 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6125 * paragraph_funcs.C (TeXOnePar): adjust
6127 * paragraph.C (getLabelFont): add outerfont arg, adjust
6128 (getLayoutFont): ditto
6129 (simpleTeXOnePar): adjust
6131 * paragraph_pimpl.C (realizeFont): delete func
6133 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6135 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6136 row argument, constify cur argument.
6138 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6140 * text2.C (getFont): adjust
6141 (getLayoutFont): adjust
6142 (getLabelFont): adjust
6144 * paragraph_funcs.C (TeXOnePar): adjust
6145 (outerFont): new func...
6146 (realizeFont): ...moved out from here, changed this to facilitate
6149 * paragraph.C (getFont): take outerfont as arg, adjust
6150 (simpleTeXOnePar): add outerfont arg, adjust
6152 * buffer.C (simpleLinuxDocOnePar): adjust
6153 (simpleDocBookOnePar): adjust
6155 * CutAndPaste.C (pasteSelection): adjust
6157 * BufferView.C (getEncoding): adjust
6159 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6161 * text2.C (setCharFont): adjust
6162 (setCounter): adjust
6164 * text.C (leftMargin): adjust
6165 (setHeightOfRow): adjust
6167 * rowpainter.C (paintFirst): adjust
6170 * paragraph_pimpl.C (realizeFont): adjust
6172 * paragraph.C (isFirstInSequence): move from here...
6173 * paragraph_funcs.C (isFirstInSequence): ...to here
6175 * paragraph.C (outerHook): move from here...
6176 * paragraph_funcs.C (outerHook): ...to here
6178 * paragraph.C (depthHook): move from here...
6179 * paragraph_funcs.C (depthHook): ...to here
6181 * paragraph.C (getEndLabel): move from here...
6182 * paragraph_funcs.C (getEndLabel): ...to here
6184 * text2.C (realizeFont): move from here...
6185 * paragraph_funcs.C (realizeFont): ...to here
6187 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6189 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6191 2003-04-14 Angus Leeming <leeming@lyx.org>
6193 * LColor.[Ch]: scrap LColor mathcursor.
6195 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6197 * lyxlex.[Ch] (text): delete function
6198 * trans.C (Load): adjust
6199 * paragraph_funcs.C (readParToken): adjust
6201 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6203 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6204 vector<char> instead of a char[].
6206 * lyxlex_pimpl.C (getString): adjust
6208 (lex): use getString
6212 * lyxlex.C (text): use pimpl_->getString()
6216 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6218 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6219 (makeFontEntriesLayoutSpecific): temp var for par.size()
6220 (setLayout): temp var for ownerParagraphs().end()
6221 (fullRebreak): temp var for rows().end()
6222 (selectionAsString): temp var for boost::next(startpit), realize
6223 that the while really is a regular for loop.
6224 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6225 setCursor in one place.
6226 (setParagraph): temp vr for ownerParagraphs().end()
6227 (updateCounters): make the while loop a for loop
6228 (cutSelection): temp var for ownerParagraphs().end()
6229 (updateInset): make the do {} while() a regular for loop
6230 (getCursorX): use temp vars
6231 (setCurrentFont): use temp vars
6232 (getColumnNearX): use temp vars
6234 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6236 * text.C (transformChar): use temp var for getChar
6237 (computeBidiTables): use temp var for row->par()
6238 (fill): move temp vars for row->par() and pit->layout() earlier in
6240 (labelFill): use temp var for row->par()
6241 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6242 asc and desc, realize that pit never changes and that firstpit is
6243 just a duplicate and not needed. Exchange rit->par() with pit in a
6245 (breakAgain): use a temp var for boost::next(rit)
6246 (breakAgainOneRow): ditto
6247 (breakParagraph): use a temp var for rows().begin()
6248 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6249 (cursorRightOneWord): use temp var for cursor.par() and
6250 cursor.pos(), remove usage of tmpcursor.
6251 (cursorLeftOneWord): use temp var for cursor.par() and
6252 cursor.pos() only set cur at end of function.
6254 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6256 * text.C, text2.C: exchange all usage of Paragraph::next with
6257 boost::next(ParagraphList::iterator)
6259 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6261 * text2.C (cursorTop): simplify implementation
6262 (cursorBottom): ditto
6263 (setParagraph): use ParagraphList::iterator
6264 (setCurrentFont): adjust
6265 (getColumnNearX): adjust
6266 (cursorRight): adjust
6267 (cursorLeft): remove usage of Paragraph::previous
6268 (cursorUpParagraph): ditto
6269 (deleteEmptyParagraphMechanism): slight cleanup
6271 * text.C (isBoundary): take a Paragraph const & instead of a
6273 (addressBreakPoint): ditto
6274 (leftMargin): remove usage of Paragraph::previous.
6275 (setHeightOfRow): ditto
6276 (cursorLeftOneWord): ditto
6277 (selectNextWordToSpellcheck): ditto
6280 (breakParagraph): remove one usage of Paragraph::next
6281 (redoParagraph): ditto
6282 (acceptChange): ditto
6283 (insertChar): adjust
6284 (rowBreakPoint): adjust
6286 * bufferview_funcs.C (toggleAndShow): adjust
6288 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6290 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6291 methods to access it.
6293 * text.C: Added updateRowPositions to compute all row positions.
6294 Make top_y and getRowNearY() to use the cached y position
6296 2003-04-11 John Levon <levon@movementarian.org>
6298 * text.C (rowBreakPoint): reintroduce the labelEnd
6299 checks, code copied from the row fill stuff. Deep voodoo.
6301 * text.C (fill): add a comment and debugging for the
6304 2003-04-11 John Levon <levon@movementarian.org>
6306 * text.C: make sure fullrow insets get wrapped to the next line,
6307 even when they're in a manual label
6309 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6311 * text2.C (insertParagraph): make it take ParagraphList::iterator
6313 (setLayout): make it return ParagraphList::iterator
6314 (redoParagraphs): ditto
6316 (checkParagraph): ditto
6318 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6320 * text2.C: adjust several funcs.
6321 (realizeFont): take a ParagraphList::iterator as arg.
6322 (getLayoutFont): ditto
6323 (getLabelFont): ditto
6324 (setCharFont): ditto
6326 * text.C: adjust several funcs.
6328 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6330 * text.C (selectNextWordToSpellcheck): don't accidentally
6333 2003-04-10 John Levon <levon@movementarian.org>
6335 * ToolbarBackend.C (getIcon): special handling for
6338 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6340 * text2.C (cursorRight): a getChar assert fixed
6342 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6344 * text2.C (getFont): change to take a ParagraphList::iterator
6345 instead of Paragraph*
6346 Adjust several functions.
6348 * text.C (transformChar): change to take a ParagraphList::iterator
6349 instead of Paragraph*
6350 (singleWidth): ditto
6351 Adjust several functions.
6353 * rowpainter.C: adjust several functions
6354 * rowpainter.h:store a ParagraphList::iterator and not a
6358 2003-04-09 John Levon <levon@movementarian.org>
6363 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6364 and the "help" bits as well
6366 2003-04-09 John Levon <levon@movementarian.org>
6369 * ToolbarBackend.C: allow multiple toolbars
6371 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6373 * undo_funcs.C (setCursorParUndo): adjust
6375 * text_funcs.C (transposeChars): adjust
6377 * text3.C (gotoNextInset): adjust
6380 * text2.C (setLayout): adjust
6381 (changeDepth): adjust
6383 (redoParagraphs): adjust
6384 (selectionAsString): adjust
6385 (setParagraph): adjust
6386 (insertInset): adjust
6387 (cutSelection): adjust
6388 (copySelection): adjust
6389 (pasteSelection): adjust
6390 (insertStringAsLines): adjust
6391 (updateInset): adjust
6392 (setCursor): change to take a ParagraphList::iterator parameter
6393 (setCursorIntern): change to take a ParagraphList::iterator parameter
6394 (setCurrentFont): adjust
6395 (cursorLeft): adjust
6396 (cursorRight): adjust
6397 (deleteEmptyParagraphMechanism): adjust
6399 * text.C (breakParagraph): adjust
6400 (insertChar): adjust
6401 (acceptChange): adjust
6402 (rejectChange): adjust
6403 (selectNextWordToSpellcheck): adjust
6404 (changeCase): adjust
6408 * lyxfind.C (SearchForward): adjust
6409 (SearchBackward): adjust
6410 (nextChange): adjust
6412 * lyxcursor.C (par): adjust
6414 * lyxcursor.h: store a ParagraphList::iterator instead of a
6417 * lyx_cb.C (getPossibleLabel): adjust
6419 * bufferview_funcs.C (toggleAndShow): adjust
6421 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6424 * BufferView.C (removeAutoInsets): adjust
6425 (lockedInsetStoreUndo): adjust
6427 2003-04-09 John Levon <levon@movementarian.org>
6429 * ToolbarBackend.C: try icon without argument
6430 if with argument fails
6432 2003-04-08 John Levon <levon@movementarian.org>
6435 * ToolbarBackend.C: add getIcon(), handle tooltip,
6436 and change from "Icon" to "Item".
6438 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6440 * BufferView.C (lockInset): another bad getchar crunched
6442 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6444 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6447 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6449 * lyxfind.C (searchForward, searchBackwards): bug 782
6451 2003-04-07 John Levon <levon@movementarian.org>
6453 * paragraph.C: remove dead comment
6455 * text.C: remove troublesome depth-fiddling code
6456 in leftMargin() and rightMargin() (bug 1017)
6458 * text.C: fix breaking of rows in nested lists
6461 * text2.C (updateCounters): fix up depth values
6464 2003-04-07 John Levon <levon@movementarian.org>
6466 * BufferView_pimpl.C: clear message when doc finishes resizing,
6467 and after a mouse event
6469 * lyxfunc.C: clear message after exiting inset
6471 2003-04-07 John Levon <levon@movementarian.org>
6473 * bufferview_funcs.C: show math status not outside
6474 status in the statusbar
6476 2003-04-07 John Levon <levon@movementarian.org>
6478 * lyxfunc.C: note status changed after a depth change
6480 2003-04-04 Angus Leeming <leeming@lyx.org>
6482 * LaTeX.h: move AuxInfo operator==, != out of line.
6483 Remove LaTeX virtual destructor; nothing derives from it.
6484 Move operator()() out of public area and rename it startscript().
6485 Change protected for private.
6487 2003-04-04 Angus Leeming <leeming@lyx.org>
6490 * text2.C: remove unneeded #includes.
6492 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6494 * text2.C (dEPM): fix the heigth of the next row
6496 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6498 * text.C: squashed an invalid getChar requester + some ws changes
6500 2003-04-03 John Levon <levon@movementarian.org>
6502 * bufferview_funcs.h:
6503 * bufferview_funcs.C:
6506 * text2.C: make getStatus work for the env depth lfuns
6508 2003-04-03 John Levon <levon@movementarian.org>
6510 * bufferview_funcs.h:
6511 * bufferview_funcs.C:
6514 * text2.C: parlistize decDepth(), by merging it with incDepth()
6516 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6518 * lyxrow.h: store a ParagraphList::iterator instead of a
6519 Paragraph* and adjust other class functions to suit.
6521 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6524 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6526 * text2.C (setCursor): do not anchor to cursor row for the time being
6528 2003-04-02 John Levon <levon@movementarian.org>
6535 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6537 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6539 * paragraph.h: make ParagraphList and ParagraphList::iterator
6540 friends of Paragraph.
6542 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6544 * ParagraphList.C: Use the private next_ and previous_ from
6547 2003-04-01 John Levon <levon@movementarian.org>
6551 * Makefile.am: rename, remove defaults gunk
6554 * MenuBackend.C: remove defaults gunk
6557 * Languages.C: remove defaults gunk
6560 * lyx_main.C: error out if files couldn't be found.
6562 2003-04-02 John Levon <levon@movementarian.org>
6564 * text2.C: make incDepth() use parlist
6566 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6568 * undo_funcs.C (firstUndoParagraph): adjust
6570 * text3.C (gotoInset): adjust
6571 (dispatch): adjust, and rewrite loop.
6573 * text2.C (init): adjust, and rewrite loop.
6574 (redoParagraphs): adjust
6575 (updateInset): adjust, and rewrite loop.
6576 (deleteEmptyParagraphMechanism): adjust
6578 * tabular.C (LyXTabular): adjust
6579 (SetMultiColumn): adjust
6582 * lyxtext.[Ch] (ownerParagraph): delete function
6583 (ownerParagraphs): new function returns a ParagraphList.
6585 * BufferView.C (removeAutoInsets): adjust
6586 (insertErrors): adjust
6587 (setCursorFromRow): adjust
6589 2003-04-01 Angus Leeming <leeming@lyx.org>
6591 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6594 2003-04-02 John Levon <levon@movementarian.org>
6600 * text_funcs.C: make transposeChars a free function
6602 * lyxrow_funcs.C: remove wrong comment
6604 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6607 * rowpainter.C: adjust
6612 * lyxrow_funcs. [Ch]: new files
6614 * lyxrow.[Ch]: remove next and previous pointers
6615 (next,previous): remove accessor functions
6616 (isParEnd): move to lyxrow_funcs
6617 (lastPos): move to lyxrow_funcs
6618 (nextRowIsAllInset): move to lyxrow_funcs
6619 (lastPrintablePos): move to lyxrow_funcs
6620 (numberOfSeparators): move to lyxrow_funcs
6621 (numberOfHfills): move to lyxrow_funcs
6622 (numberOfLabelHfills): move to lyxrow_funcs
6623 (hfillExpansion): move to lyxrow_funcs
6627 * bufferview_funcs.C (toggleAndShow): adjust
6629 * RowList.h: Remove class RowList from file leave just a
6632 * RowList.C: delete file
6634 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6637 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6639 * text3.C (cursorPrevious): adjust
6640 (cursorNext): adjust
6643 * text2.C (redoHeightOfParagraph): adjust
6644 (redoDrawingOfParagraph): adjust
6647 * text.C (breakParagraph): adjust
6648 (insertChar): adjust
6651 * rowpainter.C (RowPainter): adjust
6652 (leftMargin): simplify and adjust
6653 (most rowpainter functions): adjust.
6655 * rowpainter.h: store the row as RowList::iterator not as Row*
6657 * lyxcursor.C (row): taka RowList::iterator as arg
6660 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6663 2003-04-01 Angus Leeming <leeming@lyx.org>
6665 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6666 stuff like bool Bool.
6668 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6670 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6673 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6675 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6678 * lyxtext.h (rows): drop one version and leve a const variant that
6679 returns a RowList::iterator.
6681 2003-03-31 Angus Leeming <leeming@lyx.org>
6683 * text.C (fill): ensure that the signature is the same as that in the
6686 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6688 * text2.C (redoParagraphs): adjust
6689 (updateCounters): adjust
6690 (checkParagraph): adjust
6691 (getColumnNearX): adjust and reformat a bit.
6693 * text.C (top_y): adjust
6695 (leftMargin): adjust
6696 (prepareToPrint): adjust
6698 (getRowNearY): adjust
6700 * lyxtext.h: make rowlist_ mutable.
6702 * RowList.h: add const_iterator
6703 * RowList.C: adjust for RowList::const_iterator.
6705 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6708 2003-03-31 John Levon <levon@movementarian.org>
6711 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6713 * lyx_main.C: set default fonts from using lyx_gui funcs
6715 * exporter.C: pdf_mode moved from lyxrc
6718 * lyxfunc.C: changes from above
6720 2003-03-31 John Levon <levon@movementarian.org>
6722 * lyx_main.C: fix to the last fix
6724 2003-03-31 John Levon <levon@movementarian.org>
6726 * bufferlist.C: "Load original" -> "Load Original"
6732 * format.C: more Alert cleanups
6734 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6736 * text2.C (removeParagraph): make it take a RowList::iterator as
6738 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6739 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6741 * text.C (anchor_row): make it take a RowList::iterator as arg,
6743 (computeBidiTables): make it take a const reference to Row instead
6744 of Row pointer, adjust.
6745 (leftMargin): make it take a RowList::iterator as arg, adjust.
6746 (rowBreakPoint): adjust
6747 (breakAgainOneRow): make it take a RowList::iterator as arg,
6749 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6751 * bufferview_funcs.C (toggleAndShow): adjust
6753 2003-03-30 John Levon <levon@movementarian.org>
6757 * boost-inst.C: moved to support
6759 * several files: changes as a result
6761 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6763 * text2.C (LyXText): adjust.
6765 (removeRow): make it take a RowList::iterator as arg, adjust.
6766 (fullRebreak): adjust
6767 (deleteEmptyParagraphMechanism): adjust
6768 (clearPaint): adjust
6771 * text.C (top_y): adjust
6772 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6773 (breakAgain): make it take a RowList::iterator as arg, adjust.
6774 (breakParagraph): adjust
6775 (insertChar): adjust
6778 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6779 need_break_row, and refresh_row.
6781 * text3.C (dispatch): adjust
6783 * text2.C (checkParagraph): adjust
6785 (setCursorFromCoordinates): adjust
6787 * text.C (top_y): adjust
6789 (getRow): make it return a RowList::iterator, adjust
6790 (getRowNearY): make it return a RowList::iterator, adjust
6792 * text2.C (init): adjust
6793 (insertRow): remove function
6794 (insertParagraph): adjust
6795 (redoParagraphs): adjust
6796 (fullRebreak): adjust
6797 (updateCounters): adjust
6799 * text.C (top_y): rewrite to use RowList iterators.
6801 (setHeightOfRow): rewrite to sue RowList iterators.
6802 (appendParagraph): adjust
6803 (breakAgain): adjust
6804 (breakAgainOneRow): adjust
6805 (breakParagraph): adjust
6807 (getRowNearY): adjust, and remove commented code.
6809 * lyxtext.h (firstRow): delete function
6810 (lastRow): delete function
6811 (rows): new function (const and non-const versions.)
6812 (insertRow): delete function
6814 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6816 2003-03-29 John Levon <levon@movementarian.org>
6818 * BufferView_pimpl.C: always update scrollbar top
6819 because pasting text when we're anchored could mean we
6820 miss an update altogether
6822 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6824 * text2.C (init): use rowlist_.end() and not 0.
6825 (insertRow): change to take a RowList::iterator as arg, adjust
6827 (insertParagraph): change to take a RowList::iterator as arg,
6829 (redoParagraphs): remove some debug msgs.
6831 * text.C (appendParagraph): change to take a RowList::iterator
6832 arg, adjust for this.
6833 (breakAgain): add an assert
6834 (breakAgainOneRow): ditto
6836 2003-03-29 John Levon <levon@movementarian.org>
6838 * text2.C: do not clear selection after inc/decDepth
6841 2003-03-29 John Levon <levon@movementarian.org>
6844 * buffer.C: fix broken strerrors according to Lars
6846 2003-03-29 John Levon <levon@movementarian.org>
6848 * converters.C: more Alert cleanups
6850 2003-03-29 John Levon <levon@movementarian.org>
6852 * bufferview_funcs.C: remove pointless Alert
6854 * buffer.C: fix confusing error message when
6855 a template is chmoded 000
6857 2003-03-29 John Levon <levon@movementarian.org>
6861 * BufferView_pimpl.C: Alert fixes
6865 * tabular-old.C: remove unused table compat reading
6867 2003-03-29 John Levon <levon@movementarian.org>
6872 * lyx_cb.C: more Alert cleanups
6874 * lyxfunc.C: don't allow chktex if not latex document
6876 2003-03-29 John Levon <levon@movementarian.org>
6880 * buffer.C: warnings pushed down from support/,
6883 2003-03-29 John Levon <levon@movementarian.org>
6885 * lyxfunc.C: safety check for C-r (revert)
6887 2003-03-29 John Levon <levon@movementarian.org>
6890 * bufferlist.C: several UI fixes using Alert::prompt.
6891 Fix the pointless looping quit code. Fix stupid revert
6896 * lyx_cb.C: use Alert::prompt
6898 * lyx_main.C: remove a silly question
6900 * lyxfunc.C: remove a couple of silly questions,
6903 2003-03-28 John Levon <levon@movementarian.org>
6905 * text2.C: fix bug 974 (End on empty par)
6907 2003-03-28 John Levon <levon@movementarian.org>
6909 * BufferView_pimpl.C:
6911 * lfuns.h: remove do-nothing math greek lfuns
6913 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6915 * lyxgluelength.h (isValidGlueLength): add default arg on
6916 parameter 2. Remove default arg from friend in class.
6918 * lyxlength.h (isValidLength): add default arg on parameter 2.
6919 Remove default arg from friend in class.
6921 * text2.C (LyXText): adjust, initialize refresh_row.
6925 (insertParagraph): adjst
6926 (redoParagraphs): adjust
6927 (fullRebreak): adjust
6928 (updateCounters): adjust
6929 (deleteEmptyParagraphMechanism): first attempt at fixing a
6932 * text.C (top_y): adjust
6933 (setHeightOfRow): adjust
6935 (getRowNearY): adjust
6937 * lyxtext.h: include RowList.h
6938 (~LyXText): not needed anymore, deleted.
6939 (firstRow): modify for RowList
6940 (lastRow): new function
6941 Delete firstrow and lastrow class variables, add a Rowlist
6942 rowlist_ class variable.
6944 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6947 * RowList.C (insert): fix case where it == begin().
6949 2003-03-26 Angus Leeming <leeming@lyx.org>
6951 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6952 the thesaurus dialog.
6954 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6956 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6958 * RowList.[Ch]: new files
6960 * ParagraphList.C (erase): handle the case where it == begin
6963 2003-03-25 John Levon <levon@movementarian.org>
6967 * aspell.C: add new aspell support
6970 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6973 2003-03-25 Angus Leeming <leeming@lyx.org>
6976 * LyXAction.C (init): new LFUN_INSET_INSERT.
6978 * BufferView_pimpl.C (dispatch): split out part of the
6979 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6981 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6984 2003-03-25 Angus Leeming <leeming@lyx.org>
6986 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6988 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6991 * text3.C: remove useless row->height(0)
6993 2003-03-25 John Levon <levon@movementarian.org>
6997 * text3.C: rename the refreshing stuff to better names
6999 2003-03-24 John Levon <levon@movementarian.org>
7001 * BufferView_pimpl.h:
7002 * BufferView_pimpl.C: update layout choice on a mouse
7005 2003-03-23 John Levon <levon@movementarian.org>
7007 * Makefile.am: fix commandtags.h reference
7009 2003-03-22 John Levon <levon@movementarian.org>
7011 * BufferView_pimpl.C:
7016 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7018 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7021 * text.C: take the rtl methods out of line
7023 2003-03-21 André Pönitz <poenitz@gmx.net>
7025 * metricsinfo.[Ch]: new files containing structures to be passed around
7026 during the two-phase-drawing...
7028 2003-03-21 André Pönitz <poenitz@gmx.net>
7030 * lyxtextclass.C: read 'environment' tag.
7032 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7034 * text2.C (removeRow): fix bug 964
7036 2003-03-20 John Levon <levon@movementarian.org>
7040 * text2.C: paint cleanups. Inset::update() dropped font
7043 2003-03-19 John Levon <levon@movementarian.org>
7045 * lyxfunc.C: only fitcursor/markDirty if available()
7047 2003-03-19 John Levon <levon@movementarian.org>
7049 * commandtags.h: rename to ...
7051 * lfuns.h: ... this, and renumber / cleanup
7053 2003-03-19 John Levon <levon@movementarian.org>
7055 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7056 fit the cursor after an lfun
7060 * BufferView_pimpl.h:
7061 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7063 * LyXAction.C: layout-character should have ReadOnly
7065 * ParagraphParameters.C:
7067 * bufferview_funcs.C:
7074 * undo_funcs.C: changes from above
7076 2003-03-18 John Levon <levon@movementarian.org>
7078 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7079 remove it from update()
7081 * lyxfunc.C: update layout choice after an lfun
7083 * text3.C: remove extra updateLayoutChoice()s
7085 2003-03-18 John Levon <levon@movementarian.org>
7087 * text.C: top_y change means full repaint, fix
7088 a drawing bug with cursor movement
7090 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7094 * text2.C: anchor row on setCursor
7096 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7098 * lyxtext.h: remove almost all mutable keywords
7101 * text3.C: remove const keywords accordingly
7103 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7105 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7107 (TeXEnvironment): ditto
7110 2003-03-17 John Levon <levon@movementarian.org>
7112 * text.C (rowBreakPoint): remove attempt to fix displayed
7113 math insets inside a manual label
7115 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7117 * lyxtext.h: remove BufferView* as first arg from almost all class
7119 * other files: adjust.
7121 2003-03-17 John Levon <levon@movementarian.org>
7125 * text2.C: more paint cleanups
7127 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7130 * rowpainter.C: remove "smart" background painting code
7132 2003-03-16 John Levon <levon@movementarian.org>
7137 * text3.C: add helper functions for setting refresh_row/y
7139 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7141 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7142 newline inset which *can* get inserted in the pass_thru layouts.
7143 This is primarily for literate documents.
7145 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7147 * buffer.C: increment LYX_FORMAT to 223
7149 2003-03-14 André Pönitz <poenitz@gmx.net>
7151 * textclass.h: prepare for environment handling, ws changes
7152 * lyxlayout.C: read latexheader and latexfooter tags
7154 2003-03-14 John Levon <levon@movementarian.org>
7156 * text2.C: rewrite ::status() a bit
7158 2003-03-13 John Levon <levon@movementarian.org>
7160 * lyxtext.h: add some docs
7162 2003-03-13 John Levon <levon@movementarian.org>
7167 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7169 2003-03-13 John Levon <levon@movementarian.org>
7171 * text3.C: fix appendix redrawing
7173 2003-03-13 John Levon <levon@movementarian.org>
7175 * text.C (setHeightOfRow):
7177 * rowpainter.C: make appendix mark have the text
7178 "Appendix" so the user knows what it is
7181 * LColor.C: s/appendixline/appendix/ from above
7183 2003-03-13 John Levon <levon@movementarian.org>
7185 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7187 * text.C: fix a getChar(pos) bug properly
7189 2003-03-13 Angus Leeming <leeming@lyx.org>
7192 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7193 Probably only temporary. Let's see how things pan out.
7195 * BufferView.C (unlockInset):
7196 * BufferView_pimpl.C (fitCursor):
7197 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7199 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7200 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7202 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7203 new functions that convert ParagraphParameters to and from a string.
7205 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7206 BufferView::Pimpl's dispatch.
7207 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7209 2003-03-13 André Pönitz <poenitz@gmx.net>
7213 * factory.C: make it aware of InsetEnv
7215 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7217 * text2.C (setCursor): never ask for one past last
7218 (setCursor): add some debugging messages.
7220 * text.C (singleWidth): never ask for one past last
7221 (singleWidth): ditto
7223 (rightMargin): ditto
7224 (rowBreakPoint): ditto
7225 (setHeightOfRow): ditto
7226 (prepareToPrint): ditto
7228 * rowpainter.C (paintBackground): never ask for one past last
7229 (paintText): never ask for one past last
7231 * paragraph_pimpl.C (getChar): make the assert stricter, never
7232 allow the one past last pos to be taken
7234 * paragraph.C (getChar): ws changes only
7236 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7237 (numberOfSeparators): ditto
7238 (numberOfHfills): ditto
7240 2003-03-12 John Levon <levon@movementarian.org>
7246 * paragraph_funcs.C: fix per-buffer authorlists
7248 2003-03-12 John Levon <levon@movementarian.org>
7250 * text.C: fix newline in right address
7252 2003-03-12 Angus Leeming <leeming@lyx.org>
7254 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7255 duplicate those in LyXFunc::dispatch.
7259 * ToolbarDefaults.C:
7260 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7261 Add LFUN_FONTFREE_UPDATE.
7263 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7264 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7266 * bufferview_func.[Ch]: several new functions to facilliate
7267 transfer of data to and from the character dialog.
7269 2003-03-12 John Levon <levon@movementarian.org>
7274 * paragraph_funcs.C:
7275 * paragraph_pimpl.C:
7279 * text3.C: remove META_NEWLINE in favour of an inset
7282 * rowpainter.C: remove paintNewline (done by inset)
7284 2003-03-12 John Levon <levon@movementarian.org>
7286 * paragraph_pimpl.C: complain about bad getChar()s
7287 for a while at least
7289 2003-03-12 John Levon <levon@movementarian.org>
7292 * buffer.C: move paragraph read into a separate function,
7293 a little renaming to reflect that.
7296 * bufferparams.C: remove the author_ids map, not necessary now
7299 * factory.C: moved Buffer::readInset to here
7301 * paragraph_funcs.h:
7302 * paragraph_funcs.C: readParagraph free function moved from
7305 * tabular.C: name change
7307 2003-03-12 John Levon <levon@movementarian.org>
7310 * ParagraphParameters.C: move par params input to
7313 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7314 behave like a normal read from the stream wrt reading
7315 a line vs. a \\token
7317 2003-03-12 John Levon <levon@movementarian.org>
7320 * ParagraphParameters.h:
7321 * ParagraphParameters.C: move output code to a
7324 2003-03-12 John Levon <levon@movementarian.org>
7326 * BufferView.C (insertLyXFile):
7329 * tabular.C: use a parlist iterator for creating the
7332 2003-03-12 John Levon <levon@movementarian.org>
7334 * buffer.C: make current_change static local not
7337 2003-03-12 John Levon <levon@movementarian.org>
7339 * buffer.C: fix insertStringAsLines for change tracking
7341 2003-03-12 John Levon <levon@movementarian.org>
7348 * bufferparams.C: move author list into params. Rename some
7349 functions. Move the header reading into a separate token
7350 loop. Move the header token reading into BufferParams.
7352 2003-03-12 John Levon <levon@movementarian.org>
7354 * changes.C: put debug inside lyxerr.debugging() checks
7356 2003-03-11 André Pönitz <poenitz@gmx.net>
7358 * factory.C: make it aware of InsetHFill
7360 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7362 * buffer.C (latexParagraphs): move function from here...
7363 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7366 2003-03-10 Angus Leeming <leeming@lyx.org>
7368 * LyXAction.C (init): fix bug in poplating array with multiple entries
7369 with the same LFUN (spotted by JMarc).
7371 2003-03-10 John Levon <levon@movementarian.org>
7374 * text2.C: move getColumnNearX() near its
7377 2003-03-10 John Levon <levon@movementarian.org>
7379 * text.C: fix break before a minipage
7381 2003-03-10 John Levon <levon@movementarian.org>
7383 * text.C: fix the last commit
7385 2003-03-09 John Levon <levon@movementarian.org>
7389 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7390 bug 365 (don't break before insets unless needed). Don't
7391 return a value > last under any circumstances.
7393 2003-03-09 Angus Leeming <leeming@lyx.org>
7395 * BufferView_pimpl.C (trackChanges, dispatch): call
7396 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7398 2003-03-09 Angus Leeming <leeming@lyx.org>
7400 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7401 than Dialogs::showAboutlyx().
7403 2003-03-09 Angus Leeming <leeming@lyx.org>
7405 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7406 than Dialogs::showTabularCreate().
7408 2003-03-09 John Levon <levon@movementarian.org>
7412 * text2.C: 3rd arg to nextBreakPoint was always the same.
7415 2003-03-08 John Levon <levon@movementarian.org>
7422 * text2.C: Remove the "main" bit from the "main body"
7425 2003-03-08 John Levon <levon@movementarian.org>
7427 * text.C (leftMargin): The left margin of an empty
7428 manual label paragraph should not include the label width
7431 * text.C (prepareToPrint): don't attempt to measure hfills
7432 for empty manual label paragraphs - the answer should be 0
7434 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7436 * CutAndPaste.C: remove commented code and reindent.
7438 2003-03-08 John Levon <levon@movementarian.org>
7441 * lyxfunc.C: move reloadBuffer()
7444 * BufferView.C: to here
7446 * lyxvc.C: add comment
7449 * vc-backend.C: call bv->reload() to avoid
7450 getStatus() check on MENURELOAD
7452 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7454 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7455 to an old format .dep file.
7457 2003-03-07 Angus Leeming <leeming@lyx.org>
7459 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7460 when the LFUN_MOUSE_RELEASE should have been handled by
7461 inset->localDispatch.
7463 2003-03-07 Angus Leeming <leeming@lyx.org>
7465 * BufferView_pimpl.C (dispatch):
7466 * LyXAction.C (init):
7467 * ToolbarDefaults.C (init):
7469 * lyxfunc.C (getStatus):
7470 remove LFUN_INSET_GRAPHICS.
7472 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7474 2003-03-07 Angus Leeming <leeming@lyx.org>
7477 * LyXAction.C (init):
7478 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7480 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7483 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7485 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7486 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7488 2003-03-07 Angus Leeming <leeming@lyx.org>
7490 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7493 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7495 * ParagraphList.C (front): new function
7498 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7500 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7501 and top_row_offset_. removed var first_y.
7503 * text2.C (LyXText, removeRow):
7505 * BufferView_pimpl.C:
7506 use these methods instead of using first_y
7508 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7510 * text2.C (pasteSelection): adjust for checkPastePossible
7512 * CutAndPaste.C: remove Paragraph * buf and replace with
7513 ParagraphList paragraphs.
7514 (DeleteBuffer): delete
7515 (cutSelection): change the tc type to textclass_type
7516 (copySelection): change the tc type to textclass_type
7517 (copySelection): adjust for ParagraphList
7518 (pasteSelection): change the tc type to textclass_type
7519 (pasteSelection): adjust for Paragraphlist
7520 (nrOfParagraphs): simplify for ParagraphList
7521 (checkPastePossible): simplify for ParagraphList
7522 (checkPastePossible): remove unused arg
7524 * ParagraphList.C (insert): handle the case where there are no
7527 * CutAndPaste.h: make CutAndPaste a namespace.
7529 * text3.C (dispatch): adjust
7531 * text.C (breakParagraph): add a ParagraphList as arg
7533 * paragraph_funcs.C (breakParagraph): change to take a
7534 BufferParams and a ParagraphList as args.
7535 (breakParagraphConservative): ditto
7536 (mergeParagraph): ditto
7537 (TeXDeeper): add a ParagraphList arg
7538 (TeXEnvironment): ditto
7541 * buffer.C (readLyXformat2): adjust
7542 (insertStringAsLines): adjust
7543 (latexParagraphs): adjust
7545 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7546 (cutSelection): adjust
7547 (pasteSelection): adjust
7549 * BufferView_pimpl.C (insertInset): adjust
7551 2003-03-05 Angus Leeming <leeming@lyx.org>
7554 * LyXAction.C (init):
7555 * BufferView_pimpl.C (dispatch):
7556 * lyxfunc.C (getStatus):
7557 remove LFUN_CHILD_INSERT.
7559 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7561 2003-03-05 Angus Leeming <leeming@lyx.org>
7564 * LyXAction.C (init):
7565 * src/factory.C (createInset):
7566 * lyxfunc.C (getStatus):
7567 * text3.C (dispatch):
7568 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7570 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7572 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7574 * ParagraphList.C (insert): handle insert right before end()
7575 (erase): fix cases where it can be first or last paragraph.
7577 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7579 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7580 Paragraph::next and Paragraph::previous
7583 * text.C (breakParagraph): adjust
7585 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7586 BufferParams& as arg.
7587 (breakParagraph): use ParagraphList::insert
7588 (breakParagraphConservative): take a Buffer* instead of a
7589 BufferParams& as arg.
7590 (breakParagraphConservative): use ParagraphList::insert.
7592 * buffer.C (insertStringAsLines): un-const it
7593 (insertStringAsLines): adjust
7595 * ParagraphList.C (insert): new function
7597 * CutAndPaste.C (pasteSelection): adjust
7599 * text.C (backspace): adjust
7601 * tabular.C (SetMultiColumn): adjust
7603 * CutAndPaste.C (cutSelection): adjust
7604 (pasteSelection): adjust
7606 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7607 Buffer const * as arg
7609 * ParagraphList.C (erase): new function
7610 * paragraph_funcs.C (mergeParagraph): use it
7611 (mergeParagraph): make it take a Buffer* instead of a
7612 BufferParams* as arg
7614 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7616 (breakParagraphConservative): ditto
7618 * paragraph.h: remove the breakParagraph friend
7620 * paragraph.C (eraseIntern): new function
7621 (setChange): new function
7623 * paragraph_funcs.C (mergeParagraph): make it take a
7624 ParagraphList::iterator instead of a Paragraph *, adjust
7627 * paragraph.h: move an #endif so that the change tracking stuff
7628 also works in the NO_NEXT case.
7630 2003-03-04 Angus Leeming <leeming@lyx.org>
7633 * LyXAction.C: new LFUN_INSET_MODIFY.
7635 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7636 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7638 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7640 * several files: ws changes only
7642 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7643 (TeXEnvironment): ditto
7646 * buffer.C (makeLaTeXFile): adjust
7647 (latexParagraphs): make it take ParagraphList::iterator as args
7649 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7651 * buffer.C (latexParagraphs): adjust
7653 * paragraph.C (TeXOnePar): move function...
7654 (optArgInset): move function...
7655 (TeXEnvironment): move function...
7656 * paragraph_pimpl.C (TeXDeeper): move function...
7657 * paragraph_funcs.C: ...here
7659 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7661 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7663 * buffer.C (readInset): remove compability code for old Figure and
7666 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7668 * buffer.C: ws changes
7671 * BufferView_pimpl.C: ditto
7674 * bufferlist.h: ditto
7678 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7680 * converter.[Ch]: split into itself +
7683 * Makefile.am: += graph.[Ch] + format.[Ch]
7690 * lyxrc.C: added #include "format.h"
7692 2003-02-27 Angus Leeming <leeming@lyx.org>
7694 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7697 * factory.C (createInset): add "label" to the factory.
7699 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7700 string and do no more.
7702 2003-02-27 Angus Leeming <leeming@lyx.org>
7705 * LyXAction.C (init):
7706 * factory.C (createInset):
7707 * BufferView_pimpl.C (dispatch):
7708 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7710 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7712 * lyxfunc.C (dispatch):
7713 * text3.C (dispatch): pass name to params2string.
7715 2003-02-26 Angus Leeming <leeming@lyx.org>
7717 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7719 Rearrange the ~includes. Strip out the unnecessary ones.
7721 * factory.C (createInset): reformat.
7722 create new insets for the various LFUN_XYZ_APPLY lfuns.
7724 2003-02-26 John Levon <levon@movementarian.org>
7727 * lyxrow.C: add isParStart,isParEnd helpers
7729 * paragraph.h: make isInserted/DeletedText take refs
7731 * paragraph_funcs.h:
7732 * paragraph_funcs.C: remove #if 0'd code
7737 * text.C: use lyxrow helpers above.
7738 Move draw and paint routines to RowPainter.
7739 Make several methods use refs not pointers.
7740 Make backgroundColor() const.
7741 Add markChangeInDraw(), isInInset().
7742 Merge changeRegionCase into changeCase.
7743 Make workWidth() shouldn't-happen code into an Assert.
7746 * rowpainter.C: new class for painting a row.
7749 * vspace.C: make inPixels take a ref
7751 2003-02-26 Angus Leeming <leeming@lyx.org>
7753 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7756 2003-02-25 John Levon <levon@movementarian.org>
7758 * ispell.C: give the forked command a more accurate name
7760 2003-02-22 John Levon <levon@movementarian.org>
7763 * toc.C: make TocItem store an id not a Paragraph *
7766 2003-02-21 Angus Leeming <leeming@lyx.org>
7768 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7769 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7770 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7771 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7772 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7773 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7775 * BufferView_pimpl.C (dispatch):
7776 * LyXAction.C (init):
7777 * factory.C (createInset):
7778 * lyxfunc.C (getStatus, dispatch):
7779 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7781 2003-02-21 Angus Leeming <leeming@lyx.org>
7783 * BufferView_pimpl.C (MenuInsertLyXFile):
7784 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7785 * lyxfunc.C (menuNew, open, doImport):
7786 no longer pass a LyXView & to fileDlg.
7788 2003-02-21 Angus Leeming <leeming@lyx.org>
7790 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7791 * LyXAction.C: change, BIBKEY to BIBITEM.
7792 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7793 Change InsetBibKey to InsetBibitem.
7794 Change BIBKEY_CODE to BIBITEM_CODE.
7795 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7796 * factory.C: replace insetbib.h with insetbibitem.h.
7797 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7798 * paragraph.C: replace insetbib.h with insetbibitem.h.
7799 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7800 Change bibkey() to bibitem().
7801 * text.C: remove insetbib.h.
7802 * text2.C: replace insetbib.h with insetbibitem.h.
7803 change bibkey() to bibitem().
7804 * text3.C: remove insetbib.h.
7805 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7807 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7809 * lyxrc.C (output): enclose user email in quotes (in case there are
7812 2003-02-18 John Levon <levon@movementarian.org>
7814 * buffer.h: add std::
7816 2003-02-17 John Levon <levon@movementarian.org>
7822 * pspell.C: reworking. Especially in ispell, a large
7823 number of clean ups and bug fixes.
7825 * lyxfunc.C: fix revert to behave sensibly
7827 2003-02-17 André Pönitz <poenitz@gmx.net>
7830 * commandtags.h: new LFUN_INSERT_BIBKEY
7840 * paragraph_func.C: remove special bibkey handling
7842 2003-02-17 John Levon <levon@movementarian.org>
7844 * text.C (Delete): fix case where delete at the end of
7845 the very first paragraph would not merge the pars
7847 2003-02-17 John Levon <levon@movementarian.org>
7849 * lyxrow.C: fix lastPrintablePos()
7851 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7853 * bufferparams.C (writeLaTeX): add a std:here
7855 * buffer.C: and remove a using directive there
7857 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7859 * buffer.C (makeLaTeXFile): move the code that generates the
7862 * bufferparams.C (writeLaTeX): ... in this new method
7864 * LaTeXFeatures.C (getEncodingSet): make const
7865 (getLanguages): make const
7867 * MenuBackend.C (binding): returns the binding associated to this
7869 (add): sets the status of each item by calling getStatus. Adds
7871 (read): add support for OptSubMenu
7872 (expand): remove extra separator at the end of expanded menu
7874 2003-02-15 John Levon <levon@movementarian.org>
7877 * BufferView_pimpl.C:
7879 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7880 inset code that had no actual effect. Remove unneeded status
7883 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7885 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7888 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7890 * text.C (drawLengthMarker): also draw an arrow marker for
7891 symbolic lengths (medskip...)
7893 2003-02-14 John Levon <levon@movementarian.org>
7896 * tabular.C: better method names
7898 2003-02-14 John Levon <levon@movementarian.org>
7900 * BufferView_pimpl.C:
7905 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7906 it's a more accurate name. Remove some pointless uses.
7908 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7910 * text2.C (LyXText): change order of initilizers to shut off
7913 2003-02-14 John Levon <levon@movementarian.org>
7915 * buffer.C: use ParIterator for getParFromID()
7919 * paragraph_pimpl.h:
7920 * paragraph_pimpl.C: remove unused getParFromID()
7922 2003-02-14 John Levon <levon@movementarian.org>
7924 * buffer.C: remove some very old #if 0'd parse code
7926 2003-02-13 John Levon <levon@movementarian.org>
7930 * text2.C: move hfillExpansion(), numberOfSeparators(),
7931 rowLast(), rowLastPrintable(), numberofHfills(),
7932 numberOfLabelHfills() ...
7935 * lyxrow.C: ... to member functions here.
7940 * text.C: remove LyXText::beginningOfMainBody(), and call
7941 p->beginningOfMainBody() directly. Move the check for
7942 LABEL_MANUAL into the latter.
7949 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7955 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7956 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7958 2003-02-13 John Levon <levon@movementarian.org>
7960 * CutAndPaste.C: remove debug
7962 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7964 * paragraph.C (asString): remove two unused variables
7966 * lyxtextclass.C (readTitleType):
7968 (LyXTextClass): handle new members titletype_ and titlename_
7970 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7972 2003-02-09 John Levon <levon@movementarian.org>
7975 * buffer.C: replace hand-coded list with a map for the dep clean
7977 2003-02-08 John Levon <levon@movementarian.org>
7979 * LaTeX.C: consolidate code into showRunMessage() helper
7981 2003-02-08 John Levon <levon@movementarian.org>
7986 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7987 and pass the size in explicitly
7989 * BufferView_pimpl.h:
7990 * BufferView_pimpl.C:
7992 * BufferView.C: add getCurrentChange()
7994 * BufferView_pimpl.h:
7995 * BufferView_pimpl.C: handle change lfuns
7997 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7998 for changes. Mark pasted paragraphs as new.
8000 * support/lyxtime.h:
8001 * support/lyxtime.C:
8002 * DepTable.C: abstract time_t as lyx::time_type
8005 * LColor.C: add colours for new text, deleted text, changebars
8007 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8008 package use "usenames" option.
8012 * LyXAction.C: add change lfuns
8016 * author.C: author handling
8019 * buffer.C: add a per-buffer author list, with first entry as
8020 current author. Handle new .lyx tokens for change tracking. Output
8021 author list to .lyx file. Output dvipost stuff to .tex preamble.
8022 Bump lyx format to 222.
8025 * bufferlist.C: add setCurrentAuthor() to reset current author details
8029 * bufferparams.C: add param for tracking
8031 * bufferview_funcs.C: output change info in minibuffer
8035 * changes.C: add change-tracking structure
8038 * debug.C: add CHANGES debug flag
8041 * lyxfind.C: add code for finding the next change piece
8044 * lyxrc.C: add user_name and user_email
8047 * lyxrow.C: add a metric for the top of the text line
8050 * text.C: implement accept/rejectChange()
8053 * text.C: paint changebars. Paint new/deleted text in the chosen
8054 colours. Strike through deleted text.
8058 * paragraph_pimpl.h:
8059 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8060 in the current change to the insert functions. Rework erase to
8061 mark text as deleted, adding an eraseIntern() and a range-based
8062 erase(). Implement per-paragraph change lookup and
8065 * paragraph_funcs.C: Fixup paste for change tracking.
8067 * tabular.C: mark added row/columns as new.
8069 * text.C: fix rowLast() to never return -1. Don't allow
8070 spellchecking of deleted text. Track transpose changes. Don't
8071 allow paragraph break or merge where appropriate.
8073 * text2.C: leave cursor at end of selection after a cut.
8075 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8077 * text.C (getLengthMarkerHeight):
8078 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8079 visible on screen too.
8081 2003-02-07 John Levon <levon@movementarian.org>
8083 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8085 2003-02-05 Angus Leeming <leeming@lyx.org>
8087 * lyxserver.C (read_ready): revert my patch of 11 September last year
8088 as it sends PC cpu through the roof. Presumably this means that
8089 the lyxserver will no longer run on an Alpha...
8091 2003-01-30 Angus Leeming <leeming@lyx.org>
8093 * factory.C (createInset): create an InsetCommandParam of type "index"
8094 and use it to 'do the right thing'.
8096 * text2.C (getStringToIndex): ensure that cursor position is always
8097 reset to the reset_cursor position.
8099 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8101 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8104 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8108 * lyxfunc.C: Output messages with identical spelling, punctuation,
8111 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8113 * MenuBackend.C (expandFormats): List only viewable export formats
8116 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8119 * lyxfunc.C (getStatus): Make sure that formats other than
8120 "fax" can also be disabled
8122 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8124 * text3.C (dispatch): put the lfuns that insert insets in 3
8125 groups, and call doInsertInset with appropriate arguments.
8126 (doInsertInset): new function, that creates an inset and inserts
8127 it according to some boolean parameters.
8129 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8131 * buffer.C (readFile): remember to pass on 'par' when calling
8132 readFile recursively.
8134 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8136 * MenuBackend.C (expandFormats): add "..." to import formats.
8138 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8140 * paragraph.C (asString): Remove XForms RTL hacks.
8142 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8143 * buffer.C: fix typo
8145 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8147 * Makefile.am (LIBS): delete var
8148 (lyx_LDADD): add @LIBS@ here instead.
8150 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8152 * Clarify the meaning of "wheel mouse jump"
8154 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8156 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8159 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8161 * importer.C (Loaders): do not preallocate 3 elements in the
8162 vector, since one ends up with 6 elements otherwise
8164 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8166 * DepTable.C (write): write the file name as last element of the
8167 .dep file (because it may contain spaces)
8168 (read): read info in the right order
8170 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8172 * paragraph_pimpl.C (simpleTeXBlanks):
8173 (simpleTeXSpecialChars):
8174 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8176 * tabular.C (latex): add some missing case statements. Reindent.
8178 * MenuBackend.C (expandToc): remove unused variable.
8180 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8189 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8192 2003-01-05 John Levon <levon@movementarian.org>
8195 * BufferView.C: add getEncoding()
8198 * kbsequence.C: do not store last keypress
8201 * lyxfunc.C: store last keypress here instead. Pass encoding
8204 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8206 * lyx_main.C (init): remove annoying error message when following
8207 symbolic links (bug #780)
8209 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8211 * text.C (insertChar):
8212 * lyxrc.C (getDescription): remove extra spaces
8214 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8216 * lyxrc.C (getDescription): remove extra spaces
8218 2002-12-20 John Levon <levon@movementarian.org>
8220 * text3.C: hack fix for page up/down across tall rows
8222 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8224 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8227 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8229 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8230 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8231 thesaurus is not compiled in
8233 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8235 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8237 2002-12-16 Angus Leeming <leeming@lyx.org>
8240 * lyx_main.C (init): remove override_x_deadkeys stuff.
8242 2002-12-12 John Levon <levon@movementarian.org>
8244 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8245 insert. Only remove shift modifier under strict
8248 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8250 * MenuBackend.C (expandToc): fix crash.
8252 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8254 * MenuBackend.C (expandToc): gettext on float names.
8256 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8258 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8259 implement bool empty() [bug 490]
8261 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8263 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8265 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8267 * several files: ws changes
8269 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8271 * text2.C (setCounter): clean up a bit, use boost.format.
8272 (updateCounters): initialize par upon declaration.
8274 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8275 if the layout exists. We do not just store the layout any more.
8276 (SwitchLayoutsBetweenClasses): use boost.format
8278 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8280 * converter.C (convert): if from and to files are the same, use a
8281 temporary files as intermediary
8283 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8286 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8288 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8290 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8292 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8294 * tabular.C (asciiPrintCell): use string(size, char) instead of
8297 * sgml.C (openTag): fix order of arguments to string constructor
8300 * lyxfunc.C (dispatch): use boost.format
8302 * lots of files: change "c" -> 'c'
8304 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8306 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8308 2002-11-25 Angus Leeming <leeming@lyx.org>
8310 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8312 * lyx_main.C (init): compile fix.
8314 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8316 * lyx_cb.C (start): boost.formatify
8317 do not include <iostream>
8319 * lengthcommon.C: ws only
8321 * boost-inst.C,BoostFormat.h: add more explict instantations
8323 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8325 * lots of files: handle USE_BOOST_FORMAT
8327 2002-11-21 John Levon <levon@movementarian.org>
8329 * pspell.C: fix compile
8331 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8333 * lyxfunc.C (dispatch): use boost::format
8337 * lyxfont.C (stateText): use boost::format
8339 * lyx_main.C (LyX): use boost::format
8341 (queryUserLyXDir): ditto
8344 (typedef boost::function): use the recommened syntax.
8346 * importer.C (Import): use boost::format
8348 * debug.C (showLevel): use boost::format
8350 * converter.C (view): use boost::format
8355 * bufferview_funcs.C (currentState): use boost::format
8357 * bufferlist.C (emergencyWrite): use boost::format
8359 * buffer.C (readLyXformat2): use boost::format
8360 (parseSingleLyXformat2Token): ditto
8362 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8364 * LaTeX.C (run): use boost::format
8366 * Chktex.C (scanLogFile): use boost::format
8368 * BufferView_pimpl.C (savePosition): use boost::format
8369 (restorePosition): ditto
8370 (MenuInsertLyXFile): ditto
8372 * BoostFormat.h: help file for explicit instation.
8374 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8376 * tabular.C (latex): Support for block alignment in fixed width
8379 2002-11-17 John Levon <levon@movementarian.org>
8381 * BufferView_pimpl.C:
8383 * lyxfunc.C: split filedialog into open/save
8385 2002-11-08 Juergen Vigna <jug@sad.it>
8387 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8388 by my last patch (hopefully).
8390 2002-11-08 John Levon <levon@movementarian.org>
8399 * toc.C: ParConstIterator, and use it (from Lars)
8401 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8403 * lyxtextclass.[Ch]: revise and add doxygen comments
8405 2002-11-07 John Levon <levon@movementarian.org>
8407 * text.C: fix progress value for spellchecker
8409 * toc.C: fix navigate menu for insetwrap inside minipage
8411 * paragraph_funcs.C: added FIXME for suspect code
8413 2002-11-07 John Levon <levon@movementarian.org>
8415 * BufferView_pimpl.C: fix redrawing of insets
8418 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8420 * text2.C (updateCounters): fix bug 668
8422 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8424 * text3.C (dispatch): Do not make the buffer dirty when moving the
8427 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8429 * vc-backend.C: STRCONV
8432 * text2.C (setCounter): STRCONV
8434 * paragraph.C (asString): STRCONV
8436 * lyxlength.C (asString): STRCONV
8437 (asLatexString): ditto
8439 * lyxgluelength.C (asString): STRCONV
8440 (asLatexString): ditto
8442 * lyxfunc.C (dispatch): STRCONV
8445 * lyxfont.C (stateText): STRCONV
8447 * importer.C (Import): STRCONV
8449 * counters.C (labelItem): STRCONV
8450 (numberLabel): ditto
8451 (numberLabel): remove unused ostringstream o
8456 * bufferview_funcs.C (currentState): STRCONV
8458 * buffer.C (readFile): STRCONV
8459 (asciiParagraph): ditto
8460 (makeLaTeXFile): ditto
8462 * Spacing.C (writeEnvirBegin): STRCONV
8464 * LaTeXFeatures.C (getLanguages): STRCONV
8465 (getPackages): ditto
8467 (getBabelOptions): ditto
8468 (getTClassPreamble): ditto
8469 (getLyXSGMLEntities): ditto
8470 (getIncludedFiles): ditto
8474 (scanAuxFile): ditto
8477 * LString.h: add the STRCONV macros
8479 * BufferView_pimpl.C (savePosition): STRCONV
8480 (restorePosition): ditto
8481 (MenuInsertLyXFile): ditto
8483 * vc-backend.C (scanMaster): change from submatch[...] to
8486 * funcrequest.C: include config.h
8488 * factory.C: include config.h
8490 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8492 * box.C: include config.h
8494 * LaTeX.C (scanAuxFile): change from submatch[...] to
8498 2002-10-25 Angus Leeming <leeming@lyx.org>
8500 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8502 * ispell.[Ch] (setError): new method.
8503 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8504 Use setError() insetead of goto END.
8506 * lyx_cb.C (AutoSave): move out child process into new class
8509 2002-10-30 John Levon <levon@movementarian.org>
8511 * text3.C: make start appendix undoable
8513 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8515 * lyxlength.C (inPixels): Fix returned value.
8517 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8520 2002-10-24 Angus Leeming <leeming@lyx.org>
8522 * lyxgluelength.h: no need to forward declare BufferParams
8523 or BufferView, so don't.
8525 2002-10-21 John Levon <levon@movementarian.org>
8527 * BufferView.C: menuUndo ->undo, redo
8529 * BufferView.h: document, remove dead, make some methods private
8531 * paragraph_funcs.h:
8532 * paragraph_funcs.C:
8533 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8538 * sgml.C: move sgml open/close tag into sgml.C
8540 * bufferview_funcs.h: unused prototype
8543 * lyxfunc.C: remove unused
8546 * text.C: remove unused
8548 2002-10-21 John Levon <levon@movementarian.org>
8552 * BufferView_pimpl.h:
8553 * BufferView_pimpl.C: fix mouse wheel handling based on
8554 patch from Darren Freeman
8556 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8558 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8560 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8562 * lyxlength.C (inPixels): Fix hanfling of negative length.
8563 Fix LyXLength::MU case.
8565 2002-10-16 John Levon <levon@movementarian.org>
8567 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8569 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8571 * converter.C (view): add support for $$i (file name) and $$p
8572 (file path) for the viewer command. If $$i is not specified, then
8573 it is appended to the command (for compatibility with old syntax)
8575 2002-10-14 Juergen Vigna <jug@sad.it>
8577 * undo_funcs.C (textHandleUndo): alter the order in which the
8578 new undopar is added to the LyXText, as we have to set first
8579 the right prev/next and then add it as otherwise the rebuild of
8580 LyXText is not correct. Also reset the cursor to the right paragraph,
8581 with this IMO we could remove the hack in "redoParagraphs()".
8583 2002-10-09 Angus Leeming <leeming@lyx.org>
8585 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8586 to turn off an optimisation if a new inset is to be inserted.
8588 2002-10-11 André Pönitz <poenitz@gmx.net>
8590 * lyxtext.h: make some functions public to allow access
8591 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8593 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8595 * text3.C (dispatch): when changing layout, avoid an infinite loop
8598 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8600 * lyxrc.C (read): treat a viewer or converter command of "none" as
8603 * MenuBackend.C (expandFormats): for an update, also allow the
8604 formats that are not viewable
8606 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8607 script if it is newer than the lyxrc.defaults in user directory
8609 2002-10-07 André Pönitz <poenitz@gmx.net>
8611 * text.C: Vitaly Lipatov's small i18n fix
8613 2002-09-25 Angus Leeming <leeming@lyx.org>
8615 * ispell.h: doxygen fix.
8617 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8619 * buffer.h (readFile): Add a new argument to the method, to allow
8620 reading of old-format templates.
8622 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8624 * toc.C (getTocList): Get TOC from InsetWrap.
8626 2002-09-16 John Levon <levon@movementarian.org>
8628 * lyxfunc.C: check tabular for cut/copy too
8630 2002-09-12 John Levon <levon@movementarian.org>
8635 * factory.C: add header
8637 * paragraph_funcs.h:
8638 * paragraph_funcs.C: cleanup
8640 2002-09-11 John Levon <levon@movementarian.org>
8642 * PrinterParams.h: odd/even default to true
8644 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8646 * PrinterParams.h: update printer parameters for new xforms dialog
8648 2002-09-11 Angus Leeming <leeming@lyx.org>
8650 * lyxserver.C (read_ready): re-write to make it more transparent
8651 and to make it work in coherent fashion under Tru64 Unix.
8653 2002-09-11 André Pönitz <poenitz@gmx.net>
8657 * text3.C: implement LFUN_WORDSEL
8659 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8661 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8662 make floatlist_ a boost::shared_ptr<FloatList>
8664 * lyxtextclass.C: include FloatList.h
8665 (LyXTextClass): initialize floatlist_
8666 (TextClassTags): add TC_NOFLOAT
8667 (Read): match "nofloat" to TC_NOFLOAT and use it.
8668 (readFloat): modify call to floatlist_
8672 * FloatList.[Ch] (FloatList): remove commented out float
8674 (erase): new function
8676 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8678 * MenuBackend.C (expandToc): fix crash when there is no document
8681 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8683 * many files: Add insetwrap.
8685 2002-09-09 John Levon <levon@movementarian.org>
8687 * text2.C: remove confusing and awkward depth wraparound
8689 2002-09-09 John Levon <levon@movementarian.org>
8691 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8694 * buffer.C: remove getIncludeonlyList()
8697 * lyxfunc.C: remove headers
8699 2002-09-09 Juergen Vigna <jug@sad.it>
8701 * text.C (getColumnNearX): fix form Michael this is most
8702 probably a cut&paste bug.
8704 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8706 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8708 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8709 references, ws changes.
8711 * text2.C (init): update counters after init
8712 (insertParagraph): no need to set counter on idividual paragraphs.
8713 (setCounter): access the counters object in the textclass object
8714 on in the buffer object.
8715 (updateCounters): ditto
8717 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8718 shared_ptr<Counters> to avoid loading counters.h in all
8720 (LyXTextClass): initialize ctrs_
8721 (TextClassTags): add TC_COUNTER, and ...
8722 (Read): use it here.
8723 (CounterTags): new tags
8724 (readCounter): new function
8725 (counters): new funtion
8726 (defaultLayoutName): return a const reference
8728 * counters.C (Counters): remove contructor
8729 (newCounter): remove a couple of unneeded statements.
8730 (newCounter): simplify a bit.
8731 (numberLabel): some small formatting changes.
8733 * buffer.[Ch]: remove all traces of counters, move the Counters
8734 object to the LyXTextClass.
8736 2002-09-06 Alain Castera <castera@in2p3.fr>
8738 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8739 package to set the horizontal alignment on fixed width columns.
8742 * lyx_sty.h: added tabularnewline macro def.
8744 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8746 2002-09-06 John Levon <levon@movementarian.org>
8748 * LyXAction.C: tooltips for sub/superscript
8750 * MenuBackend.C: a bit more verbose
8752 * lyxfunc.C: tiny clean
8754 * undo_funcs.C: document undo_frozen
8756 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8758 * counters.C (Counters): add missing algorithm counter.
8760 * text2.C (setCounter): lookup the counter with layouts latexname
8761 instead of by section number.
8762 (setCounter): use a hackish way to lookup the correct enum
8764 a float name->type change
8765 reset enum couners with counter name directly instead of depth value.
8767 * counters.C (Counters): remove the push_backs, change to use the
8768 float type not the float name.
8769 (labelItem): remove unused string, float name->type change
8771 * counters.h: don't include vector, loose the enums and sects vectors
8773 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8775 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8776 (Read): add float->TC_FLOAT to textclassTags
8777 (Read): and handle it in the switch
8778 (readFloat): new function
8780 * FloatList.C (FloatList): comment out the hardcoded float
8783 * lyxlayout.h: ws change.
8785 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8787 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8789 2002-09-03 Angus Leeming <leeming@lyx.org>
8791 * BufferView_pimpl.h: qualified name is not allowed in member
8792 declaration: WorkArea & Pimpl::workarea() const;
8794 * factory.C: added using std::endl directive.
8796 * text3.C: added using std::find and std::vector directives.
8798 2002-08-29 André Pönitz <poenitz@gmx.net>
8801 * text2.C: remove unused member number_of_rows
8804 * BufferView2.C: remove file, move contents to...
8805 * BufferView.C: ... here
8807 * BufferView_pimpl.C:
8808 * factory.C: move more inset creation to factory
8810 * vspace.C: avoid direct usage of LyXText, ws changes
8813 don't provide direct access to WorkArea, use two simple
8814 acessors haveSelction() and workHeight() instead
8817 2002-08-29 John Levon <levon@movementarian.org>
8819 * BufferView_pimpl.C (dispatch): do not continue when
8822 2002-08-28 André Pönitz <poenitz@gmx.net>
8824 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8827 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8829 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8831 * buffer.C: increment LYX_FORMAT to 221
8833 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8834 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8836 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8838 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8840 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8842 * factory.C (createInset): use LyXTextClass::floats
8844 * MenuBackend.C (expandFloatListInsert):
8845 (expandFloatInsert):
8848 * text2.C (setCounter):
8850 * LaTeXFeatures.C (useFloat):
8851 (getFloatDefinitions):
8853 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8855 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8856 floatlist_, with accessor floats().
8858 * FloatList.h: remove global FloatList
8860 2002-08-26 André Pönitz <poenitz@gmx.net>
8862 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8866 * BufferView_pimpl.C:
8867 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8869 2002-08-25 John Levon <levon@movementarian.org>
8871 * LyXAction.C: fix margin note description
8873 2002-08-24 John Levon <levon@movementarian.org>
8877 * bufferview_funcs.C:
8879 * undo_funcs.C: cleanups
8881 * lyxfunc.C: disable CUT/COPY when no selection
8883 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8885 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8886 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8888 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8889 Add backward compatibility to "mono", "gray" and "no".
8891 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8893 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8894 (and file_format >= 200).
8896 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8898 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8900 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8902 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8904 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8906 * BufferView_pimpl.C:
8913 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8914 inset and code to make it work with the paragraph code. The inset
8915 can be anywhere in the paragraph, but will only do the expected
8916 thing in LaTeX if the layout file contains the parameter line
8918 (or more generally, a nonzero value) for that layout.
8920 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8922 * paragraph.h: remove the declaration of undefined counters class
8925 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8927 * text2.C (setCounter): fixed enumeration mis-count as reported by
8928 Dr. Richard Hawkins.
8930 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8932 * paragraph_funcs.h: remove some unneeded includes
8934 * text.C (backspace): pasteParagraph now in global scipe
8936 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8937 (pasteSelection): ditto
8939 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8940 * paragraph_funcs.C (pasteParagraph): ... here
8942 2002-08-20 André Pönitz <poenitz@gmx.net>
8944 * commandtags.h: new LFUNs for swapping/copying table row/colums
8947 * lyxfunc.C: support for new lfuns
8949 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8952 * buffer.[Ch]: remove NO_COMPABILITY stuff
8954 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8956 * boost.C (throw_exception): new file, with helper function for
8957 boost compiled without exceptions.
8962 * ParameterStruct.h:
8963 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8965 * bufferlist.C (emergencyWriteAll): use boost bind
8967 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8969 * text.C: include paragraph_funcs.h
8970 (breakParagraph): breakParagraph is now in global scope
8972 * paragraph_funcs.[Ch]: new files
8974 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8977 * buffer.C: include paragraph_funcs.h
8978 (insertStringAsLines): breakParagraph is now in global scope
8980 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8983 * CutAndPaste.C: include paragraph_funcs.h
8984 (cutSelection): breakParagraphConservative is now in global scope
8985 (pasteSelection): ditto
8987 * buffer.h: declare oprator== and operator!= for
8988 Buffer::inset_iterator
8990 * bufferlist.C (emergencyWrite): don't use fmt(...)
8992 * text3.C: add using std::endl
8994 * BufferView.C (moveCursorUpdate): remove default arg
8996 2002-08-20 André Pönitz <poenitz@gmx.net>
8998 * buffer.[Ch]: move inline functions to .C
9001 * BufferView_pimpl.C:
9003 * buffer.[Ch]: use improved inset_iterator
9006 * paragraph.[Ch]: write one paragraph at a time
9008 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9010 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9011 style if style is not specified.
9013 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9015 * text2.C (setCounter): when searching for right label for a
9016 caption, make sure to recurse to parent insets (so that a caption
9017 in a minipage in a figure float works) (bug #568)
9019 2002-08-20 André Pönitz <poenitz@gmx.net>
9021 * text3.C: new file for LyXText::dispatch() and helpers
9023 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9025 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9027 2002-08-19 André Pönitz <poenitz@gmx.net>
9030 * text.C: new LyXText::dispatch()
9032 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9034 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9036 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9038 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9041 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9043 * Makefile.am: use $(variables) instead of @substitutions@
9045 2002-08-15 André Pönitz <poenitz@gmx.net>
9048 * BufferView_pimpl.C: streamlining mathed <-> outer world
9052 * LyXAction.C: remove unused LFUN_MATH
9054 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9056 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9058 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9060 * paragraph.C (Paragraph): reformat a bit
9061 (cutIntoMinibuffer): use builtin InsetList function instad of
9065 * buffer.C: include boost/bind.hpp, add using std::for_each
9066 (writeFileAscii): use ParagraphList iterators
9067 (validate): use for_each for validate traversal of paragraphs
9068 (getBibkeyList): use ParagraphList iterators
9069 (resizeInsets): use for_each to resizeInsetsLyXText for all
9071 (getParFromID): use ParagraphList iterators
9073 * BufferView2.C (lockInset): use paragraph list and iterators
9075 2002-08-14 John Levon <levon@movementarian.org>
9077 * lyxserver.C: remove spurious xforms include
9079 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9081 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9083 2002-08-13 André Pönitz <poenitz@gmx.net>
9086 * lyxfunc.C: further cleaning
9088 2002-08-13 André Pönitz <poenitz@gmx.net>
9090 * funcrequest.h: new constructor
9092 * funcrequest.C: move stuff here from .h
9095 * BufferView_pimpl.C:
9098 * lyxfunc.C: subsequent changes
9100 * lyxfunc.h: new view() member function
9102 * lyxfunc.C: subsequent changes
9104 2002-08-13 Angus Leeming <leeming@lyx.org>
9107 * BufferView_pimpl.C:
9115 changes due to the changed LyXView interface that now returns references
9116 to member variables not pointers.
9118 2002-08-13 Angus Leeming <leeming@lyx.org>
9120 * WordLangTuple (word, lang_code): return references to strings,
9125 * lyxtext.h: forward-declare WordLangTuple.
9130 * text.C: #include "WordLangTuple.h".
9133 * text.C: (selectNextWordToSpellcheck): constify return type.
9135 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9141 * paragraph_pimpl.h:
9144 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9146 Made updateCounter always count from start of buffer, and removed
9147 second argument (par).
9148 Reverted floats number display to '#'. Perhaps I'll try again when the
9149 code base is sanitized a bit.
9151 2002-08-12 Angus Leeming <leeming@lyx.org>
9153 * buffer.[Ch] (getLabelList): constify.
9155 2002-08-07 André Pönitz <poenitz@gmx.net>
9157 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9159 * funcrequest.h: extension to keep mouse (x,y) position
9161 2002-08-12 Juergen Vigna <jug@sad.it>
9163 * BufferView2.C (insertErrors): forbid undo when inserting error
9166 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9168 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9170 * ParagraphList.[Ch]: new files
9172 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9174 * BufferView2.C (lockInset): ParagraphList changes
9177 * bufferlist.C: ditto
9181 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9183 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9184 unused class variable counter_,
9186 * paragraph.[Ch] (getFirstCounter): delete unused function
9188 * counters.C: include LAssert.h
9189 (reset): add a new function with no arg, change other version to
9190 not have def. arg and to not allow empty arg.
9192 * text2.C (setCounter): remove empty arg from call to Counters::reset
9194 2002-08-11 John Levon <levon@movementarian.org>
9196 * Makefile.am: add WordLangTuple.h
9198 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9200 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9201 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9203 * insets/insettext.C: InsetList changes
9205 * graphics/GraphicsSupport.C (operator()): InsetList changes
9207 * toc.C (getTocList): InsetList changes
9209 * paragraph_pimpl.[Ch]: InsetList changes
9211 * paragraph.[Ch]: InsetList changes
9213 * buffer.C (inset_iterator): InsetList changes
9214 (setParagraph): ditto
9215 * buffer.h (inset_iterator): ditto
9216 * iterators.C (operator++): ditto
9217 * iterators.h: ditto
9219 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9221 * InsetList.[Ch]: new files, most InsetList handling moved out of
9224 * BufferView2.C (removeAutoInsets): InsetList changes
9226 (ChangeInsets): ditto
9228 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9230 * paragraph_pimpl.h (empty): new function
9232 * paragraph.[Ch] (empty): new function
9234 * other files: use the new Paragraph::empty function
9236 2002-08-09 John Levon <levon@movementarian.org>
9238 * lyxtext.h: remove unused refresh_height
9240 2002-08-09 John Levon <levon@movementarian.org>
9247 * paragraph.C: move sgml char escaping out of paragraph
9250 * paragraph.C: remove id setter
9254 * paragraph_pimpl.C: remove dead tex_code_break_column
9256 * bufferview_funcs.C: small cleanup
9258 * lyxfunc.C: remove dead proto
9260 * lyxtext.h: make some stuff private. Remove some dead stuff.
9262 * lyxgluelength.C: make as[LyX]String() readable
9264 2002-08-08 John Levon <levon@movementarian.org>
9269 * ToolbarDefaults.C:
9272 * toc.C: lyxaction cleanup
9274 2002-08-08 John Levon <levon@movementarian.org>
9276 * BufferView2.C: small cleanup
9279 * lyxfind.C: move unnecessary header into the .C
9281 2002-08-08 John Levon <levon@movementarian.org>
9283 * funcrequest.h: just tedious nonsense
9286 * lyx_main.C: cleanups
9289 * vspace.C: remove dead header lyx_main.h
9291 2002-08-07 Angus Leeming <leeming@lyx.org>
9294 * paragraph_pimpl.h:
9295 Forward declare class Counters in paragraph.h by moving the ctrs member
9296 variable into Paragraph::Pimpl.
9297 (counters): new method, returning a reference to pimpl_->ctrs.
9299 * text2.C: ensuing changes.
9301 2002-08-07 John Levon <levon@movementarian.org>
9303 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9305 * BufferView_pimpl.C: announce X selection on double/triple
9308 * lyx_main.C: use correct bool in batch dispatch
9310 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9312 2002-08-07 André Pönitz <poenitz@gmx.net>
9314 * funcrequest.h: new class to wrap a kb_action and its argument
9317 * BufferView_pimpl[Ch]:
9321 * lyxrc.C: subsequent changes
9324 2002-08-07 John Levon <levon@movementarian.org>
9326 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9327 document options change.
9329 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9334 * makefile.am: move counters functionality over from
9335 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9337 2002-08-06 John Levon <levon@movementarian.org>
9339 * WordLangTuple.h: new file for word + language code tuple
9350 * BufferView2.C: use WordLangTuple
9353 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9355 2002-08-06 John Levon <levon@movementarian.org>
9357 * lyx_main.C: fix cmdline batch handling
9359 2002-08-06 André Pönitz <poenitz@gmx.net>
9361 * lyxrc.C: set default for show_banner to true
9363 2002-08-06 John Levon <levon@movementarian.org>
9365 * pspell.C: fix a crash, and allow new aspell to work
9367 2002-08-06 John Levon <levon@movementarian.org>
9370 * kbmap.C: small cleanup
9373 * vspace.C: add const
9375 2002-08-05 John Levon <levon@movementarian.org>
9377 * LyXAction.C: back to tabular-insert
9379 2002-08-04 John Levon <levon@movementarian.org>
9382 * BufferView.C: cosmetic change
9384 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9394 * BufferView2.C: purge all "Lyx" not "LyX" strings
9397 * lyxcursor.C: attempt to add some documentation
9402 * ToolbarDefaults.C:
9403 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9404 merge with LFUN_TABULAR_INSERT
9411 * pspell.C: split up i/pspell implementations into separate
9412 files, many cleanups
9414 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9416 * text2.C: some cleanup
9418 * lyxfunc.C: don't check for isp_command == "none" any more, it
9419 didn't make any sense
9421 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9426 * makefile.am: move counters functionality over
9427 from text2.C/paragraph.[Ch] to counters.[Ch], and
9429 2002-08-02 John Levon <levon@movementarian.org>
9431 * buffer.C: s/lyxconvert/lyx2lyx/
9433 2002-08-02 Angus Leeming <leeming@lyx.org>
9435 * lyxlex.C: revert John's change as it breaks reading of the user
9438 2002-08-02 Angus Leeming <leeming@lyx.org>
9440 * importer.C (Import):
9441 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9442 changes due to LyXView::view() now returning a boost::shared_ptr.
9444 2002-08-02 John Levon <levon@movementarian.org>
9446 * lyxlex.C: small cleanup
9448 2002-08-02 John Levon <levon@movementarian.org>
9450 * text2.C (status): small cleanup, no logic change
9452 2002-08-01 John Levon <levon@movementarian.org>
9455 * buffer.C (writeFile): don't output alerts, caller
9459 * lyx_cb.C: from above
9461 * lyxfunc.C: allow to open non-existent files
9463 2002-07-31 John Levon <levon@movementarian.org>
9465 * lyxserver.C: don't let incidental errors get
9468 2002-07-30 John Levon <levon@movementarian.org>
9470 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9472 2002-07-30 John Levon <levon@movementarian.org>
9475 * lyxserver.C: remove I/O callback too
9477 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9479 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9482 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9484 * many files: strip,frontStrip -> trim,ltrim,rtrim
9486 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9488 * PrinterParams.h: remove extern containsOnly, and include
9489 support/lstrings.h instead.
9491 * LaTeX.C (scanAuxFile): modify because of strip changes
9493 * buffer.C (makeLaTeXFile): ditto
9494 * bufferparams.C (writeFile): ditt
9495 * lyxfont.C (stateText): ditto
9496 * lyxserver.C (read_ready): ditto
9497 * vc-backend.C (scanMaster): ditto
9499 * BufferView_pimpl.h: ws changes
9501 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9503 2002-07-26 André Pönitz <poenitz@gmx.net>
9505 * kb_sequence.C: remove unnedred usings
9507 2002-07-26 Juergen Vigna <jug@sad.it>
9509 * lyxfind.C (LyXReplace): we have to check better if the returned
9510 text is not of theLockingInset()->getLockingInset().
9512 2002-07-25 Juergen Vigna <jug@sad.it>
9514 * lyxfind.C (LyXReplace): don't replace if we don't get the
9517 * undo_funcs.C (createUndo): remove debugging code.
9519 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9521 * buffer.C (parseSingleLyXformat2Token): Use default placement
9522 when reading old floats.
9524 * FloatList.C (FloatList): Change the default placement of figure
9525 and tables to "tbp".
9527 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9529 * MenuBackend.C: using std::max
9531 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9533 * MenuBackend.C (expandToc):
9534 (expandToc2): code moved from xforms menu frontend. It is now
9535 generic and TOCs are transparent to menu frontends.
9537 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9539 * toc.C (getTocList): protect against buf=0
9541 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9542 Menu as first parameter. Now, this calls itself recursively to
9543 expand a whole tree (this will be useful for TOC handling)
9544 (expandFloatInsert): remove 'wide' version of floats
9546 * MenuBackend.h (submenuname): returns the name of the submenu.
9547 (submenu): returns the submenu itself, provided it has been
9548 created by MenuBackend::expand
9550 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9552 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9553 insets which have noFontChange == true. (bug #172)
9555 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9557 * BufferView_pimpl.C: add connection objects and use them...
9560 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9562 * MenuBackend.C (expandLastfiles):
9565 (expandFloatListInsert):
9566 (expandFloatInsert):
9567 (expand): split expand in parts
9569 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9571 * lyx_gui.C: use lyx_gui::exit()
9573 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9575 * LyXAction.C: show the failing pseudo action
9577 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9579 * buffer.C (readFile): Run the lyxconvert script in order to read
9582 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9586 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9588 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9592 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9594 2002-07-22 Herbert Voss <voss@lyx.org>
9597 * lyxlength.[Ch]: add support for the vertical lengths
9599 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9601 * toc.[Ch]: std:: fixes
9603 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9605 * lyxrc.C: do not include lyx_main.h
9607 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9613 * BufferView2.C: include "lyxlex.h"
9616 * bufferparams.h: do not #include "lyxlex.h"
9618 * lyxtextclasslist.C (Add): remove method
9619 (classlist): renamed to classlist_
9621 * paragraph_pimpl.C:
9625 * bufferview_funcs.C:
9630 * toc.C (getTocList): use BufferParams::getLyXTextClass
9632 * toc.C (getTocList): use InsetFloat::addToToc
9634 * toc.[Ch]: new files, containing helper functions to handle table
9637 * lyxfunc.C (dispatch): no need to remove spaces around command
9639 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9640 first command of the sequence; it is not very clever, but I do not
9641 have a better idea, actually
9643 * LyXAction.C (LookupFunc): make sure to remove space at the
9644 beginning and end of the command
9646 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9648 * MenuBackend.C (getMenubar): new method: return the menubar of
9650 (read): treat differently reading of menu and menubar (in
9651 particular, the menubar has no name now)
9652 (Menu::menubar): remove
9654 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9657 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9659 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9660 a bibitem inset in a RTL paragraph.
9662 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9664 * paragraph_pimpl.C: constify
9666 * BufferView_pimpl.C:
9668 * lyxfunc.C: fix dispatch in a nicer way
9670 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9672 * lyxfunc.C (dispatch):
9673 * BufferView_pimpl.C:
9674 * BufferView_pimpl.h:
9676 * BufferView.h: rename Dispatch() to dispatch()
9678 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9680 * lyxlayout.C (Read): honor DependsOn tag
9682 * lyxlayout.[Ch] (depends_on): new method
9684 * version.C.in: update lyx_docversion
9686 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9688 * paragraph.C (validate): remove from here...
9689 * paragraph_pimpl.C (validate): ... and move here
9690 (isTextAt): make it const
9692 * buffer.C (getLists): ws cleanup
9694 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9696 * language.C (read): Use iso8859-1 encoding in latex_lang
9697 (this prevents LyX from crashing when using iso10646-1 encoding).
9699 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9701 * text2.C (toggleInset): if cursor is inside an inset, close the
9702 inset and leave cursor _after_ it
9704 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9706 * lyxfunc.C: move minibuffer completion handling out of here
9708 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9710 * BufferView_pimpl.C:
9711 * LaTeX.C: fix dispatch calls
9713 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9715 * text.C (drawChars): Fix Arabic text rendering.
9717 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9721 * lyxfunc.C: remove message-push/pop
9725 * lyxfunc.C: rationalise some code by removing verboseDispatch
9726 in favour of a bool argument to dispatch()
9728 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9730 * lyx_main.C (init): make sure to read symlinks as absolute paths
9732 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9735 * lyxfunc.C: no need for commandshortcut to be a member
9737 2002-07-15 André Pönitz <poenitz@gmx.net>
9739 * converter.C: add support for $$s (scripts from lib/scripts dir)
9740 * lyx_main.C: white space
9742 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9746 * lyxrc.C: remove second exit confirmation
9748 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9753 * BufferView_pimpl.h:
9754 * BufferView_pimpl.C:
9755 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9757 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9759 * MenuBackend.C (expand): add numeric shortcuts to document menu
9761 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9763 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9765 * lyxfont.C (setLyXFamily):
9772 * buffer.C (asciiParagraph): use ascii_lowercase
9774 2002-07-15 Mike Fabian <mfabian@suse.de>
9776 * lyxlex_pimpl.C (search_kw):
9777 * lyxlex.C (getLongString):
9778 * converter.h (operator<):
9779 * converter.C (operator<):
9780 * buffer.C (parseSingleLyXformat2Token):
9782 * ToolbarDefaults.C (read):
9783 * MenuBackend.C (checkShortcuts):
9785 * LColor.C (getFromGUIName):
9786 (getFromLyXName): use the compare_ascii_no_case instead of
9787 compare_no_case, because in turkish, 'i' is not the lowercase
9788 version of 'I', and thus turkish locale breaks parsing of tags.
9790 2002-07-16 Angus Leeming <leeming@lyx.org>
9792 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9793 now takes a Buffer const & argument.
9795 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9797 * BufferView.C (resize): check there's a buffer to resize
9799 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9801 * lyxfunc.C: remove dead code
9804 * lyxserver.C: use lyx_guii::set_read_callback
9806 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9808 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9809 an inset in a RTL paragraph.
9811 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9813 * lyxfunc.C: repaint after a font size update
9815 2002-07-15 André Pönitz <poenitz@gmx.net>
9817 * lyxlength.C: inBP should be able to return negative values
9819 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9821 * lyxfunc.C: use lyx_gui::update_fonts()
9823 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9825 * lyxfunc.C: use lyx_gui::update_color()
9827 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9833 * lyxrc.C: remove file->new asks for name option, and let
9834 buffer-new take an argument
9836 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9838 * BufferView_pimpl.C: remove unneeded extra repaint()
9840 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9842 * LyXAction.C: allow command-sequence with NoBuffer
9844 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9846 2002-07-10 Angus Leeming <leeming@lyx.org>
9848 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9850 2002-07-09 Angus Leeming <leeming@lyx.org>
9852 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9854 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9856 * lengthcommon.h: whitespace
9858 * lyxfunc.C: update scrollbar after goto paragraph
9860 * lyxtext.h: factor out page break drawing, and fix it so
9861 page break/added space paints as selected nicely
9863 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9865 * BufferView_pimpl.C: add FIXMEs, clean up a little
9867 2002-07-09 André Pönitz <poenitz@gmx.net>
9869 * lyxfont.[Ch]: support for wasy symbols
9871 2002-07-08 André Pönitz <poenitz@gmx.net>
9873 * BufferView_pimpl.C: apply John's patch for #93.
9875 2002-07-05 Angus Leeming <leeming@lyx.org>
9877 * BufferView_pimpl.C (buffer): generate previews if desired.
9879 * LColor.h: add "preview" to the color enum.
9881 * LColor.C (LColor): add a corresponding entry to the items array.
9883 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9886 2002-07-05 Angus Leeming <leeming@lyx.org>
9888 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9889 The body of the code is now in the method that is passed an ostream &
9890 rather than a file name.
9891 Pass an additional only_preamble parameter, useful for the forthcoming
9894 2002-07-03 André Pönitz <poenitz@gmx.net>
9896 * lyxfunc.C: simplify getStatus() a bit for math stuff
9898 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9900 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9902 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9904 * text.C (changeRegionCase): do not change case of all the
9905 document when region ends at paragraph end (bug #461)
9907 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9909 * paragraph.C (startTeXParParams):
9910 (endTeXParParams): add \protect when necessary
9912 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9914 * BufferView_pimpl.C (workAreaExpose): remove warning
9916 2002-06-27 Angus Leeming <leeming@lyx.org>
9918 * Makefile.am: add lyxlayout_ptr_fwd.h.
9920 2002-06-26 André Pönitz <poenitz@gmx.net>
9922 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9924 2002-06-25 Angus Leeming <leeming@lyx.org>
9926 * lyxfunc.C (dispatch): Comment out the call to
9927 grfx::GCache::changeDisplay. The method no longer exists now that the
9928 pixmap generation part of the graphics loader has been moved into
9931 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9933 * text2.C: layout as layout
9935 * text.C: layout as layout
9937 * tabular.C (OldFormatRead): layout as layout
9939 * paragraph_pimpl.C (TeXDeeper): layout as layout
9940 (realizeFont): layout as layout
9942 * paragraph.C (writeFile): layout as layout
9943 (validate): layout as layout
9944 (getFont): layout as layout
9945 (getLabelFont): layout as layout
9946 (getLayoutFont): layout as layout
9947 (breakParagraph): layout as layout
9948 (stripLeadingSpaces): layout as layout
9949 (getEndLabel): layout as layout
9950 (getMaxDepthAfter): layout as layout
9951 (applyLayout): layout as layout
9952 (TeXOnePar): layout as layout
9953 (simpleTeXOnePar): layout as layout
9954 (TeXEnvironment): layout as layout
9955 (layout): layout as layout
9956 (layout): layout as layout
9958 * lyxtextclass.C (compare_name): new functor to work with
9959 shared_ptr, layout as layout
9960 (Read): layout as layout
9961 (hasLayout): layout as layout
9962 (operator): layout as layout
9963 (delete_layout): layout as layout
9964 (defaultLayout): layout as layout
9966 * lyxlayout_ptr_fwd.h: new file
9968 * lyxlayout.C (Read): layout as layout
9970 * lyx_cb.C (MenuInsertLabel): layout as layout
9972 * bufferlist.C (newFile): layout as layout
9974 * buffer.C (readLyXformat2): layout as layout
9975 (parseSingleLyXformat2Token): layout as layout
9976 (insertStringAsLines): layout as layout
9977 (asciiParagraph): layout as layout
9978 (latexParagraphs): layout as layout
9979 (makeLinuxDocFile): layout as layout
9980 (simpleLinuxDocOnePar): layout as layout
9981 (makeDocBookFile): layout as layout
9982 (simpleDocBookOnePar): layout as layout
9983 (getLists): layout as layout
9985 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9987 * CutAndPaste.C (cutSelection): layout as layout
9988 (pasteSelection): layout as layout
9989 (SwitchLayoutsBetweenClasses): layout as layout
9991 * BufferView_pimpl.C (Dispatch): layout as layout
9992 (smartQuote): layout as layout
9994 * BufferView2.C (unlockInset): layout as layout
9996 2002-06-24 André Pönitz <poenitz@gmx.net>
9998 * lyxfunc.C: fix #487
10000 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10004 * lyxfunc.C: remove display_shortcuts, show_banner
10006 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10008 * Buffer_pimpl.C: oops, update on resize
10010 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10017 * BufferView.C: use repaint()
10019 * BufferView_pimpl.h:
10020 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10021 as it's a clearer description. Remove superfluous
10024 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10026 * text.C: fix bug 488. Not ideal, but getting
10027 getWord() to work properly for the insets that
10028 matter is more difficult ...
10030 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10032 * BufferView_pimpl.C:
10035 * lyxfunc.C: remove the six million index lyxfuncs to just
10036 one, and DTRT (bug 458)
10038 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10042 * BufferView_pimpl.h:
10043 * BufferView_pimpl.C: clean up resize() stuff,
10044 and unnecessary updateScreen()s
10046 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10050 * BufferView_pimpl.h:
10051 * BufferView_pimpl.C:
10054 * minibuffer.C: remove focus management of workarea,
10055 not needed. Use screen's greyOut()
10057 2002-06-17 Herbert Voss <voss@lyx.org>
10059 * converter.C: (convert) do not post a message, when converting
10060 fails, let the calling function decide what to do in this case
10062 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10064 * lyxfunc.C: tidy up a little
10066 2002-06-16 <alstrup@diku.dk>
10068 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10069 Got rid of FORMS_H_LOCATION include. Now we are
10072 2002-06-15 LyX Development team <lyx@rilke>
10074 * buffer.[Ch] (sgmlOpenTag):
10075 (sgmlCloseTag): Added support for avoiding pernicious mixed
10076 content. Return number of lines written.
10078 (makeLinuxDocFile):
10079 (makeDocBookFile): Fixed calls to sgml*Tag.
10080 Simple white space clean.
10082 (simpleDocBookOnePar): Simple white space clean.
10084 * tabular.[Ch] (docBook): Renamed to docbook and got another
10085 argument to related with the pernicious mixed content.
10087 (docbookRow): Fixed calls for docbook inset method.
10089 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10091 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10092 so it's X11 independent.
10096 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10098 2002-06-15 Lyx Development team <lyx@electronia>
10100 * intl.h: Renamed getTrans to getTransManager.
10102 2002-06-14 Angus Leeming <leeming@lyx.org>
10104 * Makefile.am: nuke forgotten stl_string_fwd.h.
10106 2002-06-12 Angus Leeming <leeming@lyx.org>
10108 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10110 2002-06-13 Angus Leeming <leeming@lyx.org>
10113 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10115 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10117 * kbmap.C (getiso): add support for cyrillic and greek
10119 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10123 * BufferView_pimpl.h:
10124 * BufferView_pimpl.C: move bogus scrolling logic
10127 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10130 * BufferView_pimpl.C: view->resize() change
10132 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10134 * BufferView_pimpl.C: topCursorVisible
10137 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10141 * lyx_gui.C: move to frontends/
10145 * lyx_main.C: changes from above
10147 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10154 * lyx_main.C: minor tidy
10156 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10158 * BufferView_pimpl.h:
10159 * BufferView_pimpl.C:
10161 * BufferView.C: make painter() const,
10164 * BufferView2.C: use screen() accessor
10167 * lyx_main.C: some minor cleanup
10169 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10171 * BufferView_pimpl.h:
10172 * BufferView_pimpl.C: remove enter/leaveView,
10175 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10180 * BufferView_pimpl.h:
10181 * BufferView_pimpl.C: only construct screen once,
10184 * lyxrc.C: remove pointless comment
10186 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10189 * BufferView.C: remove active() and belowMouse()
10191 * BufferView_pimpl.h:
10192 * BufferView_pimpl.C: use workarea() not workarea_,
10193 and make it use a scoped_ptr instead
10195 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10197 * lyx_gui.C: add debug message on BadWindow
10199 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10201 * sp_spell.C: fdopen is not part of the C++ standard.
10203 * paragraph.C (InsetIterator): use >= instead of ==
10205 2002-06-07 Angus Leeming <leeming@lyx.org>
10207 Fixes needed to compile with Compaq cxx 6.5.
10208 * BufferView_pimpl.C:
10215 * lyxtextclasslist.C:
10220 all c-library variables have been moved into namespace std. Wrap
10221 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10226 Add a using std::abs declaration.
10228 * kbmap.h (modifier_pair):
10229 * paragraph.h (InsetTable, InsetList):
10230 * lyxfont.h (FontBits):
10231 type definition made public.
10233 * bufferlist.C (emergencyWriteAll): the compiler complains that
10234 there is more than one possible lyx::class_fun template to choose from.
10235 I re-named the void specialisation as lyx::void_class_fun.
10237 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10239 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10240 the compiler is is unable to find tostr in write_attribute.
10242 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10244 * buffer.C (sgmlError): hide #warning
10246 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10248 * xtl/*: get rid of xtl, which is not in use anyway
10250 * LyXAction.C (init):
10251 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10252 were unimplemented xtl experimentation
10254 2002-06-04 André Pönitz <poenitz@gmx.net>
10256 * lyxfunc.C: disable array operation on simple formulae
10258 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10260 * converter.C: constify a bit
10262 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10264 * lyx_gui.C: check xforms version correctly
10266 2002-04-30 Herbert Voss <voss@lyx.org>
10268 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10271 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10273 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10274 attempt to register it with a VCS)
10276 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10278 * lyx_main.C (init): honor variables LYX_DIR_13x and
10281 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10285 * lyx_main.C: fix a crash on bad command line,
10286 and give a useful exit status on error
10288 * lyxfunc.C (doImport): allow -i lyx to work
10290 2002-03-30 André Pönitz <poenitz@gmx.net>
10292 * lyxfunc.C: mathed font changes
10294 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10309 * trans_mgr.h: srcdocs, and some minor cleanups
10311 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10313 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10314 call getFont all the time)
10316 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10318 * switch from SigC signals to boost::signals
10320 2002-05-29 André Pönitz <poenitz@gmx.net>
10322 * paragraph_pimpl.C (getChar): don't call size() too often...
10324 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10326 * paragraph_pimpl.C (insertChar): do not try to update tables when
10327 appending (pos == size())
10329 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10330 in order to reduce drastically the number of comparisons needed to
10331 parse a large document
10333 2002-05-29 André Pönitz <poenitz@gmx.net>
10339 * textclasslist.[Ch]:
10340 * sp_ispell.h: whitespace change
10342 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10344 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10345 lyxaction directly now.
10347 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10351 * lyxvc.C: remove unused headers
10353 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10360 * undo_funcs.C: some cleanups. Use shared_ptr
10361 and a template for the undo stacks.
10363 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10365 * BufferView_pimpl.h:
10366 * BufferView_pimpl.C:
10373 * text2.C: use key_state/mouse_state
10375 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10377 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10380 * chset.C: change include order
10381 (loadFile): use boost regex and get rid of LRegex and LSubstring
10383 * Makefile.am (BOOST_LIBS): new variable
10384 (lyx_LDADD): use it
10386 * LaTeX.C: change include order.
10387 (scanAuxFile): use boost regex and get rid of LRegex and
10391 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10396 * FontInfo.C: moved to frontends/xforms/
10399 * FontLoader.C: moved into frontends for GUIIzation
10404 * lyxfunc.C: changes from above
10406 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10408 * LColor.C: remove spurious X include
10410 * BufferView_pimpl.C:
10415 * text2.C: move font metrics to frontends/
10417 2002-05-24 Juergen Vigna <jug@sad.it>
10419 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10420 setting the undo_cursor.
10422 * ParagraphParameters.h: include local includes first.
10424 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10426 * BufferView_pimpl.C:
10427 * BufferView_pimpl.h:
10431 * screen.C: move WorkArea into frontends/
10437 * BufferView2.C: move LyXScreen into frontends/
10441 * lyx_gui.C: move lyxlookup into frontends/xforms/
10443 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10446 * BufferView_pimpl.C:
10456 * bufferview_funcs.C:
10469 * vc-backend.C: move LyX/XFormsView into frontends/
10471 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10483 * text2.C: move Painter to frontends/
10485 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10487 * buffer.C: comment out some some code that depend upon lyx_format
10490 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10491 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10493 * buffer.h (NO_COMPABILITY): turn off compability
10495 * ColorHandler.C: include scoped_array.hpp
10497 * font.C: Use more specific smart_ptr header.
10500 * ShareContainer.h: ditto
10501 * lyx_main.h: ditto
10503 * FontInfo.h: ditto
10504 * BufferView_pimpl.h: ditto
10505 * ColorHandler.h: ditto
10507 * kbmap.C (defkey): change call to shared_ptr::reset
10509 2002-05-21 Juergen Vigna <jug@sad.it>
10511 * buffer.C (insertErtContents): fix to insert ert asis if it is
10512 non empty. Skip it completely if it contains only whitespaces.
10514 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10516 * BufferView_pimpl.C:
10517 * BufferView2.C: clear selection on paste (bug 393)
10519 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10521 * DepTable.C: include ctime
10523 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10525 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10527 2002-05-14 Juergen Vigna <jug@sad.it>
10529 * text.C (breakParagraph): fixed function to honor the keepempty
10530 layout in the right maner and also to permit the right breaking
10531 algorithm on empty or non empyt keepempty paragraphs.
10533 * paragraph.C (breakParagraph): we have to check also if the par
10534 is really empty (!size()) for isempty otherwise we do the wrong
10537 2002-05-10 Juergen Vigna <jug@sad.it>
10539 * buffer.[Ch] : The following are only changes to the ert
10540 compatibility read reading old LaTeX layout and font stuff and
10541 convert it to ERTInsets.
10543 * buffer.h: added isErtInset().
10545 * buffer.C (struct ErtComp): add a fromlayout bool to check
10546 if we're inside a LaTeX layout.
10547 (isErtInset): new helper function.
10548 (insertErtContents): look for other ert insets before this one
10549 and insert the contents there, so that we don't have subsequent
10550 ERT insets with nothing between them. This way we create only one
10551 inset with multiple paragraphs. Also check if we don't insert only
10552 spaces ' ' as they are ignored anyway afterwards in the .tex file
10553 so if we have only spaces we will ignore this latex part in the
10555 (parseSingleLyXformat2Token \\layout): better compatibility when
10556 reading layout-latex stuff.
10557 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10559 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10560 stuff after reading the inset only get the information back from
10563 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10565 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10567 * LaTeXFeatures.C (getBabelOptions): New method.
10569 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10571 * BufferView_pimpl.C (Dispatch): work around missing argument for
10574 2002-05-08 Juergen Vigna <jug@sad.it>
10576 * text.C (leftMargin): handle paragraph leftindent.
10578 * paragraph.C (writeFile): write the new \\leftindent tag.
10579 (validate): handle leftindent code.
10580 (TeXEnvironment): handle paragraphleftindent code again.
10582 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10584 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10585 for paragrap_extra indent code and new token \\leftindent.
10586 (latexParagraphs): handle the leftindent as environment.
10588 * ParameterStruct.h: added leftindent support.
10590 * ParagraphParameters.C (leftIndent): added support functions for
10591 the paragraph left indent.
10593 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10596 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10598 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10601 * text.C (computeBidiTables): No bidi in insetERT.
10603 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10606 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10608 * version.C.in: pre 5
10610 2002-05-02 José Matos <jamatos@fep.up.pt>
10611 * buffer.C (makeDocBookFile): white space changes, add newline to
10613 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10615 * tabular.C (docBook): fix typo.
10617 2002-05-03 Juergen Vigna <jug@sad.it>
10619 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10620 change in LyXText as we can not be sure it was not freed.
10621 (drawOneRow): remove unused code.
10623 * text.C (drawInset): redo the calculation of the need_break_row as
10624 it could have a row which was already freed.
10625 (draw): look at the return value of drawInset and return false if
10626 it also returned false.
10627 (paintRowText): look at the return value of draw and return false if
10628 it also returned false.
10630 * lyxtext.h: added bool return type to drawInset() and draw() so that
10631 if we have a change in the row so that the rowbreak has to be redone
10632 we abort drawing as it will be called again.
10634 2002-05-02 Juergen Vigna <jug@sad.it>
10636 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10637 a change in the maintext also if we're inside an inset.
10638 (Dispatch): set the cursor again after a break line and after the
10639 screen has been updated as it could be we're in a different row.
10641 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10642 to set the cursor behind the pargraph with > size().
10643 (setCursor): check also for the same paragraph when checking where
10644 to put the cursor if we have a NFR inset.
10646 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10647 parts of layout read further up as it still was in the wrong
10650 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10652 * screen.C (drawFromTo): change sine fullRebreak always return
10655 * buffer.C (parseSingleLyXformat2Token): reindent some
10657 * BufferView_pimpl.C (update): change since fullRebreak always
10659 (Dispatch): git rid of the last hardcoded "Standard"s.
10661 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10663 * text2.[Ch] (fullRebreak): make it return void now that we always
10666 2002-04-30 Juergen Vigna <jug@sad.it>
10668 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10669 ert compatibility check for "latex" layout.
10671 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10673 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10674 minipages: use col% instead of p%, and also use the current font.
10675 (makeLaTeXFile): Fix use babel condition.
10676 (parseSingleLyXformat2Token): Correct font when reading old floats.
10678 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10680 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10681 inserting list of floats.
10683 2002-04-25 Herbert Voss <voss@lyx.org>
10685 * MenuBackend.C (expand): don't add the graphics extensions to the
10688 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10690 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10691 non-existing layout, do not complain if it was the default layout
10692 of the original class (bug #342)
10694 2002-04-24 Juergen Vigna <jug@sad.it>
10696 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10697 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10699 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10701 * buffer.C (getBibkeyList): If using \bibliography, return the
10702 option field with the reference itself. Enables us to provide natbib
10703 support when using \bibliography.
10705 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10707 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10709 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10710 natbib is provided by the LaTeX class.
10712 2002-04-23 Juergen Vigna <jug@sad.it>
10714 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10717 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10719 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10721 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10723 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10724 ensuremath around textordmasculine, textordfeminine and
10727 2002-04-19 Juergen Vigna <jug@sad.it>
10729 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10730 reinitializing the buffer otherwise row-dimensions may be wrong.
10731 (update): reset also the selection cursors if they do exits otherwise
10732 their x/y positions may be wrong.
10734 * text2.C (cursorDown): don't enter the inset if we came from a row
10735 above and are one row over the inset.
10737 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10738 really leaving an inset.
10740 2002-04-18 Juergen Vigna <jug@sad.it>
10742 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10743 of the selected paragraph does not have the selected layout also if
10746 * text2.C (setLayout): fixed bug which did not change last selected
10749 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10750 changed the read and substituted \\end_float with \\end_inset!
10752 * BufferView_pimpl.C (cursorPrevious):
10753 (cursorNext): fixed to make it work with rows heigher than the work
10754 area without moving the cursor only the draw of the row.
10755 (workAreaMotionNotify): fix jumping over high rows.
10757 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10759 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10762 2002-04-16 Juergen Vigna <jug@sad.it>
10764 * text2.C (setCursor): set also the irow().
10765 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10767 (cursorDown): support for locking an inset if the x_fix value goes
10768 inside it. That way I can transverse insets too with cursor up/down.
10770 * lyxrow.h: added irow helper function same as other (i) functions.
10772 * BufferView_pimpl.C (cursorPrevious):
10773 (cursorNext): fixed for insets!
10775 2002-04-15 Juergen Vigna <jug@sad.it>
10777 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10778 position otherwise it is wrong in some cases.
10780 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10781 inside the inset before the call.
10783 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10785 * buffer.[Ch] (getBibkeyList): make it const.
10787 2002-04-12 Juergen Vigna <jug@sad.it>
10789 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10791 * text2.C (getCursorX): new helper function
10792 (setCursor): compute also ix_
10793 (setCursorFromCoordinates): set also ix.
10795 * lyxcursor.h: added ix_ and helper functions.
10797 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10799 * buffer.C (insertStringAsLines): dont break paragraph if the this
10800 paragraph is inside an inset which does not permit it!
10802 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10803 also with no chars on this paragraph.
10804 (paintRowText): only paint stuff if it's inside the workarea!
10806 * paragraph.C (breakParagraph): honor keepempty flag and break the
10807 paragraph always below not above.
10809 * BufferView2.C (unlockInset): update the paragraph layout on inset
10810 unlock as we changed paragraph in such a case.
10812 * lyxfind.C (LyXFind): clear the former selection if not found!
10814 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10815 again called in insertChar().
10817 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10818 an inset which uses the whole row!
10819 (rightMargin): ditto.
10820 (insertChar): force a rebreak if we inserted an inset!
10822 2002-03-28 Herbert Voss <voss@lyx.org>
10824 * lyxlength.[Ch]: add inBP() to get the right PS-point
10825 units (BigPoint). With inPixels we have rounding errors
10827 2002-04-11 Juergen Vigna <jug@sad.it>
10829 * text2.C (setCursorFromCoordinates): set iy to the right value.
10830 (setCursor): add check if row->previous exists!
10832 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10833 an old float_type as this was the case in the old code!
10835 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10837 * BufferView2.C (showLockedInsetCursor): use iy
10838 (fitLockedInsetCursor): ditto
10840 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10841 locked insets as there we have the right value now.
10843 * lyxcursor.C: added iy_ variable and iy functions to set to the
10844 baseline of cursor-y of the locked inset.
10846 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10847 (setCursor): fixed for insets which need a full row.
10849 * text.C (rowLastPrintable): don't ignore the last space when before
10850 an inset which needs a full row.
10851 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10852 as last character of a row when before a inset which needs a full row.
10854 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10856 * version.C.in: update date
10858 * text2.C (fullRebreak): try to always return true and see what
10861 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10863 * MenuBackend.C (expand): use Floating::listName
10865 * FloatList.C (FloatList): add listName argument to the built-in
10868 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10869 text associated with the float.
10871 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10873 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10875 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10877 * ShareContainer.h: add a couple of missing typenames.
10879 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10881 * lyxrc.C (getDescription): use _() correctly rather than N_().
10883 2002-03-28 Herbert Voss <voss@lyx.org>
10885 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10886 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10888 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10890 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10891 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10893 2002-03-29 Juergen Vigna <jug@sad.it>
10895 * lyxfunc.C (dispatch): add a missing fitCursor call.
10897 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10898 it was scrolled by a cursor move, so return the bool status.
10900 * BufferView.C (fitCursor): return the bool flag also to the outside
10901 world as this is needed.
10903 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10905 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10906 call the edit() as it is not needed (and wrong) IMO.
10907 (workAreaButtonPress): set the screen_first variable before evt.
10908 unlock the inset as this may change screen_first and then we have
10909 a wrong y position for the click!
10911 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10913 * MenuBackend.C (expand): another translation that I missed
10915 2002-03-28 Juergen Vigna <jug@sad.it>
10917 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10919 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10921 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10923 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10925 * MenuBackend.C (expand): fix export/view/update when there is no
10928 2002-03-27 Herbert Voss <voss@lyx.org>
10930 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10933 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10935 * bufferview_funcs.C (currentState): only show paragraph number
10936 for is DEVEL_VERSION is set.
10938 * lyxfunc.C (dispatch): put warning in INFO channel
10940 * MenuBackend.C (expand): translate the name of floats
10942 * FloatList.C (FloatList): mark the float names for translation
10944 * converter.C (convert): use LibScriptSearch
10946 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10948 * MenuBackend.C (defaults): fix default menu (we might as well get
10951 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10953 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10956 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10958 * lyxvc.C: reorder includes.
10960 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10962 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10965 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10967 * CutAndPaste.C: change layouts earlier on paste
10968 to avoid crashing when calling getFont()
10970 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10972 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10975 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10977 * WorkArea.C: remove 'Pending' debug message.
10979 * most files: ws cleanup
10981 * buffer.[Ch]: ws changes
10983 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10985 2002-03-21 Juergen Vigna <jug@sad.it>
10987 * tabular.C (SetMultiColumn): collapse also the contents of the
10988 cells and set the last border right. Added a Buffer const * param.
10990 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10992 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10995 2002-03-19 Juergen Vigna <jug@sad.it>
10997 * text2.C (clearSelection): reset also xsel_cache.
10999 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11000 where it needs to be called (John tells us to do so too :)
11001 (selectionLost): reset sel_cache.
11003 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11005 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11007 * text2.C (setCursorIntern): put debuging code in INSETS channel
11009 2002-03-19 André Pönitz <poenitz@gmx.net>
11011 * lyxfunc.C: tiny whitespace change
11013 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11015 * ToolbarDefaults.C (init):
11016 * LyXAction.C (init):
11018 * BufferView_pimpl.C (Dispatch):
11019 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11021 2002-03-19 Allan Rae <rae@lyx.org>
11023 * exporter.C (Export): removeAutoInsets before doing anything else.
11024 While I've just introduced a dependency on BufferView this really is
11025 the best place to clean the buffer otherwise you need to cleanup in
11026 a dozen places before calling export or cleanup in a dozen functions
11029 * converter.C (runLaTeX):
11030 (scanLog): Better handling of removeAutoInsets and screen updates.
11032 * lyxfunc.C (dispatch): small whitespace changes
11034 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11036 * WorkArea.C (C_WorkAreaEvent): return a value.
11037 (event_cb): return 1 if we handled the event, 0 otherwise.
11039 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11041 2002-03-18 Juergen Vigna <jug@sad.it>
11043 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11044 (GetAdditionalWidth): ditto.
11045 (RightLine): ditto.
11048 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11049 inset if we're there actually (probably not used right now but this
11050 is the direction to go for unifying code).
11051 (paste): disable code to clear the selection.
11053 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11054 inside an InsetText and move the check further up as it is in the
11057 * text2.C (pasteSelection): set a selection over the pasted text.
11059 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11061 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11062 and libgraphics to build on Cygwin.
11064 2002-03-15 Juergen Vigna <jug@sad.it>
11066 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11067 inserting an Inset into the paragraph. I know this is not the best
11068 fix but we already use current_view in CutAndPaste so we will remove
11069 all of it's using at the same time.
11071 * buffer.C (sgmlError): deactivated function till it is rewritten in
11072 the right mode, now it can create problems.
11074 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11075 before accessing it.
11077 2002-03-14 Juergen Vigna <jug@sad.it>
11079 * undo_funcs.C (textHandleUndo): do the right thing when updating
11080 the inset after the undo/redo.
11082 * text2.C (setCursor): just some testcode for #44 not ready yet.
11084 * undo_funcs.C (textHandleUndo): set the next() and previous()
11085 pointers of the paragraph to 0 before deleting otherwise we have
11086 problems with the Paragraph::[destructor].
11088 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11089 on a paragraph insertion.
11091 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11093 * buffer.C (asciiParagraph): use += operator for char append to
11096 * paragraph.C (getFontSettings): compare >= not just >
11097 (highestFontInRange): ditto
11100 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11102 * paragraph.C: change several algorithm to be more appripriate for
11103 the problem domain. This is lookip in FontList and in the InsetList.
11105 2002-03-13 André Pönitz <poenitz@gmx.net>
11108 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11110 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11115 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11117 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11119 * Painter.C (display): anon helper function, adjust code for this
11121 (pixmap): remove function.
11123 * Painter.h: remove private display variable.
11125 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11127 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11129 * WorkArea.[Ch]: remove figinset_canvas cruft.
11131 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11133 * lyxtextclass.C (operator): add one item cache optimization.
11135 * bufferlist.h: doxy changes
11137 * bufferlist.C: ws changes
11139 * DepTable.[Ch] (ext_exist): place const in the right spot.
11141 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11143 (workAreaExpose): call resizeInsets when the with BufferView changes.
11144 (Dispatch): adjust for protectedBlank removal
11145 (specialChar): call updateInset if the insert went ok.
11147 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11148 specialChar instead.
11150 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11152 * BufferView.h: doxy change
11154 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11156 * lyxtextclass.C (operator[]): remove non-const version
11157 (defaultLayout): remove non-const version
11159 2002-03-12 Juergen Vigna <jug@sad.it>
11161 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11162 did resize the LyXText too.
11164 * buffer.C (readLyXformat2): set layout information on newly allocated
11167 * tabular.C (OldFormatRead): set layout information on the paragraph.
11169 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11171 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11173 2002-03-11 Juergen Vigna <jug@sad.it>
11175 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11177 (resizeCurrentBuffer): force also the insets to resize themselfes.
11178 (moveCursorUpdate): fixed up for InsetText.
11180 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11183 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11184 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11185 value of Dialogs::tooltipsEnabled().
11186 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11188 2002-03-08 Juergen Vigna <jug@sad.it>
11190 * BufferView_pimpl.C (updateInset): update inset inside inset also
11191 if it isn't inside theLockingInset().
11193 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11195 * buffer.C (asciiParagraph): redo some of the word and line length
11197 (getLists): look for Caption instead of caption.
11199 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11201 * buffer.C (Buffer): initialize niceFile to true
11203 (makeLinuxDocFile):
11204 (makeDocBookFile): make sure niceFile is true on exit
11206 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11208 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11210 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11212 * LyXSendto.C: remove.
11213 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11214 * lyx_gui.C: remove now-redundant comment.
11215 * ColorHandler.h: remove forward declaration of class WorkArea.
11216 * lyxfunc.C: remove #include "WorkArea.h".
11218 2002-03-07 Juergen Vigna <jug@sad.it>
11220 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11221 got moved away with the DEPM and also set the inset_owner always
11222 right which before could have been omitted.
11224 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11226 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11227 wanted layout is not found.
11229 2002-03-07 Juergen Vigna <jug@sad.it>
11231 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11233 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11235 * paragraph.C (breakParagraph): use default layout not layout of
11237 (Paragraph): clear ParagraphParameters.
11239 2002-03-06 Juergen Vigna <jug@sad.it>
11241 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11242 otherwise it would not be a valid lenght. Fixed a special case in
11243 the minipage compatibility read where we end the document with a
11246 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11247 was set as it could be 0 for InsetTexts first entry.
11249 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11251 * paragraph.C (writeFile): if layout is empty write out
11252 defaultLayoutName().
11254 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11255 file without named layout we set layout to defaultLayoutName().
11257 2002-03-06 Juergen Vigna <jug@sad.it>
11259 * CutAndPaste.C (copySelection): set layout for new paragraph.
11261 * text.C (prepareToPrint): leave ERT inset left aligned
11262 (leftMargin): don't indent paragraphs inside ERT insets
11264 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11266 * paragraph.C (breakParagraph): dont call clear do the work manually
11268 * paragraph.[Ch] (clear): remove function
11270 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11272 * paragraph.C (Paragraph): dont call clear, the work has already
11275 * lyxtextclass.C (operator): assert if n is empty
11277 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11278 work manually instead.
11280 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11282 * BufferView_pimpl.C: protect selectionLost against text == 0
11284 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11286 * text.C (breakParagraph): fix a setting layout to '0' problem.
11288 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11290 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11291 final location of file, for the included files, and graphics.
11293 2002-03-05 Juergen Vigna <jug@sad.it>
11295 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11297 2002-03-04 Juergen Vigna <jug@sad.it>
11299 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11301 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11302 last column of multicolumn cells.
11303 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11305 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11307 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11308 file if it doesn't go to a temporary file.
11310 * buffer.C (sgmlOpenTag):
11311 (sgmlCloseTag): remove extra newline insertion.
11313 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11315 * text.C (getRowNearY): comment out debug msg
11317 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11319 * text2.C: first -> first_y
11321 * text.C (getRowNearY): add some attemts at a possible
11322 optimization, not working.
11324 * tabular.[Ch]: add BufferParams to several function so that newly
11325 created paragraph can be initialized to he default layotu for the
11328 * tabular-old.C (ReadOld): add buf->params to call of Init
11330 * screen.C: rename text->first to text->first_y
11332 * paragraph.C (breakParagraph): always set layout in the broken
11335 * lyxtextclass.C (Read): remove lowercase
11338 (delete_layout): ditto
11340 * lyxtext.h: rename first -> first_y
11342 * lyxlayout.C (Read): remove lowercase
11345 (obsoleted_by): ditto
11347 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11349 * buffer.C (insertErtContents): add params are to InsetERT
11350 (parseSingleLyXformat2Token): add code to check if a paragraphs
11351 layout really exist.
11352 (parseSingleLyXformat2Token): add params to several inset
11354 (asciiParagraph): remove lowercase, do the layout comparisons with
11357 * BufferView_pimpl.C (cursorNext): first -> first_y
11358 (resizeCurrentBuffer): first -> first_y
11359 (updateScrollbar): first -> first_y
11360 (scrollCB): first -> first_y
11361 (workAreaMotionNotify): first -> first_y
11362 (workAreaButtonPress): first -> first_y
11363 (checkInsetHit): first -> first_y
11364 (cursorPrevious): first -> first_y
11365 (cursorNext): first -> first_y
11366 (Dispatch): add buffer_->params to severl inset contructors
11368 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11370 * lyxlayout.C (Read): remove some debug info that I forgot.
11372 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11373 clean up the code slightly.
11374 (makeLinuxDocFile): ditto
11375 (makeDocBookFile): ditto
11377 * text2.C: layout as string
11379 * text.C: layout as string
11381 * paragraph_pimpl.C: layout as string
11383 * paragraph.[Ch]: layout as string
11385 * lyxtextclasslist.[Ch]: layout as string
11387 * lyxtextclass.[Ch]: layout as string
11389 * lyxtext.h: layout as string
11391 * lyxlayout.[Ch]: layout as string
11393 * lyx_cb.C: layout as string
11395 * bufferview_funcs.C: layout as string
11397 * bufferparams.C: layout as string
11399 * buffer.C: layout as string
11401 * LyXView.[Ch]: layout as string
11403 * LaTeXFeatures.[Ch]: layout as string
11405 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11407 * BufferView_pimpl.C: change current_layout to string, remove
11412 (workAreaButtonRelease): layout as string
11414 * BufferView2.C (unlockInset): adjust
11416 * vspace.C (asLatexCommand): use an explict temp variable.
11418 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11420 * Makefile.am: use FRONTEND_*
11422 2002-03-01 Juergen Vigna <jug@sad.it>
11424 * tabular.C (SetWidthOfMulticolCell): changed to something better
11425 I hope but still work in progress.
11426 (recalculateMulticolumnsOfColumn): renamed function from
11427 recalculateMulticolCells as it is more appropriate now.
11428 (SetWidthOfCell): calculate multicols better.
11430 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11432 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11434 * lyxfunc.C (processKeySym): print sequence also if it is
11435 `deleted' (complete)
11437 * kbsequence.C (print): print sequence even if it is deleted
11438 (complete would be a better word, actually).
11440 * lyxfunc.C (dispatch): print complete options after a prefix key
11442 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11444 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11446 * text2.C (setCharFont): eliminate setCharFont code duplication.
11448 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11450 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11451 LFUN_TABULAR_FEATURE (bug #177)
11453 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11455 * Makefile.am: remove figure.h
11457 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11459 * Bufferview_pimpl.C:
11471 * text2.C: remove #include "lyx_gui_misc.h".
11473 * LaTeX.C: added #include <cstdio>
11475 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11477 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11478 that the paragraph following this one can have.
11480 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11482 * vspace.C (asLatexCommand): fix bogus gcc warning
11484 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11486 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11488 * text2.C (setLayout): get rid of redundant code
11490 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11492 * text2.C (incDepth): make sure depth cannot be increased beyond
11495 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11497 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11498 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11500 * PainterBase.h (image):
11501 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11502 a LyXImage const *.
11504 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11508 * BufferView_pimpl.C:
11509 * BufferView_pimpl.h:
11529 * sp_spell.C: remove fig inset, and the crap house of
11530 cards that follows it
11532 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11537 * os2_errortable.h:
11538 * nt_defines.h: move .h into support/
11540 * vms_defines.h: remove
11542 * WorkArea.C: add space in debug output
11546 * buffer.C: add WITH_WARNINGS
11550 * bufferlist.C: s/retrive/retrieve/, add docs
11559 * chset.C: add docs
11561 * lyxgui.C: add ID to X error handler
11563 * lyxtestclass.c: fix typo
11565 2002-02-26 Juergen Vigna <jug@sad.it>
11567 * tabular_funcs.C (write_attribute): changed so that some default
11568 attributes are not written at all.
11569 (getTokenValue): set default values before trying to read the
11570 value so we have the return value always set as default if we don't
11571 find the token we search for.
11573 * tabular.C (Write): write bools as bools not as strings!
11575 2002-02-22 Juergen Vigna <jug@sad.it>
11577 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11578 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11580 * text.C (leftMargin): don't add an indent for paragraphs inside
11581 tabular cells (fix #208).
11583 2002-02-21 José Matos <jamatos@fep.up.pt>
11585 * tabular.C (docBook): fixed support for long tables.
11587 2002-02-20 Juergen Vigna <jug@sad.it>
11589 * text2.C (getFont): get the drawing font of the Inset if this
11590 paragraph is inside an inset (only important for InsetERT for now).
11592 * buffer.C (insertErtContents): use new lanugage params in ERT
11595 * CutAndPaste.C: commenting out seemingly uneeded code.
11597 2002-02-19 Allan Rae <rae@lyx.org>
11599 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11600 Iterators might be simple to use but they also get invalidated.
11601 (removeAutoInsets): renamed saved cursor tracking variables and added
11602 some comments to clarify what everything does.
11604 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11611 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11612 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11615 * vc-backend.h: remove #include "support/syscall.h"
11619 * converter.C: rearrange #includes in Lars' approved fashion.
11621 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11622 forward declare class Timeout in the header file.
11624 * XFormsView.C: changes due to the above.
11626 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11627 similar to LyXView.
11629 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11630 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11632 2002-02-18 José Matos <jamatos@fep.up.pt>
11634 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11637 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11639 * a lot of small ws changes
11640 * add a lot of using std::XXX
11641 * use std construcs some places where approp.
11642 * use some exisint stuff from lyxfunctional where approp.
11643 * Make file changes to use partial linking (lets test this now...)
11645 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11649 remove #include "support/syscontr.h" as it's redundant. Always has been.
11657 change Systemcalls::System to Systemcalls::Wait and
11658 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11659 No change of functionality, just reflects the stripped down Systemcalls
11662 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11664 * debug.[Ch]: add a GRAPHICS type to the enum.
11666 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11668 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11670 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11673 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11675 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11676 match the changes below.
11678 * text2.C (toggleInset): if there is not editable inset at cursor
11679 position, try to see if cursor is _inside_ a collapsable inset
11682 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11684 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11685 document menu has a nice checkbox
11687 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11689 * lyxlength.C (asLatexString): change PW to output as percent of
11692 * lengthcommon.C: change '%' to 't%'
11694 * lyxfunc.C (dispatch): a few comments from Martin
11696 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11700 * BufferView_pimpl.h:
11701 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11704 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11706 * vspace.C (inPixels): fix compiler warning
11708 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11710 * lyxfunc.C (getStatus): fix status message for disabled commands.
11712 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11714 * BufferView_pimpl.C: fix crash on close buffer
11715 during selection (#227)
11717 2002-01-27 Herbert Voss <voss@lyx.org>
11719 * buffer.C: link old Figure to new graphic inset
11721 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11723 * FontLoader.C (getFontinfo): Change the latex font names in order
11724 to match the names of type1inst.
11726 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11728 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11730 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11731 (extchanged): ditto
11733 (remove_files_with_extension): ditto
11734 (remove_file): ditto
11737 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11738 document is smaller than the work area height. Do not initialize
11739 static variables to 0.
11741 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11743 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11745 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11746 LFUN_LAYOUT_PARAGRAPHS.
11748 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11749 tabular. It is possible to provide a possible cell, which will
11750 typically be the actcell from the corresponding insettabular
11752 * lyxfunc.C (getStatus): small cleanup; disable
11753 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11756 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11758 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11760 * paragraph.C (startTeXParParams):
11761 (endTeXParParams): new methods. The LaTeX code to
11762 start/end paragraph formatting
11763 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11764 empty (fixes bug #200)
11766 * vspace.C (inPixels): adapt to the change below
11767 (inPixels): [later] more cleanups (remove unused variables)
11769 * lyxlength.C (inPixels): change to use a width and a height as
11772 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11774 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11775 Replaced with \paperwidth
11777 * DepTable.C (insert): add std:: qualifier
11779 2002-01-18 Allan Rae <rae@lyx.org>
11781 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11784 * text.C (drawInset): Turned out I didn't know enough about how
11785 rebreaking worked. This fixes most of the redraw problems. I see
11786 an occasional cursor trail when a line is broken now and the cursor
11787 placement can seem out by a few pixels also after a rebreak.
11789 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11791 * buffer.C (parseSingleLyXformat2Token): update because minipage
11792 width is now a LyXLength
11794 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11796 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11799 2002-01-17 Juergen Vigna <jug@sad.it>
11801 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11803 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11804 is set correctly and the inset is updated correctly.
11806 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11808 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11809 the beginning of the loop.
11811 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11813 * lyxrc.C: improve help for use_scalable_fonts
11815 2002-01-17 Allan Rae <rae@lyx.org>
11817 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11819 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11821 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11822 make sure to set their inset_owner to the right value (bug #171)
11824 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11827 * DepTable.C: Implement mtime checking to reduce time spent doing
11830 2002-01-16 Juergen Vigna <jug@sad.it>
11832 * tabular.C (GetAdditionalHeight): one of error fixed.
11834 * lyxrc.C (output): small fix in writing use_pspell.
11836 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11838 * sp_base.h: #include LString.h
11840 2002-01-16 Allan Rae <rae@lyx.org>
11842 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11843 Can someone check this please?
11845 * text.C (drawInset): It was possible that p.row would be removed by
11846 breakAgainOneRow upsetting a few other settings. There may be another
11847 small tweak possible by setting need_break_row = 0 when p.row has been
11848 removed but I don't know enough about the logic here.
11850 2002-01-15 Allan Rae <rae@lyx.org>
11852 * text.C (insertChar): removed conditional truism.
11854 * BufferView2.C (removeAutoInsets): More tweaks.
11855 cur_par_prev could be a stray pointer. Check for trailing empty line
11856 in case last line was cur_par and only had an error inset on it.
11858 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11860 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11863 * vc-backend.C (most methods):
11864 * exporter.C (Export):
11865 * converter.C (convert):
11867 * LyXSendto.C (SendtoApplyCB):
11868 * lyxfunc.C (dispatch):
11872 * lyx_cb.C (AutoSave):
11874 * BufferView_pimpl.C (MenuInsertLyXFile):
11875 * buffer.C (runChktex): use Buffer::filePath().
11877 * buffer.h: rename filename to filename_; rename filepath to
11878 filepath_ and make it private
11879 (filePath): new method
11881 * buffer.C (writeFile): use fileName()
11884 * lyx_main.C (init): fix starting of LyX when the binary is a
11885 link from so,ewhere else.
11887 * minibuffer.C: include <cctype> for isprint
11889 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11891 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11892 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11893 name clash with InsetCollapsable's width function.
11895 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11897 * lastfiles.C: include <iterator>
11899 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11901 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11904 * buffer.C (makeLaTeXFile): ditto.
11905 Also make loop operation more transparent.
11907 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11909 * ToolbarDefaults.C: remove trailing comma closing namespace.
11911 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11913 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11916 * trans.C (Load): comment out unused variable, allowed.
11918 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11920 * minibuffer.[Ch] (append_char): new method to recieve input from the
11921 drop-down completion browser. If a key was pressed, then recieve this
11922 char and append it to the existing string.
11923 (peek_event): modify the positioning data passed to the completion
11924 browser so that it can be placed above the minibuffer rather than below.
11925 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11927 * LyXAction.C (init): alloe error-next for readonly documents.
11929 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11932 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11934 * bufferlist.C (readFile): create the buffer _after_ checking that
11937 * lyxfunc.C (verboseDispatch): fix handling of arguments
11939 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11941 * lyxrc.C: use string::erase() instead of initializing to "".
11944 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11946 * BufferView_pimpl.h:
11947 * BufferView_pimpl.C:
11950 * text2.C: tell X when we have made a selection for copying
11952 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11954 * BufferView_pimpl.C (MenuInsertLyXFile):
11955 * lyxfunc.C (menuNew):
11957 (doImport): add shortcuts to directory buttons
11959 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11962 * lyxfunc.C (setStatusMessage):
11963 (getStatusMessage): new methods
11964 (getStatus):use setStatusMessage instead of setErrorMessage
11965 (dispatch): when function is disabled, set error message here
11966 [instead of in getStatus previously]
11968 * BufferView_pimpl.C (workAreaButtonRelease): update
11969 toolbar/menubar here too.
11971 2002-01-13 Allan Rae <rae@lyx.org>
11973 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11974 Now seems indestructible. Remaining task is to audit all other
11975 code affected by deleteEmptyParagraphMechanism. One small quirk
11976 left is that an empty document with an error in the preamble can
11977 be made to report an error but no error box appears. I don't know
11979 (removeAutoInsets): Improved comments.
11981 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11984 * Thesaurus.C: update for Aiksaurus 0.14
11986 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11988 * text2.C (firstParagraph): removed member function, all uses
11989 replaces with ownerParagraph
11990 (redoParagraphs): here
11991 (updateInset): here
11992 (toggleAppendix): here
11993 * BufferView2.C (insertErrors): here
11994 (setCursorFromRow): here
11996 2002-01-13 Allan Rae <rae@lyx.org>
11998 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11999 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12000 There is still a way to segfault this although you may have to do this
12001 multiple times: Have an InsetERT with an unknown command in it.
12002 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12003 <down-arrow>, <Enter> again, View->DVI, BANG!
12005 * text2.C (setCursor):
12006 (deleteEmptyParagraphMechanism):
12007 * lyxtext.h (setCursor):
12008 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12009 Making use of the return value may help fix other bugs.
12011 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12013 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12015 * LyXView.C (updateMenubar): call MenuBar::update here
12016 (updateToolbar): but not here
12017 (showState): do not update toolbar/menubar
12019 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12020 should need to care about that.
12022 * lyxfunc.C (verboseDispatch): simplify a bit
12023 (getStatus): have a version which takes a pseudoaction, and
12024 another which requires a (kb_action,string).
12026 * LyXAction.C (retrieveActionArg): make it work also when action
12027 is not a pseudo-action.
12028 (getActionName): simplify a bit
12031 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12033 * lyxfunc.C (verboseDispatch): new families of methods with
12034 several ways to specify a command and a bool to indicate whether
12035 the command name and shortcut should be displayed in minibuffer
12036 (eventually, we could extend that to a finer bitmask like
12037 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12038 (dispatch): the pristine dispatch command which just, well,
12039 dispatchs! Note it still sets its result to minibuffer; I'm not
12042 * lyxfunc.h: remove setHintMessage
12044 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12046 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12048 * BufferView_pimpl.C (specialChar): delete new inset if we have
12049 not been able to insert it.
12051 * kbmap.C: revert to using int instead of kb_action, since all we
12052 are dealing with is pseudo-actions.
12054 * LyXAction.C (searchActionArg): change to return int instead of
12055 kb_action, since the result is a pseudoaction.
12057 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12059 * buffer.C (insertErtContents): Fix (partially) the font bug.
12061 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12063 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12064 as the other one is broken on my machine!
12066 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12069 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12071 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12073 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12074 reflect their actual use. Provide compatibility code for older lyxrc
12077 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12079 change names of popup font variables in line with the changes to lyxrc.C
12081 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12083 * buffer.C (asciiParagraph): avoid outputing a word twice after
12086 * lyxrc.C (getDescription): document that document_path and
12087 template_path can be empty.
12089 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12091 * LaTeXFeatures.C (getMacros):
12092 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12094 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12096 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12098 (getPackages): rename feature "floats" to "float". Use an array to
12099 iterate over 'simple' features (i.e. just a \usepackage). Add
12100 handling of "amsmath" (renamed from "amsstyle").
12102 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12104 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12107 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12109 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12110 FuncStaus::FuncStatus & FuncStaus::some_method().
12112 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12114 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12115 of the func_satus stuff. Edited and massaged in various ways by
12118 * lyxfunc.C (getStatus): use FuncStatus
12120 2002-01-08 Juergen Vigna <jug@sad.it>
12122 * text.C (nextBreakPoint): use function Inset::isChar().
12124 * paragraph.C (TeXOnePar): use function
12125 Inset::forceDefaultParagraphs.
12127 * buffer.C (latexParagraphs): use function
12128 Inset::forceDefaultParagraphs.
12130 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12132 * lyx_gui.C (init): set the style of the menu popups to
12133 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12135 2002-01-07 Juergen Vigna <jug@sad.it>
12137 * text.C (setHeightOfRow): small fix
12138 (prepareToPrint): don't look at alignment if we don't have the place
12141 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12143 * box.C: New file. Move the Box methods and functions out of box.h,
12144 following Lars' suggestion.
12146 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12148 * box.h: #include "support/LOstream.h", needed for inlined function.
12151 * lyxtextclasslist.C: added some using std declarations.
12153 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12155 * box.h: make signed dimensions to allow insets wider than
12156 the screen (bug #162)
12158 * BufferView_pimpl.C: add some insetHit debug
12160 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12162 * vc-backend.C: add FIXME
12164 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12166 * lyxfunc.C (getStatus): enable code for showing math font status
12169 2002-01-07 Juergen Vigna <jug@sad.it>
12171 * text.C (nextBreakPoint): removed debug output not needed anymore.
12173 2002-01-06 Juergen Vigna <jug@sad.it>
12175 * text.C (nextBreakPoint): fixed up this function we had this bug
12176 since ever but now hopefully we break row better.
12177 (insertChar): we have to check if an inset is the next char as it
12178 could now happen that a large inset is causing a break.
12180 2002-01-05 Juergen Vigna <jug@sad.it>
12182 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12183 if it doesn't like to be drawed.
12185 2002-01-04 Juergen Vigna <jug@sad.it>
12187 * BufferView2.C (lockInset): forgot to set a cursor.
12189 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12191 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12193 * FormMathsPanel.C:
12196 * form_maths_panel.C:
12197 * form_maths_panel.h:
12198 * form_maths_panel.fd: implemented sub- and super- buttons in math
12201 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12202 (or ^ space) to be used as in TeX (req'd by André).
12204 * lyxfunc.C: Allow ^ and _ again to be used both as
12205 super/subscript (mathed) and as themselves (in text).
12207 2002-01-03 Allan Rae <rae@lyx.org>
12209 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12210 "LyX" or the filename of the current buffer if it has one. This is a
12211 modified form of John Levon's patch.
12213 * XFormsView.C (setWindowTitle): also set icon title.
12215 * LyXView.h (setWindowTitle): signature changed.
12216 * XFormsView.h (setWindowTitle): ditto.
12218 2002-01-02 Juergen Vigna <jug@sad.it>
12220 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12222 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12224 * screen.C (topCursorVisible): introduce a temp var for
12225 text->cursor.row(), handle the case where this row is null. (kindo
12228 * text2.C (setCursor): add a couple of asserts.
12230 * paragraph.h (inset_iterator): add -> operator
12232 * paragraph.[Ch] (autoDeleteInsets): remove member function
12234 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12235 cursor pos correctly and handle inset deletion by itself.
12236 (insertErrors): move iterator declaration out of for expression
12238 * lyxtextclass.C: add <algorithm>
12240 * Makefile.am: added the new files to sources, removed layout.C
12242 * layout.C: removed file
12244 * layout.h: remove LYX_DUMMY_LAYOUT
12246 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12250 * lyxtextclass.[Ch]:
12251 * lyxtextclasslist.[Ch]: new files
12253 * include order changes to a lot of files, also changes because of
12256 2001-12-27 Juergen Vigna <jug@sad.it>
12258 * buffer.C (asciiParagraph): more fixes.
12260 * tabular.C (ascii): make ascii export support export of only the
12261 data separated by a column-delimiter.
12262 (ascii): better support for ascii export.
12264 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12266 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12268 * tabular_funcs.C: use a "using std::getline" instead of the
12269 previous fix from Angus (necessary for cxx + lyxstring)
12271 2001-12-24 Juergen Vigna <jug@sad.it>
12273 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12275 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12276 problems. First check a minipage also if we have some ert-contents
12277 (not only on par->size(), second set the right depth of the paragraph
12278 on the relink to the root-paragraph-list!
12280 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12281 which then did not anymore update the main paragraphs on undo/redo!
12283 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12285 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12286 code. Support all font-changing funcs (even those which are not in
12287 menu currently). Support for reporting font settings in
12288 mathed (disabled until Andre provides a function on mathed's side).
12290 * func_status.h (toggle): small helper function to set toggle
12293 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12295 * tabular_funcs.C: getline -> std::getline
12297 2001-12-21 Juergen Vigna <jug@sad.it>
12299 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12300 accessed and could be 0 (I couldn't generate this but it seems
12303 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12305 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12306 * tabular_funcs.h: here and include iosfwd
12308 2001-12-20 Juergen Vigna <jug@sad.it>
12310 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12311 inside inset but undo_par was.
12313 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12315 * Thesaurus.C: always include <config.h> in sources.
12319 * box.h: do not include <config.h> in header files
12321 * text.C (paintLastRow): remove unused variable
12323 * text.C (transformChar):
12325 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12327 * Painter.C (text):
12328 * font.C (width): rewrite to use uppercase() instead of
12331 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12333 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12335 * lyxfind.C: clean up of find failure position change
12337 2001-12-20 Juergen Vigna <jug@sad.it>
12339 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12341 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12342 (TeXRow): added to LaTeX a single tabular row.
12343 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12344 (Latex): simplified and finally good LT-h/f support.
12345 (various_functions): just small adaptions for LT-h/f support.
12347 * tabular_funcs.[hC]: added and moved here all not classfunctions
12350 2001-12-19 Juergen Vigna <jug@sad.it>
12352 * tabular.[Ch]: better support for longtabular options (not finished
12355 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12357 * text.C (paintLastRow): use the label font instead of the font of
12358 the last character to compute the size of *_BOX. This makes more
12359 sense and avoids a crash with empty paragraphs.
12360 Use Painter::rectangle to draw EMPTY_BOX.
12362 2001-12-19 Juergen Vigna <jug@sad.it>
12364 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12365 the paragraphs if the replaced paragraph is not the first one!
12366 Tried to delete not used paragraphs but does not work yet so for
12367 now it's inside #ifdef's and by default off!
12369 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12371 * MenuBackend.C: include "lyx_main.h" instead of declaring
12372 lastfiles (actually was declared as LastFiles* instead of a
12375 2001-12-17 Juergen Vigna <jug@sad.it>
12377 * tabular.C (AppendColumn): applied John's fix
12379 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12383 * BufferView_pimpl.h:
12384 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12387 * box.h: new start of class for above
12389 * lyxfunc.C: ignore space-only minibuffer dispatches.
12390 Show the command name when it doesn't exist
12392 * minibuffer.C: don't add empty lines to the history
12394 * minibuffer.C: add a space on dropdown completion
12396 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12398 * text.C: fix line above/below drawing in insets
12400 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12402 * lyxlength.C (LyXLength): Initialize private variables.
12404 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12406 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12407 when inserting error insets.
12409 2001-12-13 Juergen Vigna <jug@sad.it>
12411 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12412 actually sometimes the before-paragraph.
12413 (setUndo): don't clear the redostack if we're not actually undoing!
12415 2001-12-06 Juergen Vigna <jug@sad.it>
12417 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12418 and fixed redoing of main paragraph, so we can use it now ;)
12420 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12422 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12424 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12427 2001-12-13 André Pönitz <poenitz@gmx.net>
12430 * undo_func.C: minor cleanup
12432 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12434 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12435 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12436 font in urw-fonts package which is marked as -urw-fontspecific and
12437 does not work (incidentally, changing the encoding in the
12438 fonts.dir of this package to -adobe-fontspecific fixes the
12441 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12442 is a crash when undoing first paragraph (Juergen, please take a
12443 look). THis does not mean the undo fix is wrong, just that it
12446 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12447 the (Paragraph*) version when needed instead of duplicating the
12450 * text.C (workWidth): use Inset::parOwner to find out where the
12451 inset has been inserted. This is a huge performance gain for large
12452 documents with lots of insets. If Inset::parOwner is not set, fall
12453 back on the brute force method
12455 * paragraph_pimpl.C (insertInset):
12456 * paragraph.C (Paragraph):
12457 (cutIntoMinibuffer): set parOwner of insets when
12458 inserting/removing them
12460 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12462 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12468 * mathed/formulabase.C:
12469 * mathed/math_cursor.[Ch]:
12470 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12473 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12475 * lyxlength.[Ch] (operator!=): new function
12477 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12479 * text.C (workWidth): use Inset::parOwner to find out where the
12480 inset has been inserted. This is a huge performance gain for large
12481 documents with lots of insets. If Inset::parOwner is not set, fall
12482 back on the brute force method
12484 * paragraph_pimpl.C (insertInset):
12485 * paragraph.C (Paragraph):
12486 (cutIntoMinibuffer): set parOwner of insets when
12487 inserting/removing them
12489 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12491 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12493 * tabular-old.C (getTokenValue):
12494 * tabular.C (getTokenValue):
12495 (write_attribute): new versions for LyXLength
12496 (everywhere): adjust the use of widths
12498 * tabular.h: change the type of widths from string to LyXLength
12500 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12502 * paragraph.C: fixed missing line number count when exporting
12503 Environments to LaTeX file
12505 * buffer.C: added informational message for checking line numbers.
12507 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12509 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12510 paragraph, do the 'double space' part, but not the 'empty
12513 * text.C (workWidth): small optimization
12514 (getLengthMarkerHeight): use minimal size for negative lengths.
12516 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12518 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12520 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12522 2001-12-11 André Pönitz <poenitz@gmx.net>
12525 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12527 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12529 * text2.C: keep selection on a setFont()
12531 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12533 * lyx_cb.C: another bv->text misuse, from insert label
12535 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12538 * kbsequence.C: re-instate nmodifier mask
12540 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12542 * lyx_main.h: make lyxGUI private.
12544 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12546 * lyxfind.C: place the cursor correctly on failed search
12548 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12550 * text.C (getLengthMarkerHeight): for small heights, the arrows
12551 are not always on top/bottom of the text
12552 (drawLengthMarker): smaller arrows; take the left margin in
12553 account; draw also vfills.
12555 (paintLastRow): remove special code for vfill and standard spaces,
12556 since everything is handled in drawLengthMarker now.
12558 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12560 * buffer.C (insertErtContents): try to handle font and language
12561 interaction a bit better.g
12563 * ColorHandler.C (updateColor): change the hash to cover the whole
12564 LColor enum, ws cleanup
12565 (getGCLinepars): ditto
12566 (getGCLinepars): only lookup in the linecache once.
12568 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12570 * iterators.C (operator++): Make the iterator more robust
12572 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12574 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12576 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12579 * text.C: better added space drawing
12581 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12584 * BufferView2.C: fix layout combo update on inset unlock
12586 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12588 * Makefile.am: don't compile unused files
12590 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12594 * LyXAction.C: remove old LFUN_LAYOUTNO
12596 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12598 * paragraph_pimpl.h:
12599 * paragraph_pimpl.C: isTextAt() doesn't need font param
12601 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12604 * lyxlex.C: little cleanup
12606 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12608 * BufferView_pimpl.C: fix insertAscii for insets
12610 2001-12-05 Juergen Vigna <jug@sad.it>
12612 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12613 set the right font on the "multi" paragraph paste!
12615 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12621 * lyxlength.C: remove out-commented code.
12623 * BufferView_pimpl:
12637 * vc-backend.C: change "while(" to "while ("
12639 * lyxlength.[Ch]: add zero function to check if length is zero or
12641 * lyxgluelength.C: use it
12643 2001-12-05 Allan Rae <rae@lyx.org>
12645 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12646 Works for 2.95.3, from what I understand of Garst's reports this should
12647 work for other g++ versions. We're screwed if the abs(int) definition
12648 changed between bugfix releases of gcc.
12650 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12652 * text.C: fix chapter label offset !
12654 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12657 * text.C: fix hfill at end of line, clean up
12659 2001-12-04 Juergen Vigna <jug@sad.it>
12661 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12662 that we force an update of the inset and it's owners if neccessary.
12664 2001-12-03 Juergen Vigna <jug@sad.it>
12666 * text.C (rowLast): simplified code
12668 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12670 * lyxfunc.C: fix show options on timeout
12672 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12674 * screen.C (topCursorVisible): scroll half a page when the cursor
12675 reached top of bottom of screen
12677 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12679 * minibuffer.C: deactivate on loss of focus
12681 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12683 * vspace.[Ch] (operator!=): add operator.
12685 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12687 * BufferView_pimpl.C: refuse to open an inset when
12688 there's a selection.
12690 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12692 * BufferView_pimpl.C: allow to click on RHS of full row insets
12694 2001-11-30 Juergen Vigna <jug@sad.it>
12696 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12697 insets for undo reasons.
12699 2001-11-28 André Pönitz <poenitz@gmx.net>
12701 * vspace.[Ch]: cosmetical changes
12703 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12713 * kbsequence.C: part re-write of old kb code
12716 * WorkArea.C: remove Lgb_bug_find_hack
12718 2001-11-30 José Matos <jamatos@fep.up.pt>
12720 * buffer.C (makeDocBookFile): add a comment to point a hack.
12721 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12722 Fixed a double write of labels.
12724 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12727 * LaTeX.h Fixed bug in LaTeX class where it would not
12728 re-run latex if no depfiles were changed, but the .dvi was removed.
12730 2001-11-28 André Pönitz <poenitz@gmx.net>
12732 * all the files from the change on 2001/11/26:
12733 use lyx::layout_type instead of LyXTextClass::size_type
12734 use lyx::textclass_type instead of LyXTextClassList::size_type
12736 2001-11-29 Juergen Vigna <jug@sad.it>
12738 * text.C: added support for paragraph::isFreeSpacing()
12740 * buffer.C: same as above
12742 * paragraph.h: inserted isFreeSpacing() function to enable
12743 FreeSpacing inside InsetERT.
12745 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12746 of the paragraph's in the cut/copy buffer to 0!
12748 * text2.C (removeRow): remove the assert as it can!
12750 * lyxtext.h: added helper function firstRow returning firstrow and
12751 made firstrow private again.
12753 * BufferView2.C (lockInset): don't relock if we're already locked!
12755 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12756 the only paragraph.
12757 (removeRow): added Assert::(firstrow)
12759 * debug.C: forgot to add INSETTEXT here.
12761 2001-11-28 Juergen Vigna <jug@sad.it>
12763 * sp_spell.C (initialize): changed error text to more general
12764 spellchecker command use (not only ispell!)
12766 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12768 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12770 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12772 * vspace.C: initialise lyxgluelength on failure
12774 2001-11-28 Allan Rae <rae@lyx.org>
12776 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12777 declaration & definition that looks like a function declaration.
12779 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12781 * BufferView2.C (copy):
12782 (copyEnvironment): do not clear the selection when doing a copy.
12784 * text.C (paintFirstRow): compilation fix
12786 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12788 * tabular.C (Latex): correct line count when writing latex.
12790 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12792 * paragraph_pimpl.h:
12793 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12796 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12800 * LColor.C: change vfillline->added_space
12802 * text.C: add markers and text for added space
12804 * vspace.C: fix comment
12806 2001-11-28 André Pönitz <poenitz@gmx.net>
12808 * paragraph.C: whitespace changes
12809 * all the other files from the change on 2001/11/26:
12810 change *::pos_type into lyx::pos_type
12812 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12814 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12815 language of the document when inserting error insets.
12817 2001-11-26 André Pönitz <poenitz@gmx.net>
12819 * BufferView_pimpl.[Ch]:
12827 * paragraph_pimpl.[Ch]:
12830 * text2.C: reduce header dependencies, introduce type for positions
12832 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12834 * <various>: change to use Alert.h
12836 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12838 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12839 when encountering an unknown token.
12840 (readLyXformat2): Show an error message if there were unknown tokens.
12842 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12845 * BufferView_pimpl.C:
12849 * text2.C: use par->isInset()
12851 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12853 * paragraph_pimpl.h:
12854 * paragraph_pimpl.C: cleanup
12856 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12858 * text2.C (removeRow):
12859 * text.C (setHeightOfRow): remove useless (and costly) call to
12862 2001-11-20 Allan Rae <rae@lyx.org>
12864 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12865 Now need Inset*::checkInsertChar() to return true for appropriate
12866 cases so that the characters in the minibuffer will actually be
12869 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12871 * text.C: change the order of the includes.
12872 (workWidth): initialize it at once.
12873 (workWidth): make maxw unsigned
12874 (setHeightOfRow): remove unused variable (inset)
12875 (selectSelectedWord): remove unused variable (inset)
12876 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12878 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12880 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12881 server is not running.
12883 (closeConnection): add debug info when server is disabled.
12885 * ColorHandler.C (getGCForeground): send debug message to GUI
12888 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12890 * kbmap.C (bind): modify because return conventions of
12891 kb_sequence::parse have changed.
12893 * kbsequence.C (parse): only ignore spaces and not any stupid
12894 control character. This avoids tests like s[i] <= ' ', which are
12895 guaranteed to fail with 8bit characters and signed chars.
12896 Change return code to string::npos when there have been no error
12897 (0 was a bad idea when error is at first character)
12899 2001-11-14 José Matos <jamatos@fep.up.pt>
12902 * buffer.C (simpleDocBookOnePar): removed unused argument.
12904 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12906 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12907 insets which are part of a word. Paragraph::isLetter takes care of
12908 that now. Use Paragraph::isInset to identify insets.
12909 (selectSelectedWord): do not test for hyphenation break.
12911 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12912 that protected spaces are considered as spaces.
12914 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12917 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12920 * lyxserver.C: fix it. and small cleanup.
12922 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12924 * BufferView_pimpl.C: use inline helpers
12927 * LaTeXFeatures.C: fix typos
12930 * Spacing.C: move spacing_string into class
12932 * ToolbarDefaults.C: move stuff into namespace anon
12934 * layout.h: update enum
12936 * lyxfunc.C: use better debug
12938 * minibuffer.h: fix typo
12942 * WorkArea.C: add and use Debug::WORKAREA
12946 * text2.C: code re-organisation, inline helpers
12948 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12950 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12951 std::vector.empty().
12953 2001-11-09 Allan Rae <rae@lyx.org>
12955 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12956 '\n's after tables. Tabular and ERT inset work now makes this no
12959 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12962 * minibuffer.C: fix crash, improve drop-down completion
12964 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12967 * lyxserver.C: invalidate fd's when doing endPipe()
12969 2001-11-08 José Matos <jamatos@fep.up.pt>
12971 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12972 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12975 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12977 2001-11-07 José Matos <jamatos@fep.up.pt>
12980 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12983 * buffer.C (sgmlOpenTag):
12984 * buffer.C (sgmlCloseTag): removed debug info.
12986 * buffer.h (sgmlOpenTag):
12987 * buffer.h (sgmlCloseTag): made public.
12989 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12991 * buffer.C (saveParamsAsDefaults):
12992 * lyx_cb.C (MenuLayoutSave): remove
12994 * LyXAction.C (init):
12996 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12998 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13000 * buffer.C (setPaperStuff): removed from here...
13002 * bufferparams.C (setPaperStuff): ... and moved there.
13004 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13008 * XFormsView.C: add support for drop-down completion
13010 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13012 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13015 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13017 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13020 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13022 * lyx_main.C: change ref to known bugs
13024 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13026 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13027 to work around older babel problems.
13029 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13031 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13033 2001-10-24 Juergen Vigna <jug@sad.it>
13035 * tabular-old.C (ReadOld): below variable changes reflected.
13037 * tabular.[Ch]: added ltType struct for longtable header/footer
13038 defines and changed all instances where they are used. Added
13039 future support for double top/bottom rows.
13041 2001-10-24 José Matos <jamatos@fep.up.pt>
13043 * buffer.h (docbookHandleCaption):
13044 * buffer.C (docbookHandleCaption): removed unused function.
13045 (makeDocBookFile): moved docbook supported version to v4.1.
13047 2001-10-24 José Matos <jamatos@fep.up.pt>
13050 * tabular.C (docbookRow): new function to export docbook code of a row.
13051 (DocBook): now honors the longtable flags.
13053 2001-10-23 José Matos <jamatos@fep.up.pt>
13056 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13057 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13059 * buffer.C (makeLinuxDocFile):
13060 (makeDocBookFile): reworked the preamble, more clean, and with
13061 support for lyx defined entities. Changed the document declaration
13062 to be more XML friendly.
13064 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13065 if we need to output XML that should be done with a filter.
13067 2001-10-22 Juergen Vigna <jug@sad.it>
13069 * sp_pspell.h (class PSpell): add alive function needed in the
13070 controller to see if the spellchecker could be started.
13072 2001-10-22 Juergen Vigna <jug@sad.it>
13074 * buffer.C (insertStringAsLines): modify the font for inserting
13075 chars in certain conditions by calling checkInsertChar(font).
13077 2001-10-19 Juergen Vigna <jug@sad.it>
13079 * text.C (workWidth): use getRow instead of wrong algorithm.
13080 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13082 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13087 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13089 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13091 * text.C (workWidth): do not search for the exact row when
13092 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13093 optimization for big documents.
13095 2001-10-18 Juergen Vigna <jug@sad.it>
13097 * text.C (workWidth): new function with added Inset * parameter.
13099 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13101 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13103 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13104 change return type of getColumnNearX.
13107 * text.C (changeRegionCase): use uppercase/lowercase instead of
13110 (rightMargin): simplify code by factoring out the uses of
13115 (appendParagraph): use Paragraph::size_type
13117 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13119 * vspace.C (asLatexString): add a missing break
13121 2001-10-15 Herbert Voss <voss@perce.de>
13123 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13125 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13127 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13130 2001-10-10 André Pönitz <poenitz@gmx.net>
13132 * lyxfunc.C: removed greek_kb_flag.
13134 2001-10-10 Herbert Voss <voss@perce.de>
13136 * lyx_main.C: delete global string help_lyxdir.
13138 2001-10-09 Herbert Voss <voss@perce.de>
13140 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13142 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13144 * lyx_main.C: added global string help_lyxdir.
13146 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13148 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13150 * lyxrc.C (set_font_norm_type): support iso8859-4
13152 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13154 * LaTeX.C (deplog): add another regex for MikTeX
13156 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13158 * lyxrc.C (set_font_norm_type): support iso8859-3
13160 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13162 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13164 * LaTeXFeatures.C: remove special case of french and index
13166 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13167 before \begin{document}). This solves several incompatibilities.
13169 2001-10-03 Garst Reese <reese@isn.net>
13171 * lyx_cb.C: change CheckTex error msg.
13173 2001-10-03 José Matos <jamatos@fep.up.pt>
13175 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13177 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13179 * .cvsignore: update
13181 * lyx_main.C (commandLineVersionInfo): use new style version info.
13183 * buffer.C (writeFile):
13185 (makeLinuxDocFile):
13186 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13188 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13190 * version.h: update to use stuff in version.C
13192 * version.C.in: new file. Contains version information determined
13193 at compile time. This is a merging of version.h and
13196 2001-10-03 Juergen Vigna <jug@sad.it>
13198 * BufferView_pimpl.C (update): don't change "dirty" status in
13201 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13203 * WorkArea.C (c-tor): re-position version string slightly.
13205 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13207 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13208 revert to previous code.
13210 WorkArea.[Ch]: (show, destroySplash): methods removed.
13212 WorkArea.C: rework code so that it's an amalgam of the codes before and
13213 after the splash screen was moved to WorkArea.
13215 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13218 * vspace.C (inPixels):
13221 * buffer.C (insertStringAsLines):
13222 (asciiParagraph): fix types to be large enough
13224 * lyxlex_pimpl.h: change member status from short to int
13226 * layout.h: fix type of endlabeltype
13229 * kbsequence.C (parse): change return type to string::size_type
13231 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13234 * Bullet.C (bulletSize):
13235 (bulletEntry): do not use short ints as parameters
13237 * BufferView2.C (insertLyXFile): change a char to an int.
13239 * WorkArea.C (WorkArea): remove unneeded floats in computation
13241 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13243 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13245 * paragraph.C (asString): Do not ignore newline/hfill chars when
13246 copying to the clipboard.
13248 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13250 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13251 after a multi-line inset.
13253 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13255 * paragraph.C (validate): Set NeedLyXFootnoteCode
13257 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13259 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13260 and decrease-error to decrease.
13262 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13264 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13265 it more readable (should be equivalent)
13267 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13269 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13271 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13273 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13274 of a cursor (row, etc.) after a character has been deleted
13275 (deleteEmptyParagraphMechanism): call the method above on _all_
13276 cursors held by the LyXText when a double space has been
13279 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13281 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13283 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13285 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13286 background. Use greyOut() and the new show() methods to toggle between
13287 the foreground and background. Add code to remove the splash after
13288 its initial showing.
13290 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13291 (create_forms): no longer call Dialogs::showSplash.
13293 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13295 * .cvsignore: add version_info.h
13297 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13299 * version_info.h.in: new file
13301 * Makefile.am: add version_info.h.in
13303 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13304 version_info.h instead of VERSION_INFO
13306 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13308 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13309 The ERT inset now returns string().
13311 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13313 * lyxtext.h, text.C (selectNextWord): renamed as
13314 selectNextWordToSpellcheck.
13316 * text.C (selectNextWordToSpellcheck): Modified to not select
13317 words inside an ERT inset.
13319 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13321 * lyx_cb.C (MenuLayoutSave): change a bit the question
13323 * sp_base.h: include <sys/types.h>
13325 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13327 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13329 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13331 * several files: fix typos in user-visible strings
13333 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13335 * text2.C (pasteSelection): do not set the selection, since it
13336 will be cleared later. Actually, the intent was to fix the way the
13337 selection was set, but I figured rmoving the code was just as good.
13339 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13341 * FontLoader.C (available): Check if font is available without
13344 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13346 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13348 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13350 * lyxrc.[Ch]: added display_graphics variable and associated code.
13352 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13354 * bufferparams.C (hasClassDefaults): new method. Returns true if
13355 the buffer parameters correspond to known class defaults
13357 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13359 * XFormsView.C (show): set minimum size to the main window.
13361 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13363 * text2.C (copySelection):
13365 * lyxfind.C (LyXReplace):
13366 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13367 LyXText::selectionAsString.
13369 * paragraph.C (asString): add "label" argument to the second form
13371 * text2.C (selectionAsString): add "label" argument and pass it to
13372 Paragraph::asString.
13374 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13376 * lyx_main.C (commandLineHelp): remove version information
13378 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13380 * lyx_main.C: add -version commandline option
13382 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13384 * paragraph.h: make the optional constructor arg required instead.
13385 some modifications to other files because of this.
13387 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13389 * lyxserver.C (C_LyXComm_callback): make it static
13391 * lyx_main.C (error_handler): make it static
13393 * lyx_gui.C (LyX_XErrHandler): make it static
13395 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13397 * WorkArea.C: make the extern "C" methods static.
13399 * Makefile.am (lyx_LDADD): simplify
13401 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13403 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13404 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13406 * LyXAction.C (init):
13407 * lyxfunc.C (dispatch): associated code removal.
13409 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13411 * lyxfont.h (isSymbolFont): shut off warning
13413 * text.C (setHeightOfRow):
13414 (getVisibleRow): fix crash with empty paragraphs which have a
13417 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13419 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13422 2001-09-04 José Matos <jamatos@fep.up.pt>
13425 * tabular.C (docbook): rename docBook method to docbook.
13427 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13429 * Makefile.am: add dependencies to main.o.
13431 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13433 * FontLoader.C (available): Return false if !lyxrc.use_gui
13435 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13437 * FontInfo.C (query):
13438 * converter.C (view):
13439 * importer.C (Import):
13440 * exporter.C (Export): Can not -> cannot.
13442 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13444 * BufferView_pimpl.C: allow to create index inset even if
13447 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13449 * buffer.C (getLists): replace boost::tie code with an explicit pair
13450 as boost::tie can break some compilers.
13452 * iterators.h: Added a std:: declaration to the return type of
13455 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13457 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13460 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13462 * iterators.[Ch]: New files. Provide paragraph iterators.
13464 * buffer.C (changeLanguage): Use paragraph iterators.
13465 (isMultiLingual): ditto
13467 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13469 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13471 * FontLoader.C: Support for cmr font.
13473 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13475 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13476 (available): New method.
13478 * FontInfo.C (getFontname): Use scalable fonts even when
13479 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13482 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13484 * converter.C (Formats::view): reverted! Incorrect fix.
13486 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13488 * converter.C (Formats::view): only output the -paper option
13489 if the dvi viewer is xdvi, thereby fixing bug #233429.
13491 2001-08-23 Herbert Voss <voss@perce>
13493 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13495 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13497 * Spacing.h (Spacing): Set space to Default on in the default
13500 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13502 * vc-backend.h (RCS::versionString): add RCS to version
13503 (CVS::versionString): add CVS to version
13505 * vc-backend.C (scanMaster): do not add CVS to version.
13506 (scanMaster): do not add RCS to version
13508 * lyxvc.C (versionString): new method
13510 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13512 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13514 * Spacing.C (set): initialize fval
13516 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13518 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13521 2001-08-16 Juergen Vigna <jug@sad.it>
13523 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13525 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13527 * BufferView_pimpl.C:
13530 * text2.C: setParagraph takes linespacing now
13532 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13534 * LyxAction.C: add internal LFUN_CITATION_INSERT
13536 * LyXView.C: actually apply fix
13538 * bufferlist.C: fix open non-existent file
13540 * lyxfind.C: fix indentation
13542 * lyxfunc.C: remove unneeded assert, fix typo
13544 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13546 * MenuBackend.C: use "Floatname List"
13548 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13550 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13551 when converting LaTeX layout to insetERT.
13552 Generate a non-collapsed float when reading old float
13554 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13556 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13559 2001-08-13 Juergen Vigna <jug@sad.it>
13561 * text.C (fill): return 0 instead of 20 as this seems to be the more
13564 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13566 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13569 2001-08-13 Juergen Vigna <jug@sad.it>
13571 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13573 (SearchBackward): comment out the unlocking of the inset_owner this
13574 should not be needed!
13576 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13578 * Many files: Remove inherit_language, and add latex_language
13580 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13581 collapsible insets.
13583 2001-08-10 Juergen Vigna <jug@sad.it>
13585 * text.C (prepareToPrint): fixed hfill-width in draw!
13587 * BufferView2.C (selectLastWord): save the selection cursor as this
13588 now is cleared in the function LyXText::clearSelection!
13590 2001-08-08 Juergen Vigna <jug@sad.it>
13592 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13593 BACKSPACE type functions.
13595 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13596 is only cutted from the document but not put in the cut-buffer, where
13597 still the old stuff should be.
13599 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13601 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13603 * tabular.C (SetWidthOfCell): fixed special case where the width
13605 (LeftLine): handle '|' in align_special.
13607 (LeftAlreadyDrawed): ditto
13608 (SetWidthOfCell): ditto
13610 2001-08-07 Juergen Vigna <jug@sad.it>
13612 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13614 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13616 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13617 * lyxlex.[hC]: ditto
13619 2001-08-06 Juergen Vigna <jug@sad.it>
13621 * text.C (getVisibleRow): fix up row clearing a bit.
13623 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13625 * minibuffer.C: make sure the X server sees the changes in the input.
13627 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13629 * paragraph.C (getFont): split into...
13630 (getLabelFont): this
13631 (getLayoutFont): and this
13632 * paragraph_pimpl.C (realizeFont): calling this
13634 * text2.C (getFont): split into...
13635 (getLayoutFont): this
13636 (getLabelFont): and this
13637 (realizeFont): all three calling this
13639 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13642 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13644 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13646 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13648 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13649 layouts from the Quote inset insertion.
13651 2001-08-03 Juergen Vigna <jug@sad.it>
13653 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13655 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13656 only if status not is already CHANGED_IN_DRAW (second level).
13658 * text.C (draw): don't set the need_break_row when inside an
13661 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13663 * buffer.C (parseSingleLyXformat2Token): handle more latex
13666 * bufferview_funcs.[hC]: change function names to
13667 begin with small char, adjust other files.
13669 2001-08-02 André Pönitz <poenitz@gmx.net>
13672 BufferView_pimpl.C: remove broken special code for math-greek
13674 2001-08-02 Juergen Vigna <jug@sad.it>
13676 * BufferView_pimpl.C (update): redone this function so that we
13677 update the text again if there was a CHANGE_IN_DRAW.
13679 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13680 (drawFromTo): added a new internal bool which is used by draw() and
13682 (general): some cursor drawing problems fixed.
13684 2001-08-01 Juergen Vigna <jug@sad.it>
13686 * lyxfind.C (LyXFind): fixed
13687 (SearchForward): ditto
13688 (SearchBackward): ditto
13690 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13691 spurius drawing of the cursor in the main area.
13693 * text2.C (status): small fix which could lead to a segfault!
13694 (clearSelection): remove unneeded BufferView param.
13696 2001-08-01 André Pönitz <poenitz@gmx.net>
13698 * lyxfunc.C: small change due to changed mathed interface
13700 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13702 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13704 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13706 * lyxfunc.c: fail gracefully if file doesn't exist
13711 * BufferView_pimpl.C: IsDirWriteable() proto changed
13713 * LyXView.C: fix updateWindowTitle() to store the last title
13715 2001-07-31 Juergen Vigna <jug@sad.it>
13717 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13718 the font (wrong since using of Paragraph::highestFontInRange).
13720 * paragraph.C (highestFontInRange): added a default_size parameter.
13722 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13723 (setHeightOfRow): reformat
13725 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13727 * converter.[hC] + affected files: move to (inital-char)lowercase
13730 * ParagraphParameters.C (ParagraphParameters): remove commented code
13732 * PainterBase.[Ch]: remove commented code
13734 * LaTeXFeatures.h: add "bool floats" for float.sty
13736 * LaTeXFeatures.C (LaTeXFeatures): init floats
13737 (require): handle float
13738 (getPackages): do it with floats
13740 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13742 * BufferView_pimpl.C (Dispatch): improve handling of
13743 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13745 * commandtags.h: #include lyxfont.h here temporarily to avoid
13748 * bufferlist.h: include LString.h here.
13750 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13752 * text2.C (getStringToIndex): new method.
13754 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13756 * *: Reduced header file dependencies all over.
13758 2001-07-30 Baruch Even <baruch@lyx.org>
13760 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13762 2001-07-29 Baruch Even <baruch@lyx.org>
13764 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13766 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13768 * ParameterStruct.h (endif): add a default constructor to make
13769 sure that all variables is initialized.
13771 * ParagraphParameters.C (ParagraphParameters): adjust
13773 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13775 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13776 index; also, check that there is something to index, and that it
13777 does not span over several paragraphs.
13778 (doubleClick): use WHOLE_WORD_STRICT for double click.
13780 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13782 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13785 2001-07-26 Baruch Even <baruch@lyx.org>
13787 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13788 an InsetFig figure, backwards compatible reading of old figure code.
13790 2001-07-27 Juergen Vigna <jug@sad.it>
13792 * text2.C: font.realize function adaption.
13794 * text.C (draw): add a warnings lyxerr text if needed.
13796 * layout.C: font.realize function adaption.
13798 * language.C: add inherit_language and implement it's handlings
13800 * bufferview_funcs.C (StyleReset): remove language parameter from
13801 font creation (should be language_inherit now).
13803 * bufferparams.C (writeFile): handle ignore_language.
13805 * paragraph.C (getFontSettings): the language has to be resolved
13806 otherwise we have problems in LyXFont!
13808 * lyxfont.C (lyxWriteChanges): added document_language parameter
13809 (update): removed unneeded language parameter
13811 * paragraph.C (validate): fixed wrong output of color-package when
13812 using interface colors for certain fonts in certain environments,
13813 which should not seen as that on the final output.
13815 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13817 * BufferView_pimpl.C:
13822 * LyXAction.C: add thesaurus support
13825 * lyxfind.C: add "once" parameter, for thesaurus, to not
13826 move to the next match
13828 2001-07-26 Juergen Vigna <jug@sad.it>
13830 * lyxfont.C (realize): honor ignore_language too!
13833 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13835 * text.C (draw): one place more for ignore_language to not draw
13838 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13840 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13842 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13844 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13845 the minipage conversion problem.
13847 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13849 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13852 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13854 * BufferView.h: don't forward declare WorkArea
13856 * BufferView.C: don't include WorkArea.h
13858 2001-07-25 André Pönitz <poenitz@gmx.net>
13862 * lyxfunc.C: new LFUN 'math-space'
13864 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13866 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13868 * text2.C (toggleInset): call open/close
13870 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13872 * lyxfunc.C (dispatch): add debug for the disabled case
13874 * font.C (buttonText): make similar to rectText
13876 * buffer.C (readInset): comment out parsing of insetlist and
13879 * PainterBase.C (rectText): small correction
13881 * BufferView_pimpl.C: comment out insettheorem and insetlist
13882 * LyXAction.C: ditto
13883 * commandtags.h: ditto
13885 2001-07-24 Juergen Vigna <jug@sad.it>
13887 * text.C (draw): honor the ignore_language.
13889 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13891 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13893 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13896 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13898 * lyxtext.h: remove unused (and unimplemented) methods
13900 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13902 * text.C (getVisibleRow): honor background color
13905 * Painter.h: remove default color argument for fillRectangle
13907 * text.C (backgroundColor): new method
13909 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13911 * text.C (getVisibleRow): adjust
13913 * font.[Ch] (rectText): new method, metrics
13914 (buttonText): new method, metrics
13916 * PainterBase.[hC]: make rectText and buttonText always draw and take
13919 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13921 * ToolbarDefaults.C (read):
13922 * MenuBackend.C (read): allow escaping in all strings
13924 * BufferView_pimpl.C (insertAndEditInset): new method.
13925 (Dispatch): use insertAndEditInset whenever appropriate.
13927 * BufferView_pimpl.C (insertNote): removed
13929 * BufferView_pimpl.C (smartQuote): new method, moved from
13930 BufferView; if an insetquote cannot be inserted, insert a '"'
13933 * BufferView2.C: remove insertCorrectQuote();
13935 * lyxfunc.C (getStatus): Add support for all remaingin
13936 inset-insert lfuns.
13938 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13940 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13941 command (necessary to pass " as parameter of self-insert.
13943 * text.C (selectWordWhenUnderCursor):
13944 (selectWord): add word_location parameter
13945 (selectWordWhenUnderCursor): same + remove special code for word
13947 (selectNextWord): use kind() to guess type of insetspecialchar,
13950 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13951 (insertErtContents): create ert insets as collapsed.
13952 (readInset): better compatibility code for Info inset.
13954 2001-07-20 Juergen Vigna <jug@sad.it>
13956 * lyxfunc.C (dispatch): use always LyXFind now!
13958 * text2.C (init): add a reinit flag so that the LyXText can be
13959 reinited instead of deleted and reallocated (used in InsetText).
13961 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13967 2001-07-18 Juergen Vigna <jug@sad.it>
13969 * text.C (selectNextWord): handle insets inside inset by calling
13970 always the bv->text functions so that we can go up the_locking_inset!
13972 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13973 in strange locations when inside an inset!
13975 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13976 handling to include insets.
13978 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13980 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13982 * LyXAction.C (init):
13984 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13985 LIGATURE_BREAK, since the name is so stupid.
13987 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13989 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13992 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13994 * sp_form.[Ch]: remove.
13996 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13998 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14001 * src/buffer.C (readInset): ditto.
14003 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14005 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14006 menuSeparator(), endOfSentenceDot(), ldots() and
14007 hyphenationPoint(), which are therefore removed.
14008 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14010 * LyXAction.C (init):
14011 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14013 * paragraph.C (getWord): removed.
14015 * BufferView_pimpl.C (Dispatch): use last word or selection for
14016 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14018 * lyx_main.C (queryUserLyXDir): do not ask before creating
14019 user_dir, except if it has been named explicitely.
14021 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14023 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14024 a document of zero size.
14026 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14028 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14029 approriately in the c-tor and in require().
14030 (getPackages): output the appropriate LaTeX for natbib support.
14032 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14033 variables "use_natbib" and "use_numerical_citations" when reading the
14035 (readInset): read the various natbib cite commands.
14036 (validate): white-space change.
14038 * bufferparams.[Ch]: new variables "bool use_natbib" and
14039 "bool use_numerical_citations".
14040 (writeFile): output them in the LyX file.
14042 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14044 * lyxfunc.C (getStatus): add support for all the inset insertion
14047 * text2.C (insertInset):
14048 * paragraph.C (insetAllowed):
14049 * BufferView_pimpl.C (insertInset): update to take in account the
14050 renaming of insertInsetAllowed
14052 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14054 * text2.C (getInset): new method. returns inset at cursor position.
14056 * BufferView_pimpl.C (Dispatch): changes because of this.
14058 * LyXAction.C (init): rename open-stuff to inset-toggle.
14060 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14062 * text2.C (toggleInset): renamed from openStuff; use
14065 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14067 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14069 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14071 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14073 * buffer.C (readLyXformat2): Add filename to the error dialog
14075 2001-07-18 Juergen Vigna <jug@sad.it>
14077 * tabular.C (GetCellNumber): put an assert here instead of the check!
14079 2001-07-17 Juergen Vigna <jug@sad.it>
14081 * BufferView_pimpl.C (toggleSelection): adapted too.
14083 * text.C (selectNextWord): adapted for use with insets.
14084 (selectSelectedWord): ditto
14086 2001-07-17 Juergen Vigna <jug@sad.it>
14088 * sp_spell.C (PSpell): fix initialitation order.
14090 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14092 * paragraph.C: spacing
14094 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14096 * sp_spell.C: repair language selection for pspell
14098 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14100 * lyxfunc.h: change more methods to begin with lower char.
14102 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14104 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14105 for unknown layouts.
14107 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14109 * buffer.C (readLyXformat2): Generate an error dialog if there are
14112 2001-07-16 Juergen Vigna <jug@sad.it>
14114 * sp_spell.C: always compile ISpell part.
14116 * lyxrc.C: added use_pspell entry and it's handling.
14118 2001-07-13 Juergen Vigna <jug@sad.it>
14120 * sp_spell.C: removed double includes.
14122 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14124 Consistent use of Lsstream.h:
14125 * Lsstream.h: added using std::stringstream for consistencies sake.
14127 * buffer.C: removed using std::stringstream
14129 * lyxfont.C (stateText):
14130 * paragraph.C (asString):
14131 * text.C (selectNextWord, selectSelectedWord):
14132 * text2.C (setCounter):
14133 * vspace.C (asString, asLatexString):
14134 std::ostringstream -> ostringstream.
14136 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14138 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14139 * commandtags.h: add LFUN_HELP_ABOUTLYX
14140 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14142 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14144 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14146 * lyx_gui_misc.C: remove spellchecker
14147 * lyxfunc.C: showSpellchecker
14149 * sp_ispell.h: added
14150 * sp_pspell.h: added
14151 * sp_spell.C: added
14152 * sp_form.[Ch]: removed
14153 * spellchecker.[Ch]: removed
14155 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14157 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14159 (simpleTeXSpecialChars): Simply print the input character without
14160 any special translation if pass_thru is set.
14162 * layout.h: Added bool pass_thru to layout class for being able to
14163 implement pass through of a paragraph for Literate Programming.
14165 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14166 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14167 * layout.C (Read): add "passthru" to list of layout tags and add
14168 code to set the pass_thru boolean when it is read.
14170 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14172 * trans_decl.h: remove allowed from KmodInfo
14174 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14175 remove allowed code
14178 * paragraph_pimpl.C (erase): use boost::prior
14180 * Painter.C (text): use data() instead of c_str() when length is
14182 * WorkArea.C (putClipboard): ditto
14183 * font.h (width): ditto
14185 * BufferView2.C: use it-> instead of (*it). for iterators
14187 * paragraph_pimpl.C: ditto
14188 * paragraph.C: ditto
14189 * minibuffer.C: ditto
14190 * language.C: ditto
14192 * encoding.C: ditto
14193 * counters.C: ditto
14194 * converter.C: ditto
14196 * Variables.C: ditto
14197 * TextCache.C: ditto
14198 * MenuBackend.C: ditto
14199 * LyXAction.C: ditto
14201 * FloatList.C: ditto
14202 * DepTable.C: ditto
14203 * ColorHandler.C (LyXColorHandler): ditto
14205 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14207 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14209 * text2.C (openStuff): reintroduce this method (which had been
14210 nuked in NEW_INSETS frenzy).
14212 * lyxfunc.C (Dispatch): when an action has not been handled, use
14213 its name in the error message, not its number.
14215 * paragraph.C (inInset): change method name to begin with lowercase.
14218 * text2.C: updates because of this.
14220 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14222 * ToolbarDefaults.C (add): add spaces in error message
14224 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14226 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14227 (readLyXformat2): rename return_par to first_par, use lyxlex's
14228 pushToken and remove the manual push handling.
14229 (parseSingleLyXformat2Token): add another ert comp. variable:
14230 in_tabular, rename return_par to first_par. handle newlines better
14232 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14234 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14236 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14238 * text2.C (getParFromID): removed
14240 * buffer.C (getParFromID): new method moved form lyxtext.
14241 * BufferView2.C (insertErrors): adjust
14242 (setCursorFromRow): adjust
14243 * BufferView_pimpl.C (restorePosition): adjust
14244 * lyxfunc.C (Dispatch): adjust
14245 * undo_funcs.C (textUndo): adjust
14247 (textHandleUndo): adjust
14248 (textHandleUndo): adjust
14250 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14252 * buffer.C: up' the LYX_FORMAT
14254 * lyxfont.h: turn NO_LATEX on as default
14256 * buffer.C (insertErtContents): new methods of tex style compability.
14257 (parseSingleLyXformat2Token): use it several places.
14258 * tabular.C (OldFormatRead): and here
14260 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14262 * text2.C: remove some commented code.
14265 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14266 * trans.C: changes because of the above.
14268 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14270 * text2.C (setCounter): Fix counters bug with bibliography layout.
14272 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14274 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14275 own member functions
14276 (simpleTeXSpecialChars): ditto
14278 2001-07-06 Juergen Vigna <jug@sad.it>
14280 * a lot of files: changed the access to LyXText::status and the
14281 call of undo-functions.
14283 * undo.[Ch]: added a inset_id to the undo informations.
14285 * undo_funcs.[Ch]: added and moved here all undo functions.
14287 * lyxtext.h: give the status enum a weight, made status_ a private
14288 variable and made accessor functions for it, removed the whole bunch
14289 of undo-functions as they are now in their own file, make some
14290 functions publically available. Added function ownerParagraph with
14293 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14294 made InInset() a const function, added getParFromID() function.
14296 * buffer.[Ch]: added const version for inset_iterator functions,
14297 added getInsetFromID() function.
14299 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14300 changed undo functions for new version.
14302 2001-07-05 Juergen Vigna <jug@sad.it>
14304 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14305 unknow mechanism does not call the proper constructor but only this
14306 one also if I request the other!?
14308 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14310 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14312 * text2.C (LyXText): use initialization lists.
14314 * lyxtext.h (Selection): initialize set_ and mark_
14315 (init): remove method
14317 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14319 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14321 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14323 * screen.[Ch]: change method names to begin with lowercase
14325 * BufferView_pimpl.C (updateScrollbar): simplify further and
14326 hopefully make it a bit faster.
14328 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14330 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14331 calling directly xforms functions.
14333 * Painter.C (Painter):
14334 * lyx_cb.C (MenuWrite):
14335 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14338 * lyx_gui.C: remove bogus guiruntime extern declaration.
14340 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14342 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14344 (redoDrawingOfParagraph): ditto
14345 (redoParagraphs): ditto
14346 (cutSelection): don't create a object for CutAndPaste use the
14347 static method directly
14348 (pasteSelection): ditto
14350 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14353 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14355 * modifications to some other files because of this.
14357 * Makefile.am (lyx_SOURCES): add XFormsView
14359 * XFormsView.[Ch]: new files
14361 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14362 the main window. Move the gui dependent stuff to XFormsView
14364 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14366 * tabular.C (GetCellInset): update cur_cell also in the row/col
14367 version of this function.
14369 * lyxfunc.C: no need to include figure_form.h here.
14375 * lyxvc.C: no need to include forms.h here.
14377 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14379 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14381 * lyxfunc.C (Dispatch):
14383 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14384 constructor argument.
14386 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14388 * paragraph.C (Paragraph): dont't clear, and just set layout.
14389 (makeSameLayout): use params's copy contructor.
14391 * ParagraphParameters.[Ch] (makeSame): delete method
14393 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14395 * Variables.[Ch]: fix indentation, rename set to isSet
14397 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14399 * lyxfunc.C (Dispatch): fix typo
14401 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14403 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14406 * bufferlist.C: include assert.h for emergencyWrite().
14408 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14410 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14411 give up at last (bug #425202) !
14413 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14419 * spellchecker.C: strip spellchecker options and bring up
14420 preferences tab instead
14422 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14424 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14425 the istringstream constructor
14427 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14429 * paragraph.C (getLayout): fix return value
14431 * paragraph.h: do not declare getLayout as inline.
14433 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14435 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14437 * lyxcursor.h (operator<): new func
14438 (operator>): new func
14439 (operator>=): new func
14440 (operator<=): new func
14442 * text.C (changeCase): use selection.start and selection.end
14443 (changeRegionCase): require from to be <= to. Require par to be a
14446 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14448 2001-06-27 Juergen Vigna <jug@sad.it>
14450 * text.C (cursorLeftOneWord): changed to return the cursor and added
14451 overlay with BufferView * parameter which calls this one.
14453 (selectWord): use new getWord function.
14454 (changeCase): renamed from changeWordCase as and extended to work
14455 also on selections.
14457 * lyxtext.h: added enum word_location
14459 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14460 changeCase as this operates now also on selections.
14462 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14464 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14466 * many files: send debug output to Debug::INFO instead of
14469 * converter.C (View):
14471 (Move): send debug output to Debug::FILES instead of console.
14473 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14475 * lyxfunc.C (getStatus): use func_status
14477 * func_status.h: new header, describing the results of
14478 LyXFunc::getStatus;
14480 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14483 2001-06-25 The LyX Project <jug@sad.it>
14485 * buffer.C (sgmlOpenTag):
14487 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14489 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14491 * text2.C: remove some dead code
14493 * tabular.C (GetCellInset): store the last cell checked (gotten)
14495 * tabular.h: add the helper for the speedup
14497 * lyxtext.h: remove some dead code
14499 2001-06-26 The LyX Project <Asger>
14501 * paragraph.C: Change export to LaTeX of alignment to
14502 \begin{center} and family for better roundtrip work with reLyX.
14504 * Tune the math drawing a bit.
14506 2001-06-25 The LyX Project <Asger>
14508 * LColor.C (LColor): New color for math background. New color
14511 2001-06-25 The LyX Project <jug@sad.it>
14513 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14515 * lyxfunc.C (Open):
14516 * bufferlist.C (newFile): do not restrict to files ending with
14519 * BufferView_pimpl.C (MenuInsertLyXFile):
14521 2001-06-24 The LyX Project <jug@sad.it>
14523 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14526 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14528 * lyxtext.h: rename most methods to begin with a small char.
14529 Lots of changes because of this.
14531 * paragraph.C (Paragraph): do not call fitToSize
14532 (erase): call Pimpl::erase
14533 (insertChar): call Pimpl::insertChar
14534 (insertInset): call Pipl::insertInset
14535 (breakParagraph): do not call fitToSize
14536 (breakParagraphConservative): do not call fitToSize
14537 (fitToSize): remove method
14539 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14541 2001-06-24 The LyX Project <Asger>
14543 * Fix Qt compilation^2
14545 2001-06-24 The LyX Project <jug@sad.it>
14547 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14548 depthHook(getDepth()-1).
14551 * ParagraphParameters.h:
14552 * ParameterStruct.h: change type of depth to unsigned int ==
14553 depth_type. Many adaptations to other files before of that.
14555 2001-06-24 The LyX Project <Asger>
14557 * Fix Qt compilation.
14559 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14561 * paragraph.h: renamed several methods to begin with small letter.
14562 several changes to many parts of the code because of this.
14564 2001-06-23 The LyX Project <jug@sad.it>
14566 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14567 rewritten to discard all double spaces when KeepEmpty is off
14568 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14569 to only handle newlines but not fiddle with spaces and friends.
14571 * lyxfunc.C (MenuNew): when doing 'new from template', use
14572 template_path as default directory
14574 2001-06-23 The LyX Project <Asger>
14576 * Clean-up of header file includes all over
14577 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14579 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14581 * paragraph.h: renamed from lyxparagraph.h
14583 2001-06-23 Asger <lyx@violet.home.sad.it>
14585 * Buffer.h: Removed Buffer::resize
14586 * BufferList.h: Removed BufferList::resize
14587 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14588 the document lazily when we change the width, or the font settings.
14590 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14592 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14594 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14596 * buffer.h: remove out of date comment
14598 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14601 * screen.C: fix "theoretical" GC leak
14603 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14605 * LaTeX.C (scanAuxFile):
14606 (deplog): remove trailing \r when reading stream (useful under
14609 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14611 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14612 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14613 and BufferView::theLockingInset(Inset*), so should use them and not
14614 access bv_->text->the_locking_inset directly.
14616 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14618 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14621 * tex-defs.h: remove old unused file
14623 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14625 * BufferView_pimpl.C: fix typo, remove minibuffer message
14626 when buffer has loaded
14628 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14630 * lyxfunc.C (Dispatch): use stringstream
14631 (MenuNew): use stringstream
14632 (Open): use stringstream
14634 * importer.C (Import): use stringstream
14636 * bufferview_funcs.C (CurrentState): use stringstream
14638 * LaTeX.C (run): use stringstream
14640 * BufferView_pimpl.C (savePosition): use stringstream
14641 (restorePosition): use stringstream
14642 (MenuInsertLyXFile): use stringstream
14644 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14657 * vspace.C: removed // -*- C++ -*- as first line.
14660 * version.h: added // -*- C++ -*- as first line.
14662 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14664 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14666 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14669 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14671 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14674 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14676 * gettext.C: include LString.h even when --disable-nls is on.
14678 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14680 * converter.h (Get): changed argument type from int to
14681 FormatList::size_type to avoid unnecessary conversion.
14683 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14686 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14688 * gettext.h: include LString.h even when --disable-nls is on.
14690 2001-06-07 Juergen Vigna <jug@sad.it>
14692 * text.C (BreakAgain): subst spaces with tabs.
14694 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14695 (resizeInsetsLyXText): set force on resizeLyXText.
14697 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14699 * gettext.h (gettext_init):
14700 (locale_init): use a real definition instead of a macro
14702 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14704 * Bufferview_pimpl.C:
14706 * LColor.C: further lcolor tidies
14708 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14710 * BufferView_pimpl.C (updateScrollbar): simplify.
14712 * BufferView2.C: don't include insets/insetinfo.h, change
14713 prototype for insertInset and call the Pimpl version. let
14714 updateInset call Pimpl version.
14716 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14717 gotoInset to BufferView::Pimpl
14719 2001-06-01 Juergen Vigna <jug@sad.it>
14721 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14722 inside a LockingInset (is the update needed at all?).
14724 2001-05-31 Juergen Vigna <jug@sad.it>
14726 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14727 here not the old one otherwise how should we compare it afterwards
14730 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14735 * FontInfo.C: bring C functions into global namespace when
14738 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14740 * LString.h: make sure config.h has been loaded before LString.h.
14742 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14743 (one for each char read by EatLine!).
14745 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14748 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14750 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14751 to the same as the par we break from
14753 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14755 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14757 * MenuBackend.C (expand): also create menu entries for wide
14758 versions of the floats.
14760 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14762 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14764 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14765 frontends/Makefile.am
14771 * tabular.C (getTokenValue): add std::
14773 * tabular-old.C (getTokenValue): add std::
14774 (getTokenValue): ditto
14775 (getTokenValue): ditto
14777 * screen.C (ToggleSelection): adjust
14779 * lyxtext.h: put selection cursors inside a Selection struct.
14781 * lyxfunc.C (moveCursorUpdate): adjust
14783 * lyxfont.C (latexWriteStartChanges): add std::
14785 * lyxfind.C: adjust
14787 * font.h: delete with(char const *, LyXFont const &)
14789 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14791 * FontInfo.C (getFontname): add std::
14793 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14794 (workAreaButtonPress): adjust
14795 (tripleClick): adjust
14797 (moveCursorUpdate): adjust
14800 * BufferView2.C (gotoInset): adjust
14802 2001-05-30 Juergen Vigna <jug@sad.it>
14804 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14805 to check pspell I add this as default as I now have new pspell
14806 libraries and they seem to use this.
14808 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14810 * text2.C (CutSelection): make the cursor valid before the call to
14813 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14815 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14816 relied on 0 terminated strings and other horrors. Bug found due to
14817 the new assert in lyxstring!
14819 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14822 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14824 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14827 * lyxfunc.C (processKeySym): change method of getting to the
14830 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14831 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14832 * BufferView_pimpl.[Ch]: here as private methods.
14834 2001-05-28 Juergen Vigna <jug@sad.it>
14836 * text.C (SetHeightOfRow): added the update() call again as it is
14837 needed to initialize inset dimensions!
14839 2001-05-16 Juergen Vigna <jug@sad.it>
14841 * text2.C (SetCharFont): Add new function with BufferView * and
14842 bool toggleall parameters for setting insets internal fonts.
14843 (SetFont): Freeze the undo as we may change fonts in Insets and
14844 all this change should be inside only one Undo!
14846 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14847 setting font's in insets as for them we have the SetFont function!
14849 2001-05-15 Juergen Vigna <jug@sad.it>
14851 * text2.C (ClearSelection): to be sure we REALLY don't have any
14854 * tabular.C (TeXCellPreamble): fixed the left border problem for
14857 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14859 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14862 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14864 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14865 LFUN_BREAKPARAGRAPH.
14867 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14868 help test to "internal only", similar for LFUN_INSERT_URL
14870 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14871 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14872 auto_region_delete and deadkeys.
14874 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14877 * LColor.C: remove some dead entries, tidy a little
14879 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14881 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14883 (Dispatch): implement LFUN_ESCAPE
14885 * commandtags.h: add LFUN_ESCAPE
14887 * LyXAction.C (init): add entry for LFUN_ESCAPE
14889 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14890 Remove commented code.
14891 (insertNote): moved here
14892 (open_new_inset): moved here
14894 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14897 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14899 * kbmap.C (findbinding): clean it up and make it work correctly.
14901 * lyx_main.C (init): do not pass argc and argv as parameters
14903 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14905 * buffer.C: fix path for OS/2 & Win32
14909 * lyx_main.C: Added os:: class.
14911 * os2_defines.h: update
14913 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14915 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14916 better by trying again with reduced state.
14918 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14920 * lyxrc.C (read): print error about invalid key sequence only when
14921 debugging (because not all latinX keysyms are known to some X
14924 * kbsequence.C (getiso): add a few std:: qualifiers
14925 (getiso): comment out extra return statement.
14927 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14929 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14931 (Dispatch): enhance the accent inset a bit. (not perfect)
14933 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14935 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14937 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14939 * bufferlist.C (emergencyWrite): fix assert() call
14941 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14943 * text.C (InsertChar): Added trivial patch to only send the "you
14944 can not do multiple spaces this way" message once during a
14947 2001-05-08 Baruch Even <baruch@lyx.org>
14949 * Makefile.am: Changed order of libraries to get LyX to link properly
14950 with the gnome frontend.
14952 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14954 * LaTeXFeatures.h: add a std:: qualifier
14956 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14958 * paragraph.C (String): use stringstream
14960 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14962 * paragraph.C (writeFile): remove footflag arg
14964 * buffer.C (makeLaTeXFile): use stringstream
14965 (latexParagraphs): remove footnot gurba
14967 * LaTeXFeatures.C (getPackages): use stringstream
14968 (getMacros): likewise
14969 (getTClassPreamble): likewise
14970 (getFloatDefinitions): new method
14972 * paragraph.C (writeFile): reindent
14975 * WorkArea.h: revert the xpos + etc changes.
14977 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14979 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14981 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14982 (pasteSelection): likewise
14983 * text2.C (CreateUndo): likewise
14985 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14987 * minibuffer.C (peek_event): temporarily reduce the functionality
14988 of the minibuffer (to allow args on lfuns)
14990 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14991 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14993 * buffer.C (readInset): add compability reading of old float
14994 lists, add reading of new style float list.
14995 (readInset): avoid reevaluation of inscmd.getCmdName()
14996 (getLists): reindent
14998 * MenuBackend.C (MenuItem): implement parsing of
14999 md_floatlistinsert and md_floatinsert.
15000 (expand::LastFiles): move initalizaton of iterators out of loop,
15001 avoid reevaluation.
15002 (expand::Documents): introduce typdedef vector<string> Strings,
15004 (expand::ExportFormats): introduce typedef vector<Format const *>
15005 Formats, and use it.
15006 (expand): implement FloatListInsert and FloatInsert.
15008 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15009 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15010 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15012 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15014 (Dispatch::LFUN_FLOAT_LIST): implement
15016 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15018 * LaTeX.C (run): Fix problem with --export code.
15020 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15022 * BufferView.[Ch] (workarea): removed.
15023 (getClipboard) new method; wrapper for workarea()->getClipboard()
15025 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15028 * WorkArea.h (width, height, xpos, ypos): These methods all
15029 returned the dimensions of the work_area sub-area of WorkArea,
15030 resulting in a position error if the WorkArea were resized. Now
15031 return the dimensions of the entire WorkArea.
15033 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15035 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15037 * LaTeX.C (deplog): correct the syntax of regex reg1
15039 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15041 * undo.C: remove !NEW_INSETS cruft
15043 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15045 * text2.C: remove !NEW_INSETS cruft
15047 * text.C: remove !NEW_INSETS cruft
15049 * tabular.C: remove !NEW_INSETS cruft
15051 * spellchecker.C: remove !NEW_INSETS cruft
15053 * lyxtext.h: remove !NEW_INSETS cruft
15055 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15057 * lyxfunc.C: remove !NEW_INSETS cruft
15059 * lyxfind.C: remove !NEW_INSETS cruft
15061 * lyx_cb.C: remove !NEW_INSETS cruft
15063 * figureForm.C: remove !NEW_INSETS cruft
15065 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15067 * buffer.[Ch]: remove !NEW_INSETS cruft
15069 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15071 * CutAndPaste.C: remove !NEW_INSETS cruft
15073 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15075 * BufferView2.C: remove !NEW_INSETS cruft
15077 * BufferView.h: remove !NEW_INSETS cruft
15079 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15081 * Lsstream.h: include LString.h before the sstream headers to
15082 fix problem with gcc 2.95.3 and lyxstring
15084 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15086 * lyx_main.C: add using directives when needed for C functions
15087 declared in std:: namespace.
15089 2001-04-27 Juergen Vigna <jug@sad.it>
15091 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15092 (SetHeightOfRow): comment out the update call should not be needed!
15094 2001-04-13 Juergen Vigna <jug@sad.it>
15096 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15097 (LyXTabular): tried to minimize operator= operations (and realized
15098 hopfully Lars wish).
15100 2001-04-27 Juergen Vigna <jug@sad.it>
15102 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15104 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15106 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15108 * buffer.C (readInset): hack to make listof algorithm work
15110 * BufferView_pimpl.C: hack to make listof algorithm work
15112 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15114 * LyXAction.C: removed all !NEW_INSETS cruft
15115 (init): moved lfun_item in method
15117 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15119 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15121 * BufferView2.C (theLockingInset): white space.
15123 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15125 * minibuffer.C: include <iostream>
15127 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15129 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15131 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15133 * text.[Ch] (TransposeChars): new method
15135 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15137 * call message directly through LyXView instead of through LyXFunc
15138 * BufferView2.C: adjust
15139 * BufferView_pimpl.C: adjust
15140 * FontLoader.C: adjust
15142 * bufferview_funcs.C: adjust
15143 * converter.C: adjust
15144 * figureForm.C: adjust
15145 * importer.C: adjust
15147 * lyx_gui_misc.C: adjust
15148 * lyxfunc.C: adjust
15151 + more files in subdirs
15153 * lyxparagraph.h (size): move up int file
15156 * adjust all uses of Assert to lyx::Assert.
15158 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15159 lyxfunctional in namespace lyx
15160 * layout.C (hasLayout): ditto
15163 (delete_layout): ditto
15164 (NumberOfClass): ditto
15165 * converter.C (GetFormat): ditto
15170 * bufferlist.C (getFileNames): ditto
15171 (emergencyWriteAll): ditto
15174 * MenuBackend.C (hasSubmenu): ditto
15177 * BufferView_pimpl.C (getInsetByCode): ditto
15179 2001-04-18 Juergen Vigna <jug@sad.it>
15181 * vspace.C (asLatexString): fixed the 100% problem.
15183 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15185 * lyxfunc.C (Dispatch):
15187 * minibuffer.h: add a few std:: qualifiers
15189 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15191 * minibuffer.[Ch]: reimplement so that commands is initiated and
15192 run from lyxfunc, simplified som handling, and made the completion
15193 and history code for complete. wip.
15195 * lyxfunc.C (processKeySym): call message
15196 (miniDispatch): new temporary method
15197 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15198 (LFUN_MESSAGE): implement
15199 (LFUN_MESSAGE_PUSH): implement
15200 (LFUN_MESSAGE_POP): implement
15201 (initMiniBuffer): the initial/defualt minibuffer message.
15203 * lyxfont.[Ch]: inline some more getters
15205 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15207 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15209 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15210 (AutoSave): use LFUN_MESSAGE
15211 (Reconfigure): ditto
15213 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15215 * figureForm.C: use LFUN_MESSAGE
15217 * converter.C (runLaTeX): use LFUN_MESSAGE
15219 * bufferview_funcs.C: use LFUN_MESSAGE
15221 (changeDepth): ditto
15223 * bufferparams.h: use boost::
15225 * bufferlist.h: inherit privately from noncopyable
15227 * bufferlist.C (loadLyXFile): remove some commented code.
15229 * buffer.C (runChktex): use LFUN_MESSAGE
15231 * ShareContainer.h: inherit privately from noncopyable
15233 * ParagraphParameters.[hC] (depth): inline it.
15235 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15237 (message): new method
15238 (messagePush): ditto
15239 (messagePop): ditto
15240 (show): init minibuffer
15241 (showState): direct call
15243 * LaTeX.[Ch]: inherit privately from noncopyable
15244 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15245 instead of WriteStatus.
15247 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15249 * BufferView_pimpl.C (buffer): don't init minibuffer
15250 (workAreaButtonPress): use LFUN_MESSAGE
15251 (workAreaButtonRelease): ditto
15252 (savePosition): ditto
15253 (restorePosition): ditto
15254 (MenuInsertLyXFile): ditto
15255 (workAreaExpose): don't init minibuffer
15256 (update): remove commented code, simplify
15258 * BufferView2.C (openStuff): use LFUN_MESSAGE
15259 (toggleFloat): ditto
15262 (copyEnvironment): ditto
15263 (pasteEnvironment): ditto
15268 (updateInset): remove some commented code
15270 * lastfiles.h: inherit privately from noncopyable
15273 * lyx_main.h: ditto
15275 * lyxlex_pimpl.h: ditto
15277 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15278 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15279 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15281 * LyXAction.h: inherit privately from noncopyable, add methods
15282 func_begin, func_end, returning iterators to the func map.
15284 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15285 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15286 (func_begin): new method
15287 (func_end): new method
15289 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15291 (copySelection): ditto
15292 (pasteSelection): ditto
15294 * BufferView.C: whitespace change
15295 * BufferView.h: inherit privately from noncopyable
15297 2001-04-16 Allan Rae <rae@lyx.org>
15299 * tabular-old.C (l_getline):
15300 * spellchecker.C (sc_check_word):
15301 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15302 an unrecognised preprocessor directive. So ensure they're wrapped.
15304 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15306 * src/exporter.C (Export): Give an error message when path to file
15309 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15311 * LaTeX.C (deplog): Always check that foundfile exists.
15313 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15316 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15318 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15320 * tabular.[Ch] (getLabelList): implement new method
15322 * minibuffer.h: comment ouf setTiimer
15324 * minibuffer.C (ExecutingCB): constify res
15325 (peek_event): constify s
15326 (Set): constify ntext
15327 (Init): constify nicename
15329 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15331 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15332 (savePosition): use two params to Minibuffer::Set
15333 (restorePosition): ditto
15335 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15337 * lyx_main.C: include language.h
15339 * Makefile.am (lyx_main.o): add language.h
15341 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15347 * CutAndPaste.C: include gettext.h
15349 * lyxfont.h: remove old hack with ON and OFF.
15352 * lyxfont.h: do not include language.h...
15357 * bufferview_funcs.C:
15363 * paragraph.C: ... but do it here instead
15365 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15367 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15369 * tabular.C: small reformat
15371 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15374 (BreakParagraph): ditto
15375 (SetOnlyLayout): ditto
15378 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15381 * lastfiles.C: removed most using decl, add std:: where needed
15383 * buffer.C: ws changes
15385 * MenuBackend.C (class compare_format): put into anon namespace
15386 (expand): constify label, names, action, action2
15389 * text.C (SingleWidth): constify font
15390 (IsBoundary): constify rtl2
15391 (GetVisibleRow): constify ww
15393 * LaTeX.C (deplog): constify logfile
15395 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15397 (workAreaExpose): constify widthChange, heightChange
15399 * lyxrow.C (par): moved
15402 * lyxrow.h: as inlines here
15404 * lyxfont.h (shape): moved from lyxfont.C
15405 (emph): moved from lyxfont.C
15407 * lyxfont.C (LyXFont): use initialization list for all
15409 (shape): move to lyxfont.h as inline
15410 (emph): move to lyxfont.h as inline
15413 2001-04-04 Juergen Vigna <jug@sad.it>
15415 * vspace.C: had to include stdio.h for use of sscanf
15417 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15420 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15421 independent of xforms.
15423 2001-04-02 Juergen Vigna <jug@sad.it>
15425 * spellchecker.C: fixed namespace placing!
15427 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15429 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15430 the LyXParagraph * is 0.
15432 2001-03-29 Juergen Vigna <jug@sad.it>
15434 * vspace.C: added support for %, c%, p%, l%.
15435 (stringFromUnit): added helper function.
15436 (asLatexString): changed to give right results for the %-values.
15438 * buffer.C: convert the widthp in a width%.
15440 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15442 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15445 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15446 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15448 * lyx_cb.[Ch]: see above.
15450 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15454 * lyx.[Ch]: replaced by figure_form.[Ch].
15458 * lyxfunc.C: changed headers associated with above changes.
15460 2001-03-27 Juergen Vigna <jug@sad.it>
15462 * BufferView_pimpl.C: set the temporary cursor right!
15464 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15466 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15468 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15470 * LString.h: removed "using std::getline"!
15472 * BufferView_pimpl.C (Dispatch): changes due to changes in
15473 InsetInclude::Params.
15475 * buffer.C (tag_name): removed redundant break statements as they were
15476 producing lots of warnings with my compiler.
15478 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15480 * LString.h: add "using std::getline" when using the real <string>.
15482 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15484 * buffer.C: removed bitset usage.
15485 PAR_TAG moved to an anonymous name space.
15486 (tag_name): new funtion, also in the anonymous namespace.
15487 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15488 (makeDocBookFile): clean code. Completed transition from string arrays
15490 (SimpleDocBookOnePar): code clean.
15492 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15494 * tabular.C: add some comments.
15496 2001-03-22 Juergen Vigna <jug@sad.it>
15498 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15499 compatibility read a bit and fixed bug with minipage in different
15502 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15504 * buffer.C (pop_tag): removed.
15505 (push_tag): removed.
15506 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15507 array replaced with vector. Added support for CDATA sections.
15508 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15510 (makeDocBookFile): XML conformant declaration of CDATA section,
15511 fixed bug related to <emphasis> in the first paragraph char.
15512 (sgmlOpenTag): exclude empty tags.
15513 (sgmlCloseTag): ditto.
15515 * buffer.h (pop_tag): removed.
15516 (push_tag): removed.
15518 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15520 * language.h (Languages): added size_type and size().
15522 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15524 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15525 response on compability reading of minipages. One probliem is that
15526 the old usage of minipages was «flertydig»
15528 * several files here and in subdirs: don't use static at file
15529 scope use anon namespaces instead.
15531 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15533 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15534 LaTeX output. This is necessary for Literate document
15537 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15539 * buffer.C: insert hfill when needed.
15541 * tabular.C (l_getline): use string::erase, small whitespace change.
15543 * BufferView_pimpl.C: try the anon namespace.
15544 * WorkArea.C: ditto
15546 2001-03-16 Juergen Vigna <jug@sad.it>
15548 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15549 otherwise it won't open options-dialogs.
15551 * buffer.C: honor pextraWidth(p) on converting minipages.
15553 * tabular.C (l_getline): changed the functions to strip trailing \r.
15555 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15557 * BufferView_pimpl.C:
15558 * minibuffer..C: added "using SigC::slot" declaration.
15560 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15562 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15568 * paragraph.C: ditto
15570 * lyxtext.h: NO_PEXTRA
15572 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15574 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15575 * ParameterStruct.h: ditto
15576 * ParagraphParameters.h: ditto
15577 * lyxparagraph.h: ditto
15579 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15581 * buffer.C: add compability for minipage alignment.
15582 (latexParagraphs): remove unwanted pextra check.
15584 * several files: remove CXX_WORKING_NAMESPACES
15586 * buffer.C (pop_tag): tie is in namespace boost
15588 * BufferView.h: noncopyable is in namespace boost
15590 * lyx_main.h: ditto
15593 * lastfiles.h: ditto
15594 * bufferlist.h: ditto
15595 * ShareContainer.h: ditto
15597 * LyXAction.h: ditto
15600 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15602 * Merging changes from BRANCH_MVC back into HEAD.
15604 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15606 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15608 * BufferView_pimpl.C: change from intl.C
15612 * Makefile.am: move combox.*
15618 * intl.C: remove dialog (covered by prefs)
15620 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15622 * lyxfunc.C (Dispatch): removed redundant break statement.
15624 2001-03-14 Juergen Vigna <jug@sad.it>
15626 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15628 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15630 * buffer.C: add hack to fix compability reading of minipages.
15632 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15634 * buffer.C (getLists): Cleanup.
15636 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15638 * lyxfont.C (update): don't honor toggleall on font size.
15640 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15644 * Makefile.am: moved to frontends/xforms/
15648 * BufferView_pimpl.C: changes for moved mathpanel
15650 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15652 * gettext.h: fix gettext_init() in --disable-nls
15654 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15656 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15658 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15661 * lyx.h: strip external form
15663 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15665 * BufferView_pimpl.C: add comment, destroySplash()
15667 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15669 * BufferView_pimpl.C:
15673 * lyxfunc.C: use re-worked insetinclude
15675 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15677 * buffer.C: add using std::stringstream.
15679 * lyx_cb.C: readd using std::ios.
15681 * buffer.C: add using std::map.
15683 * BufferView_pimpl.C: add using std::vector.
15685 * ShareContainer.h: add std:: to swap.
15687 * buffer.h: add some typedefs
15688 * buffer.C (getLists): use them
15689 (getLists): renamed from getTocList.
15690 add a counter for the different float types and use it in the
15692 (getLists): use the same counter for the NEW_INSETS and the "non"
15695 * lyx_cb.h: remove unused items, includes, using etc.
15697 * ShareContainer.h: remove some commented code, add more comments
15698 and "documentation".
15700 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15702 * buffer.C (getTocList): make the list also when NEW_INSETS is
15705 * buffer.h: remove TocType
15707 * buffer.C (getTocList): change to return a map<string,
15708 vector<TocItem> >, implement for dynamic number of list.
15710 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15711 * text2.C (PasteSelection): adjust
15712 * CutAndPaste.C (pasteSelection): adjust
15714 * FloatList.C (FloatList): update from the new_insets branch.
15715 * Floating.[Ch]: ditto
15716 * LaTeXFeatures.C: ditto
15718 * lyxlex_pimpl.C: ditto
15720 * paragraph.C (Last): remove when NEW_INSETS is defined.
15722 * other file: changes because of the above.
15724 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15726 * lyxparagraph.h: rename next to next_, previous to previous_,
15727 make them private for NEW_INSETS. Rename Next() to next(),
15728 Previous() to previous().
15730 * other files: changes because of the above.
15732 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15735 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15738 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15740 * main.C (main): pass lyx_localedir to gettext_init().
15742 * gettext.h: remove locale_init and gettext_init macros
15744 * gettext.C (locale_init): new function
15745 (gettext_init): new function
15747 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15750 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15752 * Moved credits to frontends:
15753 * credits.[Ch]: removed
15754 * credits_form.[Ch]: removed
15755 * lyx_gui_misc.C: remove credits stuff
15758 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15760 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15762 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15763 unneeded destructor.
15765 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15766 a standalone pointer again.
15768 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15770 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15776 * ToolbarDefaults.C:
15785 * BufferView_pimpl.C: use new file dialog in GUII
15788 * lyx_cb.C: remove LayoutsCB to Toolbar
15790 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15792 * ShareContainer.h (get): add std:: qualifier
15794 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15796 * ShareContainer.h: define a proper ShareContainer::value_type
15797 type (and use typename to please compaq cxx)
15799 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15801 * lyxparagraph.h: move serveral local vars to
15802 ParameterStruct/ParagraphParameters., use ShareContainer in
15803 FontTable., make vars in FontTable private and add getter and
15806 * paragraph.C: changes because of the above.
15808 * lyxfont.h: remove copy constructor and copy assignment. (the
15809 default ones is ok), move number inside FontBits. move inlines to
15812 * lyxfont.C: add number to initializaton of statics, move several
15813 inlines here. constify several local vars. some whitespace
15814 cleanup. Dont hide outerscope variables.
15816 * Spacing.h: add two new constructors to match the set methods.
15818 * ShareContainer.h: new file, will perhaps be moved to support
15820 * ParameterStruct.h: new file
15822 * ParagraphParameters.h: new file
15824 * ParagraphParameters.C: new file
15826 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15827 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15829 * BufferView_pimpl.C: ParagraphParameter changes.
15830 * buffer.C: Likewise.
15831 * bufferview_funcs.C: Likewise.
15832 * text.C: Likewise.
15833 * text2.C: Likewise.
15835 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15837 * lyxfind.C (LyXReplace): do not redefine default argument in
15839 (IsStringInText): ditto
15840 (SearchForward): ditto
15841 (SearchBackward): ditto
15843 2001-03-06 Juergen Vigna <jug@sad.it>
15845 * lyxfind.C (IsStringInText): put parentes around expressions.
15847 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15849 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15851 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15853 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15855 * stl_string_fwd.h: add comment
15857 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15860 * tabular.C: remove unused DocBook methods
15866 killed DO_USE_DEFAULT_LANGUAGE
15868 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15870 * lyx_gui.C: do not include language.h.
15872 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15873 arguments in function implementation.
15875 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15877 * BufferView_pimpl.C: add <ctime>
15879 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15881 * BufferView_pimpl.C: add using std::find_if
15883 2001-02-27 José Matos <jamatos@fep.up.pt>
15885 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15888 2001-02-11 José Matos <jamatos@fep.up.pt>
15890 * buffer.C (makeDocBookFile): command styles now have a parameter as
15891 "title" by default.
15893 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15895 * layout_forms.[Ch]: removed
15896 * lyx_cb.[Ch]: out character
15897 * lyx_gui.C: out character
15898 * lyx_gui_misc.C: out character
15899 * bufferview_funcs.C: : out character,
15900 added toggleall as parameter in ToggleAndShow
15902 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15904 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15906 * text2.C (SetCurrentFont): Disable number property at boundary.
15908 2001-02-26 Juergen Vigna <jug@sad.it>
15910 * lyxfunc.C (getStatus): added a string argument override function so
15911 that this is correctly called from LyXFunc::Dispatch if it contains a
15912 do_not_use_argument which is used!
15913 (Dispatch): added check for "custom" export and call appropriate func.
15915 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15917 * lyxrc.C: Add language_command_local, language_use_babel and
15918 language_global_options.
15920 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15922 * buffer.C (makeLaTeXFile): Use language_use_babel and
15923 language_global_options.
15925 2001-02-23 Juergen Vigna <jug@sad.it>
15927 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15928 which works with LyXText and putted it inside BufferView. Here now we
15929 only call for that part the BufferView::Dispatch() function.
15931 * BufferView.C (Dispatch): added.
15933 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15934 functions which needs to use a LyXText over from LyXFunc.
15935 (MenuInsertLyXFile): added
15936 (getInsetByCode): added
15937 (moveCursorUpdate): added
15938 (static TEXT): added
15940 2001-02-22 Juergen Vigna <jug@sad.it>
15942 * BufferView_pimpl.C (update): call a status update to see if LyXText
15945 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15947 * vc-backend.C (revert): implement for CVS
15948 (getLog): implement for CVS
15950 2001-02-20 Juergen Vigna <jug@sad.it>
15952 * text2.C (ClearSelection): added BufferView param for inset_owner call
15954 * lyxfunc.C (TEXT): added this function and use it instead of
15955 directly owner->view()-text of getLyXText().
15957 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15959 * src/layout_forms.C: out preamble
15960 * src/layout_forms.h: out preamble
15961 * src/lyx_cb.C: out preamble
15962 * src/lyx_cb.h: out preamble
15963 * src/lyx_gui.C: out preamble
15964 * src/lyx_gui_misc.C: out preamble
15965 * src/lyxfunc.C: connect with guii preamble
15967 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15969 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15971 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15973 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15974 whether to run bibtex.
15976 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15978 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15980 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15982 * Makefile.am (lyx_SOURCES): removed bibforms.h
15984 * vspace.h: doxygen
15986 * text.C (GetVisibleRow): make several local vars const
15988 * tabular.C: small cleanup.
15990 * lyxserver.C (callback): use compare instead of strncmp
15992 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15993 inlines to after class or to paragraph.C
15995 * lyxfont.h: remove friend operator!=
15997 * converter.h: move friend bool operator< to non friend and after
16000 * combox.h: small cleanup
16002 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16003 to inlines after class def.
16005 * buffer.C (pop_tag): use string operations instead of strcmp
16007 * bmtable.c: doxygen, small cleanup
16009 * LaTeX.h: remove friend operator==
16011 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16023 * BufferView_pimpl.C:
16024 * BufferView.[Ch]: remove cruft
16026 2001-02-14 Juergen Vigna <jug@sad.it>
16028 * lyxfunc.C: removed #if 0 unused code
16030 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16032 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16034 * text2.C (SetSelection): added a BufferView * parameter
16036 2001-02-13 Juergen Vigna <jug@sad.it>
16038 * lyxfunc.C (Dispatch): fixed protected blank problem.
16039 * BufferView2.C (protectedBlank): added LyxText * parameter.
16041 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16042 (AppendColumn): same as above for column_info.
16044 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16045 (moveCursorUpdate): use a LyXText param for support of InsetText.
16047 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16048 (tripleClick): ditto
16050 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16052 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16054 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16056 * text2.C (SetSelection): set correct update status if inset_owner
16057 (ToggleFree): ditto
16059 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16061 * tabular.C: remove some commented code.
16063 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16065 * BufferView_pimpl.C: call hideSplash()
16067 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16070 * bibforms.h: remove
16073 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16074 add LFUN_CHILD_CREATE
16076 * counters.h: fix tiny typo
16081 * lyx.C: move splash to frontends/xforms/
16083 * lyx_gui_misc.C: move Include and Bibform to frontends
16085 * lyxvc.h: clarify comment
16087 * vspace.C: tiny housekeeping
16089 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16091 * text.C (PrepareToPrint): RTL Fix.
16093 * paragraph.C (GetUChar): New method.
16094 (String): Use GetUChar.
16096 * buffer.C (asciiParagraph): Use GetUChar.
16098 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16100 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16102 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16105 * buffer.C: rename to getLogName(), handle
16106 build log / latex log nicely
16108 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16111 * MenuBackend.h: remove support for reference menuitem type.
16113 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16115 * BufferView_pimpl.C: housekeeping
16116 * BufferView_pimpl.h:
16121 * minibuffer.h: move Timeout GUI-I
16123 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16125 * lyxrc.C (read): Update converters data-structures.
16127 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16129 * LaTeX.h (operator!=): add operator != for Aux_Info
16131 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16133 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16135 * LaTeXLog.C: deleted, useful code moved to Buffer
16138 * buffer.C: new function getLatexLogName()
16144 * lyxfunc.C: use frontends for LaTeX and VC logs
16146 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16148 * LaTeX.h: yet another std:: that Allan forgot.
16150 * Variables.C (set): renamed from isset(), because this clashes
16151 with some HP-UX macros (grr).
16153 2001-02-06 Allan Rae <rae@lyx.org>
16155 * LaTeX.h: Another bug fix. Missing std:: this time.
16157 2001-02-04 Allan Rae <rae@lyx.org>
16159 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16160 floats problem. I've left it commented out because it's not quite
16161 correct. It should also test that the current object is a table or
16162 figure inset. But I haven't gotten around to figuring out how to do
16163 that. I *think* it'll be something like: "table" == inset.type()
16165 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16168 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16170 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16171 all the citation/databases/styles in the auxilary file.
16172 (run): Rerun latex if there was a babel language error.
16174 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16176 * text.C (Backspace): Preserve the font when changing newline char
16178 (BreakParagraph): If the cursor is before a space, delete the space.
16180 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16182 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16184 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16185 new argument (code).
16186 (ChangeCitationsIfUnique): New method.
16188 * paragraph.C (GetPositionOfInset): Handle bibkey.
16190 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16192 * BufferView_pimpl.h: change type of Position::par_pos to
16193 LyXParagraph::size_type.
16195 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16197 * BufferView_pimpl.C (savePosition, restorePosition): Write
16198 messages to minibuffer.
16200 2001-01-28 José Matos <jamatos@fep.up.pt>
16202 * buffer.C (makeDocBookFile): adds support for document language.
16203 A silly restriction on the name of LatexCommand types where removed.
16204 Added support for CDATA sections, allows to chars unescaped, used
16205 among others in code, to avoid escape < and >.
16207 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16209 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16210 saved positions instrad of a stack. Furthermore, a position is
16211 stored using paragraph id/paragraph position.
16213 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16214 Remove LFUN_REF_BACK.
16216 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16218 * converter.C (dvipdfm_options): New method.
16220 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16222 * vspace.C (isValidLength): Fix for empty input string.
16224 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16226 * LyXAction.C (init): change description of LFUN_FIGURE to
16229 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16231 * LaTeX.C: add using directive
16233 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16235 * MenuBackend.C (expand): Fix the sorting of the formats.
16237 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16239 * lyx_main.C: tiny error message fix
16241 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16243 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16244 calling fl_initialize(). This fixes the problem with ',' as
16245 decimal separator in text files.
16247 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16249 * trans.C (process): Fix the keymap bug.
16251 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16253 * LaTeX.C (scanAuxFiles): New method. Provides support for
16254 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16255 (scanLogFile) Scan for "run BibTeX" messages.
16257 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16258 OT1 font encoding. Also, load the aecompl package if the ae
16261 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16263 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16265 * texrow.C (increasePos): turn two error messages into debug
16268 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16270 * LaTeX.C (scanAux): Handle the \@input macro.
16271 (runBibTeX): Use scanAux().
16273 * language.C (latex_options_): New field.
16275 * LaTeXFeatures.C (getMacros): Add language macros.
16277 * buffer.C (makeLaTeXFile): Small fix.
16279 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16281 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16283 * text2.C: add a using directive.
16285 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16290 * lyxfunc.C: kill LyXBell.
16292 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16294 * text.C (IsBoundary): Remove the error message
16296 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16298 * lyxrc.C (setDefaults): Correct initialization value for
16301 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16303 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16306 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16307 and GotoNextNote().
16309 * src/LyXAction.C: Added reference-next.
16311 * text.C (InsertChar): Use contains instead of strchr.
16313 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16315 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16317 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16318 alignment commands (when needed).
16320 * text.C (InsertChar): Add ':' to number separator chars.