1 2004-10-30 José Matos <jamatos@lyx.org>
3 * paragraph.C (getFirstWord): the content should always be escaped there.
5 * output_docbook.C (makeEnvironment): replace reference to CDATA to style pass_thru.
7 2004-10-30 José Matos <jamatos@lyx.org>
9 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
11 2004-10-30 José Matos <jamatos@lyx.org>
13 * output_docbook.C (makeParagraphs):
14 * paragraph.[Ch] (emptyTag): for docbook and company, if the
15 standard paragraph has only a given type of content drop the wrapper.
17 2004-10-29 José Matos <jamatos@lyx.org>
19 * output_docbook.C (makeEnvironment):
21 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
23 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
25 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
26 (cleanID): sanitize any id.
28 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
30 * buffer.C, lyxlex_pimpl.C:
31 * lyxlex_pimpl.C (setFile):
32 s/getExtFromContents/getFormatFromContents/
34 2004-10-28 José Matos <jamatos@lyx.org>
36 * output_docbook.C (makeEnvironment): move id to broadest possible scope.
38 * sgml.C (openTag): apply substitution of <> for all attribuites.
40 2004-10-28 José Matos <jamatos@lyx.org>
42 * buffer.C (makeLinuxDocFile, makeDocBookFile):
43 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
44 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
46 * sgml.[Ch]: new version for open and closeTag for paragraph and
47 for strings. Now they handle the ids of paragraphs.
49 2004-10-26 Angus Leeming <leeming@lyx.org>
51 * Makefile.am: add mover.[Ch].
53 * converter.C (convert, move): use the new Movers to move external
54 files to the temp directory.
56 * lyx_main.C (init): ensure that the global system_movers data
59 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
62 * mover.[Ch]: new files, defining a Mover as a utility to move an
63 external file between directories and, if necessary, manipulate this
64 file using a helper script.
66 2004-10-25 José Matos <jamatos@lyx.org>
68 * output_docbook.C (makeCommand): merge two if's that tested the same condition.
70 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
72 * sgml.C (escapeString): fix warning in a better way
74 2004-10-25 José Matos <jamatos@lyx.org>
76 * sgml.C (escapeString): import the require boosts header file for
77 tie, and avoid a signed unsigned comparison.
79 2004-10-25 José Matos <jamatos@lyx.org>
81 * sgml.h: add #include <string>
83 2004-10-25 José Matos <jamatos@lyx.org>
85 * sgml.[Ch] (escapeString): new function to escape all the string.
87 2004-10-24 José Matos <jamatos@lyx.org>
89 * paragraph.[Ch] (getFirstWord): new function to get the first
90 word. Useful for description.
91 (simpleDocBookOnePar): remove depth argument, add another that
92 says where to start the paragraph.
94 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
95 use the new functions to fix cleanly the support for descriptions.
97 2004-10-24 José Matos <jamatos@lyx.org>
99 * buffer.C (makeLinuxDocFile, makeDocBookFile):
100 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
101 * output_linuxdoc.C (linuxdocParagraphs):
102 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
103 add buffer as argument.
105 2004-10-24 José Matos <jamatos@lyx.org>
107 * output_docbook.C (makeEnvironment, searchEnvironment): place
108 CDATA inside paragraphs and fix scope for listitems.
110 2004-10-24 José Matos <jamatos@lyx.org>
112 * output_docbook.C: remove using statement for stack.
114 2004-10-23 José Matos <jamatos@lyx.org>
116 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
117 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
118 docbook. The new scheme is recursive and makes use of iterators, the
119 same as latex export works.
120 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
121 directly with the paragraph contents. This code was moved up to
122 output_docbook.C (docbookParagraphs).
123 * sgml.C (openTag, closeTag): removed unneeded newlines.
124 (closeEnvTags) removed.
126 2003-10-23 André Pönitz <poenitz@gmx.net>
128 * undo.C (textUndoOrRedo):
129 * dociterator.C (asDocIterator): work around crash
131 * cursor.C (getStatus): replace ASSERT by more verbose error message
132 and manual correction of the problem. Should increase stability
133 while providing more sensible information.
135 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
137 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
139 * bufferlist.C (previous, next): new methods
142 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
144 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
146 * buffer.C (makeDocBookFile): add dsssl stylesheet control
147 entities to preamble.
149 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
151 * messages.C (Pimpl): strip off translation context information
153 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
155 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
156 the cursor is correct (bug 1694)
158 2004-10-13 José Matos <jamatos@lyx.org>
160 * output_docbook.C (docbookParagraphs): fix closing tags in the
163 2004-10-09 José Matos <jamatos@lyx.org>
165 * buffer.C: format up to 237.
166 * bufferparams.C (write): use tostr to convert booleans to strings.
168 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
170 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
172 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
174 * LaTeX.C: implement use of babel language in xindy.
176 2004-10-05 José Matos <jamatos@lyx.org>
178 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
179 Add new translators to help reading and writing the lyx file.
181 2004-10-05 José Matos <jamatos@lyx.org>
183 * ParagraphParameters.C (read):
184 * text.C (readParToken): replace nexToken by more appropriate lex
187 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
189 * LaTeX.C (runMakeIndex):
190 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
191 (usually 'makeindex') configurable.
193 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
194 with a variable rather than with a number.
196 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
198 * output_latex.C (TeXOnePar): make sure font setting is the first
199 thing that gets output (and the last at the end). Should fix bug
202 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
204 * pch.h: use proper signal include
206 * LaTeX.h: Use preferred calling of Boost.Signal
209 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
211 * pch.h: dont include <boost/function/function0.hpp>
213 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
215 * paragraph_pimpl.h: remove usage of ShareContainer
217 * paragraph_pimpl.C: remove initialization of ShareContainer.
219 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * BufferView.C (putSelectionAt): change the semantics when
224 backwards == true: now, this just swaps cursor and anchor wrt the
227 * BufferView.h (putSelectionAt): add some documentation
229 * lyxfind.C (findBackwards): rewrite using while(). In particular,
230 make sure backwardChar is done at least once (to avoid getting
232 (findNextChange): use putSelectionAt in the forward direction
233 (operator()): use Paragraph::isWord
235 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
237 * Spacing.C (set): c_str fix
239 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
241 * lyx_cb.C (Reconfigure): quote the name of configure script in
242 case it contains spaces
244 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
248 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
249 (BOOST_LIBS): use top_buildir when looking for the file
251 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
253 * pch.h: do not use include boost/format.hpp, multiple symbols
254 will result (gcc bug)
257 2004-08-23 José Matos <jamatos@lyx.org>
259 * bufferparams.C (readToken): fix reading of the author field.
261 2004-08-20 José Matos <jamatos@lyx.org>
263 * lyxrc.C: remove support/translator.h inclusion since it is not used.
265 2004-08-20 José Matos <jamatos@lyx.org>
267 * lyxlex.[Ch] (findToken): remove function.
269 * ParagraphParameters.C (findToken):
270 * bufferparams.C (findToken): replace call for previous function
271 with local copy. This local function has one more argument, the
272 read string argument.
274 2004-08-16 José Matos <jamatos@lyx.org>
276 * ParagraphParameters.C (write):
277 * Spacing.C (writeFile):
278 * bufferparams.C (writeLaTeX):
279 * lyx_cb.C (Reconfigure):
280 * paragraph.C (write):
281 * tabular.C (write): remove unnecessary space at end of line.
284 2004-08-16 José Matos <jamatos@lyx.org>
286 * text.C (readParagraph): remove debug message.
288 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
290 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
293 * output_plaintext.C (asciiParagraph): set depth correctly
295 * outputparams.h: add member depth
297 * paragraph_funcs.C (ownerPar): remove.
299 * text2.C (setCounter): remove first_pit; comment out some
300 non-working code that uses ownerPar
302 * BufferView.C (getParentLanguage): remove. Not used anymore, and
305 2004-08-16 José Matos <jamatos@lyx.org>
307 * text.C (readParToken, readParagraph, read): report all unknown tokens.
308 For the same level of importance use the same chanel to report problems.
309 (read): add code to deal with \begin_body and \end_body.
312 2004-08-15 José Matos <jamatos@lyx.org>
314 * lyxlex.C (getString): fix comment, buffer::readBody is now
317 * tex-strings.C (string_papersize): Default -> default,
318 Custom -> custom, for consistency with other options.
320 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
324 * Makefile.am: support pch
326 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * text.C (readParToken): remove the static LyXFont variable and
329 pass it as a parameter instead. This fixes a nasty bug where an
330 inset will be inserted with a bad font in some situations
331 (readParagraph): adapt
333 * text2.C (setCounter): reduce number of calls to pars_[pit]
335 * text.C (singleWidth): add an assert, fix a test
337 * rowpainter.C (paintText): reduce number of calls to singleWidth
339 * paragraph.C (isHfill):
342 2004-08-14 André Pönitz <poenitz@gmx.net>
347 * lyxtext.h (several functions): use a Paragraph & argument
350 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
352 * metricsinfo.h: add a new field ltr_pos to PainterInfo
354 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
356 * text.C (singleWidth): remove useless test
358 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
360 * tabular.h: remove bogus comments
362 * tabular.C (getDescentOfRow):
363 (isPartOfMultiColumn): add assertions
365 * lyxlength.C (inPixels): remove #warning
367 2004-08-14 André Pönitz <poenitz@gmx.net>
369 * paragraph.h: inline getChar()
371 * BufferView.h: remove unused declarations
373 2004-08-14 José Matos <jamatos@lyx.org>
375 * Buffer.[Ch] (readDocument): new name for old readBody.
376 * Buffer.C: new file format, new keywords: \begin_document,
377 \begin_header, \begin_body, \end_body.
379 * bufferparams.C (readToken): replace all calls to lex.nextToken
380 by lex.next(). Do the same to eatLine except where really needed.
382 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
383 line when writing to the lyx file.
385 * output_plaintext.C (asciiParagraph): fix Bibliography style
388 * text.C (read): fix end of file handling.
390 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
392 * MenuBackend.C (Menu::operator[]): new method to access
393 individual menu items
394 (Menu::hasFunc): new method. search for an item that corresponds
396 (MenuBackend::specialMenu): new method
397 (MenuBackend::expand): if a special menu has been set, skip
398 entries whose func() appears in this menu
400 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
402 * text3.C: use Debug::DEBUG a bit more
404 * text.C (leftMargin): try to simplify a tiny bit change var x to
405 l_margin. Dont output the wide margins always.
406 (rightMargin): no margin in inner texts
408 * rowpainter.h (nestMargin): new func
409 (changebarMargin): new func
410 (rightMargin): new func
412 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
416 * factory.C (createInset): modify setDrawFrame
418 * cursor.C: use Debug::DEBUG a bit more
420 2004-08-14 André Pönitz <poenitz@gmx.net>
423 * Makefile.am: new files to accomodate an 'external' (x,y)-position
424 cache for all insets in (at least partially) visible (top-level)
427 * BufferView_pimpl.C: reset external coord cache before every update.
428 This means the coord cache only contains valid entries.
430 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
433 * BufferView_pimpl.C (getInsetByCode): move function out of class
434 and change in to a template in anon namespace. Also fix to do what
437 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
440 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
442 (breakParagraph): rename par to par_offset and use a local
443 reference. Add code to keep the language over a rebreak.
444 (breakParagraphConservative): rename par to par_offset, use a
446 (mergeParagraph): ditto
448 (isFirstInSequence): ditto
449 (outerFont): rename pit to par_offset
451 * paragraph.C: ws change
456 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
458 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
461 * paragraph.C (simpleTeXOnePar): when we have a \item with
462 optional argument, enclose the argument with curly brackets (in
463 case it contains a closing square bracket)
467 * text3.C (checkInsetHit): constify
469 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
471 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
474 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
476 Fix toggling of collapsable insets with the mouse (bug 1558)
478 * lyxfunc.C (dispatch): adapt to LCursor changes
480 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
481 make sure that dispatch is not invoked twice
483 * cursor.C (needsUpdate): new method
484 (dispatch): return void
485 (result): new method, to access the DispatchResult of the cursor.
487 2004-08-13 José Matos <jamatos@lyx.org>
489 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
491 2004-08-13 André Pönitz <poenitz@gmx.net>
493 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
495 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
498 2004-08-12 André Pönitz <poenitz@gmx.net>
500 * text3.C: take out the 'cursor right' form insertInset and only
501 do it in those places when it is really needed. Fixes crash on
504 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
506 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
508 * BufferView_pimpl.C (setBuffer): initialize the current font of
509 the underlying LyXText
511 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
513 * kbsequence.C (print): use UI native formatting for menu
516 * text.C (insertChar): call Paragraph::insertChar with a font
519 * paragraph.C (insertInset, insertChar): the version that takes a
520 LyXFont argument is now a wrapper around the other one (the
521 opposite used to be true).
523 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
524 argument. Font setting is done in Paragraph now.
526 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
528 * outputparams.h: add new members intitle and lang.
530 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
531 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
533 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
535 * text3.C (dispatch): remove special handling of button 4 and 5,
536 it is now taken care of in the frontend code.
538 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
540 * Spacing.h: add <string> (STLPort compile fix)
542 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
544 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
546 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
548 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
551 * converter.C (showMessage): inherit from unary_function, make
554 * buffer.C (writeFile): initialize retval
556 * InsetList.h: rename private variable list to list_
557 * InsetList.[Ch]: adjust accordingly.
559 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
561 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
562 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
563 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
564 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
565 * ParagraphParameters.C, LaTeXFeatures.C: replace
566 "support/std_sstream.h" with <sstream>
568 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
570 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
571 * lyxsocket.C (LyXServerSocket): ditto
572 (serverCallback): ditto
574 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
576 * LaTeXFeatures.C: check release date when loading jurabib.
578 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
580 * lyxserver.C (startPipe): call register_socket_callback
581 (endPipe): call unregister_socket_callback
583 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
585 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
586 (LyXServerSocket): register the callback
587 (LyXServerSocket): unregister the callback
588 (fd): delete function
589 (serverCallback): improve error checking and setup the callbacks.
590 (dataCallback): change arg to fd.
591 (writeln): new func (copied fro the client socket) used for server
593 (LyXDataSocket): simplify
594 (~LyXDataSocket): close ann unregiser callback
595 (server): delete function
596 (fd): delete function
597 (readln): small changes, improve some std::string usage
598 (writeln): constify a bit
600 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
602 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
605 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
607 * BufferView_pimpl.C (setBuffer): set the layout combox value only
608 after it has been populated
610 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
612 * text2.C (insertInset): move cursor when inserting inset.
614 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
616 * kbmap.C (findbindings): a couple of new methods. returns a
617 container of kb_sequence objects. The real work is done by the
618 private recursive version
619 (printbindings): uses findbindings to print out a bracketed list
620 of bindings (renamed from findbinding).
622 * MenuBackend.C (binding): use kb_keymap::findbindings
624 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
626 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
628 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
630 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
632 * paragraph.C (isWord): return true on insets that report
635 * text.C (getWord): use Paragraph::isWord to decide what is in a
636 word and what is not; fix bug 1609.
638 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
640 * tex-strings.C: add "none" to string_paperpackages[], fixes
641 off-by-one-error in the paperpackage selection.
644 * tex-strings.[Ch]: char const * string[n]
645 -> char const * const string[]
647 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
649 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
650 command, return early.
652 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
654 * debug.h: add DEBUG to enum and fix size of ANY.
656 * debug.C: add support for Debug::DEBUG
657 (showTags): cast errorTags.level to unsigned int
659 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
660 (redoCurrentBuffer): ditto
661 (updateScrollbar): ditto
662 * cursor.C (dispatch): ditto
663 * text2.C (setLayout): ditto
665 (updateCounters): ditto
667 (deleteEmptyParagraphMechanism): ditto
669 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
671 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
672 annotations to cleanup the Makefile slightly.
674 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
676 * lyxrc.C: do not set user_email to a default value but use empty
677 instead. The entry used to be translated, which does not work
678 since at the point where lyxrc is constructed there is no
679 translation service available
681 * messages.C (getLocaleDir): remove and use directly
682 lyx_localedir() instead
684 2004-06-02 Angus Leeming <leeming@lyx.org>
686 Fix crash caused by dereferencing null pointer 'exportdata' in
687 OutputParams by creating a new ExportData variable on the heap,
688 storing it in a boost::shared_ptr.
689 The crash was triggered when generating an Instant Preview
690 of an external inset.
692 * Makefile.am: add outputparams.C
694 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
695 (c-tor): allocate memory to it.
697 * exporter.C (c-tor): associated changes.
699 2004-06-01 Angus Leeming <leeming@lyx.org>
701 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
702 contains data before calling isInset(0). (Bug 1513.)
704 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
706 * exporter.C (checkOverwrite): new method
707 * exporter.C (copyFile): new method
708 * exporter.C (Export): copy referenced files to the document dir
709 * exporter.[Ch]: new class ExportedFile
710 * exporter.[Ch]: new class ExportData. Contains currently the
711 names of referenced external files
712 * outputparams.h: add exportdata member.
714 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
716 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
719 2004-05-19 Angus Leeming <leeming@lyx.org>
724 * lyxfunc.C: small changes due to the introduction of namespace
725 lyx::frontend and the moving of namespace biblio to lyx::biblio.
727 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
729 * text3.C (dispatch): supress update when only moving the cursor
730 * cursor.C (selHandle): remove commented code
732 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
734 * paragraph.C (startTeXParParams): correct column count
735 * CutAndPaste.C (pasteSelection): remove const_cast
736 * output_docbook.C (docbookParagraphs): remove const_cast
737 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
738 const_cast and return ParagraphList::const_iterator
739 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
740 * output_plaintext.C (writeFileAscii): remove const_cast
741 * paragraph.[Ch] (simpleTeXOnePar): make const
742 * paragraph_funcs.C (outerPar): use const iterators
743 * paragraph_pimpl.C (validate): use const iterators
744 * text.C (setHeightOfRow): use const iterators
746 2004-05-17 Angus Leeming <leeming@lyx.org>
749 * LyXAction.C (init): new LFUN_INSET_REFRESH.
751 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
752 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
753 if the citation engine has changed.
755 2004-05-14 José Matos <jamatos@lyx.org>
757 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
758 if the textclass does not provide it. Have it different for sgml and
760 support the language of document.
761 * output_docbook.C (docbookParagraphs):
762 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
763 first anchor as the id of the paragraph, remove special case code.
764 * sgml.C (escapeChar): escape only < & >.
766 2004-05-14 Angus Leeming <leeming@lyx.org>
768 * bufferparams.h: move biblio::CiteEngine enum here to minimize
769 dependencies on src/frontends/controllers/biblio.h. Define a
770 CiteEngine_enum wrapper class to enable the enum to be forward
773 2004-05-12 Angus Leeming <leeming@lyx.org>
775 * buffer.C: up LYX_FORMAT to 234.
776 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
777 use_numerical_citations with a single biblio::CiteEngine cite_engine
779 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
781 2004-05-13 José Matos <jamatos@lyx.org>
784 * converter.C (Converter, readFlags): add xml member.
785 * outputparams.h: add XML flavor.
786 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
788 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
790 * lyxfunc.C (dispatch):
791 (getStatus): fix handling of LFUN_SEQUENCE
793 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
795 * debug.C (showLevel): do not forget the end-of-line marker
797 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
799 * kbmap.C (read): do not stop parsing a bind file when an error
802 2004-04-29 Angus Leeming <leeming@lyx.org>
807 * text2.C: wrap a bunch of #warning statements
808 inside #ifdef WITH_WARNINGS blocks.
810 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
812 * buffer.C: increment format to 233.
814 2004-04-28 Angus Leeming <leeming@lyx.org>
816 * BufferView_pimpl.C:
819 s/updateToolbar()/updateToolbars()/
820 s/Toolbar.h/Toolbars.h/
822 2004-04-28 Angus Leeming <leeming@lyx.org>
824 * BufferView.[Ch] (c-tor):
825 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
826 No longer passes these data to the WorkArea generator.
828 2004-04-28 Angus Leeming <leeming@lyx.org>
830 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
832 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
834 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
836 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
838 * output_latex.C (TeXEnvironment): make sure that there is a line
839 break before \end{foo} for the last paragraph of a document
840 (TeXOnePar): if the paragraph is at the end of the document (or
841 inset) and the language has to be reset, then make sure that the
842 line break is _before_ the language command, not after (fixes bug
843 1225); also make sure that the language reset command is the first
844 thing after the paragraph (to ensure proper nesting of
845 environments and thus fix bug 1404)
847 2004-04-21 John Levon <levon@movementarian.org>
850 * ToolbarBackend.C: make "name" be a programmatic name
851 and a gui_name field.
853 * lyxfunc.C: display the minibuffer on M-x
855 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
857 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
860 2004-04-19 Angus Leeming <leeming@lyx.org>
862 * BufferView_pimpl.C (setBuffer): changed preview interface.
864 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
867 2004-04-19 John Levon <levon@movementarian.org>
869 * BufferView_pimpl.C:
870 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
872 2004-04-05 Angus Leeming <leeming@lyx.org>
874 * text.C (redoParagraphs): add call to updateCounters(), thereby
875 fixing the missing "Figure #:" label from the caption of a
878 2004-04-13 Angus Leeming <leeming@lyx.org>
880 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
881 cursor is clicked out of an inset.
883 2004-04-13 Angus Leeming <leeming@lyx.org>
885 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
886 than an InsetOld one.
888 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
890 * format.[Ch]: add editor to Format
891 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
892 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
894 2004-04-08 André Pönitz <poenitz@gmx.net>
896 * metricsinfo.h: remove PainterInfo::width member
898 2004-04-08 Angus Leeming <leeming@lyx.org>
900 * lyx_sty.C (boldsymbol_def): modify so that it outputs
901 "\providecommand" rather than "\newcommand", thereby preventing
902 clashes with packages that define "\boldsymbol" themselves.
905 2004-04-08 Angus Leeming <leeming@lyx.org>
907 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
908 thereby squashing an unnecessary warning.
910 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
912 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
915 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
917 * BufferView.C (setCursor): call redoParagraph (some insets could
919 (putSelectionAt): remove the 'double update' trick
921 * BufferView_pimpl.C (fitCursor): call refreshPar
922 (workAreaDispatch): remove an uneeded update call
923 (dispatch): remove some manual update calls
925 * cursor.[Ch]: remove cached_y_, updatePos
926 (selHandle): set noUpdate when appropriate
928 * lyxfunc.C (dispatch): track if we need an update
930 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
932 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
933 (paintSelection): cheap optimization, do not call cursorX when not
935 (paintPars): change signature
938 (paintTextInset): adjust
942 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
944 * lengthcommon.C: compilation fix: remove explicit array size from
945 unit_name[] and friends
947 2004-04-05 Angus Leeming <leeming@lyx.org>
949 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
951 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
952 present only for the preferences dialog.
953 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
955 2004-04-05 Angus Leeming <leeming@lyx.org>
957 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
958 to enable the frontends to export changes to lyxrc correctly.
960 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
962 2004-04-07 André Pönitz <poenitz@gmx.net>
964 * cursor.[Ch] (selClear, adjust): remove math
966 * cursor_slice.C: more agressive assert
969 * BufferView_pimpl.C: rework mouse event dispatch
976 2004-04-05 André Pönitz <poenitz@gmx.net>
978 * cursor.[Ch] (valign, halign...): remove unneeded functions
980 2004-04-05 Angus Leeming <leeming@lyx.org>
982 * lyxlength.[Ch] (unit_name et al.): const-correct.
984 2004-04-05 Angus Leeming <leeming@lyx.org>
986 * BufferView_pimpl.C:
995 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
997 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
999 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1001 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1003 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1004 * BufferView_pimpl.[Ch] (getStatus)
1005 * BufferView.[Ch] (getStatus): add
1006 * lyxfunc.C (getStatus): move lfuns handled in
1007 BufferView::dispatch to te function above
1008 * Cursor.C (setSelection): set selection() = true
1010 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1012 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1014 2004-03-31 Angus Leeming <leeming@lyx.org>
1016 * lyxfunc.C (dispatch): Fall through to the generic
1017 Dialogs::show("preamble").
1019 2004-03-31 Angus Leeming <leeming@lyx.org>
1021 * lyxfunc.C (dispatch): Fall through to the generic
1022 Dialogs::show("spellchecker").
1024 2004-03-31 Angus Leeming <leeming@lyx.org>
1026 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1029 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1034 * insetiterator.[Ch]:
1039 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1041 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1043 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1044 insets where we are putting the cursor.
1046 2004-03-31 Angus Leeming <leeming@lyx.org>
1049 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1051 * lyxrc.[Ch] (read, write): overloaded member functions taking
1052 a std::[io]stream arguments.
1054 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1056 2004-03-31 Angus Leeming <leeming@lyx.org>
1058 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1059 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1061 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1062 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1064 2004-03-31 Angus Leeming <leeming@lyx.org>
1066 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1067 the LFUN_ALL_INSETS_TOGGLE code.
1069 2004-03-30 Angus Leeming <leeming@lyx.org>
1071 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1072 has died. Fall through to the generic Dialogs::show("document").
1074 2004-03-30 Angus Leeming <leeming@lyx.org>
1077 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1078 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1080 * lyxfunc.C (getStatus, dispatch): define the actions for these
1081 lfuns. Little more than a cut and pste job from ControlDocument.C
1083 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1085 2004-03-30 Angus Leeming <leeming@lyx.org>
1088 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1089 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1091 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1092 open/closed state of ollapsable insets. Usage:
1094 all-inset-toggle <state> <name>, where
1095 <state> == "open" || "closed" || "toggle" and
1096 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1098 * lyxtext.h, text2.C (toggleInset): removed.
1100 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1101 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1102 now passes LFUN_INSET_TOGGLE to the found inset.
1104 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1105 is now invoked as "all-insets-toggle toggle branch".
1107 2004-03-30 Angus Leeming <leeming@lyx.org>
1111 * pariterator.[Ch]: added/corrected header blurb.
1113 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1115 * dociterator.[Ch]: add an inset_ member
1116 (backwardPos): implemented
1117 (backwardPos, forwardPos): use inset_ when the stack is empty.
1118 (doc_iterator_begin, doc_iterator_end): implemented
1119 * pariterator.[Ch]: adjust, add begin, end
1120 * insetiterator.[Ch]: adjust, add begin, end
1124 * BufferView_pimpl.C:
1125 * CutAndPaste.C: adjust
1127 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1129 * buffer.C: increment file format to 232.
1130 * LaTeXFeatures.C: add bibtopic package.
1131 * bufferparams.[Ch]: param \use_bibtopic.
1133 * lyxrc.[Ch]: add lyxrc bibtex_command
1134 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1136 * buffer.C: increment file format to 231.
1138 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1140 * dociterator.C: implement forwardPar
1141 * iterators.[Ch]: remove, replaced by
1142 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1144 * BufferView_pimpl.C:
1147 * bufferview_funcs.C:
1153 * Makefile.am: adjust
1155 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1157 * CutAndPaste.C (pasteSelection): fix 2 crashes
1158 (eraseSelection): fix a crash
1159 * paragraph_funcs.C: remove a warning
1161 2004-03-28 Angus Leeming <leeming@lyx.org>
1164 * LyXAction.C (init): new LFUN_PRINT.
1166 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1168 2004-03-27 Angus Leeming <leeming@lyx.org>
1171 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1173 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1175 2004-03-27 Angus Leeming <leeming@lyx.org>
1177 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1178 insetlist always contains non-null pointers to insets.
1180 2004-03-26 Angus Leeming <leeming@lyx.org>
1182 * src/BufferView_pimpl.C:
1183 * src/CutAndPaste.C:
1186 * src/output_plaintext.C:
1187 * src/outputparams.h:
1188 * src/paragraph_funcs.C:
1192 * src/frontends/controllers/ControlErrorList.C:
1193 * src/frontends/gtk/FileDialogPrivate.C:
1194 * src/frontends/gtk/GPainter.C:
1195 * src/frontends/gtk/GToolbar.C:
1196 * src/frontends/qt2/QRef.C:
1197 * src/mathed/math_scriptinset.C: squash compiler warnings.
1199 2004-03-26 Angus Leeming <leeming@lyx.org>
1201 * ispell.C (LaunchIspell::start):
1202 * lyx_cb.C (AutoSaveBuffer::start):
1203 invoke run(DontWait) rather than runNonBlocking().
1205 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1207 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1209 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1211 * kbsequence.C (print): adjust
1213 * kbmap.C (printKeySym): rename and change signature
1214 (printKey): use LyXKeySym::print()
1216 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1218 * undo.C: add using std::advance to compile for stlport
1220 2004-03-24 Angus Leeming <leeming@lyx.org>
1222 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1223 it leads to a crash when no buffer is present.
1225 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1226 Martin Vermeer <martin.vermeer@hut.fi>
1228 * lyxfunc.C (dispatch):
1229 * bufferparams.C (readToken): use the new LColor::setColor
1231 * LColor.[Ch] (setColor): new version that takes two strings as
1232 argument and creates a new color entry if necessary
1234 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1236 * buffer.C (makeLaTeXFile): if the main latex file that is
1237 processed is usually a subdocument of some master, then pretend
1238 for a while that it is actually the master
1240 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1242 * buffer.C (getLabelList):
1243 (getBibkeyList): use getMasterBuffer()
1244 (getMasterBuffer): new method. Returns the main document in the
1245 case where one is using included documents.
1247 2004-03-25 André Pönitz <poenitz@gmx.net>
1251 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1253 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1255 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1256 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1258 * ParameterStruct.h: merge with ParagraphParameters
1260 * lyxtext.h: remove LyXText::parOffset() and getPar()
1262 * text3.C: Remove all 'manual' update calls. We do now one per user
1263 interaction which is completely sufficient.
1267 * BufferView_pimpl.C:
1268 * FontIterator.[Ch]:
1270 * ParagraphParameters.[Ch]:
1275 * cursor_slice.[Ch]:
1282 * output_docbook.[Ch]:
1283 * output_latex.[Ch]:
1284 * output_linuxdoc.[Ch]:
1285 * output_plaintext.[Ch]:
1287 * paragraph_funcs.[Ch]:
1288 * paragraph_pimpl.[Ch]:
1296 * frontends/controllers/ControlDocument.C:
1297 * frontends/controllers/ControlErrorList.C:
1298 * frontends/controllers/ControlSpellchecker.C:
1301 * insets/insetbase.h:
1302 * insets/insetbibitem.C:
1303 * insets/insetbox.C:
1304 * insets/insetbranch.C:
1305 * insets/insetcaption.C:
1306 * insets/insetcharstyle.C:
1307 * insets/insetcharstyle.h:
1308 * insets/insetcollapsable.C:
1309 * insets/insetcollapsable.h:
1310 * insets/insetert.C:
1311 * insets/insetfloat.C:
1312 * insets/insetfoot.C:
1313 * insets/insetmarginal.C:
1314 * insets/insetnote.C:
1315 * insets/insetoptarg.C:
1316 * insets/insettabular.C:
1317 * insets/insettext.C:
1318 * insets/insettext.h:
1319 * insets/insetwrap.C:
1320 * mathed/math_mboxinset.C:
1321 * mathed/math_nestinset.C:
1322 * mathed/math_scriptinset.C:
1323 * mathed/math_scriptinset.h:
1326 2004-03-24 Angus Leeming <leeming@lyx.org>
1328 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1329 deal with any child processes that have finished but are waiting to
1330 communicate this fact to the rest of LyX.
1332 2004-03-24 Angus Leeming <leeming@lyx.org>
1334 64-bit compile fixes.
1336 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1337 (c-tor): pass lyx::pos_types rather than ints.
1339 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1342 * text.C (Delete): compile fix.
1343 (getPar): ensure that function declaration is the same as that in
1346 2004-03-23 Angus Leeming <leeming@lyx.org>
1348 * ispell.C (LaunchIspell):
1349 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1350 a boost::shred_ptr rather than a std::auto_ptr.
1352 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1354 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1355 handle LFUN_FILE_INSERT_*
1357 * lyxrc.C (setDefaults, getDescription, output, read):
1358 * lyxrc.h: remove ps_command
1360 2004-03-22 Angus Leeming <leeming@lyx.org>
1362 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1363 Ensure that error_handler is processed once only and that all data
1364 is saved before attempting to output any warning messages.
1366 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1368 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1370 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1372 2004-03-19 André Pönitz <poenitz@gmx.net>
1374 * cursor.[Ch] (reset): take main text inset as argument
1376 * BufferView: adjust
1377 * BufferView_pimpl.C: adjust
1379 * paragraph.[Ch]: fix completely broken operator=()
1381 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1383 * LColor.C (getFromLyXName): make sure that the color name is used
1386 2004-03-17 Angus Leeming <leeming@lyx.org>
1389 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1391 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1392 dialog and to kill a forked process.
1394 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1396 * text2.C (setCursorFromCoordinates): fix font problem
1398 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1400 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1401 bogus "rebuild cursor" code
1403 2004-03-11 André Pönitz <poenitz@gmx.net>
1405 * buffer.[Ch]: use InsetText instead of LyXText as container for
1408 * dociterator.[Ch]: drop the BufferView * member which is not needed
1409 anymore after the change to buffer.C
1411 * paragraph_funcs.C:
1415 * BufferView_pimpl.[Ch]:
1417 * cursor_slice.[Ch]: adjust
1419 * text3.C: fix bug in mathDispatch
1421 2004-03-08 André Pönitz <poenitz@gmx.net>
1423 * undo.[Ch]: use 'StableDocumentIterator' as base for
1426 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1429 * bufferparams.[Ch]: add jurabib support and param.
1431 * LaTeX.C: add FIXME/comment.
1433 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1435 * buffer.C: increment file format to 230.
1437 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1439 * cursor.C (dispatch): avoid infinite loops
1441 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1443 * rowpainter.C (paintSelection): fix x coordinates
1445 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1447 * text.C (rowBreakPoint): fix breaking before displayed insets
1449 2004-03-01 André Pönitz <poenitz@gmx.net>
1451 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1453 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1457 * BufferView_pimpl.C:
1465 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1471 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1472 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1474 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1476 * Bidi.[Ch] (computeTables): const correctness
1477 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1478 fill_hfill, fill_label_hfill and x from Row
1479 * lyxtext.h: prepareToPrint returns a RowMetrics
1480 * rowPainter.C: adjust
1481 * text.C (prepareToPrint): use width, not textWidth. adjust
1482 (redoParagraphInternal, cursorX): adjust
1483 * text2.C (getColumnNearX): adjust
1484 (init): put a default value to the top LyXText::width
1486 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1488 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1490 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1492 * lyxtext.h: add FontIterator class
1494 * text.C (FontIterator, operator*, operator->, operator++): add
1495 (rowBreakPoint, setRowWidth): adjust (fixing a
1498 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1500 * BufferView_pimpl.C (workAreaDispatch): allow also
1501 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1503 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1505 * text.C (rowBreakPoint): fix a bug showing with very large insets
1507 2004-02-25 André Pönitz <poenitz@gmx.net>
1510 * cursor.[Ch]: move some mathed specific code to mathed
1512 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1514 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1515 use_tempdir in preferences
1516 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1518 * lyx_main.C: ensure that tempdir is valid
1519 * lyxlex.h: correct typo
1520 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1521 * paragraph.[Ch] (isMultiLingual): make const
1522 * cursor.[Ch] (openable): make const
1524 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1526 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1528 2004-02-20 André Pönitz <poenitz@gmx.net>
1530 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1532 * cursor.[Ch]: prepare for localized getStatus()
1538 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1540 2004-02-20 André Pönitz <poenitz@gmx.net>
1542 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1544 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1546 * text2.C (setCursorFromCoordinates): switch to absolute coords
1548 (cursorDown): adjust
1549 * text3.C (dispatch): adjust
1551 2004-02-16 André Pönitz <poenitz@gmx.net>
1553 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1556 * cursor_slice.[Ch]: remove unneeded acessor function
1558 * lyxtext.h: rename rtl() to isRTL()
1566 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1568 * rowpainter.C (paintSelection): coord fix
1570 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1572 * Spacing.C: compile fix
1574 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1576 * cursor.C (dispatch): restore current_ before returning
1578 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1580 * text2.C (cursorUp, cursorDown): fix coords
1583 2004-02-12 André Pönitz <poenitz@gmx.net>
1588 * text3.C: add LCursor & parameter to most cursor movement functions
1589 remove usage of LyXText::cursorRow() and cursorPar()
1591 * cursor.[Ch]: add textRow() needed members
1594 * BufferView_pimpl.C:
1597 * BufferView_pimpl.C: adjust
1599 2004-02-11 André Pönitz <poenitz@gmx.net>
1603 * BufferView_pimpl.C: shift undo/redo handling
1605 * cursor.[Ch]: fix mathed crash
1608 * lyxtext.h: move selectionAsText to LCursor
1616 * rowpainter.C: fix excessive drawing
1618 2004-02-06 André Pönitz <poenitz@gmx.net>
1621 * BufferView_pimpl.[Ch]:
1622 * text3.C: move some text specific LFUN handling
1624 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1626 * text3.C (checkInsetHit): adjust coords
1627 * text2.C (getColumnNearX): adjust coords
1628 (edit): adjust coords
1629 * text.C (getRowNearY): add two asserts
1631 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1634 * format.C: add using std::distance to compile on gcc 2.95/stlport
1636 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1638 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1640 2004-02-04 André Pönitz <poenitz@gmx.net>
1642 * BufferView.[Ch] (insertInset):
1643 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1648 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1650 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1651 on the default clause of the switch
1652 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1653 wasn't catched by LCursor::dispatch
1655 2004-02-03 André Pönitz <poenitz@gmx.net>
1658 * cursor.[Ch]: some additional asserts
1660 * undo.[Ch]: remove LyXText dependency in interface
1664 * lyxtext.h (firstPar, lastPar): remove dead functions
1669 * paragraph.[Ch]: adjust
1671 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1673 * lyxfind.C (find): fix argument order in call to ::find
1675 2004-02-02 André Pönitz <poenitz@gmx.net>
1677 * cursor.[Ch]: remove direct access to anchor
1679 * text.C: remove findText() hack
1681 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1683 * iterators.[Ch] (lockPath): remove in favour of...
1684 * BufferView.[Ch] (setCursor): this addition
1685 * BufferView.C (putSelectionAt): adjust
1686 * undo.C (performUndoOrRedo): adjust
1687 * lyxfunc.C (dispatch): adjust
1689 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1691 * iterators.C (lockPath): add a missing slice
1692 * undo.C (performUndoOrRedo): remove redundant positioning code
1694 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1696 * vc-backend.C (scanMaster): ";" -> ';'
1698 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1700 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1701 std::binary_function
1703 * lyxtextclass.C (compare_name): rename to...
1704 (LayoutNamesEqual): ...this
1706 * lyxlex_pimpl.C (compare_tags): inherit from
1707 std::binary_function, put back into anon namespace
1709 * lyxfind.C (MatchString): inherig from std::binary_function
1710 (findChange): use empty() istead of !size()
1712 * format.C (FormatNamesEqual): new functor
1719 * converter.C (compare_Converter): rename to...
1720 (ConverterEqual): ...this, and fixup a bit.
1721 (getConverter): use it, and make function const
1722 (getNumber): use it, and make function const
1726 * bufferlist.C: add using boost::bind
1728 * MenuBackend.C (MenuNamesEqual): new functor
1729 (hasMenu): use it, and make function const
1730 (hasSubmenu): use nested bind to get rid of compare_memfun.
1732 2004-01-30 André Pönitz <poenitz@gmx.net>
1734 * BufferView_pimpl.C:
1737 * cursor_slice.[Ch]:
1740 * paragraph_funcs.C:
1741 * paragraph_funcs.h:
1745 * text3.C: move some of the edit(x,y) handling to the insets
1746 some coordinate changes.
1748 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1750 * text.C: add using statements for std::advance and std::distance
1752 * paragraph.C: add using statement for std::distance
1754 * lyxfind.C: add using statement for std::advance
1756 * cursor.C (region): remove std:: from swap
1757 (openable): use nucleus in stead of operator->
1759 * BufferView.C: add using statements for std::distance and std::swap
1761 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1763 * iterators.C: Remove the pimple, move the needed structures to
1764 the header file. Create accessor for the positions stack.
1765 (asPosIterator): remove function
1767 * PosIterator.C (PosIterator): move constructors to top of file
1768 (PosIterator): reimplement the constructor taking a ParIterator in
1770 (setFrom): new function
1771 (operator!=): inline it
1773 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1775 * lyxfind.C (replaceAll): use std::advance
1777 * iterators.h: inherit from std::iterator.
1779 * PosIterator.C (advance, distance): remove
1780 * PosIterator.h: interit from std::iterator.
1782 2004-01-26 André Pönitz <poenitz@gmx.net>
1785 * BufferView_pimpl.[Ch]:
1789 * bufferview_funcs.C:
1799 * output_linuxdoc.C:
1800 * output_plaintext.C:
1802 * paragraph_funcs.[Ch]:
1803 * paragraph_pimpl.[Ch]:
1809 * text3.C: more IU: dumps most of the rest of the mathcursor
1810 implementation into cursor.[Ch]; "globalize" a bit of it.
1812 2004-01-25 Angus Leeming <leeming@lyx.org>
1814 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1816 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1818 * LaTeXFeatures.h: add nice_ and nice() const
1819 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1821 2004-01-20 André Pönitz <poenitz@gmx.net>
1824 * BufferView_pimpl.C:
1826 * bufferview_funcs.C:
1828 * cursor_slice.[Ch]:
1839 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1840 LCursor and mathcursor parts to LCursor and InsetBase.
1842 2004-01-15 André Pönitz <poenitz@gmx.net>
1844 * cursor_slice.[Ch]: add a few covienience functions
1846 * funcrequest.[Ch]: remove BufferView * member
1848 * BufferView_pimpl.C:
1855 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1857 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1859 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1860 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1862 2004-01-13 André Pönitz <poenitz@gmx.net>
1865 * lyxtext.h: hide cursor and selection anchor behind accessor function
1868 * BufferView_pimpl.[Ch]:
1870 * bufferview_funcs.C:
1880 * cursor_slice.[Ch]: some integer type changes for inset unification
1882 * lyxcursor.[hC]: remove, it's CursorSlice now.
1885 * BufferView_pimpl.[Ch]:
1886 * bufferview_funcs.C:
1892 * textcursor.[Ch]: adjust
1894 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1896 * text2.C (undoSpan): add and use
1897 * text.C (breakParagraph): use undoSpan (fix bug 578)
1900 2004-01-08 Angus Leeming <leeming@lyx.org>
1902 * BufferView_pimpl.C (MenuInsertLyXFile):
1903 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1904 * lyxfunc.C (menuNew, open, doImport):
1905 FileFilterList change to the FileDialog open and save functions.
1907 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1909 * ShareContainer.h: make isEqual and isUnique adaptable
1911 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1913 2004-01-07 Angus Leeming <leeming@lyx.org>
1916 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1918 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1920 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1921 functions replacing find, replace and replaceAll.
1923 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1924 LFUN_WORDFIND(FORWARD|BACKWARD).
1926 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1928 * text.C (breakParagraph): remove an outdated #warning
1930 2004-01-07 André Pönitz <poenitz@gmx.net>
1932 * lyxfind.C: somewhat clearer logic
1934 * text.C: prevent crash in cursorX on unitialized row cache
1936 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1938 * lyxcursor.[Ch] (operator>): add
1939 * textcursor.C (selStart, selEnd): use std::min and std::max
1941 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1943 * Chktex.C: include boost/format.hpp
1945 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1947 * InsetList.C: replace functor MathcIt with adaptable functor
1949 (insetIterator): modify accordingly
1951 * BranchList.h: move the BranchNamesEqual functor here from...
1952 * BranchList.C: ... to here
1954 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1956 (add): replace a finding loop with std::find_if.
1958 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1960 * output_docbook.C: moving LatexParam functionality into
1963 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1965 * buffer.C: increment format to 229.
1967 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1970 * lyx_sty.[Ch]: remove minipageindent_def
1976 * text3.C: remove LFUN_INSET_MINIPAGE
1978 2003-12-28 Angus Leeming <leeming@lyx.org>
1980 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1982 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1984 * text2.C (setParagraph): fix off-by-one crash
1986 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1988 * output_docbook.C: header stuff for AGU
1990 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1992 * text2.C (redoCursor): remove
1995 * BufferView_pimpl.C: remove calls to redoCursor and
1996 setCursor(cursor.par(), cursor.pos()) all around
1998 2003-12-15 Angus Leeming <leeming@lyx.org>
2000 * buffer.C: up the format to 228.
2002 2003-12-15 André Pönitz <poenitz@gmx.net>
2004 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2009 * BufferView_pimpl.C:
2018 2003-12-15 Angus Leeming <leeming@lyx.org>
2020 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2021 than getFromGUIName to manipulate the color.
2023 2003-12-14 Angus Leeming <leeming@lyx.org>
2025 * BranchList.[Ch]: minimize the API.
2026 (Branch::getBranch, getColor): now return a 'const &'.
2027 (Branch::setSelected) now returns a bool set to true if the
2028 selection status changes.
2029 (BranchList::clear, size, getColor, setColor, setSelected,
2030 allBranches, allSelected, separator): removed.
2031 (BranchList::find): new functions, returning the Branch with
2033 (BranchList::add, remove): return a bool indicating that
2034 the operation was successful.
2036 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2037 new InsetBranch::isBranchSlected member function.
2039 * LColor.[Ch]: mimimize the API.
2040 (fill): renamed as addColor and made private.
2041 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2042 versions of these functions taking a string arg have been removed.
2044 * bufferparams.C (readToken):
2045 * lyxfunc.C (dispatch):
2046 * lyxrc.C (read): changes due to the altered BranchList and
2049 * factory.C (createInset, readInset): changes due to altered
2052 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2055 * lyxfunc.C: remove insetminipage. "minipage-insert"
2056 now produces a frameless minipage box inset.
2058 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2060 * textcursor.[Ch] (selStart,selEnd): add new methods
2061 remove selection::start, end, use LyXCursor::operator<
2062 * lyxcursor.[Ch] (operator<): add
2063 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2064 * BufferView.[Ch] (unsetXSel): add
2065 * text2.C (clearSelection): use unsetXSel,adjust
2068 * rowpainter.C: adjust
2069 * bufferview_funcs.C (put_selection_at): adjust
2071 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2073 * BufferView_pimpl.C: small coord. correction
2075 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2077 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2078 dragging over the splash screen.
2080 2003-12-11 Angus Leeming <leeming@lyx.org>
2082 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2083 as it is now handled in LyXText::dispatch.
2085 * text3.C (doInsertInset): remove a level of nesting.
2087 2003-12-11 Angus Leeming <leeming@lyx.org>
2089 * factory.C (createInset): changes due to the changed interface to
2090 InsetCommandMailer::string2params.
2092 2003-12-10 Angus Leeming <leeming@lyx.org>
2094 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2095 'dialog-show-new-inset <inset name>'
2097 2003-12-10 Angus Leeming <leeming@lyx.org>
2099 * buffer.C: up the format to 227.
2101 * factory.C: the box inset is now identified simply by 'Box'.
2103 2003-12-10 Angus Leeming <leeming@lyx.org>
2105 * buffer.C: up the format to 226.
2107 * factory.C: the note inset is now identified simply by 'Note'.
2109 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2111 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2112 when a pit is enough. Standarize a couple of loops.
2114 2003-12-05 Angus Leeming <leeming@lyx.org>
2116 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2117 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2118 data to the re-worked "log" dialog.
2120 2003-12-03 André Pönitz <poenitz@gmx.net>
2126 * paragraph_funcs.C:
2128 * text2.C: use Inset::getText instead of Inset::getParagraph
2130 2003-12-03 André Pönitz <poenitz@gmx.net>
2134 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2135 InsetText::read() as LyXText::read()
2137 2003-12-02 Angus Leeming <leeming@lyx.org>
2139 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2140 type. Add a comment in the implementation that the function uses
2141 the stream's bad() function rather than fail() as the std::streams
2144 2003-12-02 André Pönitz <poenitz@gmx.net>
2146 * lyxlex.[Ch]: make interface more similar to std::stream
2148 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2150 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2152 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2154 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2156 * vspace.[Ch]: remove VSpace::NONE
2158 2003-12-01 André Pönitz <poenitz@gmx.net>
2161 * lyxtext.h: move ParagraphList member to LyXText
2162 rename LyXText::ownerParagraphs to LyXText::paragraph
2165 * bufferview_funcs.C:
2175 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2177 * undo.C: fix cursor positioning
2179 2003-12-01 John Levon <levon@movementarian.org>
2181 * BufferView_pimpl.C: fix a crash on exit with
2184 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2186 * BranchList.C: fix setSelected() method.
2188 2003-11-28 André Pönitz <poenitz@gmx.net>
2190 * ParagraphParameters.[Ch]:
2191 * ParameterStruct.h: remove space above/below from Paragraph to
2194 * BufferView_pimpl.C:
2200 * paragraph_funcs.C:
2206 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2208 * factory.C: Syntax change for CharStyles
2210 2003-11-28 André Pönitz <poenitz@gmx.net>
2215 * buffer.[Ch]: move LyXText member
2217 2003-11-28 André Pönitz <poenitz@gmx.net>
2219 * BufferView.[Ch]: make LyXText * text a private member
2221 * BufferView_pimpl.C:
2232 * output_plaintext.C: cleanup
2234 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2237 * lyxtextclass.[Ch]: parametrize SGML document header
2239 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2242 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2245 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2247 * text2.C (setFont): rework using PosIterator (no more recursive)
2248 (setCharFont): no more needed
2249 (setLayout): no more selection cursors fiddling (done by redoCursor)
2250 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2251 destroy remaining ones)
2253 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2255 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2257 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2260 * text3.C: adjust + re-allow multi par depth changes
2261 * textcursor.C: simplify a bit
2263 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2269 * src/output_docbook.C:
2270 * src/output_latex.C:
2275 * src/text2.C: Introducing a number of tags parametrizing various
2276 XML formats that we may want to support
2278 2003-11-25 André Pönitz <poenitz@gmx.net>
2280 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2282 * lyxtext.h (leftMargin/rightMargin): simplify interface
2289 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2291 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2292 master file to any child files. Fixes bug 546.
2294 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2296 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2298 2003-11-24 André Pönitz <poenitz@gmx.net>
2300 * rowpainter.C: simplification
2302 * text2.C (updateCounters): remove call to redoParagraph on
2303 changed labels as this is far too expensive.
2305 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2307 * converter.C (convert): fix a crash: this function gets
2308 called with buffer == 0 from importer code.
2310 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2312 * text3.C (cursorPrevious): make sure that we do not compare
2313 iterators form different containers.
2316 * rowpainter.C (paintSelection): make sure that we do not compare
2317 iterators from different containers.
2319 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2320 iterators from different ParagraphList containers.
2323 * text2.C (LyXText): change order of initialization slightly
2324 (operator=): new function. copy all variables except cache_par_
2325 (moveUp): make sure that we do not compare iterators from
2326 different ParagraphList constainers.
2329 * text.C (firstPar): new function
2330 (lastPar): new function
2331 (endPar): new function
2333 * lyxtext.h: move things around and group public functions, public
2334 variables, private functions, private variables
2336 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2338 * factory.C: change call to InsetERT constructor to avoid
2339 additional invocation of method status
2340 * text2.C (toggleInset): remove redundant update() call
2341 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2342 instead of a Bufferview pointer
2344 2003-11-21 André Pönitz <poenitz@gmx.net>
2346 * rowpainter.C: simplification
2348 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2350 * text3.C (dispatch): make possible to extend a word/row selection
2353 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2355 * lyxtext.h: x0_,y0_ -> xo_,yo_
2356 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2357 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2358 * rowpainter.C (paintRows): paint full paragraphs
2360 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2362 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2365 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2367 * lyxtext.h: add x0_, y0_
2368 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2369 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2371 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2373 * text2.C (setCursorIntern): move the x_target update here *
2374 * text3.C: change some bv() to true/false in calls to
2375 cursorUp/Down/Right/Left
2376 * cursor.C: use helper function.
2378 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2380 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2381 * paragraph_funcs.[Ch]: correct comment
2382 * rowpainter.C: do not paint selections away from bv->cursor()
2383 Fix a long standing selection painting bug.
2384 * text3.C: generalize mouse-selection code to LyXTexts other that
2386 * textcursor.C: do not use y coords if we can use par offsets
2388 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2390 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2391 cursor position after e.g. inset insert)
2393 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2395 * lyxfind.C (replace): adjust to locking removal + some
2398 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2400 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2403 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2406 * output_docbook.C: XML sanitation: new layout
2407 parameters InnerTag and CommandDepth
2409 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2411 * BufferView_pimpl.C:
2413 * text3.C: Fix the insertion and modification of button-style
2416 2003-11-13 André Pönitz <poenitz@gmx.net>
2418 * InsetList.[Ch]: remove deleteLyXText
2420 * paragraph.[Ch]: cache beginOfBody position
2425 * text3.C: remove superfluous update() calls
2429 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2431 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2432 * BufferView.C (fitLockedInsetCursor): remove
2433 * cursor.[Ch] (getDim): add
2434 * text.C (getRowNearY): add faster version
2435 * text3.C: remove some update calls
2437 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2449 * text3.C: The Character Style /XML short element patch.
2451 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2454 * factory.C: Small step to solving 'unable to insert some insets'
2457 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2459 * cursor.[Ch] (updatePos): new function for updating the y
2460 position of the tip inset
2461 * bufferview_funcs.C (put_selection_at):
2462 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2464 2003-11-11 André Pönitz <poenitz@gmx.net>
2466 * text.C: remove big comment on invalid Paragraph pointers as it is
2469 2003-11-11 André Pönitz <poenitz@gmx.net>
2471 * text_funcs.[Ch]: merge with ...
2479 * Makefile.am: remove text_funcs.[Ch]
2481 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2483 * cursor.C (getPos): return absolute cached y coord
2485 * BufferView_pimpl.C (fitCursor): new simplistic code
2486 (workAreaDispatch): add a fitCursor call
2488 2003-11-10 André Pönitz <poenitz@gmx.net>
2491 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2493 2003-11-10 André Pönitz <poenitz@gmx.net>
2495 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2496 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2497 indicate that the cursor needs to leave an inset
2499 * lyxtext.h: remove inset locking
2501 * cursor.[Ch]: re-implement functionality provided by inset locking
2504 * BufferView_pimpl.[Ch]:
2506 * bufferview_funcs.[Ch]:
2518 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2520 * PosIterator.[Ch]: replace the stack with a vector, add inset
2522 * iterators.[C]: adjust
2524 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2526 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2528 * paragraph_funcs.C (readParToken): put the correct id in the
2529 error item, not the id of the top paragraph
2531 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2533 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2534 * bufferview_funcs.C (put_selection_at): use the above
2536 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2538 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2540 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2542 * output_linuxdoc.h:
2543 * output_plaintext.h:
2545 * output_docbook.h: add #include statements
2547 2003-11-05 José Matos <jamatos@lyx.org>
2549 * output_docbook.[Ch]:
2550 * output_latex.[Ch]:
2551 * output_linuxdoc.[Ch]:
2552 * output_plaintext.[Ch]: New files for output formats.
2553 * output.[Ch]: New file for helper functions.
2556 * paragraph_funcs.[Ch]: output functions moved to new files.
2558 * outputparams.h: rename of latexrunparams.h
2566 * paragraph_funcs.[Ch]:
2567 * paragraph_pimpl.[Ch]:
2568 * tabular.[Ch]: rename ascii to plaintext
2569 and LatexRunParams to OutputParams.
2571 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2573 * iterators.[Ch] (text): require bv argument
2574 * undo.C (recordUndo):
2575 * lyxfunc.C (dispatch):
2576 * bufferview_funcs.C (put_selection_at): adjust
2578 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2580 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2582 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2584 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2587 2003-11-04 André Pönitz <poenitz@gmx.net>
2589 * cursor.[Ch]: restructure
2592 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2594 * iterators.[Ch] (asCursor): remove
2596 * lfuns.h: remove LFUN_INSET_EDIT
2602 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2604 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2606 * lyxfind.[Ch]: complete overhaul
2607 * BufferView_pimpl.C:
2609 * paragraph.[Ch] (insert): add
2611 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2615 * text.C: remove dead spellcheck code
2617 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2619 * dispatchresult.h: add a val setter
2621 * cursor.C (dispatch): use a tempvar for data_[i]
2623 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2625 * PosIterator.[Ch]: compile fix
2627 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2629 * text.C (cursorPar): deactivate the cursor cache
2631 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2633 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2635 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * text3.C (dispatch): adjust for new DisptchResult semantics.
2639 * lyxfunc.C (dispatch): handle update when return from
2640 Cursor::dispatch, adjust for new DispatchResult semantics.
2642 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2643 DispatchResult(true) mean to not update. Add class functions for
2644 setting dispatched and update, as well as reading.
2646 * cursor.C (dispatch): don't handle update here
2648 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2650 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2651 * trans_mgr.C: adjust
2653 * paragraph_funcs.C (readParToken): exception safety
2655 * lyxvc.h: store the vcs pointer in a scoped_ptr
2658 * lyxsocket.C (serverCallback): exception safety
2660 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2662 * ispell.C (clone): make it return a auto_ptr
2664 * factory.C (createInset): exception safety
2665 (readInset): exception safety
2667 * bufferlist.C (newBuffer): exception safety
2669 * Thesaurus.C (Thesaurus): use initialization for aik_
2671 * MenuBackend.C (expandToc): exception safety.
2673 2003-11-03 André Pönitz <poenitz@gmx.net>
2677 * bufferview_funcs.C: remove getInsetFromId()
2680 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2686 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2688 * PosIterator.C (distance, advance): new
2689 * bufferview_funcs.[Ch] (put_selection_at): new
2690 * iterators.[Ch] (lockPath): new
2692 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2694 * iterators.[Ch] (asPosIterator): added
2695 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2696 * PosIterator.[Ch]: added
2698 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2702 * cursor.C (dispatch):
2703 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2705 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2706 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2707 contructor, add a class function dispatched. Remove operator>=
2709 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2711 * debug.C: only use the default constructor for debugstream
2714 * main.C (main): include debug.h and setup the lyxerr streambuf
2717 2003-10-31 José Matos <jamatos@lyx.org>
2719 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2721 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2722 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2723 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2724 * paragraph_pimpl.C (simpleTeXSpecialC):
2725 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2726 add LatexRunParams argument.
2728 * exporter.C (Export): change call accordingly.
2730 * latexrunparams.h: add new member to take care of the other backends.
2731 2003-10-30 José Matos <jamatos@lyx.org>
2733 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2734 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2735 factorise code for paragraph output.
2737 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2740 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2742 * text3.C (dispatch):
2743 * lyxfunc.C (dispatch):
2744 * cursor.C (dispatch):
2745 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2747 * dispatchresult.h: make the dispatch_result_t ctor explicit
2749 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2752 * buffer.C: small refactoring of docbook stuff
2754 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2756 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2759 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2761 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2762 operator dispatch_result_t, and operators for == != and >=
2764 * cursor.C (dispatch): adjust for operator dispatch_result_t
2765 removal. comment out call to update
2767 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2769 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2777 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2780 * dispatchresult.h: new file, DispatchResult broken out of
2783 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2785 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2787 * text.C (rowBreakPoint): put a hack inside #if 0
2789 2003-10-28 André Pönitz <poenitz@gmx.net>
2793 * paragraph_funcs.C:
2796 * text2.C: general cleanup (lots of small stuff)
2798 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2800 * text2.C (cursorEnd): simple fix to the "end key goes to one
2801 before the end on last row" bug
2803 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2805 * text.C (backspace): fix the "zombie characters"
2807 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2809 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2811 2003-10-27 André Pönitz <poenitz@gmx.net>
2813 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2815 * factory.C: handle new InsetPagebreak, InsetLine
2817 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2818 and move handling into new InsetPagebreak, InsetLine
2820 * BufferView_pimpl.C:
2822 * ParagraphParameters.C:
2823 * ParameterStruct.h:
2828 * paragraph_funcs.C:
2829 * paragraph_pimpl.C:
2835 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2838 * lyxrow_funcs.[Ch]:
2844 * text3.C: remove lastPos uses in favour of Row::endpos
2846 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2848 * undo.C (performUndoOrRedo): fix two crashes by setting a
2849 cursor by hand and reordering some calls. Use bv->lockInset instead
2850 of inset->edit because the latter loses cursor information
2852 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2854 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2856 (rowBreakPoint): fix width. change point to point + 1.
2857 Add a missing check.
2859 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2862 * lyxfunc.C: fix (at least partly) the problems
2863 with the Nav menu and headers inside branch insets
2866 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2868 * paragraph.C (getChar): add strong asserts
2870 * lyxrow_funcs.C (lastPos): remove hideous hack
2872 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2873 (fill): adjust to that (avoid an infinite loop)
2875 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2877 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2879 2003-10-23 André Pönitz <poenitz@gmx.net>
2881 * RowList_fwd.h: change list<> to vector<> to gain speed
2882 after suggestion from Alfredo
2884 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2886 * lyxtext.h: move the bidi stuff from here...
2889 * Bidi.[Ch]: ... to here
2891 2003-10-23 André Pönitz <poenitz@gmx.net>
2894 * text.C (isLastRow, isFirstRow): new functions
2896 * paragraph.h: new width cache member
2898 * rowpainter.C: replace RowList::iterator with Row & where possible
2900 * lyxfunc.C: replace several view()->text with a single call
2902 * toc.C: fix 'unused' warning
2904 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2906 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2907 when woring with stream::pos_type
2908 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2910 2003-10-22 André Pönitz <poenitz@gmx.net>
2913 * text.C: use Row & instead of RowList::iterator
2915 * lyxrow.h: rename end() to endpos()
2921 2003-10-22 Angus Leeming <leeming@lyx.org>
2923 * buffer.[Ch] (fully_loaded): new member function, returning true
2924 only when the file has been loaded fully.
2925 Used to prevent the premature generation of previews and by the
2926 citation inset to prevent computation of the natbib-style label.
2928 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2929 templates are all set up.
2931 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2933 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2935 * text.C: fixed an "oops" in the "is a bit silly"
2938 2003-10-21 André Pönitz <poenitz@gmx.net>
2940 * FuncStatus.[Ch]: small stuff, whitespace
2942 * lyxfont.[Ch]: operator<<() for debug reasons
2946 * lyxtext.h: whitespace, spelling
2948 * paragraph.C: naming of variables
2951 * text2.C: small stuff
2954 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2956 * text.C: (1) finish off the inset display() work;
2957 (2) fix the "is a bit silly" bug (accessing char
2960 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2962 * text.C: re-introduce display() for insets, fixing the
2963 various bugs (stretch of line above, math inset
2966 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2968 * text.C (rightMargin): remove spurious semicolon
2970 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2973 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2975 * text3.C: fix one crash due to wrong cursor def
2977 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2979 * vc-backend.C (scanMaster): make the regex static
2981 * LaTeX.C (scanAuxFile): make the regexs static
2983 * text3.C (doInsertInset, dispatch, dispatch):
2984 * text2.C (cursorUp, cursorDown):
2985 * text.C (selectNextWordToSpellcheck):
2986 * BufferView_pimpl.C (dispatch):
2987 * lyxfunc.C (dispatch): localDispatch -> dispatch
2989 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2991 * lyxsocket.C: include <cerrno>
2993 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2995 * lyxfunc.C (dispatch): remove textcache stuff
2997 * bufferlist.C (release): remove textcache stuff
3000 * TextCache.C: delete file
3001 * TextCache.h: delete file
3003 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3005 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3006 delete of the bv_->text.
3007 (resizeCurrentBuffer): remove texcache stuff
3008 (workAreaResize): ditto
3010 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3012 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3015 2003-10-16 André Pönitz <poenitz@gmx.net>
3022 * text3.C: speed up by storing y positions per paragraph plus per-row
3023 offset instead of having a 'full' y position in the row.
3025 2003-10-15 André Pönitz <poenitz@gmx.net>
3029 * undo.[Ch]: make undo aware of inner insets
3031 2003-10-14 Angus Leeming <leeming@lyx.org>
3033 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3034 static member functions LyX::ref() and LyX::cref.
3035 (lastfiles): new accessor functions for the new lastfiles_ member var.
3036 (addLyXView, views_): add a new LyXView to the list of views_.
3037 (updateInset): loop over all LyXViews to call their own updateInset
3038 member function, returning a pointer to the Buffer owning the inset.
3040 * BufferView_pimpl.C (loadLyXFile):
3041 * MenuBackend.C (expandLastfiles):
3042 * bufferlist.C (MenuWrite, QuitLyX):
3043 lastfiles is no longer a global variable.
3044 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3046 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3047 static function. Access through LyX::cref().emergencyCleanup().
3049 2003-10-14 André Pönitz <poenitz@gmx.net>
3051 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3053 * undo.[Ch]: restoring part of 'undo in insets'
3056 * undo_funcs.[Ch]: merge with undo.[Ch]
3058 * tabular.C: small cleansing stuff
3060 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3062 * paragraph_funcs.C (readParToken): report unknown insets as error
3063 boxes. Use the outer paragraph as location (also for unknown
3066 * factory.C (readInset): do not abort on reading an unknown inset.
3067 Eat it and return 0.
3069 2003-10-13 Angus Leeming <leeming@lyx.org>
3071 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3073 * lyxrc.C: displayTranslator is now a function,
3074 declared in GraphicsTypes.h.
3076 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3078 * format.C: new placeholder $$a to pass the socket address.
3080 * bufferlist.[Ch]: new function getBufferFromTmp.
3082 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3083 files in the temporary dir.
3085 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3087 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3089 * Makefile.am: add lyxsocket.[Ch].
3091 * lyx_main.C (error_handler): handle SIGPIPE.
3093 2003-10-13 André Pönitz <poenitz@gmx.net>
3095 * BufferView_pimpl.C:
3100 * undo_funcs.[Ch]: use paroffset_type instead of
3101 ParagraphList::iterators to prevent multiple conversion
3102 (and get a more robust interface)
3104 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3106 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3108 * text3.C (dispatch): ditto
3110 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3112 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3113 move the onlyfile, use onlyfile instead of foundfile in a couple
3116 * DepTable.C (update): flush the error stream a bit more
3118 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3120 * lyxserver.C (callback): adjust
3122 * lyxfunc.C (getStatus): add a missing brace in commented code
3123 (ensureBufferClean): reindent
3124 (dispatch): delete version taking a string
3126 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3128 * LaTeX.C (deplog): move found file handlig from here...
3129 (handleFoundFile): .. to new function here.
3130 (deplog): make sure to discover several files mentioned on the
3133 2003-10-10 André Pönitz <poenitz@gmx.net>
3140 * text3.C: fix some of the tabular crashes
3142 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3144 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3146 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3148 2003-10-09 André Pönitz <poenitz@gmx.net>
3150 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3153 * BufferView_pimpl.C:
3154 * bufferview_funcs.C:
3165 * undo_funcs.C: adjust
3167 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * text2.C (incrementItemDepth): new function, use a backtracking
3170 algorithm to discover the correct item depth.
3171 (resetEnumCounterIfNeeded): new function, use a backtracking
3172 algorithm to discover if counter reset is needed.
3173 (setCounter): use them. Simplify a bit. Add different labels for
3174 different item depths for itemize.
3176 * paragraph.C (Paragraph): remove initialization of enumdepth
3179 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3180 enumerate and itemize. Change the type of itemdepth to signed char.
3182 2003-10-08 André Pönitz <poenitz@gmx.net>
3184 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3189 * tabular.[Ch]: fix crash after 'row-insert'
3191 2003-10-08 Angus Leeming <leeming@lyx.org>
3193 Fix doxygen warnings.
3195 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3196 Remove CutAndPaste:: prefix from header file declaration.
3198 * LColor.h (fill): remove LColor:: prefix from declaration.
3200 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3201 use lyx::depth_type rather than Paragraph::depth_type so that
3202 header file and .C file match.
3204 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3206 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3207 * aspell.C: \file aspell_local.C -> \file aspell.C
3208 * gettext.C: \file gettext.C -> \file src/gettext.C
3209 * gettext.h: \file gettext.h -> \file src/gettext.h
3210 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3211 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3212 * text.C: \file text.C -> \file src/text.C
3214 * toc.C: move comment so that doxygen is not confused.
3216 2003-10-07 Angus Leeming <leeming@lyx.org>
3218 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3220 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3223 * aspell_local.h: add forgotten std::string's.
3225 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3232 * text3.C: The Box patch. Fancybox support, minipage, parbox
3234 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3240 * ParagraphParameters.h:
3250 * lyxtextclasslist.h:
3253 * paragraph_pimpl.C:
3254 * textcursor.h: add <string> and other small fixes to make Lars'
3255 std::string patch compile with STLport.
3257 2003-10-06 Angus Leeming <leeming@lyx.org>
3259 * LColor.h: Add missing #include <string>.
3261 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3263 * All most all file in all subdirs: Make <string> be the prefered
3264 way of getting to std::string, add using declarations.
3266 2003-10-06 André Pönitz <poenitz@gmx.net>
3268 * metricsinfo.C: initialize LyXFont before changing attribute.
3269 (fixes the 'math in \emph is upright' bug)
3271 2003-10-06 André Pönitz <poenitz@gmx.net>
3273 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3275 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3278 * paragraph_pimpl.C: Small fixes to build using STLport
3280 2003-10-02 André Pönitz <poenitz@gmx.net>
3283 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3285 2003-10-01 André Pönitz <poenitz@gmx.net>
3287 * factory.C: assert early
3289 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3291 * lyx_main.C: remove the global debug object
3293 * debug.h: adjust for new debugstream
3295 * debug.C: adjust for new debugstream and keep the global debug
3298 2003-09-22 Angus Leeming <leeming@lyx.org>
3300 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3301 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3302 an incomplete class LyXFont.
3304 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3306 * factory.C: bug fix in branches
3308 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3310 * lyxfunc.C (processKeySym): adjust
3312 (dispatch): change arg name from ev to func, adjust
3313 (sendDispatchMessage): ditto
3315 * lyx_main.C (defaultKeyBindings): adjust keybindings
3316 (deadKeyBindings): ditto
3318 * kbsequence.C (addkey): return a FuncRequest
3320 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3322 * kbmap.C (bind): take a FuncRequest as arg, adjust
3325 (defkey): change to take a FuncRequest as arg, adjust
3326 (findbinding): take a FuncRequest as arg, adjust.
3328 * funcrequest.h (operator=): added
3330 * funcrequest.C (FuncRequest): default kb_action changed from
3331 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3333 * buffer.C (dispatch): simplify
3334 (dispatch): adjust to take a FuncRequest as arg, adjust
3336 * boost.C (assertion_failed): change assertion message slightly
3338 * ToolbarBackend.C (read): simplify
3340 * MenuBackend.C (binding): adjust call to findbinding, add a
3341 message if no binding is found.
3343 (expandToc): correct by adding a empty FuncRequest
3345 * LyXAction.C: include <boost/assert.hpp>
3346 (isPseudoAction): delete function
3347 (LookupFunc): change name to...
3348 (lookupFunc): this. change return type to FuncRequest.
3349 (getActionName): take kb_action as arg, simplify
3350 (funcHasFlag): add an assert, simplify.
3352 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3354 * toc.C (action): return a FuncRequest, simplify
3356 * lyxfunc.C (processKeySym): adjust
3357 (getStatus): delete version that takes an int.
3359 (dispatch): delete version that takes action as int
3361 (sendDispatchMessage): simplify and adjust
3363 * funcrequest.C (getArg): take unsigned int as arg
3365 * ToolbarBackend.C (read): adjust
3366 (add): delete version that takes func as a string.
3367 (getIton): take a FuncRequest as arg
3369 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3372 * MenuBackend.C (MenuItem): add a new construct that only takes a
3373 Kind, simplify the constructor use for submenus.
3375 (expandLastfiles): adjust
3376 (expandDocuments): adjust
3377 (expandFormats): adjust
3378 (expandFloatListInsert): adjust
3379 (expandFloatInsert): adjust
3380 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3382 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3383 Remove class variables lyx_pseudo_map and lyx_arg_map
3385 * LyXAction.C (searchActionArg): delete function
3386 (getPseudoAction): delete function
3387 (retrieveActionArg): delete function
3388 (LookupFunc): make it return kb_action, simplify.
3389 (getActionName): simplify
3391 * factory.C (createInset): fix new bug
3393 2003-09-19 Angus Leeming <leeming@lyx.org>
3395 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3396 masterFilename_ parameter in the include inset.
3398 * factory.C (createInset): changes due to the changes to InsetInclude.
3400 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3402 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3404 2003-09-18 Angus Leeming <leeming@lyx.org>
3407 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3408 Inset::fillWithBibKeys.
3409 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3411 2003-09-18 Angus Leeming <leeming@lyx.org>
3413 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3415 (ctor): pass and store a 'Buffer const &'
3416 (buffer): new member function.
3418 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3419 '*this' to the LaTeXFeatures ctor.
3421 2003-09-18 Angus Leeming <leeming@lyx.org>
3427 * text.C: rename EnumLColor as LColor_color.
3429 2003-09-18 Angus Leeming <leeming@lyx.org>
3431 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3432 remove #include "insets/insetbase.h" from cursor.h.
3434 2003-09-18 Angus Leeming <leeming@lyx.org>
3436 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3437 InsetOld_code to remove #include "inset.h".
3439 * iterators.C: add #include "insets/inset.h"
3441 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3443 * BufferView.C: remove more locking stuff that apparently doesn't
3444 do anything sensible.
3446 2003-09-16 André Pönitz <poenitz@gmx.net>
3449 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3452 2003-09-16 Angus Leeming <leeming@lyx.org>
3454 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3456 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3459 * paragraph.h: remove #include "lyxfont.h". Forward declare
3462 2003-09-16 Angus Leeming <leeming@lyx.org>
3464 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3465 of support/textutils.h.
3466 (isWord): move the contents of support/textutils.h's IsWordChar here.
3472 * text2.C: add #include "paragraph.h".
3475 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3477 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3483 * LaTeX.C: use namespace alias for lyx::support::os
3485 2003-09-16 Angus Leeming <leeming@lyx.org>
3488 * bufferview_funcs.C:
3491 * paragraph_pimpl.C:
3493 * text.C: add #include "LColor.h".
3495 2003-09-16 Angus Leeming <leeming@lyx.org>
3497 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3498 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3500 Store the FontBits::color variable as an int rather than as an
3501 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3504 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3505 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3506 string calls together.
3508 * lyxrc.C: add #include "LColor.h".
3510 2003-09-15 Angus Leeming <leeming@lyx.org>
3512 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3515 2003-09-15 Angus Leeming <leeming@lyx.org>
3517 * LColor.h: add an EnumLColor wrapper for LColor::color.
3519 * lyxfont.[Ch] (color, setColor, realColor):
3520 * lyxtext.h, text.C (backgroundColor):
3521 pass EnumLColor args to/from the functions, rather than LColor::color
3525 * lyxtext.h: forward declare EnumLColor.
3527 * lyx_main.C: add #include "LColor.h".
3529 2003-09-15 Angus Leeming <leeming@lyx.org>
3531 * .cvsignore: add lyx-gtk.
3533 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3538 * ParagraphParameters.C
3542 * bufferview_funcs.C
3552 * vc-backend.C: remove usage of STRCONV
3554 2003-09-15 Angus Leeming <leeming@lyx.org>
3556 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3557 explicitly define the color passed to the painter.
3559 2003-09-15 Angus Leeming <leeming@lyx.org>
3561 * bufferparams.C (BufferParams): reorder member initializers to avoid
3564 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3566 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3567 * text.C (updateRowPositions): remove an unusual nop
3569 2003-09-12 André Pönitz <poenitz@gmx.net>
3571 * BufferView_pimpl.C:
3580 * Counters.[Ch]: finish the 'automatic counters' job
3582 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3584 * aspell.C: include <boost/assert.cpp> (compile fix)
3586 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3588 * boost.C (assertion_failed): use lyx::support::abort instead of
3591 2003-09-10 Angus Leeming <leeming@lyx.org>
3593 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3594 with their _fwd progeny.
3596 2003-09-09 Angus Leeming <leeming@lyx.org>
3598 134 files throughtout the source tree: replace 'using namespace abc;'
3599 directives with the appropriate 'using abc::xyz;' declarations.
3601 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3603 * boost.C (emergencyCleanup): moved here from LAssert.c
3604 (assertion_failed): new function, called by BOOST_ASSERT
3606 * several files: change Assert to BOOST_ASSERT
3608 2003-09-09 Angus Leeming <leeming@lyx.org>
3610 * buffer.[Ch]: Add an Impl class and move Buffer's member
3611 variables into it. As a result move several header files out of
3614 Add header files to lots of .C files all over the tree as a result.
3616 2003-09-09 Angus Leeming <leeming@lyx.org>
3618 * buffer.[Ch]: make Buffer's member variables private. Add
3621 Lots of changes all over the tree as a result.
3623 2003-09-08 Angus Leeming <leeming@lyx.org>
3625 * graph.C: #include <config.h>.
3627 2003-09-08 Angus Leeming <leeming@lyx.org>
3631 * BufferView_pimpl.C:
3660 * toc.C: remove redundant using directives.
3662 2003-09-07 Angus Leeming <leeming@lyx.org>
3664 * LaTeXFeatures.h: remove #include "support/types.h".
3665 * ToolbarBackend.h: remove #include <algorithm>.
3666 * changes.h: remove #include <ctime>.
3667 * debug.h: remove #include <iosfwd>.
3668 * graph.h: remove #include "support/std_string.h".
3669 * lyx_main.h: remove #include <csignal>.
3670 * lyxlex_pimpl.h: remove #include <fstream>.
3671 * sgml.h: remove #include <algorithm>, <utility>.
3672 * toc.h: remove #include "support/std_ostream.h".
3673 Add #include <iosfwd>.
3675 2003-09-07 Angus Leeming <leeming@lyx.org>
3677 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3679 * converter.h: forward declare LatexRunParams.
3680 * encoding.h: remove #include "lyxrc.h".
3681 * lyxtext.h: remove #include "LColor.h".
3682 * lyxtextclass.h: remove #include "support/types.h".
3683 * trans.h: remove #include "tex-accent.h".
3684 * trans_mgr.h: remove #include "tex-accent.h".
3685 * insets/inset.h: remove #include "support/types.h", <vector>.
3686 * insets/insetcollapsable.h: remove #include "LColor.h".
3687 * insets/insetinclude.h: remove #include "dimension.h".
3688 * insets/insetlatexaccent.h: remove #include "dimension.h".
3689 * insets/insetoptarg.h:: remove #include "insettext.h".
3690 * insets/insettext.h: remove #include "dimension.h",
3691 <boost/shared_ptr.hpp>
3693 * insets/renderers.h: add #include "dimension.h".
3694 * insets/updatableinset.h: add #include "support/types.h".
3696 * many .C files: Associated changes.
3698 2003-09-06 Angus Leeming <leeming@lyx.org>
3700 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3701 one, inside testInvariant.
3703 * PrinterParams.C: new file.
3704 * PrinterParams.[Ch]: move the function bodies out of line.
3706 2003-09-06 Angus Leeming <leeming@lyx.org>
3708 * ParagraphParameters.h: forward declare ParameterStruct rather than
3709 including its header file.
3710 (depth): moved out-of-line.
3712 2003-09-06 Angus Leeming <leeming@lyx.org>
3714 * BufferView_pimpl.h:
3717 * lyxfunc.h: forward declare LyXKeySym rather than
3718 #include "frontends/LyXKeySym.h".
3720 * BufferView_pimpl.C:
3723 * lyxfunc.C: associated changes.
3725 2003-09-06 Angus Leeming <leeming@lyx.org>
3727 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3728 As a result, can remove the #include "insets/inset.h" from BufferView.h
3730 2003-09-06 Angus Leeming <leeming@lyx.org>
3732 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3733 As a result, can remove the #include "insets/inset.h" from BufferView.h
3735 2003-09-06 Angus Leeming <leeming@lyx.org>
3741 * bufferview_funcs.C:
3742 * BufferView_pimpl.C:
3747 * ParagraphParameters.C:
3752 * frontends/controllers/ControlDocument.C:
3753 * insets/insetcaption.C: rearrange the #includes into some sort of
3756 * buffer.h: remove #includes ErrorList.h, undo.h
3758 2003-09-06 Angus Leeming <leeming@lyx.org>
3760 * support/types.h: add a 'depth_type' typedef, used to store the
3761 nesting depth of a paragraph.
3764 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3765 defining explicitly.
3768 * paragraph_funcs.h:
3769 * ParagraphParameters.h:
3770 * sgml.h: use lyx::depth_type rather than Paragraph or
3771 ParameterStruct's depth_type.
3774 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3777 * BufferView_pimpl.C:
3779 * ParagraphParameters.C:
3782 * bufferview_funcs.C:
3789 * frontends/LyXView.C:
3790 * frontends/controllers/ControlDocument.C:
3791 * frontends/controllers/ControlErrorList.C:
3792 * insets/insetbibitem.C:
3793 * insets/insetbranch.C:
3794 * insets/insetcaption.C:
3795 * insets/insetcollapsable.C:
3796 * insets/insetenv.C:
3797 * insets/insetert.C:
3798 * insets/insetfloat.C:
3799 * insets/insetfoot.C:
3800 * insets/insetfootlike.C:
3801 * insets/insetnewline.C:
3802 * insets/insetquotes.C:
3803 * insets/insettabular.C:
3804 * insets/insettext.C:
3805 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3807 * frontends/controllers/ControlChanges.C: #include "changes.h".
3809 2003-09-06 Angus Leeming <leeming@lyx.org>
3811 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3812 than #including paragraph.h.
3815 * RowList.h: deleted. Superfluous.
3825 * insets/insettext.h: use ParagraphList_fwd.h rather than
3828 * paragraph.h: don't forward declare ParagraphList.
3831 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3832 rather than ParagraphList.h. paragraph.h is still needed for the
3833 Paragraph::depth_type parameters.
3835 * textcursor.h: enable it to compile stand-alone in light of the
3838 * bufferview_funcs.C:
3850 * frontends/controllers/ControlParagraph.C:
3851 * frontends/controllers/ControlTabular.C:
3852 * insets/insetmarginal.C:
3853 * insets/insetminipage.C:
3854 * insets/insetnote.C:
3855 * insets/insetoptarg.C: add header files needed to compile again.
3857 2003-09-06 Angus Leeming <leeming@lyx.org>
3859 * RowList_fwd.h: new file, forward-declaring Row rather than
3860 #including lyxrow.h.
3865 * insets/insettext.h: use it instead of RowList.h
3867 * bufferview_funcs.C:
3874 * text3.C: #include "RowList.h".
3876 2003-09-05 Angus Leeming <leeming@lyx.org>
3878 * factory.C (createInset):
3879 * vspace.C (c-tor): replace sscanf call with an istringstream.
3880 * ispell.C: re-add missing HP/UX headers.
3881 * lyxserver.C: re-add missing os2 headers.
3883 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3892 * text3.C: re-add missing system headers, needed for 2.95.2.
3894 2003-09-05 Angus Leeming <leeming@lyx.org>
3896 Changes most place everywhere due to the removal of using directives
3897 from support/std_sstream.h.
3899 2003-09-05 Angus Leeming <leeming@lyx.org>
3901 Replace LString.h with support/std_string.h,
3902 Lsstream.h with support/std_sstream.h,
3903 support/LIstream.h with support/std_istream.h,
3904 support/LOstream.h with support/std_ostream.h.
3906 Changes resulting throughout the tree.
3908 2003-09-05 Angus Leeming <leeming@lyx.org>
3910 * sgml.h: ensure that the header file can be compiled stand-alone.
3911 * *.C: strip out redundant #includes. (320 in total.)
3913 2003-09-04 Angus Leeming <leeming@lyx.org>
3915 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3916 here (from getPackages).
3918 * debug.[Ch]: add a new EXTERNAL tag.
3920 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3922 * text2.C (cursorEnd): simplify
3924 (getColumnNearX): adjust
3926 * text.C (computeBidiTables): adjust
3929 * rowpainter.C (paintChars): adjust
3930 (paintSelection): adjust
3931 (paintChangeBar): adjust
3934 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3936 (numberOfSeparators): adjust
3938 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3944 * text3.C: Restricts the mouse click functionality
3945 of insets like bibtex, include, toc and floatlist to the visible
3946 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3947 up the dialogs. Cursor has to be in front of the inset (i.e.
3948 start of row) for this to function.
3950 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3952 * bufferview_funcs.C (currentState): output row information
3954 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3956 * bufferview_funcs.C (currentState): output paragraph position
3958 2003-09-04 Angus Leeming <leeming@lyx.org>
3960 * FloatList.h: move out #include "Floating.h".
3961 * LaTeX.h: move out #include "DepTable.h".
3962 * LyXAction.h: move out #include "funcrequest.h".
3963 * buffer.h: move out #include "author.h", "iterators.h".
3964 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3965 * lyx_main.h: move out #include "errorlist.h".
3966 * lyxfunc.h: move out #include "FuncStatus.h".
3967 * lyxtext: move out #include "lyxcursor.h".
3968 * paragraph_pimpl.h: move out #include "counters.h".
3970 2003-09-03 Angus Leeming <leeming@lyx.org>
3972 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3973 preamble_snippets list, enabling us to add snippets to the preamble
3974 only if the snippet was not there already.
3976 2003-09-04 Angus Leeming <leeming@lyx.org>
3978 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3980 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3982 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3985 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3987 * BranchList.C: point fix, earlier forgotten
3989 2003-09-02 Angus Leeming <leeming@lyx.org>
3991 * box.C (contains): renamed from 'contained' after a fantastic
3994 2003-09-02 John Levon <levon@movementarian.org>
4000 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4002 2003-09-02 John Levon <levon@movementarian.org>
4004 * text2.C: simplification of cursorEnd(), including partial
4007 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4009 * buffer.C (readFile): add a space
4011 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4013 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4015 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4017 * buffer.C (readFile): new function, take a filename and a
4018 ParagraphList::iterator
4020 (readFile): adjust, make it private. don't use setStream, make
4021 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4022 always contain the filename.
4024 * BufferView.C (insertLyXFile): simplify and make it work for
4027 2003-08-30 John Levon <levon@movementarian.org>
4029 * Makefile.am: fix dist (from Kayvan)
4031 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4033 * most files: change to use const Buffer refs
4035 2003-08-27 André Pönitz <poenitz@gmx.net>
4037 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4038 on top of ownerPar().
4040 2003-08-27 John Levon <levon@movementarian.org>
4042 * funcrequest.C: properly initialise POD members
4044 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4046 * lyxtext.h (top_y): move top_y from here
4051 * BufferView_pimpl.[Ch]: to here
4052 * frontends/screen.C:
4053 * insets/insettabular.C:
4054 * insets/insettext.C: adjust
4055 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4057 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4060 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4062 2003-08-26 André Pönitz <poenitz@gmx.net>
4064 * paragraph_func.[Ch] (outerPar): new function
4067 * paragraph_funcs.C:
4068 * paragraph_funcs.h:
4069 * paragraph_pimpl.C:
4070 * text2.C: remove Inset::par_owner
4072 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4077 * text2.C: eliminates the needFullRow/display() stuff
4078 altogether, putting the logic in metrics/draw in the insets.
4080 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4082 * text2.C (redoParagraphInternal, redoParagraphs):
4083 * text.C (redoParagraph): add a call to updateRowPositions at the
4084 end of each 'metrics-like' call. Remove all others.
4085 (getRow): remove the 'y-computing' version.
4086 (getRowNearY): do not compute nor return the real y. Solve the
4087 'y < 0' problem and simplify.
4089 2003-08-22 Angus Leeming <leeming@lyx.org>
4091 * *.[Ch]: clean-up of licence and author blurbs.
4092 Also move config.h out of a few .h files and into a few .C files.
4094 2003-08-22 André Pönitz <poenitz@gmx.net>
4096 * lyxrow.[Ch]: add x_ and *fill_ members
4101 * text2.C: adjust/remove prepareToPrint() calls
4103 2003-08-22 André Pönitz <poenitz@gmx.net>
4105 * lyxrow.[Ch]: add end_ member
4107 * lyxrow_funcs.C: use LyXRow::end_
4109 * lyxtext.h (singleWidth): add LyXFont parameter
4112 * text2.C: adjust LyXText::singleWidth() calls
4114 * text.C (redoParagraph): simplify row breaking logic
4117 2003-08-19 André Pönitz <poenitz@gmx.net>
4119 * funcrequest.C: initialize button_ member
4122 * rowpainter.[Ch]: interface consolidation
4124 2003-08-18 André Pönitz <poenitz@gmx.net>
4127 * BufferView_pimpl.C:
4129 * paragraph_funcs.C:
4131 * text3.C: remove LyXScreen::draw() and fitCursor calls
4133 * BranchList.h: remove spurious semicolons
4135 * MenuBackend.C: fix branchlist related crash
4137 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4145 * bufferparams.[Ch]:
4149 * text3.C: implements the 'branch inset'
4150 idea. This allows the output of various versions of a document
4151 from a single source version, selectively outputing or suppressing
4152 output of parts of the text.
4153 This implementation contains a 'branch list editor' in a separate
4154 tab of the document settings dialog. Branches are user definable
4155 and have a "display colour" to distinguish them on-screen.
4157 ColorHandler was somewhat cleaned up.
4158 (1) make possible a dynamically growing LColor list by allowing
4159 the graphic context cache to grow along (vector);
4160 (2) eliminate an IMHO unnecessary step in colour allocation.
4162 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4164 * BufferView_pimpl.C: compile fix
4166 2003-08-15 André Pönitz <poenitz@gmx.net>
4168 * rowpainter.C: remove extra metrics calls
4170 * lyxtext.h: merge the two constructors into a single one,
4171 pass reference to owner's par list
4173 * BufferView_pimpl.C:
4177 2003-08-15 André Pönitz <poenitz@gmx.net>
4179 * lyxrow_funcs.[Ch]:
4182 * paragraph_funcs.C:
4187 * text_funcs.C: split LyXText::rowlist_ into individual
4188 Paragraph::rows_ chunks
4191 * BufferView_pimpl.[Ch]:
4194 * text3.C: remove toggleSelection()
4196 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4198 * bufferlist.C: beautify two alerts (shorter text of buttons)
4199 * buffer.C: Remove redundant ' ' from message
4201 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4202 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4203 rename VALIGN_CENTER to VALIGN_MIDDLE
4205 2003-08-11 André Pönitz <poenitz@gmx.net>
4207 * lyxtext.h (getPar):
4208 * text.C: new function
4210 2003-08-11 André Pönitz <poenitz@gmx.net>
4213 * tracer.[Ch]: remove unneeded files
4215 * InsetList.[Ch]: remove resizeInsetsLyXText()
4220 * text3.C: merge insertParagraphs() and appendParagraph()
4221 remove breakAgain(), update()
4223 * BufferView_pimpl.[Ch]:
4224 * bufferview_funcs.[Ch]:
4228 * tabular.C: adjust after text & InsetList changes.
4230 2003-08-08 André Pönitz <poenitz@gmx.net>
4232 * text.C (insertChar, backspace): replace rowlist fiddling
4233 with rebreak of full par
4236 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4237 checkParagraph, updateInset): removed
4239 2003-08-07 André Pönitz <poenitz@gmx.net>
4242 * text3.C: merge some LFUN handlers, remove dead code
4244 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4246 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4248 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4250 * text2.C (DEPM): fix part of bug 1255 and 1256
4252 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4254 * BufferView_pimpl.C (workAreaDispatch): change to use
4255 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4256 that are no mouse related.
4258 2003-08-05 André Pönitz <poenitz@gmx.net>
4261 * BufferView_pimpl.[Ch]:
4262 * bufferview_funcs.C:
4264 * text3.C: rip out "deep update"
4266 * textcursor.[Ch] (last_sel_cursor): remove unused member
4268 2003-08-04 André Pönitz <poenitz@gmx.net>
4271 * BufferView_pimpl.[Ch]:
4272 * ParagraphParameters.C:
4273 * bufferview_funcs.C:
4279 * text3.C: replace "complicated" BufferView::update(...) calls with
4282 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4284 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4286 * Makefile.am (lyx_SOURCES): add paper.h
4288 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4290 * Makefile.am: move things around so that both lyx-qt and
4291 lyx-xforms can be built (according to --with-frontend). Then lyx
4292 is a symbolic link to lyx-[firstfrontend]
4294 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4296 * Always use std::endl with lyxerr
4298 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4300 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4302 2003-08-01 André Pönitz <poenitz@gmx.net>
4305 * BufferView_pimpl.[Ch]:
4307 * text3.C: merge BufferView::repaint() and BufferView::update()
4309 2003-08-01 José Matos <jamatos@lyx.org>
4311 * buffer.[Ch]: file_format is no longer a buffer data element.
4313 2003-08-01 André Pönitz <poenitz@gmx.net>
4318 * text2.C: make redoParagraph more independent of current cursor
4320 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4322 * text2.C: remove unneeded members
4324 2003-07-30 André Pönitz <poenitz@gmx.net>
4326 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4328 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4329 create a single function...
4331 * paragraph_funcs.C (moveItem): ... here.
4334 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4336 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4338 * LColor.[Ch]: Add comment and greyedout logical colors.
4340 2003-07-30 André Pönitz <poenitz@gmx.net>
4342 * tabular.C: don't use Assert too heavily. This crashes where it
4345 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4347 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4348 is disabled (bug 1232)
4350 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4352 * factory.C: limited 'arg' scope
4354 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4356 * factory.C: fixed Note submenu issues
4358 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4360 * factory.C: submenu for Note/Comment/Greyedout
4362 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4365 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4367 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4370 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4371 greyedout. Patch provided by Jürgen Spitzmüller.
4373 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4375 * kbmap.C (read): fix error message when reading bind files
4377 2003-07-29 Angus Leeming <leeming@lyx.org>
4379 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4380 certainly does not do what it purports to do. I am doing it, and
4381 us, a favour by killing it.
4383 2003-07-28 José Matos <jamatos@lyx.org>
4385 * buffer.C (readBody, do_writeFile):
4386 * paragraph.C(readParagraph): \end_document replaces \the_end.
4388 2003-07-29 André Pönitz <poenitz@gmx.net>
4391 * BufferView_pimpl.[Ch]:
4395 * textcursor.[Ch]: remove toggleToggle & Co
4397 2003-07-28 José Matos <jamatos@fep.up.pt>
4399 * buffer.C (readParagraph):
4400 * params_func (readParToken, readParagraph):
4401 * paragraph.C (write): \layout -> \begin_layout.
4403 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4405 * lyxlex_pimpl.C (setFile): clean up slightly.
4407 * bufferparams.h: add compressed var
4409 * buffer_funcs.C (readFile): adjust for LyXLex change
4410 (newFile): ditto + simplify
4412 * buffer.C (writeFile): handle writing of compressed files
4414 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4415 Check if the file is compressed and set a bufferparm if so.
4417 * Makefile.am (lyx_LDADD): remove explicit -lz
4419 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4421 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4422 makeDocBookFile): put the real LyX version in the first line of
4426 * version.C.in: remove lyx_docversion
4428 * tabular.C (write_attribute): add a template-based version to
4429 write enums properly
4431 2003-07-28 André Pönitz <poenitz@gmx.net>
4436 * text3.C: use doubles again for x-coordinates. They are needed.
4438 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4440 * messages.C (getLocaleDir): use lyx_localedir()
4442 * lyxlex_pimpl.C (setFile): compress stuff
4444 * buffer.C (writeFile): add some compression stuff
4445 (do_writeFile): new func, dont call expliti close... will this
4448 * Makefile.am (lyx_LDADD): add -lz
4450 2003-07-28 José Matos <jamatos@fep.up.pt>
4452 * buffer.C: increment file format.
4453 * paragraph_funcs (readParagraph, readParToken):
4454 * paragraph.C (readParagraph): add \end_layout.
4456 2003-07-27 Angus Leeming <leeming@lyx.org>
4458 * Makefile.am: remove special casing for configure-time setting of
4459 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4461 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4462 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4464 2003-07-26 André Pönitz <poenitz@gmx.net>
4466 * paragraph_func.[Ch]:
4467 * paragraph.C (realizeFont): inline it whereever it is used
4472 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4475 2003-07-26 André Pönitz <poenitz@gmx.net>
4479 * text2.C: get rid of LyXText::need_break_row
4481 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4483 * toc.[Ch]: put namespace toc inside namespace lyx
4485 * MenuBackend.C (expandToc2): adjust for lyx::toc
4488 * lyxfunc.C (dispatch): adjust for lyx::find
4490 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4491 lyx::find instead. Reorganize a bit.
4492 (LyXReplace): rename to replace
4493 (LyXFind): rename to find
4495 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4498 2003-07-26 André Pönitz <poenitz@gmx.net>
4500 * text.C (setHeightOfRow): restrict scope of temporary variable
4502 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4503 code (never has been used?)
4505 2003-07-27 Asger Alstrup <alstrup@local>
4507 * text.C (fill): Optimise algorithm to exploit that we can reuse
4508 the LyXFont for many characters.
4509 (setHeightOfRow): Same thing.
4510 (rowBreakPoint): Same thing.
4512 2003-07-26 Asger Alstrup <alstrup@local>
4514 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4516 * text.C (singleWidth): Spurious font copying in hot-spot
4517 singleWidth avoided. Reorder tests for arabic for efficiency.
4519 * text.C (fill): handle empty paragraphs better.
4521 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4524 * encoding.h: add includes
4526 * lyxrc.C: remove reading of bind files
4528 * lyx_main.C (init): setup bindings and menus only if we have a
4531 * kbmap.C (read): new method. Do the actual reading of bind
4534 * converter.C (dvipdfm_options):
4537 (output): adapt PAPER_* enums.
4539 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4541 * bufferparams.h: remove paper-related enums from there
4543 * paper.h: New file. A trivial header file to hold paper-related
4544 enums. It should later expand to contain many paper-related
4547 * lyxrc.C: declare extern displayTranslator
4549 2003-07-27 José Matos <jamatos@fep.up.pt>
4551 * tabular.[Ch] (linuxdoc): add support for tables and figures
4554 2003-07-27 José Matos <jamatos@fep.up.pt>
4556 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4557 consistency in both functions.
4558 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4560 2003-07-26 Asger Alstrup <alstrup@local>
4562 * rowpainter.C (paintRows): Change algorithm to work directly on
4563 the insets rather than asking every character in the document
4564 whether its an inset.
4566 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4568 * buffer.C (openFileWrite): factorize some code
4570 2003-07-26 Angus Leeming <leeming@lyx.org>
4573 * lyx_main.[Ch]: replace occurances of system_tempdir with
4576 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4578 * rename Inset to InsetOld
4580 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4582 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4583 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4584 which I think is a bit clearer. EDIT is gone, since it was
4585 premature optimisation, and broken for mathed anyway.
4586 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4587 with cursor positioning in insets as well (math insets still do not
4588 work, but that's a different story anyway.) It mysteriously
4589 crashes sometimes with undo in the first paragraph, but I'm fairly
4590 confident that this is a compiler bug.
4592 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4594 * paragraph.C (Paragraph): adjust for new clone return type
4596 (copyIntoMinibuffer): ditto
4598 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4600 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4601 by not having a special case, and always doing a full rebreak of
4602 the document after undo.
4604 2003-07-23 Angus Leeming <leeming@lyx.org>
4606 * factory.C (createInset): InsetExternal::setParams now takes a
4609 2003-07-23 Angus Leeming <leeming@lyx.org>
4611 * factory.C (createInset): changed interface to the external and
4612 graphics mailers' string2params functions.
4614 2003-07-23 Angus Leeming <leeming@lyx.org>
4616 * factory.C (createInset): pass a
4617 Buffer const * parameter to InsetExternalMailer's string2params.
4619 2003-07-22 John Levon <levon@movementarian.org>
4621 * Thesaurus.h: include the right aiksaurus header
4623 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4625 * MenuBackend.C (expand): check menu shortcuts unconditionally
4627 2003-07-21 Angus Leeming <leeming@lyx.org>
4629 * factory.C (createInset): pass a
4630 buffer_path parameter to InsetGraphicsMailer's string2params.
4632 2003-07-21 Angus Leeming <leeming@lyx.org>
4634 * BufferView_pimpl.C (buffer):
4637 * lyxfunc.C (dispatch):
4638 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4639 rather than the grfx shortcut.
4641 2003-07-21 André Pönitz <poenitz@gmx.net>
4643 * rowpainter.C: remove unused variables
4646 * tabular_funcs.h: move to tabular.C
4647 * Makefile.am: adjust
4649 * tabular.[Ch]: basic optical cleaning
4651 * author.h: pass references, not values
4653 2003-07-18 André Pönitz <poenitz@gmx.net>
4661 * text3.C: two-phase drawing for InsetText and InsetTabular
4662 some float -> int changes.
4664 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4666 * lyx_main.C: fix the fix
4668 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4670 * lyx_main.C: fix a crash in batch mode if no files specified
4673 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4675 * format.[Ch] (papersize): moved to BufferParams
4676 * converter.[Ch] (dvips_options): moved to BufferParams
4677 (dvipdfm_options): moved to anon namespace
4678 * bufferparams.[Ch]: added above functions.
4680 2003-07-17 André Pönitz <poenitz@gmx.net>
4684 * text2.C: don't call inset->update() anymore
4686 * metricsinfo.[Ch]: add convenience constructor
4688 2003-07-16 André Pönitz <poenitz@gmx.net>
4693 * text2.C: replace the LyXCursor::irow_ member with
4694 on-demand computation of the value
4696 2003-07-16 John Levon <levon@movementarian.org>
4698 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4700 2003-07-15 André Pönitz <poenitz@gmx.net>
4703 * text2.C: remove no more needed refresh_row
4705 2003-07-15 André Pönitz <poenitz@gmx.net>
4710 * text3.C: refresh_status tristate -> need_update bool
4712 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4714 * lyxtext.h (init): remove reinit argument (act as if always true)
4715 * text2.C: adjust to that
4717 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4719 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4720 * text3.C: use it to delete selections in some cases
4721 (bugs 441, 673, 702, 954).
4723 2003-07-14 André Pönitz <poenitz@gmx.net>
4725 * rowpainter.[Ch]: reduce interface
4727 2003-07-14 André Pönitz <poenitz@gmx.net>
4729 * BufferView_pimpl.C:
4730 * text2.C: adjust after removing unused BufferView * argument
4732 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4734 * text2.C (init): fix a crash fired on resize
4736 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4738 * buffer.[Ch]: added new closing signal
4739 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4740 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4741 BufferView::Pimpl via the closing the signal
4743 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4745 * buffer.[Ch]: take out all bv-related from buffer
4747 * BufferView_pimpl.[Ch]: connect to new signals
4748 * CutAndPaste.C: removed useless asserts
4749 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4752 * lyxfunc.C: moved view-related funciontality from vc here
4753 * paragraph.C: removed outdated comments
4756 2003-07-10 André Pönitz <poenitz@gmx.net>
4758 * BufferView_pimpl.C:
4762 * text2.C: remove InsetText::InnerCache, clean up consequences
4764 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4766 * ispell.C: fix two typos in error messages
4768 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4770 * Extend Note inset to other forms of annotation like Comment
4771 and Greyedout. Right button click gives dialog.
4773 Files modified or added (+):
4777 * ControlNote.[Ch] +
4779 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4780 frontends/controllers
4784 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4786 * aspell.C: add missing namespace lyx::support
4788 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4790 * BufferView.[Ch] (newFile): Add
4791 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4792 * LaTeX.[Ch] (message): added this signal and use it
4793 * buffer.[Ch] (busy, message): added these signals and use them
4794 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4798 * importer.C: use buffer signals instead of direct bv calling
4799 * lyx_cb.[Ch] (ShowMessage): removed
4802 * paragraph_funcs.C:
4803 * text2.C: use buffer signals
4805 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4807 * introduce namespace lyx::graphics
4809 2003-07-02 André Pönitz <poenitz@gmx.net>
4811 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4813 2003-07-01 André Pönitz <poenitz@gmx.net>
4820 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4821 text*.C to text_func.C
4823 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4825 * introduce namespace lyx::support
4827 2003-06-30 André Pönitz <poenitz@gmx.net>
4832 * text.C: re-enable --with-included-string
4834 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4836 * textcursor.C: add <config.h>
4838 * text.C (getWord): remove const from word_location arg
4840 * lyxvc.C (getLogFile): fix const type order
4842 * lyxtext.h: remove const from word_location arg, add arg name
4844 * lyxlayout.h: currect type on labeltype.
4846 * importer.C: correct \file
4848 * converter.C (intToFormat): use std:: on ret val, ws changes
4850 * bufferlist.h: correct \file
4852 * buffer.C (makeLinuxDocFile): fix const type order
4853 (makeDocBookFile): ditto
4854 (fillWithBibKeys): use std:: on stdlib args.
4856 * CutAndPaste.C: fix authors.
4857 (availableSelections): use std:: on return vector
4859 2003-06-27 André Pönitz <poenitz@gmx.net>
4861 * BufferView_pimpl.C:
4862 * bufferview_funcs.C:
4870 * text3.C: remove LyXCursor::row_ member
4873 * text.C: rename fullRebreak() to partialRebreak() and implement
4874 a fullRebreak() that really bereks fully
4876 * textcursor.h: new struct for cursor-related data
4878 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4880 * lyx_main.C (LyX): get full path of document loaded on the
4883 2003-06-26 André Pönitz <poenitz@gmx.net>
4885 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4886 remove unused/broken operator>,<,>=.
4888 * text.C: remove only use of broken operator<= in an Assert().
4890 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4892 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4893 moved errorlist_.clear to showErrorList
4895 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4897 * converter.C (scanLog, runLaTeX):
4898 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4899 move the bv->showErrorList call to the callers
4900 * lyxfunc.C: i.e. here...
4902 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4903 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4904 namespace, the second to...
4905 * buffer_funcs (BufferFormat, parseErrors): added
4906 * errorlist.C (ErrorList(TeXErrors const &)): removed
4908 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4910 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4912 2003-06-24 "Garst R. Reese" <reese@isn.net>
4916 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4918 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4920 * version.C.in: change docversion to 1.4
4922 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4924 * buffer.C: fix a bug just introduced
4926 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4928 * buffer.[Ch]: added the parseError signal and use it, removed
4930 * BufferView.[Ch] (addError): moved to ...
4931 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4932 to the Buffer::parseError signal to catch (guess what) parse errors
4933 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4935 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4937 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4938 ability to create a buffer and to return an existing one from
4939 the list. Moved these functions to...
4940 * buffer_funcs.[Ch]: added
4941 * BufferView.[Ch] (loadLyXFile): added
4942 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4943 job removed from bufferlist::loadLyXFile.
4944 * buffer.C (setReadOnly): make it work without view
4945 (i.e added an if (users))
4947 2003-06-19 Angus Leeming <leeming@lyx.org>
4950 * LyXAction.C (init):
4951 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4952 with LFUN_DIALOG_SHOW <name> <data>.
4954 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4956 * CutAndPaste.C (availableSelections): small compilation fix for
4957 ancient (gcc 2.9x) compilers
4959 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4961 * text3.C (cursorNext): add tmp var
4963 * text2.C (updateCounters): for function calling out of for clause
4964 (replaceSelectionWithString): ditto
4965 (insertStringAsParagraphs): ditto
4966 (getColumnNearX): add tmp var
4967 (setCursorFromCoordinates): add tmp var
4968 (cursorDownParagraph): add tmp var
4969 (deleteEmptyParagraphMechanism): add tmp var
4971 * text.C (insertChar): add tmp var
4973 * rowpainter.C (paintDepthBar): add tmp var
4975 * CutAndPaste.C (availableSelections): potentially check all
4976 paragraphs in a cut to fill the shown strings.
4978 2003-06-18 André Pönitz <poenitz@gmx.net>
4980 * kbmap.[Ch]: use vector<> instead of list<>
4982 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4984 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4985 pasteSelection with index
4987 * text2.C (pasteSelection): modify, call pasteSelection with index
4989 * paragraph.C (asString): reimplement version with no interval to
4990 call the one with interval.
4992 * lyxtext.h: add index arg to pasteSelection
4994 * MenuBackend.C (MenuItem): handle PasteRecent
4995 (Menu::read::Menutags): add md_pasterecent
4997 (expandPasteRecent): new function
5000 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5002 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5004 (availableSelections): new function
5006 2003-06-17 Angus Leeming <leeming@lyx.org>
5008 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5010 2003-06-17 Angus Leeming <leeming@lyx.org>
5013 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5015 * lyxfunc.C (dispatch): invoke it.
5017 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5019 * iterators.C (operator++, ParPosition): reintroduce some
5020 const_cast for the benefit of older compilers.
5022 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5024 * text3.C (dispatch): do not modify clipboard when doing
5025 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5026 LFUN_DELETE_SKIP on a selection selection
5028 2003-06-16 André Pönitz <poenitz@gmx.net>
5034 * tabular.[Ch]: IU of clone() and getLabelList();
5036 2003-06-13 André Pönitz <poenitz@gmx.net>
5038 * tabular.h: compactification
5040 2003-06-12 André Pönitz <poenitz@gmx.net>
5044 * tabular_funcs.h: some renaming plus whitespace
5046 2003-06-12 André Pönitz <poenitz@gmx.net>
5049 * BufferView_pimpl.C:
5055 * toc.C: Return a Paragraph & for ParIterator::operator*()
5057 2003-06-11 John Levon <levon@movementarian.org>
5061 * ToolbarBackend.C: add "Toolbars" section and
5064 2003-06-10 Angus Leeming <leeming@lyx.org>
5067 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5069 * lyxfunc.C (dispatch): invoke it.
5071 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5073 * main.C: protect <ios> with HAVE_IOS
5074 (main): protect sync_with_stdio with HAVE_IOS
5076 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5078 * text2.C (cutSelection): adjust
5079 (pasteSelection): adjust
5081 * messages.C: handle get of empty string
5083 * main.C (main): use sync_with_stdio(false)
5085 * lyxfunc.C (dispatch): adjust
5087 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5088 (WriteAs): remove unneeded BufferView arg.
5090 * bufferparams.h: use correct types on papersize, papersize2 and
5093 * bufferparams.C (readToken): adjust for type
5094 (writeLaTeX): add missing cases to switch.
5096 * bufferlist.C (quitWriteBuffer): adjust
5099 * buffer.C (asciiParagraph): remove some commented code.
5101 * CutAndPaste.C: remove current_view extern variable.
5102 (cutSelection): add BufferParams arg.
5103 (eraseSelection): add BufferParams arg.
5104 (pasteSelection): add Buffer const & arg
5106 2003-06-07 John Levon <levon@movementarian.org>
5109 * paragraph_funcs.C:
5110 * paragraph_pimpl.C:
5114 * paragraph.C: allow InsetERT to freely space lines,
5115 and some consolidation of code
5117 2003-06-06 José Matos <jamatos@fep.up.pt>
5119 * buffer.C (makeDocBookFile): fix bug #821
5121 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5123 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5125 2003-06-04 Angus Leeming <leeming@lyx.org>
5127 * buffer.C: bump format to 224.
5129 2003-06-05 André Pönitz <poenitz@gmx.net>
5131 * text2.C (redoParagraphs): remove two const_cast<>
5133 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5135 * ParagraphList.h: remove last remnants of NO_STD_LIST
5137 2003-06-03 Angus Leeming <leeming@lyx.org>
5139 * factory.C (createInset): small change to the way InsetExternal's params
5142 2003-06-04 André Pönitz <poenitz@gmx.net>
5144 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5146 * paragraph_pimpl.h:
5147 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5149 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5151 * undo_funcs.C: make some simple cases of undo work again
5153 2003-06-03 John Levon <levon@movementarian.org>
5155 * ispell.C: HPUX doesn't have sys/select.h
5158 2003-06-03 John Levon <levon@movementarian.org>
5160 * CutAndPaste.C: update tabular and include inset
5165 * paragraph.C: remove owningBuffer(), don't pass Buffer
5168 * factory.C: insetGraphicsParams changed
5170 2003-06-02 John Levon <levon@movementarian.org>
5176 * text3.C: remove insetparent
5178 2003-06-02 John Levon <levon@movementarian.org>
5181 * buffer.C: fix inset_iterator.end(), move out of line
5184 2003-06-01 John Levon <levon@movementarian.org>
5186 * text3.C: use a proper cut/paste when doing inset
5187 insert (from Jürgen Spitzmüller)
5189 2003-06-01 John Levon <levon@movementarian.org>
5191 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5193 2003-05-30 André Pönitz <poenitz@gmx.net>
5195 * rowpainter.C: unify second drawing phase
5197 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5199 * trans_mgr.C: remove one case of current_view
5201 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5203 * paragraph_funcs.h: remove paragraph.h include
5205 * paragraph.h: delete NO_STD_LIST stuff
5207 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5209 * buffer.h: remove paragraph.h include
5211 * ParagraphList.C: delete file
5213 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5215 * toc.C (getTocList): adjust
5217 * paragraph_pimpl.C (validate): adjust
5219 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5221 * paragraph.C (Paragraph): adjust
5222 (getPositionOfInset): use const_iterator, adjust
5223 (bibitem): use const_iterator, adjust
5224 (setInsetOwner): adjust
5226 * iterators.C (operator++): adjust
5228 * InsetList.[Ch]: Replace selfmade iterator with standard
5229 vector::iterator also introduce const_iterator. Remove getPos,
5230 getInset and setInset from InsetTable. Adjust accordingly.
5232 * BufferView.C (lockInset): adjust
5233 (ChangeInsets): adjust
5235 * tabular.[Ch]: delete commented same_id functions
5237 2003-05-28 John Levon <levon@movementarian.org>
5239 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5241 2003-05-28 André Pönitz <poenitz@gmx.net>
5243 * metricsinfo.[Ch]: remove 'fullredraw' member
5245 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5247 * lyxtextclass.C (operator): remove caching.
5249 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5253 * text2.C (cursorBottom): adjust
5254 (setCounter): use ParagraphList::find, adjust
5256 * text.C (workWidth): use ParagraphList::find, adjust
5258 * lyxcursor.C (LyXCursor): adjust
5260 * buffer.C (inset_iterator): adjust
5262 * ParagraphList.h: make iterator(value_type) private, make
5263 ParagraphList a friend of iterator.
5265 * ParagraphList.C (find): new function
5267 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5269 2003-05-27 André Pönitz <poenitz@gmx.net>
5271 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5273 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5275 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5277 2003-05-26 John Levon <levon@movementarian.org>
5279 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5281 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5283 * remove same_id from function signatures, adjust.
5285 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5287 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5289 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5291 * paragraph.C (Paragraph): get rid of same_ids parameter
5293 * ParagraphList.C (insert): adjust
5296 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5298 * paragraph_funcs.C (breakParagraph): adjust
5299 (breakParagraphConservative): adjust
5301 * buffer.C (readParagraph): adjust
5303 * ParagraphList.C (insert): take a reference instead of a pointer
5306 * paragraph.[Ch] (id): new function
5308 * bufferlist.C (newFile): adjust
5310 * ParagraphList.C (ParagraphList): adjust
5312 (push_back): take a reference instead of a pointer.
5314 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5316 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5319 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5320 set else use old code.
5322 * ParagraphList.C: remove all NO_NEXT code and only compile this
5323 code of NO_STD_LIST is set.
5325 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5327 * BufferView_pimpl.C:
5337 * graphics/GraphicsConverter.C:
5338 * graphics/PreviewLoader.C: header adjustment
5340 2003-05-23 Angus Leeming <leeming@lyx.org>
5342 * LaTeXFeatures.[Ch] (useBabel): new method.
5343 * bufferparams.C (writeLaTeX): use it.
5345 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5347 * ParagraphList.h (set): remove unused function.
5349 2003-05-23 André Pönitz <poenitz@gmx.net>
5352 * BufferView_pimpl.C:
5356 * undo_funcs.C: setUndo reworked
5358 * iterators.[Ch]: add access to topmost ParagraphList
5360 * lyxtext.[Ch] (workWidth): add a const
5362 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5364 * texrow.[Ch] (increasePos): remove function
5365 * exporter.C (export): removed unused var and outdated comment
5367 2003-05-23 Angus Leeming <leeming@lyx.org>
5369 * latexrunparams.h: rename fragile as moving_arg.
5370 * paragraph.C (simpleTeXOnePar): ditto.
5371 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5373 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5375 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5377 (textUndoOrRedo): comment out a currently unused var.
5379 * paragraph.h (NO_NEXT): enable NO_NEXT
5381 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5383 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5385 * exporter.C (Export): adjust for removeAutoInsets removal.
5387 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5389 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5391 * BufferView.[Ch] (removeAutoInsets): delete function
5393 2003-05-22 Angus Leeming <leeming@lyx.org>
5395 * latexrunparams.h: add a free_spacing variable.
5397 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5398 to pass moving_arg, as the data is stored in runparams.fragile.
5400 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5401 to Inset::latexOptional or to simpleTeXOnePar.
5403 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5404 free_spacing arg to Inset::latexOptional.
5406 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5409 2003-05-22 Angus Leeming <leeming@lyx.org>
5411 * latexrunparams.h: add fragile and use_babel variables.
5413 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5414 * buffer.C (makeLaTeXFile): store this returned value in
5415 runparams.use_babel, thus passing it to the inset::latex methods.
5417 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5418 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5420 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5421 longer has a fragile arg, as it is stored in runparams.fragile.
5423 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5424 moving_arg parameter as the data is stored in runparams.fragile.
5426 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5427 a fragile parameter as the data is stored in runparams.fragile.
5429 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5431 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5433 2003-05-22 Angus Leeming <leeming@lyx.org>
5435 * latexrunparams.h: add a 'bool nice' which defaults to false.
5437 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5438 now encapsulated within runparams.
5440 * bufferlist.C (updateIncludedTeXfiles):
5441 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5443 2003-05-22 Angus Leeming <leeming@lyx.org>
5445 * latexrunparams.h: new file containing struct LatexRunParams.
5446 * Makefile.am: add new file.
5448 * LaTeX.[Ch] (c-tor, run):
5449 * buffer.[Ch] (makeLaTeXFile):
5450 * bufferlist.[Ch] (updateIncludedTeXfiles):
5451 * converter.C (convert, scanLog):
5452 * converter.[Ch] (runLaTeX):
5453 * exporter.C (Export):
5454 * paragraph.[Ch] (simpleTeXOnePar):
5455 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5456 * paragraph_funcs.[Ch] (latexParagraphs):
5457 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5458 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5459 pass around a LatexRunParams parameter.
5461 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5463 * paragraph.[Ch]: remove unused constructor
5465 * ParagraphList.C (erase): new function, taking two iterators
5467 2003-05-22 André Pönitz <poenitz@gmx.net>
5469 * undo_funcs.C: remove duplicated code
5471 * iterator.[Ch]: operator=
5473 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5475 * tabular.C (SetMultiColumn): ws changes
5477 * rowpainter.C (paintFirst): get rid of a ->previous
5479 * lyx_cb.C (getPossibleLabel): parlist simplification
5481 * BufferView.C (ChangeInsets): simplify slightly.
5483 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5485 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5486 * lfuns.h: new LFUN_SPACE
5487 * lyxfunc.C: protected space has a new lfun
5488 * paragraph_funcs.C: read new space insets
5490 * factory.C: handle new space insets
5492 2003-05-22 André Pönitz <poenitz@gmx.net>
5495 * BufferView_pimpl.C:
5498 * undo_funcs.C: return a ParIterator from getParFromID.
5500 * iterators.[Ch]: add two const's
5502 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5504 * toc.C (getTocList): adjust
5506 * iterators.[Ch]: rework for parlist
5508 * buffer.C (par_iterator_begin): adjust
5509 (par_iterator_end): adjust
5511 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5513 * BufferView.C (removeAutoInsets): adjust
5514 (ChangeInsets): adjust
5516 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5518 * text.C (top_y): fix bug 1110
5520 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5522 * errorlist.[Ch]: added
5525 * BufferView_pimpl.C:
5526 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5529 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5531 * Makefile.am: ensure that lyx is relinked upon changes to the
5532 various "convenience" libs.
5534 2003-05-20 Angus Leeming <leeming@lyx.org>
5536 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5537 files are compiled in alphabetical order again.
5539 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5541 2003-05-19 Angus Leeming <leeming@lyx.org>
5543 * gettext.[Ch]: remove "char const * _(char const *)".
5545 2003-05-19 André Pönitz <poenitz@gmx.net>
5547 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5556 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5558 2003-05-19 André Pönitz <poenitz@gmx.net>
5562 * lyxtextclass.[Ch]:
5564 * paragraph_funcs.[Ch]:
5566 * text3.C: more insetenv work
5568 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5570 * ParagraphParameters.C (params2string): small bug fixed
5572 2003-05-16 André Pönitz <poenitz@gmx.net>
5575 * bufferview_funcs.C: patch from Kornel Benko to prevent
5576 crash when _(...) is called twice in a statement
5578 2003-05-16 André Pönitz <poenitz@gmx.net>
5585 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5587 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5589 * lyx_main.C (init): remove spurious static_cast
5591 2003-05-14 André Pönitz <poenitz@gmx.net>
5593 * BufferView.C: fix format string
5595 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5597 * BufferView.[Ch] (insertErrors): removed
5598 * BufferView.[Ch] (showErrorList): added
5599 * buffer.C (runChkTeX):
5600 * converter.C (scanLog): call showErrorList instead of inserterrors
5602 2003-05-13 André Pönitz <poenitz@gmx.net>
5604 * BufferView_pimpl.C:
5606 * bufferview_func.C:
5613 * tabular_funcs.h: tostr() from its own header
5615 * ParagraphParameters.C:
5620 * text3.C: STRCONV()
5622 2003-05-12 André Pönitz <poenitz@gmx.net>
5625 * BufferView_pimpl.C:
5629 * ParagraphParameters.C:
5633 * bufferview_funcs.C:
5646 * paragraph_funcs.C:
5650 * text3.C: boost::format -> bformat all over the place
5653 2003-05-09 André Pönitz <poenitz@gmx.net>
5655 * LColor.[Ch]: Pimpl the #include <map> away
5657 2003-05-09 John Levon <levon@movementarian.org>
5659 * bufferlist.C: never remove emergency saves
5661 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5663 * Makefile.am: better lib building
5665 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5667 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5669 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5670 (simpleTeXSpecialChars): adjust
5671 (simpleTeXSpecialChars): adjust
5672 * paragraph.C (simpleTeXOnePar): adjust
5673 * buffer.C (makeLaTeXFile): adjust
5675 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5677 * text2.C (changeDepth): parlist cleanup
5678 (getColumnNearX): ditto
5680 * rowpainter.C (getLabelFont): parlist cleanup
5682 * bufferlist.C (newFile): parlist cleanup
5684 * CutAndPaste.C (eraseSelection): parlist cleanup
5686 * BufferView_pimpl.C (trackChanges): parlist cleanup
5689 * BufferView.C (lockInset): parlist cleanup.
5690 (ChangeInsets): ditto
5692 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5694 * CutAndPaste.h: Update file header.
5696 * CutAndPaste.C: Update file header.
5697 Store the parts cut out of the Document in a limited_stack.
5698 (copySelection): adjust
5699 (pasteSelection): new function, takes the index in the limited stack.
5700 (nrOfParagraphs): adjust
5701 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5702 simplify error inset insertion.
5703 (checkPastePossible): adjust
5705 2003-05-06 John Levon <levon@movementarian.org>
5707 * text2.C: don't cast wrap inset to float
5709 2003-05-05 André Pönitz <poenitz@gmx.net>
5712 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5714 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5715 few naked Paragraph *.
5717 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5719 * bufferparams.C: Output warning if a document with missing
5720 TeX document class is loaded
5721 * exporter.C: Disable TeX exports if the document class is missing
5724 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5725 isTeXClassAvailable()
5727 2003-05-03 John Levon <levon@movementarian.org>
5730 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5731 explicit cursor show/hide
5733 * BufferView_pimpl.h:
5734 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5735 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5737 * lyxfunc.C: hide cursor before dispatching.
5742 * text3.C: remove explicit cursor hides
5744 2003-05-02 André Pönitz <poenitz@gmx.net>
5746 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5749 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5752 * text2.C: tiny whitespace
5754 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5756 * undo_funcs.C: almost only ws changes.
5758 * ParagraphList.C (splice): just return if pl is empty.
5760 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5762 * ParagraphList.C (splice): new function.
5764 * CutAndPaste.C (pasteSelection): use it
5766 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5768 * CutAndPaste.C (pasteSelection): remove the last next and
5769 previous from this file.
5771 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5773 * CutAndPaste.C (pasteSelection): more clean up, user proper
5774 ParagraphList functions for pasteing.
5776 * ParagraphList.C (insert): new function, three arg insert
5778 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5780 * ParagraphList.C (insert): new function, three arg insert
5782 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5785 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5787 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5789 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5791 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5793 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5795 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5796 (copySelection): clean up a bit.
5797 (pasteSelection): use make_pair
5799 * ParagraphList.C (ParagraphList): implement copy constructor
5800 (operator=): implement, base on copy constructor.
5803 * paragraph.C (erase): return a bool
5805 * paragraph_pimpl.C (erasePos): remove function, move contents...
5806 (erase): ... here. Return a bool.
5807 (erase): call erase instead of erasePos.
5809 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5811 * ParagraphList.h: define PitPosPair
5812 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5813 ParagraphList, fix a bug on pasting multiple pars
5814 * text2.C: change interface to C&P
5816 2003-04-30 André Pönitz <poenitz@gmx.net>
5818 * undo_func.C: revert part of yesterday's patch 2
5820 2003-04-30 John Levon <levon@movementarian.org>
5822 * LColor.C: s/tabular/table/
5824 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5826 * text3.C (dispatch): do not convert iterator -> pointer
5827 * undo_funcs.C (setCursorParUndo): ditto
5828 * text_funcs.C (transposeChars): ditto
5830 * text2.C (setLayout): ws changes only
5832 * text.C (breakParagraph): do not convert iterator -> pointer
5834 (acceptChange): ditto
5835 (rejectChange): ditto
5840 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5843 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5845 * text3.C (gotoInset): YABG (yet another bad getChar)
5847 2003-04-29 André Pönitz <poenitz@gmx.net>
5849 * paragraph.h: make operator= private unimplemented as long as
5852 * ParagraphList.C: whitespace
5855 * paragraph_pimpl.[Ch]:
5856 * paragraph_funcs.C:
5858 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5861 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5863 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5865 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5866 * paragraph.[Ch] (erase):
5867 * paragraph_pimpl.[Ch] (erase): change return type and value
5868 * text2.C (cutSelection): some rework
5870 2003-04-28 John Levon <levon@movementarian.org>
5872 * bufferlist.C: changes for unsaved changes dialog
5874 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5876 * bufferlist.C (newFile): set language (messages_) for new
5879 * buffer.C (readFile): ws changes only.
5881 2003-04-28 André Pönitz <poenitz@gmx.net>
5886 * BufferView_pimpl.C:
5887 * BufferView.C: getParFromID related ParagraphList::iterator changes
5889 2003-04-28 André Pönitz <poenitz@gmx.net>
5891 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5894 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5896 * messages.C: remove one more localedir class variable.
5898 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5900 * messages.C (getLocaleDir): singleton generation function
5902 (Messages): add a default constructor.
5904 * main.C (main): do not setup localedir here, do not call
5907 * gettext.C (_): use it.
5908 (gettext_init): delete funciton
5910 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5912 * gettext.C (getLyXMessages): new singleton generating function.
5914 * buffer.C (updateDocLang): adjust
5916 * Makefile.am (messages.o): add target
5917 (main.o): remove target
5919 2003-04-27 John Levon <levon@movementarian.org>
5924 * lyxvc.C: specify cancel button in Alert::prompt
5926 2003-04-26 John Levon <levon@movementarian.org>
5931 * LyXAction.C: add LFUN_INSET_SETTINGS
5933 * lyxfunc.C: don't enable tabular-feature when there's
5934 just any locking inset
5936 2003-04-26 John Levon <levon@movementarian.org>
5938 * bufferlist.C: re-add Cancel to buffer close question
5940 * lyxfunc.C: fix import UI a bit
5942 2003-04-25 John Levon <levon@movementarian.org>
5944 * gettext.C: remove the broken asserts for now
5946 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5948 * messages.C: make case where setlocale cannot comply work better.
5950 * buffer.C (updateDocLang): new function
5951 (changeLanguage): use it
5954 * text2.C (setCounter): use B_ a bit.
5956 * lyxlayout.C (Read): be sure to trim the label strings.
5958 * messages.C (Messages): fix typo in comment
5960 * buffer.C (readFile): set message_ after file is loaded.
5961 (makeDocBookFile): remove double return
5962 (changeLanguage): reset message_ upon language change.
5963 (B_): new func, use this to get translated buffer strings.
5965 * main.C: add myself and Jean Marc as authors.
5967 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5969 * messages.[hC]: pimplify Messages, and three different pimpls to be
5970 used in different circumstances.
5972 * gettext.[Ch]: change for use with new message code.
5974 2003-04-24 André Pönitz <poenitz@gmx.net>
5976 * factory.C: support for eqref
5978 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5980 * messages.[Ch]: add missing char
5982 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5984 * messages.[Ch]: New files
5986 2003-04-18 John Levon <levon@movementarian.org>
5990 * BufferView_pimpl.C:
5994 * text2.C: remove layout-copy/paste (bug 778)
5996 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5998 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6000 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6002 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6003 if they succeed. Act accordingly.
6005 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6007 * text2.C (setCharFont): adjust
6008 (setCounter): adjust
6009 (insertStringAsLines): adjust
6011 * text.C (leftMargin): adjust
6012 (setHeightOfRow): adjust
6014 * rowpainter.C (paintFirst): adjust
6017 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6019 (isFirstInSequence): ditto
6020 (getEndLabel): ditto
6023 * paragraph.C (getParLanguage): comment out some hard stuff.
6025 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6027 (simpleDocBookOnePar): ditto
6028 (makeDocBookFile): use ParagraphList::iterator
6030 * CutAndPaste.C (pasteSelection): adjust
6032 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6034 * text2.C (getFont): adjust
6035 (getLayoutFont): adjust
6036 (getLabelFont): adjust
6038 * paragraph_funcs.C (TeXOnePar): adjust
6040 * buffer.C (simpleLinuxDocOnePar): adjust
6041 (simpleDocBookOnePar): adjust
6043 * CutAndPaste.C (pasteSelection): adjust
6045 * BufferView.C (getEncoding): adjust
6047 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6049 2003-04-16 John Levon <levon@movementarian.org>
6051 * lyxfind.C: use parlist stuff for search/changes
6053 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6055 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6057 * text2.C (deleteEmptyParagraphMechanism): adjust
6059 * text2.[Ch] (ownerParagraph): delete func (both of them
6061 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6063 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6065 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6067 * ParagraphList.C: prepare for NO_NEXT
6069 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6071 * text2.C (getFont): adjust
6072 (getLayoutFont): adjust
6073 (getLabelFont): adjust
6075 * paragraph.C (getFont): adjust
6076 (getLabelFont): adjust
6077 (getLayoutFont): adjust
6079 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6081 2003-04-15 John Levon <levon@movementarian.org>
6085 * lyx_main.C: handle Include in .ui files
6087 2003-04-15 John Levon <levon@movementarian.org>
6089 * MenuBackend.C: make the doc files length shorter
6092 * ToolbarBackend.C: handle toolbar placement flags,
6095 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6097 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6100 * paragraph_funcs.C (TeXOnePar): adjust
6102 * paragraph.C (getLabelFont): add outerfont arg, adjust
6103 (getLayoutFont): ditto
6104 (simpleTeXOnePar): adjust
6106 * paragraph_pimpl.C (realizeFont): delete func
6108 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6110 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6111 row argument, constify cur argument.
6113 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6115 * text2.C (getFont): adjust
6116 (getLayoutFont): adjust
6117 (getLabelFont): adjust
6119 * paragraph_funcs.C (TeXOnePar): adjust
6120 (outerFont): new func...
6121 (realizeFont): ...moved out from here, changed this to facilitate
6124 * paragraph.C (getFont): take outerfont as arg, adjust
6125 (simpleTeXOnePar): add outerfont arg, adjust
6127 * buffer.C (simpleLinuxDocOnePar): adjust
6128 (simpleDocBookOnePar): adjust
6130 * CutAndPaste.C (pasteSelection): adjust
6132 * BufferView.C (getEncoding): adjust
6134 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6136 * text2.C (setCharFont): adjust
6137 (setCounter): adjust
6139 * text.C (leftMargin): adjust
6140 (setHeightOfRow): adjust
6142 * rowpainter.C (paintFirst): adjust
6145 * paragraph_pimpl.C (realizeFont): adjust
6147 * paragraph.C (isFirstInSequence): move from here...
6148 * paragraph_funcs.C (isFirstInSequence): ...to here
6150 * paragraph.C (outerHook): move from here...
6151 * paragraph_funcs.C (outerHook): ...to here
6153 * paragraph.C (depthHook): move from here...
6154 * paragraph_funcs.C (depthHook): ...to here
6156 * paragraph.C (getEndLabel): move from here...
6157 * paragraph_funcs.C (getEndLabel): ...to here
6159 * text2.C (realizeFont): move from here...
6160 * paragraph_funcs.C (realizeFont): ...to here
6162 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6164 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6166 2003-04-14 Angus Leeming <leeming@lyx.org>
6168 * LColor.[Ch]: scrap LColor mathcursor.
6170 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6172 * lyxlex.[Ch] (text): delete function
6173 * trans.C (Load): adjust
6174 * paragraph_funcs.C (readParToken): adjust
6176 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6178 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6179 vector<char> instead of a char[].
6181 * lyxlex_pimpl.C (getString): adjust
6183 (lex): use getString
6187 * lyxlex.C (text): use pimpl_->getString()
6191 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6193 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6194 (makeFontEntriesLayoutSpecific): temp var for par.size()
6195 (setLayout): temp var for ownerParagraphs().end()
6196 (fullRebreak): temp var for rows().end()
6197 (selectionAsString): temp var for boost::next(startpit), realize
6198 that the while really is a regular for loop.
6199 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6200 setCursor in one place.
6201 (setParagraph): temp vr for ownerParagraphs().end()
6202 (updateCounters): make the while loop a for loop
6203 (cutSelection): temp var for ownerParagraphs().end()
6204 (updateInset): make the do {} while() a regular for loop
6205 (getCursorX): use temp vars
6206 (setCurrentFont): use temp vars
6207 (getColumnNearX): use temp vars
6209 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6211 * text.C (transformChar): use temp var for getChar
6212 (computeBidiTables): use temp var for row->par()
6213 (fill): move temp vars for row->par() and pit->layout() earlier in
6215 (labelFill): use temp var for row->par()
6216 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6217 asc and desc, realize that pit never changes and that firstpit is
6218 just a duplicate and not needed. Exchange rit->par() with pit in a
6220 (breakAgain): use a temp var for boost::next(rit)
6221 (breakAgainOneRow): ditto
6222 (breakParagraph): use a temp var for rows().begin()
6223 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6224 (cursorRightOneWord): use temp var for cursor.par() and
6225 cursor.pos(), remove usage of tmpcursor.
6226 (cursorLeftOneWord): use temp var for cursor.par() and
6227 cursor.pos() only set cur at end of function.
6229 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6231 * text.C, text2.C: exchange all usage of Paragraph::next with
6232 boost::next(ParagraphList::iterator)
6234 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6236 * text2.C (cursorTop): simplify implementation
6237 (cursorBottom): ditto
6238 (setParagraph): use ParagraphList::iterator
6239 (setCurrentFont): adjust
6240 (getColumnNearX): adjust
6241 (cursorRight): adjust
6242 (cursorLeft): remove usage of Paragraph::previous
6243 (cursorUpParagraph): ditto
6244 (deleteEmptyParagraphMechanism): slight cleanup
6246 * text.C (isBoundary): take a Paragraph const & instead of a
6248 (addressBreakPoint): ditto
6249 (leftMargin): remove usage of Paragraph::previous.
6250 (setHeightOfRow): ditto
6251 (cursorLeftOneWord): ditto
6252 (selectNextWordToSpellcheck): ditto
6255 (breakParagraph): remove one usage of Paragraph::next
6256 (redoParagraph): ditto
6257 (acceptChange): ditto
6258 (insertChar): adjust
6259 (rowBreakPoint): adjust
6261 * bufferview_funcs.C (toggleAndShow): adjust
6263 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6265 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6266 methods to access it.
6268 * text.C: Added updateRowPositions to compute all row positions.
6269 Make top_y and getRowNearY() to use the cached y position
6271 2003-04-11 John Levon <levon@movementarian.org>
6273 * text.C (rowBreakPoint): reintroduce the labelEnd
6274 checks, code copied from the row fill stuff. Deep voodoo.
6276 * text.C (fill): add a comment and debugging for the
6279 2003-04-11 John Levon <levon@movementarian.org>
6281 * text.C: make sure fullrow insets get wrapped to the next line,
6282 even when they're in a manual label
6284 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6286 * text2.C (insertParagraph): make it take ParagraphList::iterator
6288 (setLayout): make it return ParagraphList::iterator
6289 (redoParagraphs): ditto
6291 (checkParagraph): ditto
6293 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6295 * text2.C: adjust several funcs.
6296 (realizeFont): take a ParagraphList::iterator as arg.
6297 (getLayoutFont): ditto
6298 (getLabelFont): ditto
6299 (setCharFont): ditto
6301 * text.C: adjust several funcs.
6303 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6305 * text.C (selectNextWordToSpellcheck): don't accidentally
6308 2003-04-10 John Levon <levon@movementarian.org>
6310 * ToolbarBackend.C (getIcon): special handling for
6313 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6315 * text2.C (cursorRight): a getChar assert fixed
6317 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6319 * text2.C (getFont): change to take a ParagraphList::iterator
6320 instead of Paragraph*
6321 Adjust several functions.
6323 * text.C (transformChar): change to take a ParagraphList::iterator
6324 instead of Paragraph*
6325 (singleWidth): ditto
6326 Adjust several functions.
6328 * rowpainter.C: adjust several functions
6329 * rowpainter.h:store a ParagraphList::iterator and not a
6333 2003-04-09 John Levon <levon@movementarian.org>
6338 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6339 and the "help" bits as well
6341 2003-04-09 John Levon <levon@movementarian.org>
6344 * ToolbarBackend.C: allow multiple toolbars
6346 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6348 * undo_funcs.C (setCursorParUndo): adjust
6350 * text_funcs.C (transposeChars): adjust
6352 * text3.C (gotoNextInset): adjust
6355 * text2.C (setLayout): adjust
6356 (changeDepth): adjust
6358 (redoParagraphs): adjust
6359 (selectionAsString): adjust
6360 (setParagraph): adjust
6361 (insertInset): adjust
6362 (cutSelection): adjust
6363 (copySelection): adjust
6364 (pasteSelection): adjust
6365 (insertStringAsLines): adjust
6366 (updateInset): adjust
6367 (setCursor): change to take a ParagraphList::iterator parameter
6368 (setCursorIntern): change to take a ParagraphList::iterator parameter
6369 (setCurrentFont): adjust
6370 (cursorLeft): adjust
6371 (cursorRight): adjust
6372 (deleteEmptyParagraphMechanism): adjust
6374 * text.C (breakParagraph): adjust
6375 (insertChar): adjust
6376 (acceptChange): adjust
6377 (rejectChange): adjust
6378 (selectNextWordToSpellcheck): adjust
6379 (changeCase): adjust
6383 * lyxfind.C (SearchForward): adjust
6384 (SearchBackward): adjust
6385 (nextChange): adjust
6387 * lyxcursor.C (par): adjust
6389 * lyxcursor.h: store a ParagraphList::iterator instead of a
6392 * lyx_cb.C (getPossibleLabel): adjust
6394 * bufferview_funcs.C (toggleAndShow): adjust
6396 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6399 * BufferView.C (removeAutoInsets): adjust
6400 (lockedInsetStoreUndo): adjust
6402 2003-04-09 John Levon <levon@movementarian.org>
6404 * ToolbarBackend.C: try icon without argument
6405 if with argument fails
6407 2003-04-08 John Levon <levon@movementarian.org>
6410 * ToolbarBackend.C: add getIcon(), handle tooltip,
6411 and change from "Icon" to "Item".
6413 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6415 * BufferView.C (lockInset): another bad getchar crunched
6417 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6419 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6422 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6424 * lyxfind.C (searchForward, searchBackwards): bug 782
6426 2003-04-07 John Levon <levon@movementarian.org>
6428 * paragraph.C: remove dead comment
6430 * text.C: remove troublesome depth-fiddling code
6431 in leftMargin() and rightMargin() (bug 1017)
6433 * text.C: fix breaking of rows in nested lists
6436 * text2.C (updateCounters): fix up depth values
6439 2003-04-07 John Levon <levon@movementarian.org>
6441 * BufferView_pimpl.C: clear message when doc finishes resizing,
6442 and after a mouse event
6444 * lyxfunc.C: clear message after exiting inset
6446 2003-04-07 John Levon <levon@movementarian.org>
6448 * bufferview_funcs.C: show math status not outside
6449 status in the statusbar
6451 2003-04-07 John Levon <levon@movementarian.org>
6453 * lyxfunc.C: note status changed after a depth change
6455 2003-04-04 Angus Leeming <leeming@lyx.org>
6457 * LaTeX.h: move AuxInfo operator==, != out of line.
6458 Remove LaTeX virtual destructor; nothing derives from it.
6459 Move operator()() out of public area and rename it startscript().
6460 Change protected for private.
6462 2003-04-04 Angus Leeming <leeming@lyx.org>
6465 * text2.C: remove unneeded #includes.
6467 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6469 * text2.C (dEPM): fix the heigth of the next row
6471 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6473 * text.C: squashed an invalid getChar requester + some ws changes
6475 2003-04-03 John Levon <levon@movementarian.org>
6477 * bufferview_funcs.h:
6478 * bufferview_funcs.C:
6481 * text2.C: make getStatus work for the env depth lfuns
6483 2003-04-03 John Levon <levon@movementarian.org>
6485 * bufferview_funcs.h:
6486 * bufferview_funcs.C:
6489 * text2.C: parlistize decDepth(), by merging it with incDepth()
6491 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6493 * lyxrow.h: store a ParagraphList::iterator instead of a
6494 Paragraph* and adjust other class functions to suit.
6496 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6499 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6501 * text2.C (setCursor): do not anchor to cursor row for the time being
6503 2003-04-02 John Levon <levon@movementarian.org>
6510 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6512 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6514 * paragraph.h: make ParagraphList and ParagraphList::iterator
6515 friends of Paragraph.
6517 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6519 * ParagraphList.C: Use the private next_ and previous_ from
6522 2003-04-01 John Levon <levon@movementarian.org>
6526 * Makefile.am: rename, remove defaults gunk
6529 * MenuBackend.C: remove defaults gunk
6532 * Languages.C: remove defaults gunk
6535 * lyx_main.C: error out if files couldn't be found.
6537 2003-04-02 John Levon <levon@movementarian.org>
6539 * text2.C: make incDepth() use parlist
6541 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6543 * undo_funcs.C (firstUndoParagraph): adjust
6545 * text3.C (gotoInset): adjust
6546 (dispatch): adjust, and rewrite loop.
6548 * text2.C (init): adjust, and rewrite loop.
6549 (redoParagraphs): adjust
6550 (updateInset): adjust, and rewrite loop.
6551 (deleteEmptyParagraphMechanism): adjust
6553 * tabular.C (LyXTabular): adjust
6554 (SetMultiColumn): adjust
6557 * lyxtext.[Ch] (ownerParagraph): delete function
6558 (ownerParagraphs): new function returns a ParagraphList.
6560 * BufferView.C (removeAutoInsets): adjust
6561 (insertErrors): adjust
6562 (setCursorFromRow): adjust
6564 2003-04-01 Angus Leeming <leeming@lyx.org>
6566 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6569 2003-04-02 John Levon <levon@movementarian.org>
6575 * text_funcs.C: make transposeChars a free function
6577 * lyxrow_funcs.C: remove wrong comment
6579 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6582 * rowpainter.C: adjust
6587 * lyxrow_funcs. [Ch]: new files
6589 * lyxrow.[Ch]: remove next and previous pointers
6590 (next,previous): remove accessor functions
6591 (isParEnd): move to lyxrow_funcs
6592 (lastPos): move to lyxrow_funcs
6593 (nextRowIsAllInset): move to lyxrow_funcs
6594 (lastPrintablePos): move to lyxrow_funcs
6595 (numberOfSeparators): move to lyxrow_funcs
6596 (numberOfHfills): move to lyxrow_funcs
6597 (numberOfLabelHfills): move to lyxrow_funcs
6598 (hfillExpansion): move to lyxrow_funcs
6602 * bufferview_funcs.C (toggleAndShow): adjust
6604 * RowList.h: Remove class RowList from file leave just a
6607 * RowList.C: delete file
6609 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6612 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6614 * text3.C (cursorPrevious): adjust
6615 (cursorNext): adjust
6618 * text2.C (redoHeightOfParagraph): adjust
6619 (redoDrawingOfParagraph): adjust
6622 * text.C (breakParagraph): adjust
6623 (insertChar): adjust
6626 * rowpainter.C (RowPainter): adjust
6627 (leftMargin): simplify and adjust
6628 (most rowpainter functions): adjust.
6630 * rowpainter.h: store the row as RowList::iterator not as Row*
6632 * lyxcursor.C (row): taka RowList::iterator as arg
6635 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6638 2003-04-01 Angus Leeming <leeming@lyx.org>
6640 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6641 stuff like bool Bool.
6643 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6645 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6648 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6650 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6653 * lyxtext.h (rows): drop one version and leve a const variant that
6654 returns a RowList::iterator.
6656 2003-03-31 Angus Leeming <leeming@lyx.org>
6658 * text.C (fill): ensure that the signature is the same as that in the
6661 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6663 * text2.C (redoParagraphs): adjust
6664 (updateCounters): adjust
6665 (checkParagraph): adjust
6666 (getColumnNearX): adjust and reformat a bit.
6668 * text.C (top_y): adjust
6670 (leftMargin): adjust
6671 (prepareToPrint): adjust
6673 (getRowNearY): adjust
6675 * lyxtext.h: make rowlist_ mutable.
6677 * RowList.h: add const_iterator
6678 * RowList.C: adjust for RowList::const_iterator.
6680 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6683 2003-03-31 John Levon <levon@movementarian.org>
6686 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6688 * lyx_main.C: set default fonts from using lyx_gui funcs
6690 * exporter.C: pdf_mode moved from lyxrc
6693 * lyxfunc.C: changes from above
6695 2003-03-31 John Levon <levon@movementarian.org>
6697 * lyx_main.C: fix to the last fix
6699 2003-03-31 John Levon <levon@movementarian.org>
6701 * bufferlist.C: "Load original" -> "Load Original"
6707 * format.C: more Alert cleanups
6709 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6711 * text2.C (removeParagraph): make it take a RowList::iterator as
6713 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6714 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6716 * text.C (anchor_row): make it take a RowList::iterator as arg,
6718 (computeBidiTables): make it take a const reference to Row instead
6719 of Row pointer, adjust.
6720 (leftMargin): make it take a RowList::iterator as arg, adjust.
6721 (rowBreakPoint): adjust
6722 (breakAgainOneRow): make it take a RowList::iterator as arg,
6724 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6726 * bufferview_funcs.C (toggleAndShow): adjust
6728 2003-03-30 John Levon <levon@movementarian.org>
6732 * boost-inst.C: moved to support
6734 * several files: changes as a result
6736 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6738 * text2.C (LyXText): adjust.
6740 (removeRow): make it take a RowList::iterator as arg, adjust.
6741 (fullRebreak): adjust
6742 (deleteEmptyParagraphMechanism): adjust
6743 (clearPaint): adjust
6746 * text.C (top_y): adjust
6747 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6748 (breakAgain): make it take a RowList::iterator as arg, adjust.
6749 (breakParagraph): adjust
6750 (insertChar): adjust
6753 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6754 need_break_row, and refresh_row.
6756 * text3.C (dispatch): adjust
6758 * text2.C (checkParagraph): adjust
6760 (setCursorFromCoordinates): adjust
6762 * text.C (top_y): adjust
6764 (getRow): make it return a RowList::iterator, adjust
6765 (getRowNearY): make it return a RowList::iterator, adjust
6767 * text2.C (init): adjust
6768 (insertRow): remove function
6769 (insertParagraph): adjust
6770 (redoParagraphs): adjust
6771 (fullRebreak): adjust
6772 (updateCounters): adjust
6774 * text.C (top_y): rewrite to use RowList iterators.
6776 (setHeightOfRow): rewrite to sue RowList iterators.
6777 (appendParagraph): adjust
6778 (breakAgain): adjust
6779 (breakAgainOneRow): adjust
6780 (breakParagraph): adjust
6782 (getRowNearY): adjust, and remove commented code.
6784 * lyxtext.h (firstRow): delete function
6785 (lastRow): delete function
6786 (rows): new function (const and non-const versions.)
6787 (insertRow): delete function
6789 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6791 2003-03-29 John Levon <levon@movementarian.org>
6793 * BufferView_pimpl.C: always update scrollbar top
6794 because pasting text when we're anchored could mean we
6795 miss an update altogether
6797 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6799 * text2.C (init): use rowlist_.end() and not 0.
6800 (insertRow): change to take a RowList::iterator as arg, adjust
6802 (insertParagraph): change to take a RowList::iterator as arg,
6804 (redoParagraphs): remove some debug msgs.
6806 * text.C (appendParagraph): change to take a RowList::iterator
6807 arg, adjust for this.
6808 (breakAgain): add an assert
6809 (breakAgainOneRow): ditto
6811 2003-03-29 John Levon <levon@movementarian.org>
6813 * text2.C: do not clear selection after inc/decDepth
6816 2003-03-29 John Levon <levon@movementarian.org>
6819 * buffer.C: fix broken strerrors according to Lars
6821 2003-03-29 John Levon <levon@movementarian.org>
6823 * converters.C: more Alert cleanups
6825 2003-03-29 John Levon <levon@movementarian.org>
6827 * bufferview_funcs.C: remove pointless Alert
6829 * buffer.C: fix confusing error message when
6830 a template is chmoded 000
6832 2003-03-29 John Levon <levon@movementarian.org>
6836 * BufferView_pimpl.C: Alert fixes
6840 * tabular-old.C: remove unused table compat reading
6842 2003-03-29 John Levon <levon@movementarian.org>
6847 * lyx_cb.C: more Alert cleanups
6849 * lyxfunc.C: don't allow chktex if not latex document
6851 2003-03-29 John Levon <levon@movementarian.org>
6855 * buffer.C: warnings pushed down from support/,
6858 2003-03-29 John Levon <levon@movementarian.org>
6860 * lyxfunc.C: safety check for C-r (revert)
6862 2003-03-29 John Levon <levon@movementarian.org>
6865 * bufferlist.C: several UI fixes using Alert::prompt.
6866 Fix the pointless looping quit code. Fix stupid revert
6871 * lyx_cb.C: use Alert::prompt
6873 * lyx_main.C: remove a silly question
6875 * lyxfunc.C: remove a couple of silly questions,
6878 2003-03-28 John Levon <levon@movementarian.org>
6880 * text2.C: fix bug 974 (End on empty par)
6882 2003-03-28 John Levon <levon@movementarian.org>
6884 * BufferView_pimpl.C:
6886 * lfuns.h: remove do-nothing math greek lfuns
6888 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6890 * lyxgluelength.h (isValidGlueLength): add default arg on
6891 parameter 2. Remove default arg from friend in class.
6893 * lyxlength.h (isValidLength): add default arg on parameter 2.
6894 Remove default arg from friend in class.
6896 * text2.C (LyXText): adjust, initialize refresh_row.
6900 (insertParagraph): adjst
6901 (redoParagraphs): adjust
6902 (fullRebreak): adjust
6903 (updateCounters): adjust
6904 (deleteEmptyParagraphMechanism): first attempt at fixing a
6907 * text.C (top_y): adjust
6908 (setHeightOfRow): adjust
6910 (getRowNearY): adjust
6912 * lyxtext.h: include RowList.h
6913 (~LyXText): not needed anymore, deleted.
6914 (firstRow): modify for RowList
6915 (lastRow): new function
6916 Delete firstrow and lastrow class variables, add a Rowlist
6917 rowlist_ class variable.
6919 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6922 * RowList.C (insert): fix case where it == begin().
6924 2003-03-26 Angus Leeming <leeming@lyx.org>
6926 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6927 the thesaurus dialog.
6929 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6931 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6933 * RowList.[Ch]: new files
6935 * ParagraphList.C (erase): handle the case where it == begin
6938 2003-03-25 John Levon <levon@movementarian.org>
6942 * aspell.C: add new aspell support
6945 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6948 2003-03-25 Angus Leeming <leeming@lyx.org>
6951 * LyXAction.C (init): new LFUN_INSET_INSERT.
6953 * BufferView_pimpl.C (dispatch): split out part of the
6954 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6956 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6959 2003-03-25 Angus Leeming <leeming@lyx.org>
6961 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6963 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6966 * text3.C: remove useless row->height(0)
6968 2003-03-25 John Levon <levon@movementarian.org>
6972 * text3.C: rename the refreshing stuff to better names
6974 2003-03-24 John Levon <levon@movementarian.org>
6976 * BufferView_pimpl.h:
6977 * BufferView_pimpl.C: update layout choice on a mouse
6980 2003-03-23 John Levon <levon@movementarian.org>
6982 * Makefile.am: fix commandtags.h reference
6984 2003-03-22 John Levon <levon@movementarian.org>
6986 * BufferView_pimpl.C:
6991 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6993 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6996 * text.C: take the rtl methods out of line
6998 2003-03-21 André Pönitz <poenitz@gmx.net>
7000 * metricsinfo.[Ch]: new files containing structures to be passed around
7001 during the two-phase-drawing...
7003 2003-03-21 André Pönitz <poenitz@gmx.net>
7005 * lyxtextclass.C: read 'environment' tag.
7007 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7009 * text2.C (removeRow): fix bug 964
7011 2003-03-20 John Levon <levon@movementarian.org>
7015 * text2.C: paint cleanups. Inset::update() dropped font
7018 2003-03-19 John Levon <levon@movementarian.org>
7020 * lyxfunc.C: only fitcursor/markDirty if available()
7022 2003-03-19 John Levon <levon@movementarian.org>
7024 * commandtags.h: rename to ...
7026 * lfuns.h: ... this, and renumber / cleanup
7028 2003-03-19 John Levon <levon@movementarian.org>
7030 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7031 fit the cursor after an lfun
7035 * BufferView_pimpl.h:
7036 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7038 * LyXAction.C: layout-character should have ReadOnly
7040 * ParagraphParameters.C:
7042 * bufferview_funcs.C:
7049 * undo_funcs.C: changes from above
7051 2003-03-18 John Levon <levon@movementarian.org>
7053 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7054 remove it from update()
7056 * lyxfunc.C: update layout choice after an lfun
7058 * text3.C: remove extra updateLayoutChoice()s
7060 2003-03-18 John Levon <levon@movementarian.org>
7062 * text.C: top_y change means full repaint, fix
7063 a drawing bug with cursor movement
7065 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7069 * text2.C: anchor row on setCursor
7071 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7073 * lyxtext.h: remove almost all mutable keywords
7076 * text3.C: remove const keywords accordingly
7078 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7080 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7082 (TeXEnvironment): ditto
7085 2003-03-17 John Levon <levon@movementarian.org>
7087 * text.C (rowBreakPoint): remove attempt to fix displayed
7088 math insets inside a manual label
7090 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7092 * lyxtext.h: remove BufferView* as first arg from almost all class
7094 * other files: adjust.
7096 2003-03-17 John Levon <levon@movementarian.org>
7100 * text2.C: more paint cleanups
7102 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7105 * rowpainter.C: remove "smart" background painting code
7107 2003-03-16 John Levon <levon@movementarian.org>
7112 * text3.C: add helper functions for setting refresh_row/y
7114 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7116 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7117 newline inset which *can* get inserted in the pass_thru layouts.
7118 This is primarily for literate documents.
7120 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7122 * buffer.C: increment LYX_FORMAT to 223
7124 2003-03-14 André Pönitz <poenitz@gmx.net>
7126 * textclass.h: prepare for environment handling, ws changes
7127 * lyxlayout.C: read latexheader and latexfooter tags
7129 2003-03-14 John Levon <levon@movementarian.org>
7131 * text2.C: rewrite ::status() a bit
7133 2003-03-13 John Levon <levon@movementarian.org>
7135 * lyxtext.h: add some docs
7137 2003-03-13 John Levon <levon@movementarian.org>
7142 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7144 2003-03-13 John Levon <levon@movementarian.org>
7146 * text3.C: fix appendix redrawing
7148 2003-03-13 John Levon <levon@movementarian.org>
7150 * text.C (setHeightOfRow):
7152 * rowpainter.C: make appendix mark have the text
7153 "Appendix" so the user knows what it is
7156 * LColor.C: s/appendixline/appendix/ from above
7158 2003-03-13 John Levon <levon@movementarian.org>
7160 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7162 * text.C: fix a getChar(pos) bug properly
7164 2003-03-13 Angus Leeming <leeming@lyx.org>
7167 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7168 Probably only temporary. Let's see how things pan out.
7170 * BufferView.C (unlockInset):
7171 * BufferView_pimpl.C (fitCursor):
7172 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7174 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7175 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7177 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7178 new functions that convert ParagraphParameters to and from a string.
7180 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7181 BufferView::Pimpl's dispatch.
7182 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7184 2003-03-13 André Pönitz <poenitz@gmx.net>
7188 * factory.C: make it aware of InsetEnv
7190 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7192 * text2.C (setCursor): never ask for one past last
7193 (setCursor): add some debugging messages.
7195 * text.C (singleWidth): never ask for one past last
7196 (singleWidth): ditto
7198 (rightMargin): ditto
7199 (rowBreakPoint): ditto
7200 (setHeightOfRow): ditto
7201 (prepareToPrint): ditto
7203 * rowpainter.C (paintBackground): never ask for one past last
7204 (paintText): never ask for one past last
7206 * paragraph_pimpl.C (getChar): make the assert stricter, never
7207 allow the one past last pos to be taken
7209 * paragraph.C (getChar): ws changes only
7211 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7212 (numberOfSeparators): ditto
7213 (numberOfHfills): ditto
7215 2003-03-12 John Levon <levon@movementarian.org>
7221 * paragraph_funcs.C: fix per-buffer authorlists
7223 2003-03-12 John Levon <levon@movementarian.org>
7225 * text.C: fix newline in right address
7227 2003-03-12 Angus Leeming <leeming@lyx.org>
7229 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7230 duplicate those in LyXFunc::dispatch.
7234 * ToolbarDefaults.C:
7235 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7236 Add LFUN_FONTFREE_UPDATE.
7238 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7239 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7241 * bufferview_func.[Ch]: several new functions to facilliate
7242 transfer of data to and from the character dialog.
7244 2003-03-12 John Levon <levon@movementarian.org>
7249 * paragraph_funcs.C:
7250 * paragraph_pimpl.C:
7254 * text3.C: remove META_NEWLINE in favour of an inset
7257 * rowpainter.C: remove paintNewline (done by inset)
7259 2003-03-12 John Levon <levon@movementarian.org>
7261 * paragraph_pimpl.C: complain about bad getChar()s
7262 for a while at least
7264 2003-03-12 John Levon <levon@movementarian.org>
7267 * buffer.C: move paragraph read into a separate function,
7268 a little renaming to reflect that.
7271 * bufferparams.C: remove the author_ids map, not necessary now
7274 * factory.C: moved Buffer::readInset to here
7276 * paragraph_funcs.h:
7277 * paragraph_funcs.C: readParagraph free function moved from
7280 * tabular.C: name change
7282 2003-03-12 John Levon <levon@movementarian.org>
7285 * ParagraphParameters.C: move par params input to
7288 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7289 behave like a normal read from the stream wrt reading
7290 a line vs. a \\token
7292 2003-03-12 John Levon <levon@movementarian.org>
7295 * ParagraphParameters.h:
7296 * ParagraphParameters.C: move output code to a
7299 2003-03-12 John Levon <levon@movementarian.org>
7301 * BufferView.C (insertLyXFile):
7304 * tabular.C: use a parlist iterator for creating the
7307 2003-03-12 John Levon <levon@movementarian.org>
7309 * buffer.C: make current_change static local not
7312 2003-03-12 John Levon <levon@movementarian.org>
7314 * buffer.C: fix insertStringAsLines for change tracking
7316 2003-03-12 John Levon <levon@movementarian.org>
7323 * bufferparams.C: move author list into params. Rename some
7324 functions. Move the header reading into a separate token
7325 loop. Move the header token reading into BufferParams.
7327 2003-03-12 John Levon <levon@movementarian.org>
7329 * changes.C: put debug inside lyxerr.debugging() checks
7331 2003-03-11 André Pönitz <poenitz@gmx.net>
7333 * factory.C: make it aware of InsetHFill
7335 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7337 * buffer.C (latexParagraphs): move function from here...
7338 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7341 2003-03-10 Angus Leeming <leeming@lyx.org>
7343 * LyXAction.C (init): fix bug in poplating array with multiple entries
7344 with the same LFUN (spotted by JMarc).
7346 2003-03-10 John Levon <levon@movementarian.org>
7349 * text2.C: move getColumnNearX() near its
7352 2003-03-10 John Levon <levon@movementarian.org>
7354 * text.C: fix break before a minipage
7356 2003-03-10 John Levon <levon@movementarian.org>
7358 * text.C: fix the last commit
7360 2003-03-09 John Levon <levon@movementarian.org>
7364 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7365 bug 365 (don't break before insets unless needed). Don't
7366 return a value > last under any circumstances.
7368 2003-03-09 Angus Leeming <leeming@lyx.org>
7370 * BufferView_pimpl.C (trackChanges, dispatch): call
7371 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7373 2003-03-09 Angus Leeming <leeming@lyx.org>
7375 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7376 than Dialogs::showAboutlyx().
7378 2003-03-09 Angus Leeming <leeming@lyx.org>
7380 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7381 than Dialogs::showTabularCreate().
7383 2003-03-09 John Levon <levon@movementarian.org>
7387 * text2.C: 3rd arg to nextBreakPoint was always the same.
7390 2003-03-08 John Levon <levon@movementarian.org>
7397 * text2.C: Remove the "main" bit from the "main body"
7400 2003-03-08 John Levon <levon@movementarian.org>
7402 * text.C (leftMargin): The left margin of an empty
7403 manual label paragraph should not include the label width
7406 * text.C (prepareToPrint): don't attempt to measure hfills
7407 for empty manual label paragraphs - the answer should be 0
7409 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7411 * CutAndPaste.C: remove commented code and reindent.
7413 2003-03-08 John Levon <levon@movementarian.org>
7416 * lyxfunc.C: move reloadBuffer()
7419 * BufferView.C: to here
7421 * lyxvc.C: add comment
7424 * vc-backend.C: call bv->reload() to avoid
7425 getStatus() check on MENURELOAD
7427 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7429 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7430 to an old format .dep file.
7432 2003-03-07 Angus Leeming <leeming@lyx.org>
7434 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7435 when the LFUN_MOUSE_RELEASE should have been handled by
7436 inset->localDispatch.
7438 2003-03-07 Angus Leeming <leeming@lyx.org>
7440 * BufferView_pimpl.C (dispatch):
7441 * LyXAction.C (init):
7442 * ToolbarDefaults.C (init):
7444 * lyxfunc.C (getStatus):
7445 remove LFUN_INSET_GRAPHICS.
7447 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7449 2003-03-07 Angus Leeming <leeming@lyx.org>
7452 * LyXAction.C (init):
7453 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7455 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7458 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7460 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7461 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7463 2003-03-07 Angus Leeming <leeming@lyx.org>
7465 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7468 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7470 * ParagraphList.C (front): new function
7473 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7475 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7476 and top_row_offset_. removed var first_y.
7478 * text2.C (LyXText, removeRow):
7480 * BufferView_pimpl.C:
7481 use these methods instead of using first_y
7483 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7485 * text2.C (pasteSelection): adjust for checkPastePossible
7487 * CutAndPaste.C: remove Paragraph * buf and replace with
7488 ParagraphList paragraphs.
7489 (DeleteBuffer): delete
7490 (cutSelection): change the tc type to textclass_type
7491 (copySelection): change the tc type to textclass_type
7492 (copySelection): adjust for ParagraphList
7493 (pasteSelection): change the tc type to textclass_type
7494 (pasteSelection): adjust for Paragraphlist
7495 (nrOfParagraphs): simplify for ParagraphList
7496 (checkPastePossible): simplify for ParagraphList
7497 (checkPastePossible): remove unused arg
7499 * ParagraphList.C (insert): handle the case where there are no
7502 * CutAndPaste.h: make CutAndPaste a namespace.
7504 * text3.C (dispatch): adjust
7506 * text.C (breakParagraph): add a ParagraphList as arg
7508 * paragraph_funcs.C (breakParagraph): change to take a
7509 BufferParams and a ParagraphList as args.
7510 (breakParagraphConservative): ditto
7511 (mergeParagraph): ditto
7512 (TeXDeeper): add a ParagraphList arg
7513 (TeXEnvironment): ditto
7516 * buffer.C (readLyXformat2): adjust
7517 (insertStringAsLines): adjust
7518 (latexParagraphs): adjust
7520 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7521 (cutSelection): adjust
7522 (pasteSelection): adjust
7524 * BufferView_pimpl.C (insertInset): adjust
7526 2003-03-05 Angus Leeming <leeming@lyx.org>
7529 * LyXAction.C (init):
7530 * BufferView_pimpl.C (dispatch):
7531 * lyxfunc.C (getStatus):
7532 remove LFUN_CHILD_INSERT.
7534 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7536 2003-03-05 Angus Leeming <leeming@lyx.org>
7539 * LyXAction.C (init):
7540 * src/factory.C (createInset):
7541 * lyxfunc.C (getStatus):
7542 * text3.C (dispatch):
7543 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7545 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7547 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7549 * ParagraphList.C (insert): handle insert right before end()
7550 (erase): fix cases where it can be first or last paragraph.
7552 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7554 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7555 Paragraph::next and Paragraph::previous
7558 * text.C (breakParagraph): adjust
7560 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7561 BufferParams& as arg.
7562 (breakParagraph): use ParagraphList::insert
7563 (breakParagraphConservative): take a Buffer* instead of a
7564 BufferParams& as arg.
7565 (breakParagraphConservative): use ParagraphList::insert.
7567 * buffer.C (insertStringAsLines): un-const it
7568 (insertStringAsLines): adjust
7570 * ParagraphList.C (insert): new function
7572 * CutAndPaste.C (pasteSelection): adjust
7574 * text.C (backspace): adjust
7576 * tabular.C (SetMultiColumn): adjust
7578 * CutAndPaste.C (cutSelection): adjust
7579 (pasteSelection): adjust
7581 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7582 Buffer const * as arg
7584 * ParagraphList.C (erase): new function
7585 * paragraph_funcs.C (mergeParagraph): use it
7586 (mergeParagraph): make it take a Buffer* instead of a
7587 BufferParams* as arg
7589 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7591 (breakParagraphConservative): ditto
7593 * paragraph.h: remove the breakParagraph friend
7595 * paragraph.C (eraseIntern): new function
7596 (setChange): new function
7598 * paragraph_funcs.C (mergeParagraph): make it take a
7599 ParagraphList::iterator instead of a Paragraph *, adjust
7602 * paragraph.h: move an #endif so that the change tracking stuff
7603 also works in the NO_NEXT case.
7605 2003-03-04 Angus Leeming <leeming@lyx.org>
7608 * LyXAction.C: new LFUN_INSET_MODIFY.
7610 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7611 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7613 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7615 * several files: ws changes only
7617 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7618 (TeXEnvironment): ditto
7621 * buffer.C (makeLaTeXFile): adjust
7622 (latexParagraphs): make it take ParagraphList::iterator as args
7624 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7626 * buffer.C (latexParagraphs): adjust
7628 * paragraph.C (TeXOnePar): move function...
7629 (optArgInset): move function...
7630 (TeXEnvironment): move function...
7631 * paragraph_pimpl.C (TeXDeeper): move function...
7632 * paragraph_funcs.C: ...here
7634 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7636 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7638 * buffer.C (readInset): remove compability code for old Figure and
7641 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7643 * buffer.C: ws changes
7646 * BufferView_pimpl.C: ditto
7649 * bufferlist.h: ditto
7653 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7655 * converter.[Ch]: split into itself +
7658 * Makefile.am: += graph.[Ch] + format.[Ch]
7665 * lyxrc.C: added #include "format.h"
7667 2003-02-27 Angus Leeming <leeming@lyx.org>
7669 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7672 * factory.C (createInset): add "label" to the factory.
7674 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7675 string and do no more.
7677 2003-02-27 Angus Leeming <leeming@lyx.org>
7680 * LyXAction.C (init):
7681 * factory.C (createInset):
7682 * BufferView_pimpl.C (dispatch):
7683 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7685 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7687 * lyxfunc.C (dispatch):
7688 * text3.C (dispatch): pass name to params2string.
7690 2003-02-26 Angus Leeming <leeming@lyx.org>
7692 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7694 Rearrange the ~includes. Strip out the unnecessary ones.
7696 * factory.C (createInset): reformat.
7697 create new insets for the various LFUN_XYZ_APPLY lfuns.
7699 2003-02-26 John Levon <levon@movementarian.org>
7702 * lyxrow.C: add isParStart,isParEnd helpers
7704 * paragraph.h: make isInserted/DeletedText take refs
7706 * paragraph_funcs.h:
7707 * paragraph_funcs.C: remove #if 0'd code
7712 * text.C: use lyxrow helpers above.
7713 Move draw and paint routines to RowPainter.
7714 Make several methods use refs not pointers.
7715 Make backgroundColor() const.
7716 Add markChangeInDraw(), isInInset().
7717 Merge changeRegionCase into changeCase.
7718 Make workWidth() shouldn't-happen code into an Assert.
7721 * rowpainter.C: new class for painting a row.
7724 * vspace.C: make inPixels take a ref
7726 2003-02-26 Angus Leeming <leeming@lyx.org>
7728 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7731 2003-02-25 John Levon <levon@movementarian.org>
7733 * ispell.C: give the forked command a more accurate name
7735 2003-02-22 John Levon <levon@movementarian.org>
7738 * toc.C: make TocItem store an id not a Paragraph *
7741 2003-02-21 Angus Leeming <leeming@lyx.org>
7743 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7744 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7745 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7746 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7747 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7748 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7750 * BufferView_pimpl.C (dispatch):
7751 * LyXAction.C (init):
7752 * factory.C (createInset):
7753 * lyxfunc.C (getStatus, dispatch):
7754 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7756 2003-02-21 Angus Leeming <leeming@lyx.org>
7758 * BufferView_pimpl.C (MenuInsertLyXFile):
7759 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7760 * lyxfunc.C (menuNew, open, doImport):
7761 no longer pass a LyXView & to fileDlg.
7763 2003-02-21 Angus Leeming <leeming@lyx.org>
7765 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7766 * LyXAction.C: change, BIBKEY to BIBITEM.
7767 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7768 Change InsetBibKey to InsetBibitem.
7769 Change BIBKEY_CODE to BIBITEM_CODE.
7770 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7771 * factory.C: replace insetbib.h with insetbibitem.h.
7772 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7773 * paragraph.C: replace insetbib.h with insetbibitem.h.
7774 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7775 Change bibkey() to bibitem().
7776 * text.C: remove insetbib.h.
7777 * text2.C: replace insetbib.h with insetbibitem.h.
7778 change bibkey() to bibitem().
7779 * text3.C: remove insetbib.h.
7780 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7782 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7784 * lyxrc.C (output): enclose user email in quotes (in case there are
7787 2003-02-18 John Levon <levon@movementarian.org>
7789 * buffer.h: add std::
7791 2003-02-17 John Levon <levon@movementarian.org>
7797 * pspell.C: reworking. Especially in ispell, a large
7798 number of clean ups and bug fixes.
7800 * lyxfunc.C: fix revert to behave sensibly
7802 2003-02-17 André Pönitz <poenitz@gmx.net>
7805 * commandtags.h: new LFUN_INSERT_BIBKEY
7815 * paragraph_func.C: remove special bibkey handling
7817 2003-02-17 John Levon <levon@movementarian.org>
7819 * text.C (Delete): fix case where delete at the end of
7820 the very first paragraph would not merge the pars
7822 2003-02-17 John Levon <levon@movementarian.org>
7824 * lyxrow.C: fix lastPrintablePos()
7826 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7828 * bufferparams.C (writeLaTeX): add a std:here
7830 * buffer.C: and remove a using directive there
7832 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7834 * buffer.C (makeLaTeXFile): move the code that generates the
7837 * bufferparams.C (writeLaTeX): ... in this new method
7839 * LaTeXFeatures.C (getEncodingSet): make const
7840 (getLanguages): make const
7842 * MenuBackend.C (binding): returns the binding associated to this
7844 (add): sets the status of each item by calling getStatus. Adds
7846 (read): add support for OptSubMenu
7847 (expand): remove extra separator at the end of expanded menu
7849 2003-02-15 John Levon <levon@movementarian.org>
7852 * BufferView_pimpl.C:
7854 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7855 inset code that had no actual effect. Remove unneeded status
7858 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7860 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7863 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7865 * text.C (drawLengthMarker): also draw an arrow marker for
7866 symbolic lengths (medskip...)
7868 2003-02-14 John Levon <levon@movementarian.org>
7871 * tabular.C: better method names
7873 2003-02-14 John Levon <levon@movementarian.org>
7875 * BufferView_pimpl.C:
7880 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7881 it's a more accurate name. Remove some pointless uses.
7883 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7885 * text2.C (LyXText): change order of initilizers to shut off
7888 2003-02-14 John Levon <levon@movementarian.org>
7890 * buffer.C: use ParIterator for getParFromID()
7894 * paragraph_pimpl.h:
7895 * paragraph_pimpl.C: remove unused getParFromID()
7897 2003-02-14 John Levon <levon@movementarian.org>
7899 * buffer.C: remove some very old #if 0'd parse code
7901 2003-02-13 John Levon <levon@movementarian.org>
7905 * text2.C: move hfillExpansion(), numberOfSeparators(),
7906 rowLast(), rowLastPrintable(), numberofHfills(),
7907 numberOfLabelHfills() ...
7910 * lyxrow.C: ... to member functions here.
7915 * text.C: remove LyXText::beginningOfMainBody(), and call
7916 p->beginningOfMainBody() directly. Move the check for
7917 LABEL_MANUAL into the latter.
7924 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7930 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7931 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7933 2003-02-13 John Levon <levon@movementarian.org>
7935 * CutAndPaste.C: remove debug
7937 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7939 * paragraph.C (asString): remove two unused variables
7941 * lyxtextclass.C (readTitleType):
7943 (LyXTextClass): handle new members titletype_ and titlename_
7945 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7947 2003-02-09 John Levon <levon@movementarian.org>
7950 * buffer.C: replace hand-coded list with a map for the dep clean
7952 2003-02-08 John Levon <levon@movementarian.org>
7954 * LaTeX.C: consolidate code into showRunMessage() helper
7956 2003-02-08 John Levon <levon@movementarian.org>
7961 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7962 and pass the size in explicitly
7964 * BufferView_pimpl.h:
7965 * BufferView_pimpl.C:
7967 * BufferView.C: add getCurrentChange()
7969 * BufferView_pimpl.h:
7970 * BufferView_pimpl.C: handle change lfuns
7972 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7973 for changes. Mark pasted paragraphs as new.
7975 * support/lyxtime.h:
7976 * support/lyxtime.C:
7977 * DepTable.C: abstract time_t as lyx::time_type
7980 * LColor.C: add colours for new text, deleted text, changebars
7982 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7983 package use "usenames" option.
7987 * LyXAction.C: add change lfuns
7991 * author.C: author handling
7994 * buffer.C: add a per-buffer author list, with first entry as
7995 current author. Handle new .lyx tokens for change tracking. Output
7996 author list to .lyx file. Output dvipost stuff to .tex preamble.
7997 Bump lyx format to 222.
8000 * bufferlist.C: add setCurrentAuthor() to reset current author details
8004 * bufferparams.C: add param for tracking
8006 * bufferview_funcs.C: output change info in minibuffer
8010 * changes.C: add change-tracking structure
8013 * debug.C: add CHANGES debug flag
8016 * lyxfind.C: add code for finding the next change piece
8019 * lyxrc.C: add user_name and user_email
8022 * lyxrow.C: add a metric for the top of the text line
8025 * text.C: implement accept/rejectChange()
8028 * text.C: paint changebars. Paint new/deleted text in the chosen
8029 colours. Strike through deleted text.
8033 * paragraph_pimpl.h:
8034 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8035 in the current change to the insert functions. Rework erase to
8036 mark text as deleted, adding an eraseIntern() and a range-based
8037 erase(). Implement per-paragraph change lookup and
8040 * paragraph_funcs.C: Fixup paste for change tracking.
8042 * tabular.C: mark added row/columns as new.
8044 * text.C: fix rowLast() to never return -1. Don't allow
8045 spellchecking of deleted text. Track transpose changes. Don't
8046 allow paragraph break or merge where appropriate.
8048 * text2.C: leave cursor at end of selection after a cut.
8050 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8052 * text.C (getLengthMarkerHeight):
8053 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8054 visible on screen too.
8056 2003-02-07 John Levon <levon@movementarian.org>
8058 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8060 2003-02-05 Angus Leeming <leeming@lyx.org>
8062 * lyxserver.C (read_ready): revert my patch of 11 September last year
8063 as it sends PC cpu through the roof. Presumably this means that
8064 the lyxserver will no longer run on an Alpha...
8066 2003-01-30 Angus Leeming <leeming@lyx.org>
8068 * factory.C (createInset): create an InsetCommandParam of type "index"
8069 and use it to 'do the right thing'.
8071 * text2.C (getStringToIndex): ensure that cursor position is always
8072 reset to the reset_cursor position.
8074 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8076 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8079 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8083 * lyxfunc.C: Output messages with identical spelling, punctuation,
8086 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8088 * MenuBackend.C (expandFormats): List only viewable export formats
8091 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8094 * lyxfunc.C (getStatus): Make sure that formats other than
8095 "fax" can also be disabled
8097 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8099 * text3.C (dispatch): put the lfuns that insert insets in 3
8100 groups, and call doInsertInset with appropriate arguments.
8101 (doInsertInset): new function, that creates an inset and inserts
8102 it according to some boolean parameters.
8104 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8106 * buffer.C (readFile): remember to pass on 'par' when calling
8107 readFile recursively.
8109 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8111 * MenuBackend.C (expandFormats): add "..." to import formats.
8113 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8115 * paragraph.C (asString): Remove XForms RTL hacks.
8117 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8118 * buffer.C: fix typo
8120 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8122 * Makefile.am (LIBS): delete var
8123 (lyx_LDADD): add @LIBS@ here instead.
8125 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8127 * Clarify the meaning of "wheel mouse jump"
8129 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8131 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8134 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8136 * importer.C (Loaders): do not preallocate 3 elements in the
8137 vector, since one ends up with 6 elements otherwise
8139 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8141 * DepTable.C (write): write the file name as last element of the
8142 .dep file (because it may contain spaces)
8143 (read): read info in the right order
8145 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8147 * paragraph_pimpl.C (simpleTeXBlanks):
8148 (simpleTeXSpecialChars):
8149 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8151 * tabular.C (latex): add some missing case statements. Reindent.
8153 * MenuBackend.C (expandToc): remove unused variable.
8155 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8164 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8167 2003-01-05 John Levon <levon@movementarian.org>
8170 * BufferView.C: add getEncoding()
8173 * kbsequence.C: do not store last keypress
8176 * lyxfunc.C: store last keypress here instead. Pass encoding
8179 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8181 * lyx_main.C (init): remove annoying error message when following
8182 symbolic links (bug #780)
8184 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8186 * text.C (insertChar):
8187 * lyxrc.C (getDescription): remove extra spaces
8189 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8191 * lyxrc.C (getDescription): remove extra spaces
8193 2002-12-20 John Levon <levon@movementarian.org>
8195 * text3.C: hack fix for page up/down across tall rows
8197 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8199 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8202 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8204 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8205 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8206 thesaurus is not compiled in
8208 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8210 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8212 2002-12-16 Angus Leeming <leeming@lyx.org>
8215 * lyx_main.C (init): remove override_x_deadkeys stuff.
8217 2002-12-12 John Levon <levon@movementarian.org>
8219 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8220 insert. Only remove shift modifier under strict
8223 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8225 * MenuBackend.C (expandToc): fix crash.
8227 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8229 * MenuBackend.C (expandToc): gettext on float names.
8231 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8233 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8234 implement bool empty() [bug 490]
8236 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8238 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8240 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8242 * several files: ws changes
8244 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8246 * text2.C (setCounter): clean up a bit, use boost.format.
8247 (updateCounters): initialize par upon declaration.
8249 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8250 if the layout exists. We do not just store the layout any more.
8251 (SwitchLayoutsBetweenClasses): use boost.format
8253 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8255 * converter.C (convert): if from and to files are the same, use a
8256 temporary files as intermediary
8258 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8261 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8263 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8265 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8267 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8269 * tabular.C (asciiPrintCell): use string(size, char) instead of
8272 * sgml.C (openTag): fix order of arguments to string constructor
8275 * lyxfunc.C (dispatch): use boost.format
8277 * lots of files: change "c" -> 'c'
8279 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8281 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8283 2002-11-25 Angus Leeming <leeming@lyx.org>
8285 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8287 * lyx_main.C (init): compile fix.
8289 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8291 * lyx_cb.C (start): boost.formatify
8292 do not include <iostream>
8294 * lengthcommon.C: ws only
8296 * boost-inst.C,BoostFormat.h: add more explict instantations
8298 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8300 * lots of files: handle USE_BOOST_FORMAT
8302 2002-11-21 John Levon <levon@movementarian.org>
8304 * pspell.C: fix compile
8306 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8308 * lyxfunc.C (dispatch): use boost::format
8312 * lyxfont.C (stateText): use boost::format
8314 * lyx_main.C (LyX): use boost::format
8316 (queryUserLyXDir): ditto
8319 (typedef boost::function): use the recommened syntax.
8321 * importer.C (Import): use boost::format
8323 * debug.C (showLevel): use boost::format
8325 * converter.C (view): use boost::format
8330 * bufferview_funcs.C (currentState): use boost::format
8332 * bufferlist.C (emergencyWrite): use boost::format
8334 * buffer.C (readLyXformat2): use boost::format
8335 (parseSingleLyXformat2Token): ditto
8337 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8339 * LaTeX.C (run): use boost::format
8341 * Chktex.C (scanLogFile): use boost::format
8343 * BufferView_pimpl.C (savePosition): use boost::format
8344 (restorePosition): ditto
8345 (MenuInsertLyXFile): ditto
8347 * BoostFormat.h: help file for explicit instation.
8349 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8351 * tabular.C (latex): Support for block alignment in fixed width
8354 2002-11-17 John Levon <levon@movementarian.org>
8356 * BufferView_pimpl.C:
8358 * lyxfunc.C: split filedialog into open/save
8360 2002-11-08 Juergen Vigna <jug@sad.it>
8362 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8363 by my last patch (hopefully).
8365 2002-11-08 John Levon <levon@movementarian.org>
8374 * toc.C: ParConstIterator, and use it (from Lars)
8376 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8378 * lyxtextclass.[Ch]: revise and add doxygen comments
8380 2002-11-07 John Levon <levon@movementarian.org>
8382 * text.C: fix progress value for spellchecker
8384 * toc.C: fix navigate menu for insetwrap inside minipage
8386 * paragraph_funcs.C: added FIXME for suspect code
8388 2002-11-07 John Levon <levon@movementarian.org>
8390 * BufferView_pimpl.C: fix redrawing of insets
8393 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8395 * text2.C (updateCounters): fix bug 668
8397 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8399 * text3.C (dispatch): Do not make the buffer dirty when moving the
8402 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8404 * vc-backend.C: STRCONV
8407 * text2.C (setCounter): STRCONV
8409 * paragraph.C (asString): STRCONV
8411 * lyxlength.C (asString): STRCONV
8412 (asLatexString): ditto
8414 * lyxgluelength.C (asString): STRCONV
8415 (asLatexString): ditto
8417 * lyxfunc.C (dispatch): STRCONV
8420 * lyxfont.C (stateText): STRCONV
8422 * importer.C (Import): STRCONV
8424 * counters.C (labelItem): STRCONV
8425 (numberLabel): ditto
8426 (numberLabel): remove unused ostringstream o
8431 * bufferview_funcs.C (currentState): STRCONV
8433 * buffer.C (readFile): STRCONV
8434 (asciiParagraph): ditto
8435 (makeLaTeXFile): ditto
8437 * Spacing.C (writeEnvirBegin): STRCONV
8439 * LaTeXFeatures.C (getLanguages): STRCONV
8440 (getPackages): ditto
8442 (getBabelOptions): ditto
8443 (getTClassPreamble): ditto
8444 (getLyXSGMLEntities): ditto
8445 (getIncludedFiles): ditto
8449 (scanAuxFile): ditto
8452 * LString.h: add the STRCONV macros
8454 * BufferView_pimpl.C (savePosition): STRCONV
8455 (restorePosition): ditto
8456 (MenuInsertLyXFile): ditto
8458 * vc-backend.C (scanMaster): change from submatch[...] to
8461 * funcrequest.C: include config.h
8463 * factory.C: include config.h
8465 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8467 * box.C: include config.h
8469 * LaTeX.C (scanAuxFile): change from submatch[...] to
8473 2002-10-25 Angus Leeming <leeming@lyx.org>
8475 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8477 * ispell.[Ch] (setError): new method.
8478 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8479 Use setError() insetead of goto END.
8481 * lyx_cb.C (AutoSave): move out child process into new class
8484 2002-10-30 John Levon <levon@movementarian.org>
8486 * text3.C: make start appendix undoable
8488 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8490 * lyxlength.C (inPixels): Fix returned value.
8492 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8495 2002-10-24 Angus Leeming <leeming@lyx.org>
8497 * lyxgluelength.h: no need to forward declare BufferParams
8498 or BufferView, so don't.
8500 2002-10-21 John Levon <levon@movementarian.org>
8502 * BufferView.C: menuUndo ->undo, redo
8504 * BufferView.h: document, remove dead, make some methods private
8506 * paragraph_funcs.h:
8507 * paragraph_funcs.C:
8508 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8513 * sgml.C: move sgml open/close tag into sgml.C
8515 * bufferview_funcs.h: unused prototype
8518 * lyxfunc.C: remove unused
8521 * text.C: remove unused
8523 2002-10-21 John Levon <levon@movementarian.org>
8527 * BufferView_pimpl.h:
8528 * BufferView_pimpl.C: fix mouse wheel handling based on
8529 patch from Darren Freeman
8531 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8533 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8535 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8537 * lyxlength.C (inPixels): Fix hanfling of negative length.
8538 Fix LyXLength::MU case.
8540 2002-10-16 John Levon <levon@movementarian.org>
8542 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8544 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8546 * converter.C (view): add support for $$i (file name) and $$p
8547 (file path) for the viewer command. If $$i is not specified, then
8548 it is appended to the command (for compatibility with old syntax)
8550 2002-10-14 Juergen Vigna <jug@sad.it>
8552 * undo_funcs.C (textHandleUndo): alter the order in which the
8553 new undopar is added to the LyXText, as we have to set first
8554 the right prev/next and then add it as otherwise the rebuild of
8555 LyXText is not correct. Also reset the cursor to the right paragraph,
8556 with this IMO we could remove the hack in "redoParagraphs()".
8558 2002-10-09 Angus Leeming <leeming@lyx.org>
8560 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8561 to turn off an optimisation if a new inset is to be inserted.
8563 2002-10-11 André Pönitz <poenitz@gmx.net>
8565 * lyxtext.h: make some functions public to allow access
8566 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8568 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8570 * text3.C (dispatch): when changing layout, avoid an infinite loop
8573 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8575 * lyxrc.C (read): treat a viewer or converter command of "none" as
8578 * MenuBackend.C (expandFormats): for an update, also allow the
8579 formats that are not viewable
8581 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8582 script if it is newer than the lyxrc.defaults in user directory
8584 2002-10-07 André Pönitz <poenitz@gmx.net>
8586 * text.C: Vitaly Lipatov's small i18n fix
8588 2002-09-25 Angus Leeming <leeming@lyx.org>
8590 * ispell.h: doxygen fix.
8592 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8594 * buffer.h (readFile): Add a new argument to the method, to allow
8595 reading of old-format templates.
8597 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8599 * toc.C (getTocList): Get TOC from InsetWrap.
8601 2002-09-16 John Levon <levon@movementarian.org>
8603 * lyxfunc.C: check tabular for cut/copy too
8605 2002-09-12 John Levon <levon@movementarian.org>
8610 * factory.C: add header
8612 * paragraph_funcs.h:
8613 * paragraph_funcs.C: cleanup
8615 2002-09-11 John Levon <levon@movementarian.org>
8617 * PrinterParams.h: odd/even default to true
8619 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8621 * PrinterParams.h: update printer parameters for new xforms dialog
8623 2002-09-11 Angus Leeming <leeming@lyx.org>
8625 * lyxserver.C (read_ready): re-write to make it more transparent
8626 and to make it work in coherent fashion under Tru64 Unix.
8628 2002-09-11 André Pönitz <poenitz@gmx.net>
8632 * text3.C: implement LFUN_WORDSEL
8634 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8636 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8637 make floatlist_ a boost::shared_ptr<FloatList>
8639 * lyxtextclass.C: include FloatList.h
8640 (LyXTextClass): initialize floatlist_
8641 (TextClassTags): add TC_NOFLOAT
8642 (Read): match "nofloat" to TC_NOFLOAT and use it.
8643 (readFloat): modify call to floatlist_
8647 * FloatList.[Ch] (FloatList): remove commented out float
8649 (erase): new function
8651 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8653 * MenuBackend.C (expandToc): fix crash when there is no document
8656 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8658 * many files: Add insetwrap.
8660 2002-09-09 John Levon <levon@movementarian.org>
8662 * text2.C: remove confusing and awkward depth wraparound
8664 2002-09-09 John Levon <levon@movementarian.org>
8666 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8669 * buffer.C: remove getIncludeonlyList()
8672 * lyxfunc.C: remove headers
8674 2002-09-09 Juergen Vigna <jug@sad.it>
8676 * text.C (getColumnNearX): fix form Michael this is most
8677 probably a cut&paste bug.
8679 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8681 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8683 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8684 references, ws changes.
8686 * text2.C (init): update counters after init
8687 (insertParagraph): no need to set counter on idividual paragraphs.
8688 (setCounter): access the counters object in the textclass object
8689 on in the buffer object.
8690 (updateCounters): ditto
8692 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8693 shared_ptr<Counters> to avoid loading counters.h in all
8695 (LyXTextClass): initialize ctrs_
8696 (TextClassTags): add TC_COUNTER, and ...
8697 (Read): use it here.
8698 (CounterTags): new tags
8699 (readCounter): new function
8700 (counters): new funtion
8701 (defaultLayoutName): return a const reference
8703 * counters.C (Counters): remove contructor
8704 (newCounter): remove a couple of unneeded statements.
8705 (newCounter): simplify a bit.
8706 (numberLabel): some small formatting changes.
8708 * buffer.[Ch]: remove all traces of counters, move the Counters
8709 object to the LyXTextClass.
8711 2002-09-06 Alain Castera <castera@in2p3.fr>
8713 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8714 package to set the horizontal alignment on fixed width columns.
8717 * lyx_sty.h: added tabularnewline macro def.
8719 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8721 2002-09-06 John Levon <levon@movementarian.org>
8723 * LyXAction.C: tooltips for sub/superscript
8725 * MenuBackend.C: a bit more verbose
8727 * lyxfunc.C: tiny clean
8729 * undo_funcs.C: document undo_frozen
8731 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8733 * counters.C (Counters): add missing algorithm counter.
8735 * text2.C (setCounter): lookup the counter with layouts latexname
8736 instead of by section number.
8737 (setCounter): use a hackish way to lookup the correct enum
8739 a float name->type change
8740 reset enum couners with counter name directly instead of depth value.
8742 * counters.C (Counters): remove the push_backs, change to use the
8743 float type not the float name.
8744 (labelItem): remove unused string, float name->type change
8746 * counters.h: don't include vector, loose the enums and sects vectors
8748 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8750 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8751 (Read): add float->TC_FLOAT to textclassTags
8752 (Read): and handle it in the switch
8753 (readFloat): new function
8755 * FloatList.C (FloatList): comment out the hardcoded float
8758 * lyxlayout.h: ws change.
8760 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8762 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8764 2002-09-03 Angus Leeming <leeming@lyx.org>
8766 * BufferView_pimpl.h: qualified name is not allowed in member
8767 declaration: WorkArea & Pimpl::workarea() const;
8769 * factory.C: added using std::endl directive.
8771 * text3.C: added using std::find and std::vector directives.
8773 2002-08-29 André Pönitz <poenitz@gmx.net>
8776 * text2.C: remove unused member number_of_rows
8779 * BufferView2.C: remove file, move contents to...
8780 * BufferView.C: ... here
8782 * BufferView_pimpl.C:
8783 * factory.C: move more inset creation to factory
8785 * vspace.C: avoid direct usage of LyXText, ws changes
8788 don't provide direct access to WorkArea, use two simple
8789 acessors haveSelction() and workHeight() instead
8792 2002-08-29 John Levon <levon@movementarian.org>
8794 * BufferView_pimpl.C (dispatch): do not continue when
8797 2002-08-28 André Pönitz <poenitz@gmx.net>
8799 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8802 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8804 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8806 * buffer.C: increment LYX_FORMAT to 221
8808 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8809 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8811 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8813 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8815 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8817 * factory.C (createInset): use LyXTextClass::floats
8819 * MenuBackend.C (expandFloatListInsert):
8820 (expandFloatInsert):
8823 * text2.C (setCounter):
8825 * LaTeXFeatures.C (useFloat):
8826 (getFloatDefinitions):
8828 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8830 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8831 floatlist_, with accessor floats().
8833 * FloatList.h: remove global FloatList
8835 2002-08-26 André Pönitz <poenitz@gmx.net>
8837 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8841 * BufferView_pimpl.C:
8842 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8844 2002-08-25 John Levon <levon@movementarian.org>
8846 * LyXAction.C: fix margin note description
8848 2002-08-24 John Levon <levon@movementarian.org>
8852 * bufferview_funcs.C:
8854 * undo_funcs.C: cleanups
8856 * lyxfunc.C: disable CUT/COPY when no selection
8858 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8860 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8861 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8863 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8864 Add backward compatibility to "mono", "gray" and "no".
8866 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8868 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8869 (and file_format >= 200).
8871 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8873 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8875 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8877 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8879 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8881 * BufferView_pimpl.C:
8888 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8889 inset and code to make it work with the paragraph code. The inset
8890 can be anywhere in the paragraph, but will only do the expected
8891 thing in LaTeX if the layout file contains the parameter line
8893 (or more generally, a nonzero value) for that layout.
8895 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8897 * paragraph.h: remove the declaration of undefined counters class
8900 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8902 * text2.C (setCounter): fixed enumeration mis-count as reported by
8903 Dr. Richard Hawkins.
8905 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8907 * paragraph_funcs.h: remove some unneeded includes
8909 * text.C (backspace): pasteParagraph now in global scipe
8911 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8912 (pasteSelection): ditto
8914 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8915 * paragraph_funcs.C (pasteParagraph): ... here
8917 2002-08-20 André Pönitz <poenitz@gmx.net>
8919 * commandtags.h: new LFUNs for swapping/copying table row/colums
8922 * lyxfunc.C: support for new lfuns
8924 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8927 * buffer.[Ch]: remove NO_COMPABILITY stuff
8929 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8931 * boost.C (throw_exception): new file, with helper function for
8932 boost compiled without exceptions.
8937 * ParameterStruct.h:
8938 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8940 * bufferlist.C (emergencyWriteAll): use boost bind
8942 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8944 * text.C: include paragraph_funcs.h
8945 (breakParagraph): breakParagraph is now in global scope
8947 * paragraph_funcs.[Ch]: new files
8949 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8952 * buffer.C: include paragraph_funcs.h
8953 (insertStringAsLines): breakParagraph is now in global scope
8955 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8958 * CutAndPaste.C: include paragraph_funcs.h
8959 (cutSelection): breakParagraphConservative is now in global scope
8960 (pasteSelection): ditto
8962 * buffer.h: declare oprator== and operator!= for
8963 Buffer::inset_iterator
8965 * bufferlist.C (emergencyWrite): don't use fmt(...)
8967 * text3.C: add using std::endl
8969 * BufferView.C (moveCursorUpdate): remove default arg
8971 2002-08-20 André Pönitz <poenitz@gmx.net>
8973 * buffer.[Ch]: move inline functions to .C
8976 * BufferView_pimpl.C:
8978 * buffer.[Ch]: use improved inset_iterator
8981 * paragraph.[Ch]: write one paragraph at a time
8983 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8985 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8986 style if style is not specified.
8988 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8990 * text2.C (setCounter): when searching for right label for a
8991 caption, make sure to recurse to parent insets (so that a caption
8992 in a minipage in a figure float works) (bug #568)
8994 2002-08-20 André Pönitz <poenitz@gmx.net>
8996 * text3.C: new file for LyXText::dispatch() and helpers
8998 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9000 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9002 2002-08-19 André Pönitz <poenitz@gmx.net>
9005 * text.C: new LyXText::dispatch()
9007 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9009 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9011 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9013 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9016 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9018 * Makefile.am: use $(variables) instead of @substitutions@
9020 2002-08-15 André Pönitz <poenitz@gmx.net>
9023 * BufferView_pimpl.C: streamlining mathed <-> outer world
9027 * LyXAction.C: remove unused LFUN_MATH
9029 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9031 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9033 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9035 * paragraph.C (Paragraph): reformat a bit
9036 (cutIntoMinibuffer): use builtin InsetList function instad of
9040 * buffer.C: include boost/bind.hpp, add using std::for_each
9041 (writeFileAscii): use ParagraphList iterators
9042 (validate): use for_each for validate traversal of paragraphs
9043 (getBibkeyList): use ParagraphList iterators
9044 (resizeInsets): use for_each to resizeInsetsLyXText for all
9046 (getParFromID): use ParagraphList iterators
9048 * BufferView2.C (lockInset): use paragraph list and iterators
9050 2002-08-14 John Levon <levon@movementarian.org>
9052 * lyxserver.C: remove spurious xforms include
9054 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9056 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9058 2002-08-13 André Pönitz <poenitz@gmx.net>
9061 * lyxfunc.C: further cleaning
9063 2002-08-13 André Pönitz <poenitz@gmx.net>
9065 * funcrequest.h: new constructor
9067 * funcrequest.C: move stuff here from .h
9070 * BufferView_pimpl.C:
9073 * lyxfunc.C: subsequent changes
9075 * lyxfunc.h: new view() member function
9077 * lyxfunc.C: subsequent changes
9079 2002-08-13 Angus Leeming <leeming@lyx.org>
9082 * BufferView_pimpl.C:
9090 changes due to the changed LyXView interface that now returns references
9091 to member variables not pointers.
9093 2002-08-13 Angus Leeming <leeming@lyx.org>
9095 * WordLangTuple (word, lang_code): return references to strings,
9100 * lyxtext.h: forward-declare WordLangTuple.
9105 * text.C: #include "WordLangTuple.h".
9108 * text.C: (selectNextWordToSpellcheck): constify return type.
9110 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9116 * paragraph_pimpl.h:
9119 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9121 Made updateCounter always count from start of buffer, and removed
9122 second argument (par).
9123 Reverted floats number display to '#'. Perhaps I'll try again when the
9124 code base is sanitized a bit.
9126 2002-08-12 Angus Leeming <leeming@lyx.org>
9128 * buffer.[Ch] (getLabelList): constify.
9130 2002-08-07 André Pönitz <poenitz@gmx.net>
9132 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9134 * funcrequest.h: extension to keep mouse (x,y) position
9136 2002-08-12 Juergen Vigna <jug@sad.it>
9138 * BufferView2.C (insertErrors): forbid undo when inserting error
9141 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9143 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9145 * ParagraphList.[Ch]: new files
9147 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9149 * BufferView2.C (lockInset): ParagraphList changes
9152 * bufferlist.C: ditto
9156 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9158 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9159 unused class variable counter_,
9161 * paragraph.[Ch] (getFirstCounter): delete unused function
9163 * counters.C: include LAssert.h
9164 (reset): add a new function with no arg, change other version to
9165 not have def. arg and to not allow empty arg.
9167 * text2.C (setCounter): remove empty arg from call to Counters::reset
9169 2002-08-11 John Levon <levon@movementarian.org>
9171 * Makefile.am: add WordLangTuple.h
9173 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9175 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9176 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9178 * insets/insettext.C: InsetList changes
9180 * graphics/GraphicsSupport.C (operator()): InsetList changes
9182 * toc.C (getTocList): InsetList changes
9184 * paragraph_pimpl.[Ch]: InsetList changes
9186 * paragraph.[Ch]: InsetList changes
9188 * buffer.C (inset_iterator): InsetList changes
9189 (setParagraph): ditto
9190 * buffer.h (inset_iterator): ditto
9191 * iterators.C (operator++): ditto
9192 * iterators.h: ditto
9194 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9196 * InsetList.[Ch]: new files, most InsetList handling moved out of
9199 * BufferView2.C (removeAutoInsets): InsetList changes
9201 (ChangeInsets): ditto
9203 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9205 * paragraph_pimpl.h (empty): new function
9207 * paragraph.[Ch] (empty): new function
9209 * other files: use the new Paragraph::empty function
9211 2002-08-09 John Levon <levon@movementarian.org>
9213 * lyxtext.h: remove unused refresh_height
9215 2002-08-09 John Levon <levon@movementarian.org>
9222 * paragraph.C: move sgml char escaping out of paragraph
9225 * paragraph.C: remove id setter
9229 * paragraph_pimpl.C: remove dead tex_code_break_column
9231 * bufferview_funcs.C: small cleanup
9233 * lyxfunc.C: remove dead proto
9235 * lyxtext.h: make some stuff private. Remove some dead stuff.
9237 * lyxgluelength.C: make as[LyX]String() readable
9239 2002-08-08 John Levon <levon@movementarian.org>
9244 * ToolbarDefaults.C:
9247 * toc.C: lyxaction cleanup
9249 2002-08-08 John Levon <levon@movementarian.org>
9251 * BufferView2.C: small cleanup
9254 * lyxfind.C: move unnecessary header into the .C
9256 2002-08-08 John Levon <levon@movementarian.org>
9258 * funcrequest.h: just tedious nonsense
9261 * lyx_main.C: cleanups
9264 * vspace.C: remove dead header lyx_main.h
9266 2002-08-07 Angus Leeming <leeming@lyx.org>
9269 * paragraph_pimpl.h:
9270 Forward declare class Counters in paragraph.h by moving the ctrs member
9271 variable into Paragraph::Pimpl.
9272 (counters): new method, returning a reference to pimpl_->ctrs.
9274 * text2.C: ensuing changes.
9276 2002-08-07 John Levon <levon@movementarian.org>
9278 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9280 * BufferView_pimpl.C: announce X selection on double/triple
9283 * lyx_main.C: use correct bool in batch dispatch
9285 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9287 2002-08-07 André Pönitz <poenitz@gmx.net>
9289 * funcrequest.h: new class to wrap a kb_action and its argument
9292 * BufferView_pimpl[Ch]:
9296 * lyxrc.C: subsequent changes
9299 2002-08-07 John Levon <levon@movementarian.org>
9301 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9302 document options change.
9304 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9309 * makefile.am: move counters functionality over from
9310 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9312 2002-08-06 John Levon <levon@movementarian.org>
9314 * WordLangTuple.h: new file for word + language code tuple
9325 * BufferView2.C: use WordLangTuple
9328 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9330 2002-08-06 John Levon <levon@movementarian.org>
9332 * lyx_main.C: fix cmdline batch handling
9334 2002-08-06 André Pönitz <poenitz@gmx.net>
9336 * lyxrc.C: set default for show_banner to true
9338 2002-08-06 John Levon <levon@movementarian.org>
9340 * pspell.C: fix a crash, and allow new aspell to work
9342 2002-08-06 John Levon <levon@movementarian.org>
9345 * kbmap.C: small cleanup
9348 * vspace.C: add const
9350 2002-08-05 John Levon <levon@movementarian.org>
9352 * LyXAction.C: back to tabular-insert
9354 2002-08-04 John Levon <levon@movementarian.org>
9357 * BufferView.C: cosmetic change
9359 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9369 * BufferView2.C: purge all "Lyx" not "LyX" strings
9372 * lyxcursor.C: attempt to add some documentation
9377 * ToolbarDefaults.C:
9378 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9379 merge with LFUN_TABULAR_INSERT
9386 * pspell.C: split up i/pspell implementations into separate
9387 files, many cleanups
9389 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9391 * text2.C: some cleanup
9393 * lyxfunc.C: don't check for isp_command == "none" any more, it
9394 didn't make any sense
9396 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9401 * makefile.am: move counters functionality over
9402 from text2.C/paragraph.[Ch] to counters.[Ch], and
9404 2002-08-02 John Levon <levon@movementarian.org>
9406 * buffer.C: s/lyxconvert/lyx2lyx/
9408 2002-08-02 Angus Leeming <leeming@lyx.org>
9410 * lyxlex.C: revert John's change as it breaks reading of the user
9413 2002-08-02 Angus Leeming <leeming@lyx.org>
9415 * importer.C (Import):
9416 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9417 changes due to LyXView::view() now returning a boost::shared_ptr.
9419 2002-08-02 John Levon <levon@movementarian.org>
9421 * lyxlex.C: small cleanup
9423 2002-08-02 John Levon <levon@movementarian.org>
9425 * text2.C (status): small cleanup, no logic change
9427 2002-08-01 John Levon <levon@movementarian.org>
9430 * buffer.C (writeFile): don't output alerts, caller
9434 * lyx_cb.C: from above
9436 * lyxfunc.C: allow to open non-existent files
9438 2002-07-31 John Levon <levon@movementarian.org>
9440 * lyxserver.C: don't let incidental errors get
9443 2002-07-30 John Levon <levon@movementarian.org>
9445 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9447 2002-07-30 John Levon <levon@movementarian.org>
9450 * lyxserver.C: remove I/O callback too
9452 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9454 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9457 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9459 * many files: strip,frontStrip -> trim,ltrim,rtrim
9461 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9463 * PrinterParams.h: remove extern containsOnly, and include
9464 support/lstrings.h instead.
9466 * LaTeX.C (scanAuxFile): modify because of strip changes
9468 * buffer.C (makeLaTeXFile): ditto
9469 * bufferparams.C (writeFile): ditt
9470 * lyxfont.C (stateText): ditto
9471 * lyxserver.C (read_ready): ditto
9472 * vc-backend.C (scanMaster): ditto
9474 * BufferView_pimpl.h: ws changes
9476 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9478 2002-07-26 André Pönitz <poenitz@gmx.net>
9480 * kb_sequence.C: remove unnedred usings
9482 2002-07-26 Juergen Vigna <jug@sad.it>
9484 * lyxfind.C (LyXReplace): we have to check better if the returned
9485 text is not of theLockingInset()->getLockingInset().
9487 2002-07-25 Juergen Vigna <jug@sad.it>
9489 * lyxfind.C (LyXReplace): don't replace if we don't get the
9492 * undo_funcs.C (createUndo): remove debugging code.
9494 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9496 * buffer.C (parseSingleLyXformat2Token): Use default placement
9497 when reading old floats.
9499 * FloatList.C (FloatList): Change the default placement of figure
9500 and tables to "tbp".
9502 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9504 * MenuBackend.C: using std::max
9506 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9508 * MenuBackend.C (expandToc):
9509 (expandToc2): code moved from xforms menu frontend. It is now
9510 generic and TOCs are transparent to menu frontends.
9512 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9514 * toc.C (getTocList): protect against buf=0
9516 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9517 Menu as first parameter. Now, this calls itself recursively to
9518 expand a whole tree (this will be useful for TOC handling)
9519 (expandFloatInsert): remove 'wide' version of floats
9521 * MenuBackend.h (submenuname): returns the name of the submenu.
9522 (submenu): returns the submenu itself, provided it has been
9523 created by MenuBackend::expand
9525 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9527 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9528 insets which have noFontChange == true. (bug #172)
9530 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9532 * BufferView_pimpl.C: add connection objects and use them...
9535 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9537 * MenuBackend.C (expandLastfiles):
9540 (expandFloatListInsert):
9541 (expandFloatInsert):
9542 (expand): split expand in parts
9544 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9546 * lyx_gui.C: use lyx_gui::exit()
9548 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9550 * LyXAction.C: show the failing pseudo action
9552 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9554 * buffer.C (readFile): Run the lyxconvert script in order to read
9557 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9561 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9563 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9567 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9569 2002-07-22 Herbert Voss <voss@lyx.org>
9572 * lyxlength.[Ch]: add support for the vertical lengths
9574 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9576 * toc.[Ch]: std:: fixes
9578 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9580 * lyxrc.C: do not include lyx_main.h
9582 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9588 * BufferView2.C: include "lyxlex.h"
9591 * bufferparams.h: do not #include "lyxlex.h"
9593 * lyxtextclasslist.C (Add): remove method
9594 (classlist): renamed to classlist_
9596 * paragraph_pimpl.C:
9600 * bufferview_funcs.C:
9605 * toc.C (getTocList): use BufferParams::getLyXTextClass
9607 * toc.C (getTocList): use InsetFloat::addToToc
9609 * toc.[Ch]: new files, containing helper functions to handle table
9612 * lyxfunc.C (dispatch): no need to remove spaces around command
9614 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9615 first command of the sequence; it is not very clever, but I do not
9616 have a better idea, actually
9618 * LyXAction.C (LookupFunc): make sure to remove space at the
9619 beginning and end of the command
9621 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9623 * MenuBackend.C (getMenubar): new method: return the menubar of
9625 (read): treat differently reading of menu and menubar (in
9626 particular, the menubar has no name now)
9627 (Menu::menubar): remove
9629 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9632 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9634 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9635 a bibitem inset in a RTL paragraph.
9637 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9639 * paragraph_pimpl.C: constify
9641 * BufferView_pimpl.C:
9643 * lyxfunc.C: fix dispatch in a nicer way
9645 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9647 * lyxfunc.C (dispatch):
9648 * BufferView_pimpl.C:
9649 * BufferView_pimpl.h:
9651 * BufferView.h: rename Dispatch() to dispatch()
9653 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9655 * lyxlayout.C (Read): honor DependsOn tag
9657 * lyxlayout.[Ch] (depends_on): new method
9659 * version.C.in: update lyx_docversion
9661 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9663 * paragraph.C (validate): remove from here...
9664 * paragraph_pimpl.C (validate): ... and move here
9665 (isTextAt): make it const
9667 * buffer.C (getLists): ws cleanup
9669 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9671 * language.C (read): Use iso8859-1 encoding in latex_lang
9672 (this prevents LyX from crashing when using iso10646-1 encoding).
9674 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9676 * text2.C (toggleInset): if cursor is inside an inset, close the
9677 inset and leave cursor _after_ it
9679 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9681 * lyxfunc.C: move minibuffer completion handling out of here
9683 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9685 * BufferView_pimpl.C:
9686 * LaTeX.C: fix dispatch calls
9688 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9690 * text.C (drawChars): Fix Arabic text rendering.
9692 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9696 * lyxfunc.C: remove message-push/pop
9700 * lyxfunc.C: rationalise some code by removing verboseDispatch
9701 in favour of a bool argument to dispatch()
9703 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9705 * lyx_main.C (init): make sure to read symlinks as absolute paths
9707 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9710 * lyxfunc.C: no need for commandshortcut to be a member
9712 2002-07-15 André Pönitz <poenitz@gmx.net>
9714 * converter.C: add support for $$s (scripts from lib/scripts dir)
9715 * lyx_main.C: white space
9717 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9721 * lyxrc.C: remove second exit confirmation
9723 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9728 * BufferView_pimpl.h:
9729 * BufferView_pimpl.C:
9730 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9732 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9734 * MenuBackend.C (expand): add numeric shortcuts to document menu
9736 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9738 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9740 * lyxfont.C (setLyXFamily):
9747 * buffer.C (asciiParagraph): use ascii_lowercase
9749 2002-07-15 Mike Fabian <mfabian@suse.de>
9751 * lyxlex_pimpl.C (search_kw):
9752 * lyxlex.C (getLongString):
9753 * converter.h (operator<):
9754 * converter.C (operator<):
9755 * buffer.C (parseSingleLyXformat2Token):
9757 * ToolbarDefaults.C (read):
9758 * MenuBackend.C (checkShortcuts):
9760 * LColor.C (getFromGUIName):
9761 (getFromLyXName): use the compare_ascii_no_case instead of
9762 compare_no_case, because in turkish, 'i' is not the lowercase
9763 version of 'I', and thus turkish locale breaks parsing of tags.
9765 2002-07-16 Angus Leeming <leeming@lyx.org>
9767 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9768 now takes a Buffer const & argument.
9770 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9772 * BufferView.C (resize): check there's a buffer to resize
9774 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9776 * lyxfunc.C: remove dead code
9779 * lyxserver.C: use lyx_guii::set_read_callback
9781 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9783 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9784 an inset in a RTL paragraph.
9786 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9788 * lyxfunc.C: repaint after a font size update
9790 2002-07-15 André Pönitz <poenitz@gmx.net>
9792 * lyxlength.C: inBP should be able to return negative values
9794 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9796 * lyxfunc.C: use lyx_gui::update_fonts()
9798 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9800 * lyxfunc.C: use lyx_gui::update_color()
9802 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9808 * lyxrc.C: remove file->new asks for name option, and let
9809 buffer-new take an argument
9811 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9813 * BufferView_pimpl.C: remove unneeded extra repaint()
9815 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9817 * LyXAction.C: allow command-sequence with NoBuffer
9819 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9821 2002-07-10 Angus Leeming <leeming@lyx.org>
9823 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9825 2002-07-09 Angus Leeming <leeming@lyx.org>
9827 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9829 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9831 * lengthcommon.h: whitespace
9833 * lyxfunc.C: update scrollbar after goto paragraph
9835 * lyxtext.h: factor out page break drawing, and fix it so
9836 page break/added space paints as selected nicely
9838 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9840 * BufferView_pimpl.C: add FIXMEs, clean up a little
9842 2002-07-09 André Pönitz <poenitz@gmx.net>
9844 * lyxfont.[Ch]: support for wasy symbols
9846 2002-07-08 André Pönitz <poenitz@gmx.net>
9848 * BufferView_pimpl.C: apply John's patch for #93.
9850 2002-07-05 Angus Leeming <leeming@lyx.org>
9852 * BufferView_pimpl.C (buffer): generate previews if desired.
9854 * LColor.h: add "preview" to the color enum.
9856 * LColor.C (LColor): add a corresponding entry to the items array.
9858 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9861 2002-07-05 Angus Leeming <leeming@lyx.org>
9863 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9864 The body of the code is now in the method that is passed an ostream &
9865 rather than a file name.
9866 Pass an additional only_preamble parameter, useful for the forthcoming
9869 2002-07-03 André Pönitz <poenitz@gmx.net>
9871 * lyxfunc.C: simplify getStatus() a bit for math stuff
9873 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9875 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9877 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9879 * text.C (changeRegionCase): do not change case of all the
9880 document when region ends at paragraph end (bug #461)
9882 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9884 * paragraph.C (startTeXParParams):
9885 (endTeXParParams): add \protect when necessary
9887 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9889 * BufferView_pimpl.C (workAreaExpose): remove warning
9891 2002-06-27 Angus Leeming <leeming@lyx.org>
9893 * Makefile.am: add lyxlayout_ptr_fwd.h.
9895 2002-06-26 André Pönitz <poenitz@gmx.net>
9897 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9899 2002-06-25 Angus Leeming <leeming@lyx.org>
9901 * lyxfunc.C (dispatch): Comment out the call to
9902 grfx::GCache::changeDisplay. The method no longer exists now that the
9903 pixmap generation part of the graphics loader has been moved into
9906 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9908 * text2.C: layout as layout
9910 * text.C: layout as layout
9912 * tabular.C (OldFormatRead): layout as layout
9914 * paragraph_pimpl.C (TeXDeeper): layout as layout
9915 (realizeFont): layout as layout
9917 * paragraph.C (writeFile): layout as layout
9918 (validate): layout as layout
9919 (getFont): layout as layout
9920 (getLabelFont): layout as layout
9921 (getLayoutFont): layout as layout
9922 (breakParagraph): layout as layout
9923 (stripLeadingSpaces): layout as layout
9924 (getEndLabel): layout as layout
9925 (getMaxDepthAfter): layout as layout
9926 (applyLayout): layout as layout
9927 (TeXOnePar): layout as layout
9928 (simpleTeXOnePar): layout as layout
9929 (TeXEnvironment): layout as layout
9930 (layout): layout as layout
9931 (layout): layout as layout
9933 * lyxtextclass.C (compare_name): new functor to work with
9934 shared_ptr, layout as layout
9935 (Read): layout as layout
9936 (hasLayout): layout as layout
9937 (operator): layout as layout
9938 (delete_layout): layout as layout
9939 (defaultLayout): layout as layout
9941 * lyxlayout_ptr_fwd.h: new file
9943 * lyxlayout.C (Read): layout as layout
9945 * lyx_cb.C (MenuInsertLabel): layout as layout
9947 * bufferlist.C (newFile): layout as layout
9949 * buffer.C (readLyXformat2): layout as layout
9950 (parseSingleLyXformat2Token): layout as layout
9951 (insertStringAsLines): layout as layout
9952 (asciiParagraph): layout as layout
9953 (latexParagraphs): layout as layout
9954 (makeLinuxDocFile): layout as layout
9955 (simpleLinuxDocOnePar): layout as layout
9956 (makeDocBookFile): layout as layout
9957 (simpleDocBookOnePar): layout as layout
9958 (getLists): layout as layout
9960 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9962 * CutAndPaste.C (cutSelection): layout as layout
9963 (pasteSelection): layout as layout
9964 (SwitchLayoutsBetweenClasses): layout as layout
9966 * BufferView_pimpl.C (Dispatch): layout as layout
9967 (smartQuote): layout as layout
9969 * BufferView2.C (unlockInset): layout as layout
9971 2002-06-24 André Pönitz <poenitz@gmx.net>
9973 * lyxfunc.C: fix #487
9975 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9979 * lyxfunc.C: remove display_shortcuts, show_banner
9981 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9983 * Buffer_pimpl.C: oops, update on resize
9985 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9992 * BufferView.C: use repaint()
9994 * BufferView_pimpl.h:
9995 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9996 as it's a clearer description. Remove superfluous
9999 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10001 * text.C: fix bug 488. Not ideal, but getting
10002 getWord() to work properly for the insets that
10003 matter is more difficult ...
10005 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10007 * BufferView_pimpl.C:
10010 * lyxfunc.C: remove the six million index lyxfuncs to just
10011 one, and DTRT (bug 458)
10013 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10017 * BufferView_pimpl.h:
10018 * BufferView_pimpl.C: clean up resize() stuff,
10019 and unnecessary updateScreen()s
10021 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10025 * BufferView_pimpl.h:
10026 * BufferView_pimpl.C:
10029 * minibuffer.C: remove focus management of workarea,
10030 not needed. Use screen's greyOut()
10032 2002-06-17 Herbert Voss <voss@lyx.org>
10034 * converter.C: (convert) do not post a message, when converting
10035 fails, let the calling function decide what to do in this case
10037 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10039 * lyxfunc.C: tidy up a little
10041 2002-06-16 <alstrup@diku.dk>
10043 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10044 Got rid of FORMS_H_LOCATION include. Now we are
10047 2002-06-15 LyX Development team <lyx@rilke>
10049 * buffer.[Ch] (sgmlOpenTag):
10050 (sgmlCloseTag): Added support for avoiding pernicious mixed
10051 content. Return number of lines written.
10053 (makeLinuxDocFile):
10054 (makeDocBookFile): Fixed calls to sgml*Tag.
10055 Simple white space clean.
10057 (simpleDocBookOnePar): Simple white space clean.
10059 * tabular.[Ch] (docBook): Renamed to docbook and got another
10060 argument to related with the pernicious mixed content.
10062 (docbookRow): Fixed calls for docbook inset method.
10064 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10066 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10067 so it's X11 independent.
10071 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10073 2002-06-15 Lyx Development team <lyx@electronia>
10075 * intl.h: Renamed getTrans to getTransManager.
10077 2002-06-14 Angus Leeming <leeming@lyx.org>
10079 * Makefile.am: nuke forgotten stl_string_fwd.h.
10081 2002-06-12 Angus Leeming <leeming@lyx.org>
10083 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10085 2002-06-13 Angus Leeming <leeming@lyx.org>
10088 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10090 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10092 * kbmap.C (getiso): add support for cyrillic and greek
10094 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10098 * BufferView_pimpl.h:
10099 * BufferView_pimpl.C: move bogus scrolling logic
10102 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10105 * BufferView_pimpl.C: view->resize() change
10107 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10109 * BufferView_pimpl.C: topCursorVisible
10112 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10116 * lyx_gui.C: move to frontends/
10120 * lyx_main.C: changes from above
10122 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10129 * lyx_main.C: minor tidy
10131 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10133 * BufferView_pimpl.h:
10134 * BufferView_pimpl.C:
10136 * BufferView.C: make painter() const,
10139 * BufferView2.C: use screen() accessor
10142 * lyx_main.C: some minor cleanup
10144 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10146 * BufferView_pimpl.h:
10147 * BufferView_pimpl.C: remove enter/leaveView,
10150 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10155 * BufferView_pimpl.h:
10156 * BufferView_pimpl.C: only construct screen once,
10159 * lyxrc.C: remove pointless comment
10161 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10164 * BufferView.C: remove active() and belowMouse()
10166 * BufferView_pimpl.h:
10167 * BufferView_pimpl.C: use workarea() not workarea_,
10168 and make it use a scoped_ptr instead
10170 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10172 * lyx_gui.C: add debug message on BadWindow
10174 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10176 * sp_spell.C: fdopen is not part of the C++ standard.
10178 * paragraph.C (InsetIterator): use >= instead of ==
10180 2002-06-07 Angus Leeming <leeming@lyx.org>
10182 Fixes needed to compile with Compaq cxx 6.5.
10183 * BufferView_pimpl.C:
10190 * lyxtextclasslist.C:
10195 all c-library variables have been moved into namespace std. Wrap
10196 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10201 Add a using std::abs declaration.
10203 * kbmap.h (modifier_pair):
10204 * paragraph.h (InsetTable, InsetList):
10205 * lyxfont.h (FontBits):
10206 type definition made public.
10208 * bufferlist.C (emergencyWriteAll): the compiler complains that
10209 there is more than one possible lyx::class_fun template to choose from.
10210 I re-named the void specialisation as lyx::void_class_fun.
10212 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10214 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10215 the compiler is is unable to find tostr in write_attribute.
10217 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10219 * buffer.C (sgmlError): hide #warning
10221 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10223 * xtl/*: get rid of xtl, which is not in use anyway
10225 * LyXAction.C (init):
10226 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10227 were unimplemented xtl experimentation
10229 2002-06-04 André Pönitz <poenitz@gmx.net>
10231 * lyxfunc.C: disable array operation on simple formulae
10233 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10235 * converter.C: constify a bit
10237 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10239 * lyx_gui.C: check xforms version correctly
10241 2002-04-30 Herbert Voss <voss@lyx.org>
10243 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10246 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10248 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10249 attempt to register it with a VCS)
10251 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10253 * lyx_main.C (init): honor variables LYX_DIR_13x and
10256 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10260 * lyx_main.C: fix a crash on bad command line,
10261 and give a useful exit status on error
10263 * lyxfunc.C (doImport): allow -i lyx to work
10265 2002-03-30 André Pönitz <poenitz@gmx.net>
10267 * lyxfunc.C: mathed font changes
10269 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10284 * trans_mgr.h: srcdocs, and some minor cleanups
10286 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10288 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10289 call getFont all the time)
10291 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10293 * switch from SigC signals to boost::signals
10295 2002-05-29 André Pönitz <poenitz@gmx.net>
10297 * paragraph_pimpl.C (getChar): don't call size() too often...
10299 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10301 * paragraph_pimpl.C (insertChar): do not try to update tables when
10302 appending (pos == size())
10304 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10305 in order to reduce drastically the number of comparisons needed to
10306 parse a large document
10308 2002-05-29 André Pönitz <poenitz@gmx.net>
10314 * textclasslist.[Ch]:
10315 * sp_ispell.h: whitespace change
10317 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10319 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10320 lyxaction directly now.
10322 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10326 * lyxvc.C: remove unused headers
10328 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10335 * undo_funcs.C: some cleanups. Use shared_ptr
10336 and a template for the undo stacks.
10338 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10340 * BufferView_pimpl.h:
10341 * BufferView_pimpl.C:
10348 * text2.C: use key_state/mouse_state
10350 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10352 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10355 * chset.C: change include order
10356 (loadFile): use boost regex and get rid of LRegex and LSubstring
10358 * Makefile.am (BOOST_LIBS): new variable
10359 (lyx_LDADD): use it
10361 * LaTeX.C: change include order.
10362 (scanAuxFile): use boost regex and get rid of LRegex and
10366 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10371 * FontInfo.C: moved to frontends/xforms/
10374 * FontLoader.C: moved into frontends for GUIIzation
10379 * lyxfunc.C: changes from above
10381 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10383 * LColor.C: remove spurious X include
10385 * BufferView_pimpl.C:
10390 * text2.C: move font metrics to frontends/
10392 2002-05-24 Juergen Vigna <jug@sad.it>
10394 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10395 setting the undo_cursor.
10397 * ParagraphParameters.h: include local includes first.
10399 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10401 * BufferView_pimpl.C:
10402 * BufferView_pimpl.h:
10406 * screen.C: move WorkArea into frontends/
10412 * BufferView2.C: move LyXScreen into frontends/
10416 * lyx_gui.C: move lyxlookup into frontends/xforms/
10418 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10421 * BufferView_pimpl.C:
10431 * bufferview_funcs.C:
10444 * vc-backend.C: move LyX/XFormsView into frontends/
10446 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10458 * text2.C: move Painter to frontends/
10460 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10462 * buffer.C: comment out some some code that depend upon lyx_format
10465 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10466 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10468 * buffer.h (NO_COMPABILITY): turn off compability
10470 * ColorHandler.C: include scoped_array.hpp
10472 * font.C: Use more specific smart_ptr header.
10475 * ShareContainer.h: ditto
10476 * lyx_main.h: ditto
10478 * FontInfo.h: ditto
10479 * BufferView_pimpl.h: ditto
10480 * ColorHandler.h: ditto
10482 * kbmap.C (defkey): change call to shared_ptr::reset
10484 2002-05-21 Juergen Vigna <jug@sad.it>
10486 * buffer.C (insertErtContents): fix to insert ert asis if it is
10487 non empty. Skip it completely if it contains only whitespaces.
10489 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10491 * BufferView_pimpl.C:
10492 * BufferView2.C: clear selection on paste (bug 393)
10494 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10496 * DepTable.C: include ctime
10498 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10500 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10502 2002-05-14 Juergen Vigna <jug@sad.it>
10504 * text.C (breakParagraph): fixed function to honor the keepempty
10505 layout in the right maner and also to permit the right breaking
10506 algorithm on empty or non empyt keepempty paragraphs.
10508 * paragraph.C (breakParagraph): we have to check also if the par
10509 is really empty (!size()) for isempty otherwise we do the wrong
10512 2002-05-10 Juergen Vigna <jug@sad.it>
10514 * buffer.[Ch] : The following are only changes to the ert
10515 compatibility read reading old LaTeX layout and font stuff and
10516 convert it to ERTInsets.
10518 * buffer.h: added isErtInset().
10520 * buffer.C (struct ErtComp): add a fromlayout bool to check
10521 if we're inside a LaTeX layout.
10522 (isErtInset): new helper function.
10523 (insertErtContents): look for other ert insets before this one
10524 and insert the contents there, so that we don't have subsequent
10525 ERT insets with nothing between them. This way we create only one
10526 inset with multiple paragraphs. Also check if we don't insert only
10527 spaces ' ' as they are ignored anyway afterwards in the .tex file
10528 so if we have only spaces we will ignore this latex part in the
10530 (parseSingleLyXformat2Token \\layout): better compatibility when
10531 reading layout-latex stuff.
10532 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10534 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10535 stuff after reading the inset only get the information back from
10538 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10540 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10542 * LaTeXFeatures.C (getBabelOptions): New method.
10544 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10546 * BufferView_pimpl.C (Dispatch): work around missing argument for
10549 2002-05-08 Juergen Vigna <jug@sad.it>
10551 * text.C (leftMargin): handle paragraph leftindent.
10553 * paragraph.C (writeFile): write the new \\leftindent tag.
10554 (validate): handle leftindent code.
10555 (TeXEnvironment): handle paragraphleftindent code again.
10557 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10559 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10560 for paragrap_extra indent code and new token \\leftindent.
10561 (latexParagraphs): handle the leftindent as environment.
10563 * ParameterStruct.h: added leftindent support.
10565 * ParagraphParameters.C (leftIndent): added support functions for
10566 the paragraph left indent.
10568 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10571 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10573 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10576 * text.C (computeBidiTables): No bidi in insetERT.
10578 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10581 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10583 * version.C.in: pre 5
10585 2002-05-02 José Matos <jamatos@fep.up.pt>
10586 * buffer.C (makeDocBookFile): white space changes, add newline to
10588 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10590 * tabular.C (docBook): fix typo.
10592 2002-05-03 Juergen Vigna <jug@sad.it>
10594 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10595 change in LyXText as we can not be sure it was not freed.
10596 (drawOneRow): remove unused code.
10598 * text.C (drawInset): redo the calculation of the need_break_row as
10599 it could have a row which was already freed.
10600 (draw): look at the return value of drawInset and return false if
10601 it also returned false.
10602 (paintRowText): look at the return value of draw and return false if
10603 it also returned false.
10605 * lyxtext.h: added bool return type to drawInset() and draw() so that
10606 if we have a change in the row so that the rowbreak has to be redone
10607 we abort drawing as it will be called again.
10609 2002-05-02 Juergen Vigna <jug@sad.it>
10611 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10612 a change in the maintext also if we're inside an inset.
10613 (Dispatch): set the cursor again after a break line and after the
10614 screen has been updated as it could be we're in a different row.
10616 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10617 to set the cursor behind the pargraph with > size().
10618 (setCursor): check also for the same paragraph when checking where
10619 to put the cursor if we have a NFR inset.
10621 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10622 parts of layout read further up as it still was in the wrong
10625 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10627 * screen.C (drawFromTo): change sine fullRebreak always return
10630 * buffer.C (parseSingleLyXformat2Token): reindent some
10632 * BufferView_pimpl.C (update): change since fullRebreak always
10634 (Dispatch): git rid of the last hardcoded "Standard"s.
10636 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10638 * text2.[Ch] (fullRebreak): make it return void now that we always
10641 2002-04-30 Juergen Vigna <jug@sad.it>
10643 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10644 ert compatibility check for "latex" layout.
10646 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10648 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10649 minipages: use col% instead of p%, and also use the current font.
10650 (makeLaTeXFile): Fix use babel condition.
10651 (parseSingleLyXformat2Token): Correct font when reading old floats.
10653 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10655 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10656 inserting list of floats.
10658 2002-04-25 Herbert Voss <voss@lyx.org>
10660 * MenuBackend.C (expand): don't add the graphics extensions to the
10663 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10665 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10666 non-existing layout, do not complain if it was the default layout
10667 of the original class (bug #342)
10669 2002-04-24 Juergen Vigna <jug@sad.it>
10671 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10672 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10674 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10676 * buffer.C (getBibkeyList): If using \bibliography, return the
10677 option field with the reference itself. Enables us to provide natbib
10678 support when using \bibliography.
10680 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10682 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10684 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10685 natbib is provided by the LaTeX class.
10687 2002-04-23 Juergen Vigna <jug@sad.it>
10689 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10692 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10694 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10696 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10698 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10699 ensuremath around textordmasculine, textordfeminine and
10702 2002-04-19 Juergen Vigna <jug@sad.it>
10704 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10705 reinitializing the buffer otherwise row-dimensions may be wrong.
10706 (update): reset also the selection cursors if they do exits otherwise
10707 their x/y positions may be wrong.
10709 * text2.C (cursorDown): don't enter the inset if we came from a row
10710 above and are one row over the inset.
10712 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10713 really leaving an inset.
10715 2002-04-18 Juergen Vigna <jug@sad.it>
10717 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10718 of the selected paragraph does not have the selected layout also if
10721 * text2.C (setLayout): fixed bug which did not change last selected
10724 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10725 changed the read and substituted \\end_float with \\end_inset!
10727 * BufferView_pimpl.C (cursorPrevious):
10728 (cursorNext): fixed to make it work with rows heigher than the work
10729 area without moving the cursor only the draw of the row.
10730 (workAreaMotionNotify): fix jumping over high rows.
10732 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10734 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10737 2002-04-16 Juergen Vigna <jug@sad.it>
10739 * text2.C (setCursor): set also the irow().
10740 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10742 (cursorDown): support for locking an inset if the x_fix value goes
10743 inside it. That way I can transverse insets too with cursor up/down.
10745 * lyxrow.h: added irow helper function same as other (i) functions.
10747 * BufferView_pimpl.C (cursorPrevious):
10748 (cursorNext): fixed for insets!
10750 2002-04-15 Juergen Vigna <jug@sad.it>
10752 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10753 position otherwise it is wrong in some cases.
10755 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10756 inside the inset before the call.
10758 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10760 * buffer.[Ch] (getBibkeyList): make it const.
10762 2002-04-12 Juergen Vigna <jug@sad.it>
10764 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10766 * text2.C (getCursorX): new helper function
10767 (setCursor): compute also ix_
10768 (setCursorFromCoordinates): set also ix.
10770 * lyxcursor.h: added ix_ and helper functions.
10772 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10774 * buffer.C (insertStringAsLines): dont break paragraph if the this
10775 paragraph is inside an inset which does not permit it!
10777 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10778 also with no chars on this paragraph.
10779 (paintRowText): only paint stuff if it's inside the workarea!
10781 * paragraph.C (breakParagraph): honor keepempty flag and break the
10782 paragraph always below not above.
10784 * BufferView2.C (unlockInset): update the paragraph layout on inset
10785 unlock as we changed paragraph in such a case.
10787 * lyxfind.C (LyXFind): clear the former selection if not found!
10789 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10790 again called in insertChar().
10792 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10793 an inset which uses the whole row!
10794 (rightMargin): ditto.
10795 (insertChar): force a rebreak if we inserted an inset!
10797 2002-03-28 Herbert Voss <voss@lyx.org>
10799 * lyxlength.[Ch]: add inBP() to get the right PS-point
10800 units (BigPoint). With inPixels we have rounding errors
10802 2002-04-11 Juergen Vigna <jug@sad.it>
10804 * text2.C (setCursorFromCoordinates): set iy to the right value.
10805 (setCursor): add check if row->previous exists!
10807 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10808 an old float_type as this was the case in the old code!
10810 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10812 * BufferView2.C (showLockedInsetCursor): use iy
10813 (fitLockedInsetCursor): ditto
10815 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10816 locked insets as there we have the right value now.
10818 * lyxcursor.C: added iy_ variable and iy functions to set to the
10819 baseline of cursor-y of the locked inset.
10821 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10822 (setCursor): fixed for insets which need a full row.
10824 * text.C (rowLastPrintable): don't ignore the last space when before
10825 an inset which needs a full row.
10826 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10827 as last character of a row when before a inset which needs a full row.
10829 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10831 * version.C.in: update date
10833 * text2.C (fullRebreak): try to always return true and see what
10836 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10838 * MenuBackend.C (expand): use Floating::listName
10840 * FloatList.C (FloatList): add listName argument to the built-in
10843 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10844 text associated with the float.
10846 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10848 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10850 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10852 * ShareContainer.h: add a couple of missing typenames.
10854 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10856 * lyxrc.C (getDescription): use _() correctly rather than N_().
10858 2002-03-28 Herbert Voss <voss@lyx.org>
10860 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10861 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10863 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10865 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10866 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10868 2002-03-29 Juergen Vigna <jug@sad.it>
10870 * lyxfunc.C (dispatch): add a missing fitCursor call.
10872 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10873 it was scrolled by a cursor move, so return the bool status.
10875 * BufferView.C (fitCursor): return the bool flag also to the outside
10876 world as this is needed.
10878 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10880 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10881 call the edit() as it is not needed (and wrong) IMO.
10882 (workAreaButtonPress): set the screen_first variable before evt.
10883 unlock the inset as this may change screen_first and then we have
10884 a wrong y position for the click!
10886 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10888 * MenuBackend.C (expand): another translation that I missed
10890 2002-03-28 Juergen Vigna <jug@sad.it>
10892 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10894 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10896 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10898 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10900 * MenuBackend.C (expand): fix export/view/update when there is no
10903 2002-03-27 Herbert Voss <voss@lyx.org>
10905 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10908 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10910 * bufferview_funcs.C (currentState): only show paragraph number
10911 for is DEVEL_VERSION is set.
10913 * lyxfunc.C (dispatch): put warning in INFO channel
10915 * MenuBackend.C (expand): translate the name of floats
10917 * FloatList.C (FloatList): mark the float names for translation
10919 * converter.C (convert): use LibScriptSearch
10921 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10923 * MenuBackend.C (defaults): fix default menu (we might as well get
10926 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10928 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10931 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10933 * lyxvc.C: reorder includes.
10935 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10937 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10940 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10942 * CutAndPaste.C: change layouts earlier on paste
10943 to avoid crashing when calling getFont()
10945 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10947 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10950 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10952 * WorkArea.C: remove 'Pending' debug message.
10954 * most files: ws cleanup
10956 * buffer.[Ch]: ws changes
10958 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10960 2002-03-21 Juergen Vigna <jug@sad.it>
10962 * tabular.C (SetMultiColumn): collapse also the contents of the
10963 cells and set the last border right. Added a Buffer const * param.
10965 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10967 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10970 2002-03-19 Juergen Vigna <jug@sad.it>
10972 * text2.C (clearSelection): reset also xsel_cache.
10974 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10975 where it needs to be called (John tells us to do so too :)
10976 (selectionLost): reset sel_cache.
10978 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10980 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10982 * text2.C (setCursorIntern): put debuging code in INSETS channel
10984 2002-03-19 André Pönitz <poenitz@gmx.net>
10986 * lyxfunc.C: tiny whitespace change
10988 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10990 * ToolbarDefaults.C (init):
10991 * LyXAction.C (init):
10993 * BufferView_pimpl.C (Dispatch):
10994 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10996 2002-03-19 Allan Rae <rae@lyx.org>
10998 * exporter.C (Export): removeAutoInsets before doing anything else.
10999 While I've just introduced a dependency on BufferView this really is
11000 the best place to clean the buffer otherwise you need to cleanup in
11001 a dozen places before calling export or cleanup in a dozen functions
11004 * converter.C (runLaTeX):
11005 (scanLog): Better handling of removeAutoInsets and screen updates.
11007 * lyxfunc.C (dispatch): small whitespace changes
11009 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11011 * WorkArea.C (C_WorkAreaEvent): return a value.
11012 (event_cb): return 1 if we handled the event, 0 otherwise.
11014 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11016 2002-03-18 Juergen Vigna <jug@sad.it>
11018 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11019 (GetAdditionalWidth): ditto.
11020 (RightLine): ditto.
11023 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11024 inset if we're there actually (probably not used right now but this
11025 is the direction to go for unifying code).
11026 (paste): disable code to clear the selection.
11028 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11029 inside an InsetText and move the check further up as it is in the
11032 * text2.C (pasteSelection): set a selection over the pasted text.
11034 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11036 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11037 and libgraphics to build on Cygwin.
11039 2002-03-15 Juergen Vigna <jug@sad.it>
11041 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11042 inserting an Inset into the paragraph. I know this is not the best
11043 fix but we already use current_view in CutAndPaste so we will remove
11044 all of it's using at the same time.
11046 * buffer.C (sgmlError): deactivated function till it is rewritten in
11047 the right mode, now it can create problems.
11049 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11050 before accessing it.
11052 2002-03-14 Juergen Vigna <jug@sad.it>
11054 * undo_funcs.C (textHandleUndo): do the right thing when updating
11055 the inset after the undo/redo.
11057 * text2.C (setCursor): just some testcode for #44 not ready yet.
11059 * undo_funcs.C (textHandleUndo): set the next() and previous()
11060 pointers of the paragraph to 0 before deleting otherwise we have
11061 problems with the Paragraph::[destructor].
11063 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11064 on a paragraph insertion.
11066 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11068 * buffer.C (asciiParagraph): use += operator for char append to
11071 * paragraph.C (getFontSettings): compare >= not just >
11072 (highestFontInRange): ditto
11075 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11077 * paragraph.C: change several algorithm to be more appripriate for
11078 the problem domain. This is lookip in FontList and in the InsetList.
11080 2002-03-13 André Pönitz <poenitz@gmx.net>
11083 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11085 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11090 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11092 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11094 * Painter.C (display): anon helper function, adjust code for this
11096 (pixmap): remove function.
11098 * Painter.h: remove private display variable.
11100 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11102 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11104 * WorkArea.[Ch]: remove figinset_canvas cruft.
11106 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11108 * lyxtextclass.C (operator): add one item cache optimization.
11110 * bufferlist.h: doxy changes
11112 * bufferlist.C: ws changes
11114 * DepTable.[Ch] (ext_exist): place const in the right spot.
11116 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11118 (workAreaExpose): call resizeInsets when the with BufferView changes.
11119 (Dispatch): adjust for protectedBlank removal
11120 (specialChar): call updateInset if the insert went ok.
11122 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11123 specialChar instead.
11125 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11127 * BufferView.h: doxy change
11129 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11131 * lyxtextclass.C (operator[]): remove non-const version
11132 (defaultLayout): remove non-const version
11134 2002-03-12 Juergen Vigna <jug@sad.it>
11136 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11137 did resize the LyXText too.
11139 * buffer.C (readLyXformat2): set layout information on newly allocated
11142 * tabular.C (OldFormatRead): set layout information on the paragraph.
11144 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11146 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11148 2002-03-11 Juergen Vigna <jug@sad.it>
11150 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11152 (resizeCurrentBuffer): force also the insets to resize themselfes.
11153 (moveCursorUpdate): fixed up for InsetText.
11155 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11158 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11159 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11160 value of Dialogs::tooltipsEnabled().
11161 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11163 2002-03-08 Juergen Vigna <jug@sad.it>
11165 * BufferView_pimpl.C (updateInset): update inset inside inset also
11166 if it isn't inside theLockingInset().
11168 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11170 * buffer.C (asciiParagraph): redo some of the word and line length
11172 (getLists): look for Caption instead of caption.
11174 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11176 * buffer.C (Buffer): initialize niceFile to true
11178 (makeLinuxDocFile):
11179 (makeDocBookFile): make sure niceFile is true on exit
11181 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11183 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11185 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11187 * LyXSendto.C: remove.
11188 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11189 * lyx_gui.C: remove now-redundant comment.
11190 * ColorHandler.h: remove forward declaration of class WorkArea.
11191 * lyxfunc.C: remove #include "WorkArea.h".
11193 2002-03-07 Juergen Vigna <jug@sad.it>
11195 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11196 got moved away with the DEPM and also set the inset_owner always
11197 right which before could have been omitted.
11199 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11201 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11202 wanted layout is not found.
11204 2002-03-07 Juergen Vigna <jug@sad.it>
11206 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11208 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11210 * paragraph.C (breakParagraph): use default layout not layout of
11212 (Paragraph): clear ParagraphParameters.
11214 2002-03-06 Juergen Vigna <jug@sad.it>
11216 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11217 otherwise it would not be a valid lenght. Fixed a special case in
11218 the minipage compatibility read where we end the document with a
11221 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11222 was set as it could be 0 for InsetTexts first entry.
11224 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11226 * paragraph.C (writeFile): if layout is empty write out
11227 defaultLayoutName().
11229 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11230 file without named layout we set layout to defaultLayoutName().
11232 2002-03-06 Juergen Vigna <jug@sad.it>
11234 * CutAndPaste.C (copySelection): set layout for new paragraph.
11236 * text.C (prepareToPrint): leave ERT inset left aligned
11237 (leftMargin): don't indent paragraphs inside ERT insets
11239 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11241 * paragraph.C (breakParagraph): dont call clear do the work manually
11243 * paragraph.[Ch] (clear): remove function
11245 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11247 * paragraph.C (Paragraph): dont call clear, the work has already
11250 * lyxtextclass.C (operator): assert if n is empty
11252 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11253 work manually instead.
11255 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11257 * BufferView_pimpl.C: protect selectionLost against text == 0
11259 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11261 * text.C (breakParagraph): fix a setting layout to '0' problem.
11263 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11265 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11266 final location of file, for the included files, and graphics.
11268 2002-03-05 Juergen Vigna <jug@sad.it>
11270 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11272 2002-03-04 Juergen Vigna <jug@sad.it>
11274 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11276 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11277 last column of multicolumn cells.
11278 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11280 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11282 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11283 file if it doesn't go to a temporary file.
11285 * buffer.C (sgmlOpenTag):
11286 (sgmlCloseTag): remove extra newline insertion.
11288 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11290 * text.C (getRowNearY): comment out debug msg
11292 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11294 * text2.C: first -> first_y
11296 * text.C (getRowNearY): add some attemts at a possible
11297 optimization, not working.
11299 * tabular.[Ch]: add BufferParams to several function so that newly
11300 created paragraph can be initialized to he default layotu for the
11303 * tabular-old.C (ReadOld): add buf->params to call of Init
11305 * screen.C: rename text->first to text->first_y
11307 * paragraph.C (breakParagraph): always set layout in the broken
11310 * lyxtextclass.C (Read): remove lowercase
11313 (delete_layout): ditto
11315 * lyxtext.h: rename first -> first_y
11317 * lyxlayout.C (Read): remove lowercase
11320 (obsoleted_by): ditto
11322 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11324 * buffer.C (insertErtContents): add params are to InsetERT
11325 (parseSingleLyXformat2Token): add code to check if a paragraphs
11326 layout really exist.
11327 (parseSingleLyXformat2Token): add params to several inset
11329 (asciiParagraph): remove lowercase, do the layout comparisons with
11332 * BufferView_pimpl.C (cursorNext): first -> first_y
11333 (resizeCurrentBuffer): first -> first_y
11334 (updateScrollbar): first -> first_y
11335 (scrollCB): first -> first_y
11336 (workAreaMotionNotify): first -> first_y
11337 (workAreaButtonPress): first -> first_y
11338 (checkInsetHit): first -> first_y
11339 (cursorPrevious): first -> first_y
11340 (cursorNext): first -> first_y
11341 (Dispatch): add buffer_->params to severl inset contructors
11343 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11345 * lyxlayout.C (Read): remove some debug info that I forgot.
11347 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11348 clean up the code slightly.
11349 (makeLinuxDocFile): ditto
11350 (makeDocBookFile): ditto
11352 * text2.C: layout as string
11354 * text.C: layout as string
11356 * paragraph_pimpl.C: layout as string
11358 * paragraph.[Ch]: layout as string
11360 * lyxtextclasslist.[Ch]: layout as string
11362 * lyxtextclass.[Ch]: layout as string
11364 * lyxtext.h: layout as string
11366 * lyxlayout.[Ch]: layout as string
11368 * lyx_cb.C: layout as string
11370 * bufferview_funcs.C: layout as string
11372 * bufferparams.C: layout as string
11374 * buffer.C: layout as string
11376 * LyXView.[Ch]: layout as string
11378 * LaTeXFeatures.[Ch]: layout as string
11380 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11382 * BufferView_pimpl.C: change current_layout to string, remove
11387 (workAreaButtonRelease): layout as string
11389 * BufferView2.C (unlockInset): adjust
11391 * vspace.C (asLatexCommand): use an explict temp variable.
11393 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11395 * Makefile.am: use FRONTEND_*
11397 2002-03-01 Juergen Vigna <jug@sad.it>
11399 * tabular.C (SetWidthOfMulticolCell): changed to something better
11400 I hope but still work in progress.
11401 (recalculateMulticolumnsOfColumn): renamed function from
11402 recalculateMulticolCells as it is more appropriate now.
11403 (SetWidthOfCell): calculate multicols better.
11405 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11407 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11409 * lyxfunc.C (processKeySym): print sequence also if it is
11410 `deleted' (complete)
11412 * kbsequence.C (print): print sequence even if it is deleted
11413 (complete would be a better word, actually).
11415 * lyxfunc.C (dispatch): print complete options after a prefix key
11417 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11419 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11421 * text2.C (setCharFont): eliminate setCharFont code duplication.
11423 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11425 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11426 LFUN_TABULAR_FEATURE (bug #177)
11428 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11430 * Makefile.am: remove figure.h
11432 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11434 * Bufferview_pimpl.C:
11446 * text2.C: remove #include "lyx_gui_misc.h".
11448 * LaTeX.C: added #include <cstdio>
11450 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11452 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11453 that the paragraph following this one can have.
11455 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11457 * vspace.C (asLatexCommand): fix bogus gcc warning
11459 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11461 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11463 * text2.C (setLayout): get rid of redundant code
11465 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11467 * text2.C (incDepth): make sure depth cannot be increased beyond
11470 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11472 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11473 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11475 * PainterBase.h (image):
11476 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11477 a LyXImage const *.
11479 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11483 * BufferView_pimpl.C:
11484 * BufferView_pimpl.h:
11504 * sp_spell.C: remove fig inset, and the crap house of
11505 cards that follows it
11507 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11512 * os2_errortable.h:
11513 * nt_defines.h: move .h into support/
11515 * vms_defines.h: remove
11517 * WorkArea.C: add space in debug output
11521 * buffer.C: add WITH_WARNINGS
11525 * bufferlist.C: s/retrive/retrieve/, add docs
11534 * chset.C: add docs
11536 * lyxgui.C: add ID to X error handler
11538 * lyxtestclass.c: fix typo
11540 2002-02-26 Juergen Vigna <jug@sad.it>
11542 * tabular_funcs.C (write_attribute): changed so that some default
11543 attributes are not written at all.
11544 (getTokenValue): set default values before trying to read the
11545 value so we have the return value always set as default if we don't
11546 find the token we search for.
11548 * tabular.C (Write): write bools as bools not as strings!
11550 2002-02-22 Juergen Vigna <jug@sad.it>
11552 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11553 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11555 * text.C (leftMargin): don't add an indent for paragraphs inside
11556 tabular cells (fix #208).
11558 2002-02-21 José Matos <jamatos@fep.up.pt>
11560 * tabular.C (docBook): fixed support for long tables.
11562 2002-02-20 Juergen Vigna <jug@sad.it>
11564 * text2.C (getFont): get the drawing font of the Inset if this
11565 paragraph is inside an inset (only important for InsetERT for now).
11567 * buffer.C (insertErtContents): use new lanugage params in ERT
11570 * CutAndPaste.C: commenting out seemingly uneeded code.
11572 2002-02-19 Allan Rae <rae@lyx.org>
11574 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11575 Iterators might be simple to use but they also get invalidated.
11576 (removeAutoInsets): renamed saved cursor tracking variables and added
11577 some comments to clarify what everything does.
11579 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11586 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11587 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11590 * vc-backend.h: remove #include "support/syscall.h"
11594 * converter.C: rearrange #includes in Lars' approved fashion.
11596 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11597 forward declare class Timeout in the header file.
11599 * XFormsView.C: changes due to the above.
11601 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11602 similar to LyXView.
11604 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11605 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11607 2002-02-18 José Matos <jamatos@fep.up.pt>
11609 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11612 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11614 * a lot of small ws changes
11615 * add a lot of using std::XXX
11616 * use std construcs some places where approp.
11617 * use some exisint stuff from lyxfunctional where approp.
11618 * Make file changes to use partial linking (lets test this now...)
11620 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11624 remove #include "support/syscontr.h" as it's redundant. Always has been.
11632 change Systemcalls::System to Systemcalls::Wait and
11633 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11634 No change of functionality, just reflects the stripped down Systemcalls
11637 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11639 * debug.[Ch]: add a GRAPHICS type to the enum.
11641 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11643 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11645 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11648 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11650 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11651 match the changes below.
11653 * text2.C (toggleInset): if there is not editable inset at cursor
11654 position, try to see if cursor is _inside_ a collapsable inset
11657 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11659 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11660 document menu has a nice checkbox
11662 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11664 * lyxlength.C (asLatexString): change PW to output as percent of
11667 * lengthcommon.C: change '%' to 't%'
11669 * lyxfunc.C (dispatch): a few comments from Martin
11671 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11675 * BufferView_pimpl.h:
11676 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11679 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11681 * vspace.C (inPixels): fix compiler warning
11683 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11685 * lyxfunc.C (getStatus): fix status message for disabled commands.
11687 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11689 * BufferView_pimpl.C: fix crash on close buffer
11690 during selection (#227)
11692 2002-01-27 Herbert Voss <voss@lyx.org>
11694 * buffer.C: link old Figure to new graphic inset
11696 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11698 * FontLoader.C (getFontinfo): Change the latex font names in order
11699 to match the names of type1inst.
11701 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11703 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11705 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11706 (extchanged): ditto
11708 (remove_files_with_extension): ditto
11709 (remove_file): ditto
11712 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11713 document is smaller than the work area height. Do not initialize
11714 static variables to 0.
11716 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11718 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11720 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11721 LFUN_LAYOUT_PARAGRAPHS.
11723 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11724 tabular. It is possible to provide a possible cell, which will
11725 typically be the actcell from the corresponding insettabular
11727 * lyxfunc.C (getStatus): small cleanup; disable
11728 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11731 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11733 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11735 * paragraph.C (startTeXParParams):
11736 (endTeXParParams): new methods. The LaTeX code to
11737 start/end paragraph formatting
11738 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11739 empty (fixes bug #200)
11741 * vspace.C (inPixels): adapt to the change below
11742 (inPixels): [later] more cleanups (remove unused variables)
11744 * lyxlength.C (inPixels): change to use a width and a height as
11747 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11749 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11750 Replaced with \paperwidth
11752 * DepTable.C (insert): add std:: qualifier
11754 2002-01-18 Allan Rae <rae@lyx.org>
11756 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11759 * text.C (drawInset): Turned out I didn't know enough about how
11760 rebreaking worked. This fixes most of the redraw problems. I see
11761 an occasional cursor trail when a line is broken now and the cursor
11762 placement can seem out by a few pixels also after a rebreak.
11764 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11766 * buffer.C (parseSingleLyXformat2Token): update because minipage
11767 width is now a LyXLength
11769 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11771 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11774 2002-01-17 Juergen Vigna <jug@sad.it>
11776 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11778 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11779 is set correctly and the inset is updated correctly.
11781 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11783 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11784 the beginning of the loop.
11786 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11788 * lyxrc.C: improve help for use_scalable_fonts
11790 2002-01-17 Allan Rae <rae@lyx.org>
11792 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11794 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11796 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11797 make sure to set their inset_owner to the right value (bug #171)
11799 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11802 * DepTable.C: Implement mtime checking to reduce time spent doing
11805 2002-01-16 Juergen Vigna <jug@sad.it>
11807 * tabular.C (GetAdditionalHeight): one of error fixed.
11809 * lyxrc.C (output): small fix in writing use_pspell.
11811 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11813 * sp_base.h: #include LString.h
11815 2002-01-16 Allan Rae <rae@lyx.org>
11817 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11818 Can someone check this please?
11820 * text.C (drawInset): It was possible that p.row would be removed by
11821 breakAgainOneRow upsetting a few other settings. There may be another
11822 small tweak possible by setting need_break_row = 0 when p.row has been
11823 removed but I don't know enough about the logic here.
11825 2002-01-15 Allan Rae <rae@lyx.org>
11827 * text.C (insertChar): removed conditional truism.
11829 * BufferView2.C (removeAutoInsets): More tweaks.
11830 cur_par_prev could be a stray pointer. Check for trailing empty line
11831 in case last line was cur_par and only had an error inset on it.
11833 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11835 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11838 * vc-backend.C (most methods):
11839 * exporter.C (Export):
11840 * converter.C (convert):
11842 * LyXSendto.C (SendtoApplyCB):
11843 * lyxfunc.C (dispatch):
11847 * lyx_cb.C (AutoSave):
11849 * BufferView_pimpl.C (MenuInsertLyXFile):
11850 * buffer.C (runChktex): use Buffer::filePath().
11852 * buffer.h: rename filename to filename_; rename filepath to
11853 filepath_ and make it private
11854 (filePath): new method
11856 * buffer.C (writeFile): use fileName()
11859 * lyx_main.C (init): fix starting of LyX when the binary is a
11860 link from so,ewhere else.
11862 * minibuffer.C: include <cctype> for isprint
11864 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11866 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11867 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11868 name clash with InsetCollapsable's width function.
11870 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11872 * lastfiles.C: include <iterator>
11874 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11876 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11879 * buffer.C (makeLaTeXFile): ditto.
11880 Also make loop operation more transparent.
11882 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11884 * ToolbarDefaults.C: remove trailing comma closing namespace.
11886 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11888 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11891 * trans.C (Load): comment out unused variable, allowed.
11893 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11895 * minibuffer.[Ch] (append_char): new method to recieve input from the
11896 drop-down completion browser. If a key was pressed, then recieve this
11897 char and append it to the existing string.
11898 (peek_event): modify the positioning data passed to the completion
11899 browser so that it can be placed above the minibuffer rather than below.
11900 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11902 * LyXAction.C (init): alloe error-next for readonly documents.
11904 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11907 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11909 * bufferlist.C (readFile): create the buffer _after_ checking that
11912 * lyxfunc.C (verboseDispatch): fix handling of arguments
11914 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11916 * lyxrc.C: use string::erase() instead of initializing to "".
11919 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11921 * BufferView_pimpl.h:
11922 * BufferView_pimpl.C:
11925 * text2.C: tell X when we have made a selection for copying
11927 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11929 * BufferView_pimpl.C (MenuInsertLyXFile):
11930 * lyxfunc.C (menuNew):
11932 (doImport): add shortcuts to directory buttons
11934 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11937 * lyxfunc.C (setStatusMessage):
11938 (getStatusMessage): new methods
11939 (getStatus):use setStatusMessage instead of setErrorMessage
11940 (dispatch): when function is disabled, set error message here
11941 [instead of in getStatus previously]
11943 * BufferView_pimpl.C (workAreaButtonRelease): update
11944 toolbar/menubar here too.
11946 2002-01-13 Allan Rae <rae@lyx.org>
11948 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11949 Now seems indestructible. Remaining task is to audit all other
11950 code affected by deleteEmptyParagraphMechanism. One small quirk
11951 left is that an empty document with an error in the preamble can
11952 be made to report an error but no error box appears. I don't know
11954 (removeAutoInsets): Improved comments.
11956 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11959 * Thesaurus.C: update for Aiksaurus 0.14
11961 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11963 * text2.C (firstParagraph): removed member function, all uses
11964 replaces with ownerParagraph
11965 (redoParagraphs): here
11966 (updateInset): here
11967 (toggleAppendix): here
11968 * BufferView2.C (insertErrors): here
11969 (setCursorFromRow): here
11971 2002-01-13 Allan Rae <rae@lyx.org>
11973 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11974 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11975 There is still a way to segfault this although you may have to do this
11976 multiple times: Have an InsetERT with an unknown command in it.
11977 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11978 <down-arrow>, <Enter> again, View->DVI, BANG!
11980 * text2.C (setCursor):
11981 (deleteEmptyParagraphMechanism):
11982 * lyxtext.h (setCursor):
11983 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11984 Making use of the return value may help fix other bugs.
11986 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11988 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11990 * LyXView.C (updateMenubar): call MenuBar::update here
11991 (updateToolbar): but not here
11992 (showState): do not update toolbar/menubar
11994 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11995 should need to care about that.
11997 * lyxfunc.C (verboseDispatch): simplify a bit
11998 (getStatus): have a version which takes a pseudoaction, and
11999 another which requires a (kb_action,string).
12001 * LyXAction.C (retrieveActionArg): make it work also when action
12002 is not a pseudo-action.
12003 (getActionName): simplify a bit
12006 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12008 * lyxfunc.C (verboseDispatch): new families of methods with
12009 several ways to specify a command and a bool to indicate whether
12010 the command name and shortcut should be displayed in minibuffer
12011 (eventually, we could extend that to a finer bitmask like
12012 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12013 (dispatch): the pristine dispatch command which just, well,
12014 dispatchs! Note it still sets its result to minibuffer; I'm not
12017 * lyxfunc.h: remove setHintMessage
12019 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12021 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12023 * BufferView_pimpl.C (specialChar): delete new inset if we have
12024 not been able to insert it.
12026 * kbmap.C: revert to using int instead of kb_action, since all we
12027 are dealing with is pseudo-actions.
12029 * LyXAction.C (searchActionArg): change to return int instead of
12030 kb_action, since the result is a pseudoaction.
12032 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12034 * buffer.C (insertErtContents): Fix (partially) the font bug.
12036 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12038 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12039 as the other one is broken on my machine!
12041 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12044 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12046 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12048 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12049 reflect their actual use. Provide compatibility code for older lyxrc
12052 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12054 change names of popup font variables in line with the changes to lyxrc.C
12056 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12058 * buffer.C (asciiParagraph): avoid outputing a word twice after
12061 * lyxrc.C (getDescription): document that document_path and
12062 template_path can be empty.
12064 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12066 * LaTeXFeatures.C (getMacros):
12067 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12069 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12071 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12073 (getPackages): rename feature "floats" to "float". Use an array to
12074 iterate over 'simple' features (i.e. just a \usepackage). Add
12075 handling of "amsmath" (renamed from "amsstyle").
12077 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12079 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12082 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12084 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12085 FuncStaus::FuncStatus & FuncStaus::some_method().
12087 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12089 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12090 of the func_satus stuff. Edited and massaged in various ways by
12093 * lyxfunc.C (getStatus): use FuncStatus
12095 2002-01-08 Juergen Vigna <jug@sad.it>
12097 * text.C (nextBreakPoint): use function Inset::isChar().
12099 * paragraph.C (TeXOnePar): use function
12100 Inset::forceDefaultParagraphs.
12102 * buffer.C (latexParagraphs): use function
12103 Inset::forceDefaultParagraphs.
12105 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12107 * lyx_gui.C (init): set the style of the menu popups to
12108 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12110 2002-01-07 Juergen Vigna <jug@sad.it>
12112 * text.C (setHeightOfRow): small fix
12113 (prepareToPrint): don't look at alignment if we don't have the place
12116 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12118 * box.C: New file. Move the Box methods and functions out of box.h,
12119 following Lars' suggestion.
12121 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12123 * box.h: #include "support/LOstream.h", needed for inlined function.
12126 * lyxtextclasslist.C: added some using std declarations.
12128 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12130 * box.h: make signed dimensions to allow insets wider than
12131 the screen (bug #162)
12133 * BufferView_pimpl.C: add some insetHit debug
12135 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12137 * vc-backend.C: add FIXME
12139 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12141 * lyxfunc.C (getStatus): enable code for showing math font status
12144 2002-01-07 Juergen Vigna <jug@sad.it>
12146 * text.C (nextBreakPoint): removed debug output not needed anymore.
12148 2002-01-06 Juergen Vigna <jug@sad.it>
12150 * text.C (nextBreakPoint): fixed up this function we had this bug
12151 since ever but now hopefully we break row better.
12152 (insertChar): we have to check if an inset is the next char as it
12153 could now happen that a large inset is causing a break.
12155 2002-01-05 Juergen Vigna <jug@sad.it>
12157 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12158 if it doesn't like to be drawed.
12160 2002-01-04 Juergen Vigna <jug@sad.it>
12162 * BufferView2.C (lockInset): forgot to set a cursor.
12164 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12166 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12168 * FormMathsPanel.C:
12171 * form_maths_panel.C:
12172 * form_maths_panel.h:
12173 * form_maths_panel.fd: implemented sub- and super- buttons in math
12176 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12177 (or ^ space) to be used as in TeX (req'd by André).
12179 * lyxfunc.C: Allow ^ and _ again to be used both as
12180 super/subscript (mathed) and as themselves (in text).
12182 2002-01-03 Allan Rae <rae@lyx.org>
12184 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12185 "LyX" or the filename of the current buffer if it has one. This is a
12186 modified form of John Levon's patch.
12188 * XFormsView.C (setWindowTitle): also set icon title.
12190 * LyXView.h (setWindowTitle): signature changed.
12191 * XFormsView.h (setWindowTitle): ditto.
12193 2002-01-02 Juergen Vigna <jug@sad.it>
12195 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12197 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12199 * screen.C (topCursorVisible): introduce a temp var for
12200 text->cursor.row(), handle the case where this row is null. (kindo
12203 * text2.C (setCursor): add a couple of asserts.
12205 * paragraph.h (inset_iterator): add -> operator
12207 * paragraph.[Ch] (autoDeleteInsets): remove member function
12209 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12210 cursor pos correctly and handle inset deletion by itself.
12211 (insertErrors): move iterator declaration out of for expression
12213 * lyxtextclass.C: add <algorithm>
12215 * Makefile.am: added the new files to sources, removed layout.C
12217 * layout.C: removed file
12219 * layout.h: remove LYX_DUMMY_LAYOUT
12221 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12225 * lyxtextclass.[Ch]:
12226 * lyxtextclasslist.[Ch]: new files
12228 * include order changes to a lot of files, also changes because of
12231 2001-12-27 Juergen Vigna <jug@sad.it>
12233 * buffer.C (asciiParagraph): more fixes.
12235 * tabular.C (ascii): make ascii export support export of only the
12236 data separated by a column-delimiter.
12237 (ascii): better support for ascii export.
12239 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12241 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12243 * tabular_funcs.C: use a "using std::getline" instead of the
12244 previous fix from Angus (necessary for cxx + lyxstring)
12246 2001-12-24 Juergen Vigna <jug@sad.it>
12248 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12250 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12251 problems. First check a minipage also if we have some ert-contents
12252 (not only on par->size(), second set the right depth of the paragraph
12253 on the relink to the root-paragraph-list!
12255 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12256 which then did not anymore update the main paragraphs on undo/redo!
12258 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12260 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12261 code. Support all font-changing funcs (even those which are not in
12262 menu currently). Support for reporting font settings in
12263 mathed (disabled until Andre provides a function on mathed's side).
12265 * func_status.h (toggle): small helper function to set toggle
12268 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12270 * tabular_funcs.C: getline -> std::getline
12272 2001-12-21 Juergen Vigna <jug@sad.it>
12274 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12275 accessed and could be 0 (I couldn't generate this but it seems
12278 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12280 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12281 * tabular_funcs.h: here and include iosfwd
12283 2001-12-20 Juergen Vigna <jug@sad.it>
12285 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12286 inside inset but undo_par was.
12288 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12290 * Thesaurus.C: always include <config.h> in sources.
12294 * box.h: do not include <config.h> in header files
12296 * text.C (paintLastRow): remove unused variable
12298 * text.C (transformChar):
12300 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12302 * Painter.C (text):
12303 * font.C (width): rewrite to use uppercase() instead of
12306 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12308 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12310 * lyxfind.C: clean up of find failure position change
12312 2001-12-20 Juergen Vigna <jug@sad.it>
12314 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12316 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12317 (TeXRow): added to LaTeX a single tabular row.
12318 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12319 (Latex): simplified and finally good LT-h/f support.
12320 (various_functions): just small adaptions for LT-h/f support.
12322 * tabular_funcs.[hC]: added and moved here all not classfunctions
12325 2001-12-19 Juergen Vigna <jug@sad.it>
12327 * tabular.[Ch]: better support for longtabular options (not finished
12330 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12332 * text.C (paintLastRow): use the label font instead of the font of
12333 the last character to compute the size of *_BOX. This makes more
12334 sense and avoids a crash with empty paragraphs.
12335 Use Painter::rectangle to draw EMPTY_BOX.
12337 2001-12-19 Juergen Vigna <jug@sad.it>
12339 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12340 the paragraphs if the replaced paragraph is not the first one!
12341 Tried to delete not used paragraphs but does not work yet so for
12342 now it's inside #ifdef's and by default off!
12344 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12346 * MenuBackend.C: include "lyx_main.h" instead of declaring
12347 lastfiles (actually was declared as LastFiles* instead of a
12350 2001-12-17 Juergen Vigna <jug@sad.it>
12352 * tabular.C (AppendColumn): applied John's fix
12354 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12358 * BufferView_pimpl.h:
12359 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12362 * box.h: new start of class for above
12364 * lyxfunc.C: ignore space-only minibuffer dispatches.
12365 Show the command name when it doesn't exist
12367 * minibuffer.C: don't add empty lines to the history
12369 * minibuffer.C: add a space on dropdown completion
12371 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12373 * text.C: fix line above/below drawing in insets
12375 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12377 * lyxlength.C (LyXLength): Initialize private variables.
12379 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12381 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12382 when inserting error insets.
12384 2001-12-13 Juergen Vigna <jug@sad.it>
12386 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12387 actually sometimes the before-paragraph.
12388 (setUndo): don't clear the redostack if we're not actually undoing!
12390 2001-12-06 Juergen Vigna <jug@sad.it>
12392 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12393 and fixed redoing of main paragraph, so we can use it now ;)
12395 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12397 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12399 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12402 2001-12-13 André Pönitz <poenitz@gmx.net>
12405 * undo_func.C: minor cleanup
12407 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12409 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12410 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12411 font in urw-fonts package which is marked as -urw-fontspecific and
12412 does not work (incidentally, changing the encoding in the
12413 fonts.dir of this package to -adobe-fontspecific fixes the
12416 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12417 is a crash when undoing first paragraph (Juergen, please take a
12418 look). THis does not mean the undo fix is wrong, just that it
12421 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12422 the (Paragraph*) version when needed instead of duplicating the
12425 * text.C (workWidth): use Inset::parOwner to find out where the
12426 inset has been inserted. This is a huge performance gain for large
12427 documents with lots of insets. If Inset::parOwner is not set, fall
12428 back on the brute force method
12430 * paragraph_pimpl.C (insertInset):
12431 * paragraph.C (Paragraph):
12432 (cutIntoMinibuffer): set parOwner of insets when
12433 inserting/removing them
12435 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12437 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12443 * mathed/formulabase.C:
12444 * mathed/math_cursor.[Ch]:
12445 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12448 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12450 * lyxlength.[Ch] (operator!=): new function
12452 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12454 * text.C (workWidth): use Inset::parOwner to find out where the
12455 inset has been inserted. This is a huge performance gain for large
12456 documents with lots of insets. If Inset::parOwner is not set, fall
12457 back on the brute force method
12459 * paragraph_pimpl.C (insertInset):
12460 * paragraph.C (Paragraph):
12461 (cutIntoMinibuffer): set parOwner of insets when
12462 inserting/removing them
12464 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12466 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12468 * tabular-old.C (getTokenValue):
12469 * tabular.C (getTokenValue):
12470 (write_attribute): new versions for LyXLength
12471 (everywhere): adjust the use of widths
12473 * tabular.h: change the type of widths from string to LyXLength
12475 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12477 * paragraph.C: fixed missing line number count when exporting
12478 Environments to LaTeX file
12480 * buffer.C: added informational message for checking line numbers.
12482 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12484 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12485 paragraph, do the 'double space' part, but not the 'empty
12488 * text.C (workWidth): small optimization
12489 (getLengthMarkerHeight): use minimal size for negative lengths.
12491 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12493 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12495 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12497 2001-12-11 André Pönitz <poenitz@gmx.net>
12500 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12502 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12504 * text2.C: keep selection on a setFont()
12506 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12508 * lyx_cb.C: another bv->text misuse, from insert label
12510 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12513 * kbsequence.C: re-instate nmodifier mask
12515 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12517 * lyx_main.h: make lyxGUI private.
12519 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12521 * lyxfind.C: place the cursor correctly on failed search
12523 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12525 * text.C (getLengthMarkerHeight): for small heights, the arrows
12526 are not always on top/bottom of the text
12527 (drawLengthMarker): smaller arrows; take the left margin in
12528 account; draw also vfills.
12530 (paintLastRow): remove special code for vfill and standard spaces,
12531 since everything is handled in drawLengthMarker now.
12533 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12535 * buffer.C (insertErtContents): try to handle font and language
12536 interaction a bit better.g
12538 * ColorHandler.C (updateColor): change the hash to cover the whole
12539 LColor enum, ws cleanup
12540 (getGCLinepars): ditto
12541 (getGCLinepars): only lookup in the linecache once.
12543 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12545 * iterators.C (operator++): Make the iterator more robust
12547 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12549 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12551 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12554 * text.C: better added space drawing
12556 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12559 * BufferView2.C: fix layout combo update on inset unlock
12561 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12563 * Makefile.am: don't compile unused files
12565 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12569 * LyXAction.C: remove old LFUN_LAYOUTNO
12571 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12573 * paragraph_pimpl.h:
12574 * paragraph_pimpl.C: isTextAt() doesn't need font param
12576 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12579 * lyxlex.C: little cleanup
12581 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12583 * BufferView_pimpl.C: fix insertAscii for insets
12585 2001-12-05 Juergen Vigna <jug@sad.it>
12587 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12588 set the right font on the "multi" paragraph paste!
12590 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12596 * lyxlength.C: remove out-commented code.
12598 * BufferView_pimpl:
12612 * vc-backend.C: change "while(" to "while ("
12614 * lyxlength.[Ch]: add zero function to check if length is zero or
12616 * lyxgluelength.C: use it
12618 2001-12-05 Allan Rae <rae@lyx.org>
12620 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12621 Works for 2.95.3, from what I understand of Garst's reports this should
12622 work for other g++ versions. We're screwed if the abs(int) definition
12623 changed between bugfix releases of gcc.
12625 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12627 * text.C: fix chapter label offset !
12629 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12632 * text.C: fix hfill at end of line, clean up
12634 2001-12-04 Juergen Vigna <jug@sad.it>
12636 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12637 that we force an update of the inset and it's owners if neccessary.
12639 2001-12-03 Juergen Vigna <jug@sad.it>
12641 * text.C (rowLast): simplified code
12643 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12645 * lyxfunc.C: fix show options on timeout
12647 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12649 * screen.C (topCursorVisible): scroll half a page when the cursor
12650 reached top of bottom of screen
12652 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12654 * minibuffer.C: deactivate on loss of focus
12656 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12658 * vspace.[Ch] (operator!=): add operator.
12660 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12662 * BufferView_pimpl.C: refuse to open an inset when
12663 there's a selection.
12665 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12667 * BufferView_pimpl.C: allow to click on RHS of full row insets
12669 2001-11-30 Juergen Vigna <jug@sad.it>
12671 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12672 insets for undo reasons.
12674 2001-11-28 André Pönitz <poenitz@gmx.net>
12676 * vspace.[Ch]: cosmetical changes
12678 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12688 * kbsequence.C: part re-write of old kb code
12691 * WorkArea.C: remove Lgb_bug_find_hack
12693 2001-11-30 José Matos <jamatos@fep.up.pt>
12695 * buffer.C (makeDocBookFile): add a comment to point a hack.
12696 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12697 Fixed a double write of labels.
12699 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12702 * LaTeX.h Fixed bug in LaTeX class where it would not
12703 re-run latex if no depfiles were changed, but the .dvi was removed.
12705 2001-11-28 André Pönitz <poenitz@gmx.net>
12707 * all the files from the change on 2001/11/26:
12708 use lyx::layout_type instead of LyXTextClass::size_type
12709 use lyx::textclass_type instead of LyXTextClassList::size_type
12711 2001-11-29 Juergen Vigna <jug@sad.it>
12713 * text.C: added support for paragraph::isFreeSpacing()
12715 * buffer.C: same as above
12717 * paragraph.h: inserted isFreeSpacing() function to enable
12718 FreeSpacing inside InsetERT.
12720 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12721 of the paragraph's in the cut/copy buffer to 0!
12723 * text2.C (removeRow): remove the assert as it can!
12725 * lyxtext.h: added helper function firstRow returning firstrow and
12726 made firstrow private again.
12728 * BufferView2.C (lockInset): don't relock if we're already locked!
12730 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12731 the only paragraph.
12732 (removeRow): added Assert::(firstrow)
12734 * debug.C: forgot to add INSETTEXT here.
12736 2001-11-28 Juergen Vigna <jug@sad.it>
12738 * sp_spell.C (initialize): changed error text to more general
12739 spellchecker command use (not only ispell!)
12741 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12743 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12745 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12747 * vspace.C: initialise lyxgluelength on failure
12749 2001-11-28 Allan Rae <rae@lyx.org>
12751 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12752 declaration & definition that looks like a function declaration.
12754 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12756 * BufferView2.C (copy):
12757 (copyEnvironment): do not clear the selection when doing a copy.
12759 * text.C (paintFirstRow): compilation fix
12761 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12763 * tabular.C (Latex): correct line count when writing latex.
12765 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12767 * paragraph_pimpl.h:
12768 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12771 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12775 * LColor.C: change vfillline->added_space
12777 * text.C: add markers and text for added space
12779 * vspace.C: fix comment
12781 2001-11-28 André Pönitz <poenitz@gmx.net>
12783 * paragraph.C: whitespace changes
12784 * all the other files from the change on 2001/11/26:
12785 change *::pos_type into lyx::pos_type
12787 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12789 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12790 language of the document when inserting error insets.
12792 2001-11-26 André Pönitz <poenitz@gmx.net>
12794 * BufferView_pimpl.[Ch]:
12802 * paragraph_pimpl.[Ch]:
12805 * text2.C: reduce header dependencies, introduce type for positions
12807 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12809 * <various>: change to use Alert.h
12811 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12813 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12814 when encountering an unknown token.
12815 (readLyXformat2): Show an error message if there were unknown tokens.
12817 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12820 * BufferView_pimpl.C:
12824 * text2.C: use par->isInset()
12826 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12828 * paragraph_pimpl.h:
12829 * paragraph_pimpl.C: cleanup
12831 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12833 * text2.C (removeRow):
12834 * text.C (setHeightOfRow): remove useless (and costly) call to
12837 2001-11-20 Allan Rae <rae@lyx.org>
12839 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12840 Now need Inset*::checkInsertChar() to return true for appropriate
12841 cases so that the characters in the minibuffer will actually be
12844 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12846 * text.C: change the order of the includes.
12847 (workWidth): initialize it at once.
12848 (workWidth): make maxw unsigned
12849 (setHeightOfRow): remove unused variable (inset)
12850 (selectSelectedWord): remove unused variable (inset)
12851 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12853 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12855 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12856 server is not running.
12858 (closeConnection): add debug info when server is disabled.
12860 * ColorHandler.C (getGCForeground): send debug message to GUI
12863 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12865 * kbmap.C (bind): modify because return conventions of
12866 kb_sequence::parse have changed.
12868 * kbsequence.C (parse): only ignore spaces and not any stupid
12869 control character. This avoids tests like s[i] <= ' ', which are
12870 guaranteed to fail with 8bit characters and signed chars.
12871 Change return code to string::npos when there have been no error
12872 (0 was a bad idea when error is at first character)
12874 2001-11-14 José Matos <jamatos@fep.up.pt>
12877 * buffer.C (simpleDocBookOnePar): removed unused argument.
12879 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12881 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12882 insets which are part of a word. Paragraph::isLetter takes care of
12883 that now. Use Paragraph::isInset to identify insets.
12884 (selectSelectedWord): do not test for hyphenation break.
12886 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12887 that protected spaces are considered as spaces.
12889 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12892 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12895 * lyxserver.C: fix it. and small cleanup.
12897 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12899 * BufferView_pimpl.C: use inline helpers
12902 * LaTeXFeatures.C: fix typos
12905 * Spacing.C: move spacing_string into class
12907 * ToolbarDefaults.C: move stuff into namespace anon
12909 * layout.h: update enum
12911 * lyxfunc.C: use better debug
12913 * minibuffer.h: fix typo
12917 * WorkArea.C: add and use Debug::WORKAREA
12921 * text2.C: code re-organisation, inline helpers
12923 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12925 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12926 std::vector.empty().
12928 2001-11-09 Allan Rae <rae@lyx.org>
12930 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12931 '\n's after tables. Tabular and ERT inset work now makes this no
12934 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12937 * minibuffer.C: fix crash, improve drop-down completion
12939 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12942 * lyxserver.C: invalidate fd's when doing endPipe()
12944 2001-11-08 José Matos <jamatos@fep.up.pt>
12946 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12947 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12950 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12952 2001-11-07 José Matos <jamatos@fep.up.pt>
12955 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12958 * buffer.C (sgmlOpenTag):
12959 * buffer.C (sgmlCloseTag): removed debug info.
12961 * buffer.h (sgmlOpenTag):
12962 * buffer.h (sgmlCloseTag): made public.
12964 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12966 * buffer.C (saveParamsAsDefaults):
12967 * lyx_cb.C (MenuLayoutSave): remove
12969 * LyXAction.C (init):
12971 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12973 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12975 * buffer.C (setPaperStuff): removed from here...
12977 * bufferparams.C (setPaperStuff): ... and moved there.
12979 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12983 * XFormsView.C: add support for drop-down completion
12985 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12987 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12990 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12992 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12995 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12997 * lyx_main.C: change ref to known bugs
12999 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13001 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13002 to work around older babel problems.
13004 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13006 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13008 2001-10-24 Juergen Vigna <jug@sad.it>
13010 * tabular-old.C (ReadOld): below variable changes reflected.
13012 * tabular.[Ch]: added ltType struct for longtable header/footer
13013 defines and changed all instances where they are used. Added
13014 future support for double top/bottom rows.
13016 2001-10-24 José Matos <jamatos@fep.up.pt>
13018 * buffer.h (docbookHandleCaption):
13019 * buffer.C (docbookHandleCaption): removed unused function.
13020 (makeDocBookFile): moved docbook supported version to v4.1.
13022 2001-10-24 José Matos <jamatos@fep.up.pt>
13025 * tabular.C (docbookRow): new function to export docbook code of a row.
13026 (DocBook): now honors the longtable flags.
13028 2001-10-23 José Matos <jamatos@fep.up.pt>
13031 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13032 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13034 * buffer.C (makeLinuxDocFile):
13035 (makeDocBookFile): reworked the preamble, more clean, and with
13036 support for lyx defined entities. Changed the document declaration
13037 to be more XML friendly.
13039 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13040 if we need to output XML that should be done with a filter.
13042 2001-10-22 Juergen Vigna <jug@sad.it>
13044 * sp_pspell.h (class PSpell): add alive function needed in the
13045 controller to see if the spellchecker could be started.
13047 2001-10-22 Juergen Vigna <jug@sad.it>
13049 * buffer.C (insertStringAsLines): modify the font for inserting
13050 chars in certain conditions by calling checkInsertChar(font).
13052 2001-10-19 Juergen Vigna <jug@sad.it>
13054 * text.C (workWidth): use getRow instead of wrong algorithm.
13055 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13057 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13062 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13064 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13066 * text.C (workWidth): do not search for the exact row when
13067 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13068 optimization for big documents.
13070 2001-10-18 Juergen Vigna <jug@sad.it>
13072 * text.C (workWidth): new function with added Inset * parameter.
13074 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13076 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13078 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13079 change return type of getColumnNearX.
13082 * text.C (changeRegionCase): use uppercase/lowercase instead of
13085 (rightMargin): simplify code by factoring out the uses of
13090 (appendParagraph): use Paragraph::size_type
13092 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13094 * vspace.C (asLatexString): add a missing break
13096 2001-10-15 Herbert Voss <voss@perce.de>
13098 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13100 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13102 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13105 2001-10-10 André Pönitz <poenitz@gmx.net>
13107 * lyxfunc.C: removed greek_kb_flag.
13109 2001-10-10 Herbert Voss <voss@perce.de>
13111 * lyx_main.C: delete global string help_lyxdir.
13113 2001-10-09 Herbert Voss <voss@perce.de>
13115 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13117 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13119 * lyx_main.C: added global string help_lyxdir.
13121 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13123 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13125 * lyxrc.C (set_font_norm_type): support iso8859-4
13127 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13129 * LaTeX.C (deplog): add another regex for MikTeX
13131 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13133 * lyxrc.C (set_font_norm_type): support iso8859-3
13135 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13137 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13139 * LaTeXFeatures.C: remove special case of french and index
13141 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13142 before \begin{document}). This solves several incompatibilities.
13144 2001-10-03 Garst Reese <reese@isn.net>
13146 * lyx_cb.C: change CheckTex error msg.
13148 2001-10-03 José Matos <jamatos@fep.up.pt>
13150 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13152 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13154 * .cvsignore: update
13156 * lyx_main.C (commandLineVersionInfo): use new style version info.
13158 * buffer.C (writeFile):
13160 (makeLinuxDocFile):
13161 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13163 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13165 * version.h: update to use stuff in version.C
13167 * version.C.in: new file. Contains version information determined
13168 at compile time. This is a merging of version.h and
13171 2001-10-03 Juergen Vigna <jug@sad.it>
13173 * BufferView_pimpl.C (update): don't change "dirty" status in
13176 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13178 * WorkArea.C (c-tor): re-position version string slightly.
13180 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13182 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13183 revert to previous code.
13185 WorkArea.[Ch]: (show, destroySplash): methods removed.
13187 WorkArea.C: rework code so that it's an amalgam of the codes before and
13188 after the splash screen was moved to WorkArea.
13190 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13193 * vspace.C (inPixels):
13196 * buffer.C (insertStringAsLines):
13197 (asciiParagraph): fix types to be large enough
13199 * lyxlex_pimpl.h: change member status from short to int
13201 * layout.h: fix type of endlabeltype
13204 * kbsequence.C (parse): change return type to string::size_type
13206 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13209 * Bullet.C (bulletSize):
13210 (bulletEntry): do not use short ints as parameters
13212 * BufferView2.C (insertLyXFile): change a char to an int.
13214 * WorkArea.C (WorkArea): remove unneeded floats in computation
13216 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13218 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13220 * paragraph.C (asString): Do not ignore newline/hfill chars when
13221 copying to the clipboard.
13223 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13225 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13226 after a multi-line inset.
13228 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13230 * paragraph.C (validate): Set NeedLyXFootnoteCode
13232 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13234 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13235 and decrease-error to decrease.
13237 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13239 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13240 it more readable (should be equivalent)
13242 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13244 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13246 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13248 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13249 of a cursor (row, etc.) after a character has been deleted
13250 (deleteEmptyParagraphMechanism): call the method above on _all_
13251 cursors held by the LyXText when a double space has been
13254 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13256 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13258 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13260 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13261 background. Use greyOut() and the new show() methods to toggle between
13262 the foreground and background. Add code to remove the splash after
13263 its initial showing.
13265 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13266 (create_forms): no longer call Dialogs::showSplash.
13268 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13270 * .cvsignore: add version_info.h
13272 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13274 * version_info.h.in: new file
13276 * Makefile.am: add version_info.h.in
13278 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13279 version_info.h instead of VERSION_INFO
13281 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13283 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13284 The ERT inset now returns string().
13286 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13288 * lyxtext.h, text.C (selectNextWord): renamed as
13289 selectNextWordToSpellcheck.
13291 * text.C (selectNextWordToSpellcheck): Modified to not select
13292 words inside an ERT inset.
13294 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13296 * lyx_cb.C (MenuLayoutSave): change a bit the question
13298 * sp_base.h: include <sys/types.h>
13300 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13302 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13304 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13306 * several files: fix typos in user-visible strings
13308 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13310 * text2.C (pasteSelection): do not set the selection, since it
13311 will be cleared later. Actually, the intent was to fix the way the
13312 selection was set, but I figured rmoving the code was just as good.
13314 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13316 * FontLoader.C (available): Check if font is available without
13319 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13321 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13323 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13325 * lyxrc.[Ch]: added display_graphics variable and associated code.
13327 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13329 * bufferparams.C (hasClassDefaults): new method. Returns true if
13330 the buffer parameters correspond to known class defaults
13332 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13334 * XFormsView.C (show): set minimum size to the main window.
13336 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13338 * text2.C (copySelection):
13340 * lyxfind.C (LyXReplace):
13341 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13342 LyXText::selectionAsString.
13344 * paragraph.C (asString): add "label" argument to the second form
13346 * text2.C (selectionAsString): add "label" argument and pass it to
13347 Paragraph::asString.
13349 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13351 * lyx_main.C (commandLineHelp): remove version information
13353 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13355 * lyx_main.C: add -version commandline option
13357 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13359 * paragraph.h: make the optional constructor arg required instead.
13360 some modifications to other files because of this.
13362 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13364 * lyxserver.C (C_LyXComm_callback): make it static
13366 * lyx_main.C (error_handler): make it static
13368 * lyx_gui.C (LyX_XErrHandler): make it static
13370 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13372 * WorkArea.C: make the extern "C" methods static.
13374 * Makefile.am (lyx_LDADD): simplify
13376 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13378 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13379 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13381 * LyXAction.C (init):
13382 * lyxfunc.C (dispatch): associated code removal.
13384 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13386 * lyxfont.h (isSymbolFont): shut off warning
13388 * text.C (setHeightOfRow):
13389 (getVisibleRow): fix crash with empty paragraphs which have a
13392 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13394 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13397 2001-09-04 José Matos <jamatos@fep.up.pt>
13400 * tabular.C (docbook): rename docBook method to docbook.
13402 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13404 * Makefile.am: add dependencies to main.o.
13406 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13408 * FontLoader.C (available): Return false if !lyxrc.use_gui
13410 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13412 * FontInfo.C (query):
13413 * converter.C (view):
13414 * importer.C (Import):
13415 * exporter.C (Export): Can not -> cannot.
13417 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13419 * BufferView_pimpl.C: allow to create index inset even if
13422 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13424 * buffer.C (getLists): replace boost::tie code with an explicit pair
13425 as boost::tie can break some compilers.
13427 * iterators.h: Added a std:: declaration to the return type of
13430 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13432 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13435 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13437 * iterators.[Ch]: New files. Provide paragraph iterators.
13439 * buffer.C (changeLanguage): Use paragraph iterators.
13440 (isMultiLingual): ditto
13442 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13444 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13446 * FontLoader.C: Support for cmr font.
13448 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13450 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13451 (available): New method.
13453 * FontInfo.C (getFontname): Use scalable fonts even when
13454 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13457 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13459 * converter.C (Formats::view): reverted! Incorrect fix.
13461 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13463 * converter.C (Formats::view): only output the -paper option
13464 if the dvi viewer is xdvi, thereby fixing bug #233429.
13466 2001-08-23 Herbert Voss <voss@perce>
13468 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13470 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13472 * Spacing.h (Spacing): Set space to Default on in the default
13475 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13477 * vc-backend.h (RCS::versionString): add RCS to version
13478 (CVS::versionString): add CVS to version
13480 * vc-backend.C (scanMaster): do not add CVS to version.
13481 (scanMaster): do not add RCS to version
13483 * lyxvc.C (versionString): new method
13485 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13487 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13489 * Spacing.C (set): initialize fval
13491 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13493 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13496 2001-08-16 Juergen Vigna <jug@sad.it>
13498 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13500 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13502 * BufferView_pimpl.C:
13505 * text2.C: setParagraph takes linespacing now
13507 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13509 * LyxAction.C: add internal LFUN_CITATION_INSERT
13511 * LyXView.C: actually apply fix
13513 * bufferlist.C: fix open non-existent file
13515 * lyxfind.C: fix indentation
13517 * lyxfunc.C: remove unneeded assert, fix typo
13519 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13521 * MenuBackend.C: use "Floatname List"
13523 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13525 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13526 when converting LaTeX layout to insetERT.
13527 Generate a non-collapsed float when reading old float
13529 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13531 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13534 2001-08-13 Juergen Vigna <jug@sad.it>
13536 * text.C (fill): return 0 instead of 20 as this seems to be the more
13539 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13541 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13544 2001-08-13 Juergen Vigna <jug@sad.it>
13546 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13548 (SearchBackward): comment out the unlocking of the inset_owner this
13549 should not be needed!
13551 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13553 * Many files: Remove inherit_language, and add latex_language
13555 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13556 collapsible insets.
13558 2001-08-10 Juergen Vigna <jug@sad.it>
13560 * text.C (prepareToPrint): fixed hfill-width in draw!
13562 * BufferView2.C (selectLastWord): save the selection cursor as this
13563 now is cleared in the function LyXText::clearSelection!
13565 2001-08-08 Juergen Vigna <jug@sad.it>
13567 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13568 BACKSPACE type functions.
13570 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13571 is only cutted from the document but not put in the cut-buffer, where
13572 still the old stuff should be.
13574 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13576 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13578 * tabular.C (SetWidthOfCell): fixed special case where the width
13580 (LeftLine): handle '|' in align_special.
13582 (LeftAlreadyDrawed): ditto
13583 (SetWidthOfCell): ditto
13585 2001-08-07 Juergen Vigna <jug@sad.it>
13587 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13589 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13591 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13592 * lyxlex.[hC]: ditto
13594 2001-08-06 Juergen Vigna <jug@sad.it>
13596 * text.C (getVisibleRow): fix up row clearing a bit.
13598 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13600 * minibuffer.C: make sure the X server sees the changes in the input.
13602 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13604 * paragraph.C (getFont): split into...
13605 (getLabelFont): this
13606 (getLayoutFont): and this
13607 * paragraph_pimpl.C (realizeFont): calling this
13609 * text2.C (getFont): split into...
13610 (getLayoutFont): this
13611 (getLabelFont): and this
13612 (realizeFont): all three calling this
13614 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13617 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13619 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13621 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13623 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13624 layouts from the Quote inset insertion.
13626 2001-08-03 Juergen Vigna <jug@sad.it>
13628 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13630 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13631 only if status not is already CHANGED_IN_DRAW (second level).
13633 * text.C (draw): don't set the need_break_row when inside an
13636 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13638 * buffer.C (parseSingleLyXformat2Token): handle more latex
13641 * bufferview_funcs.[hC]: change function names to
13642 begin with small char, adjust other files.
13644 2001-08-02 André Pönitz <poenitz@gmx.net>
13647 BufferView_pimpl.C: remove broken special code for math-greek
13649 2001-08-02 Juergen Vigna <jug@sad.it>
13651 * BufferView_pimpl.C (update): redone this function so that we
13652 update the text again if there was a CHANGE_IN_DRAW.
13654 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13655 (drawFromTo): added a new internal bool which is used by draw() and
13657 (general): some cursor drawing problems fixed.
13659 2001-08-01 Juergen Vigna <jug@sad.it>
13661 * lyxfind.C (LyXFind): fixed
13662 (SearchForward): ditto
13663 (SearchBackward): ditto
13665 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13666 spurius drawing of the cursor in the main area.
13668 * text2.C (status): small fix which could lead to a segfault!
13669 (clearSelection): remove unneeded BufferView param.
13671 2001-08-01 André Pönitz <poenitz@gmx.net>
13673 * lyxfunc.C: small change due to changed mathed interface
13675 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13677 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13679 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13681 * lyxfunc.c: fail gracefully if file doesn't exist
13686 * BufferView_pimpl.C: IsDirWriteable() proto changed
13688 * LyXView.C: fix updateWindowTitle() to store the last title
13690 2001-07-31 Juergen Vigna <jug@sad.it>
13692 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13693 the font (wrong since using of Paragraph::highestFontInRange).
13695 * paragraph.C (highestFontInRange): added a default_size parameter.
13697 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13698 (setHeightOfRow): reformat
13700 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13702 * converter.[hC] + affected files: move to (inital-char)lowercase
13705 * ParagraphParameters.C (ParagraphParameters): remove commented code
13707 * PainterBase.[Ch]: remove commented code
13709 * LaTeXFeatures.h: add "bool floats" for float.sty
13711 * LaTeXFeatures.C (LaTeXFeatures): init floats
13712 (require): handle float
13713 (getPackages): do it with floats
13715 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13717 * BufferView_pimpl.C (Dispatch): improve handling of
13718 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13720 * commandtags.h: #include lyxfont.h here temporarily to avoid
13723 * bufferlist.h: include LString.h here.
13725 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13727 * text2.C (getStringToIndex): new method.
13729 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13731 * *: Reduced header file dependencies all over.
13733 2001-07-30 Baruch Even <baruch@lyx.org>
13735 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13737 2001-07-29 Baruch Even <baruch@lyx.org>
13739 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13741 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13743 * ParameterStruct.h (endif): add a default constructor to make
13744 sure that all variables is initialized.
13746 * ParagraphParameters.C (ParagraphParameters): adjust
13748 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13750 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13751 index; also, check that there is something to index, and that it
13752 does not span over several paragraphs.
13753 (doubleClick): use WHOLE_WORD_STRICT for double click.
13755 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13757 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13760 2001-07-26 Baruch Even <baruch@lyx.org>
13762 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13763 an InsetFig figure, backwards compatible reading of old figure code.
13765 2001-07-27 Juergen Vigna <jug@sad.it>
13767 * text2.C: font.realize function adaption.
13769 * text.C (draw): add a warnings lyxerr text if needed.
13771 * layout.C: font.realize function adaption.
13773 * language.C: add inherit_language and implement it's handlings
13775 * bufferview_funcs.C (StyleReset): remove language parameter from
13776 font creation (should be language_inherit now).
13778 * bufferparams.C (writeFile): handle ignore_language.
13780 * paragraph.C (getFontSettings): the language has to be resolved
13781 otherwise we have problems in LyXFont!
13783 * lyxfont.C (lyxWriteChanges): added document_language parameter
13784 (update): removed unneeded language parameter
13786 * paragraph.C (validate): fixed wrong output of color-package when
13787 using interface colors for certain fonts in certain environments,
13788 which should not seen as that on the final output.
13790 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13792 * BufferView_pimpl.C:
13797 * LyXAction.C: add thesaurus support
13800 * lyxfind.C: add "once" parameter, for thesaurus, to not
13801 move to the next match
13803 2001-07-26 Juergen Vigna <jug@sad.it>
13805 * lyxfont.C (realize): honor ignore_language too!
13808 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13810 * text.C (draw): one place more for ignore_language to not draw
13813 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13815 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13817 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13819 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13820 the minipage conversion problem.
13822 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13824 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13827 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13829 * BufferView.h: don't forward declare WorkArea
13831 * BufferView.C: don't include WorkArea.h
13833 2001-07-25 André Pönitz <poenitz@gmx.net>
13837 * lyxfunc.C: new LFUN 'math-space'
13839 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13841 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13843 * text2.C (toggleInset): call open/close
13845 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13847 * lyxfunc.C (dispatch): add debug for the disabled case
13849 * font.C (buttonText): make similar to rectText
13851 * buffer.C (readInset): comment out parsing of insetlist and
13854 * PainterBase.C (rectText): small correction
13856 * BufferView_pimpl.C: comment out insettheorem and insetlist
13857 * LyXAction.C: ditto
13858 * commandtags.h: ditto
13860 2001-07-24 Juergen Vigna <jug@sad.it>
13862 * text.C (draw): honor the ignore_language.
13864 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13866 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13868 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13871 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13873 * lyxtext.h: remove unused (and unimplemented) methods
13875 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13877 * text.C (getVisibleRow): honor background color
13880 * Painter.h: remove default color argument for fillRectangle
13882 * text.C (backgroundColor): new method
13884 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13886 * text.C (getVisibleRow): adjust
13888 * font.[Ch] (rectText): new method, metrics
13889 (buttonText): new method, metrics
13891 * PainterBase.[hC]: make rectText and buttonText always draw and take
13894 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13896 * ToolbarDefaults.C (read):
13897 * MenuBackend.C (read): allow escaping in all strings
13899 * BufferView_pimpl.C (insertAndEditInset): new method.
13900 (Dispatch): use insertAndEditInset whenever appropriate.
13902 * BufferView_pimpl.C (insertNote): removed
13904 * BufferView_pimpl.C (smartQuote): new method, moved from
13905 BufferView; if an insetquote cannot be inserted, insert a '"'
13908 * BufferView2.C: remove insertCorrectQuote();
13910 * lyxfunc.C (getStatus): Add support for all remaingin
13911 inset-insert lfuns.
13913 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13915 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13916 command (necessary to pass " as parameter of self-insert.
13918 * text.C (selectWordWhenUnderCursor):
13919 (selectWord): add word_location parameter
13920 (selectWordWhenUnderCursor): same + remove special code for word
13922 (selectNextWord): use kind() to guess type of insetspecialchar,
13925 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13926 (insertErtContents): create ert insets as collapsed.
13927 (readInset): better compatibility code for Info inset.
13929 2001-07-20 Juergen Vigna <jug@sad.it>
13931 * lyxfunc.C (dispatch): use always LyXFind now!
13933 * text2.C (init): add a reinit flag so that the LyXText can be
13934 reinited instead of deleted and reallocated (used in InsetText).
13936 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13942 2001-07-18 Juergen Vigna <jug@sad.it>
13944 * text.C (selectNextWord): handle insets inside inset by calling
13945 always the bv->text functions so that we can go up the_locking_inset!
13947 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13948 in strange locations when inside an inset!
13950 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13951 handling to include insets.
13953 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13955 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13957 * LyXAction.C (init):
13959 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13960 LIGATURE_BREAK, since the name is so stupid.
13962 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13964 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13967 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13969 * sp_form.[Ch]: remove.
13971 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13973 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13976 * src/buffer.C (readInset): ditto.
13978 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13980 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13981 menuSeparator(), endOfSentenceDot(), ldots() and
13982 hyphenationPoint(), which are therefore removed.
13983 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13985 * LyXAction.C (init):
13986 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13988 * paragraph.C (getWord): removed.
13990 * BufferView_pimpl.C (Dispatch): use last word or selection for
13991 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13993 * lyx_main.C (queryUserLyXDir): do not ask before creating
13994 user_dir, except if it has been named explicitely.
13996 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13998 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13999 a document of zero size.
14001 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14003 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14004 approriately in the c-tor and in require().
14005 (getPackages): output the appropriate LaTeX for natbib support.
14007 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14008 variables "use_natbib" and "use_numerical_citations" when reading the
14010 (readInset): read the various natbib cite commands.
14011 (validate): white-space change.
14013 * bufferparams.[Ch]: new variables "bool use_natbib" and
14014 "bool use_numerical_citations".
14015 (writeFile): output them in the LyX file.
14017 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14019 * lyxfunc.C (getStatus): add support for all the inset insertion
14022 * text2.C (insertInset):
14023 * paragraph.C (insetAllowed):
14024 * BufferView_pimpl.C (insertInset): update to take in account the
14025 renaming of insertInsetAllowed
14027 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14029 * text2.C (getInset): new method. returns inset at cursor position.
14031 * BufferView_pimpl.C (Dispatch): changes because of this.
14033 * LyXAction.C (init): rename open-stuff to inset-toggle.
14035 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14037 * text2.C (toggleInset): renamed from openStuff; use
14040 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14042 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14044 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14046 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14048 * buffer.C (readLyXformat2): Add filename to the error dialog
14050 2001-07-18 Juergen Vigna <jug@sad.it>
14052 * tabular.C (GetCellNumber): put an assert here instead of the check!
14054 2001-07-17 Juergen Vigna <jug@sad.it>
14056 * BufferView_pimpl.C (toggleSelection): adapted too.
14058 * text.C (selectNextWord): adapted for use with insets.
14059 (selectSelectedWord): ditto
14061 2001-07-17 Juergen Vigna <jug@sad.it>
14063 * sp_spell.C (PSpell): fix initialitation order.
14065 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14067 * paragraph.C: spacing
14069 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14071 * sp_spell.C: repair language selection for pspell
14073 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14075 * lyxfunc.h: change more methods to begin with lower char.
14077 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14079 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14080 for unknown layouts.
14082 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14084 * buffer.C (readLyXformat2): Generate an error dialog if there are
14087 2001-07-16 Juergen Vigna <jug@sad.it>
14089 * sp_spell.C: always compile ISpell part.
14091 * lyxrc.C: added use_pspell entry and it's handling.
14093 2001-07-13 Juergen Vigna <jug@sad.it>
14095 * sp_spell.C: removed double includes.
14097 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14099 Consistent use of Lsstream.h:
14100 * Lsstream.h: added using std::stringstream for consistencies sake.
14102 * buffer.C: removed using std::stringstream
14104 * lyxfont.C (stateText):
14105 * paragraph.C (asString):
14106 * text.C (selectNextWord, selectSelectedWord):
14107 * text2.C (setCounter):
14108 * vspace.C (asString, asLatexString):
14109 std::ostringstream -> ostringstream.
14111 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14113 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14114 * commandtags.h: add LFUN_HELP_ABOUTLYX
14115 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14117 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14119 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14121 * lyx_gui_misc.C: remove spellchecker
14122 * lyxfunc.C: showSpellchecker
14124 * sp_ispell.h: added
14125 * sp_pspell.h: added
14126 * sp_spell.C: added
14127 * sp_form.[Ch]: removed
14128 * spellchecker.[Ch]: removed
14130 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14132 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14134 (simpleTeXSpecialChars): Simply print the input character without
14135 any special translation if pass_thru is set.
14137 * layout.h: Added bool pass_thru to layout class for being able to
14138 implement pass through of a paragraph for Literate Programming.
14140 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14141 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14142 * layout.C (Read): add "passthru" to list of layout tags and add
14143 code to set the pass_thru boolean when it is read.
14145 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14147 * trans_decl.h: remove allowed from KmodInfo
14149 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14150 remove allowed code
14153 * paragraph_pimpl.C (erase): use boost::prior
14155 * Painter.C (text): use data() instead of c_str() when length is
14157 * WorkArea.C (putClipboard): ditto
14158 * font.h (width): ditto
14160 * BufferView2.C: use it-> instead of (*it). for iterators
14162 * paragraph_pimpl.C: ditto
14163 * paragraph.C: ditto
14164 * minibuffer.C: ditto
14165 * language.C: ditto
14167 * encoding.C: ditto
14168 * counters.C: ditto
14169 * converter.C: ditto
14171 * Variables.C: ditto
14172 * TextCache.C: ditto
14173 * MenuBackend.C: ditto
14174 * LyXAction.C: ditto
14176 * FloatList.C: ditto
14177 * DepTable.C: ditto
14178 * ColorHandler.C (LyXColorHandler): ditto
14180 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14182 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14184 * text2.C (openStuff): reintroduce this method (which had been
14185 nuked in NEW_INSETS frenzy).
14187 * lyxfunc.C (Dispatch): when an action has not been handled, use
14188 its name in the error message, not its number.
14190 * paragraph.C (inInset): change method name to begin with lowercase.
14193 * text2.C: updates because of this.
14195 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14197 * ToolbarDefaults.C (add): add spaces in error message
14199 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14201 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14202 (readLyXformat2): rename return_par to first_par, use lyxlex's
14203 pushToken and remove the manual push handling.
14204 (parseSingleLyXformat2Token): add another ert comp. variable:
14205 in_tabular, rename return_par to first_par. handle newlines better
14207 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14209 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14211 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14213 * text2.C (getParFromID): removed
14215 * buffer.C (getParFromID): new method moved form lyxtext.
14216 * BufferView2.C (insertErrors): adjust
14217 (setCursorFromRow): adjust
14218 * BufferView_pimpl.C (restorePosition): adjust
14219 * lyxfunc.C (Dispatch): adjust
14220 * undo_funcs.C (textUndo): adjust
14222 (textHandleUndo): adjust
14223 (textHandleUndo): adjust
14225 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14227 * buffer.C: up' the LYX_FORMAT
14229 * lyxfont.h: turn NO_LATEX on as default
14231 * buffer.C (insertErtContents): new methods of tex style compability.
14232 (parseSingleLyXformat2Token): use it several places.
14233 * tabular.C (OldFormatRead): and here
14235 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14237 * text2.C: remove some commented code.
14240 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14241 * trans.C: changes because of the above.
14243 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14245 * text2.C (setCounter): Fix counters bug with bibliography layout.
14247 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14249 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14250 own member functions
14251 (simpleTeXSpecialChars): ditto
14253 2001-07-06 Juergen Vigna <jug@sad.it>
14255 * a lot of files: changed the access to LyXText::status and the
14256 call of undo-functions.
14258 * undo.[Ch]: added a inset_id to the undo informations.
14260 * undo_funcs.[Ch]: added and moved here all undo functions.
14262 * lyxtext.h: give the status enum a weight, made status_ a private
14263 variable and made accessor functions for it, removed the whole bunch
14264 of undo-functions as they are now in their own file, make some
14265 functions publically available. Added function ownerParagraph with
14268 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14269 made InInset() a const function, added getParFromID() function.
14271 * buffer.[Ch]: added const version for inset_iterator functions,
14272 added getInsetFromID() function.
14274 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14275 changed undo functions for new version.
14277 2001-07-05 Juergen Vigna <jug@sad.it>
14279 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14280 unknow mechanism does not call the proper constructor but only this
14281 one also if I request the other!?
14283 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14285 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14287 * text2.C (LyXText): use initialization lists.
14289 * lyxtext.h (Selection): initialize set_ and mark_
14290 (init): remove method
14292 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14294 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14296 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14298 * screen.[Ch]: change method names to begin with lowercase
14300 * BufferView_pimpl.C (updateScrollbar): simplify further and
14301 hopefully make it a bit faster.
14303 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14305 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14306 calling directly xforms functions.
14308 * Painter.C (Painter):
14309 * lyx_cb.C (MenuWrite):
14310 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14313 * lyx_gui.C: remove bogus guiruntime extern declaration.
14315 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14317 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14319 (redoDrawingOfParagraph): ditto
14320 (redoParagraphs): ditto
14321 (cutSelection): don't create a object for CutAndPaste use the
14322 static method directly
14323 (pasteSelection): ditto
14325 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14328 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14330 * modifications to some other files because of this.
14332 * Makefile.am (lyx_SOURCES): add XFormsView
14334 * XFormsView.[Ch]: new files
14336 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14337 the main window. Move the gui dependent stuff to XFormsView
14339 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14341 * tabular.C (GetCellInset): update cur_cell also in the row/col
14342 version of this function.
14344 * lyxfunc.C: no need to include figure_form.h here.
14350 * lyxvc.C: no need to include forms.h here.
14352 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14354 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14356 * lyxfunc.C (Dispatch):
14358 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14359 constructor argument.
14361 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14363 * paragraph.C (Paragraph): dont't clear, and just set layout.
14364 (makeSameLayout): use params's copy contructor.
14366 * ParagraphParameters.[Ch] (makeSame): delete method
14368 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14370 * Variables.[Ch]: fix indentation, rename set to isSet
14372 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14374 * lyxfunc.C (Dispatch): fix typo
14376 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14378 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14381 * bufferlist.C: include assert.h for emergencyWrite().
14383 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14385 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14386 give up at last (bug #425202) !
14388 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14394 * spellchecker.C: strip spellchecker options and bring up
14395 preferences tab instead
14397 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14399 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14400 the istringstream constructor
14402 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14404 * paragraph.C (getLayout): fix return value
14406 * paragraph.h: do not declare getLayout as inline.
14408 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14410 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14412 * lyxcursor.h (operator<): new func
14413 (operator>): new func
14414 (operator>=): new func
14415 (operator<=): new func
14417 * text.C (changeCase): use selection.start and selection.end
14418 (changeRegionCase): require from to be <= to. Require par to be a
14421 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14423 2001-06-27 Juergen Vigna <jug@sad.it>
14425 * text.C (cursorLeftOneWord): changed to return the cursor and added
14426 overlay with BufferView * parameter which calls this one.
14428 (selectWord): use new getWord function.
14429 (changeCase): renamed from changeWordCase as and extended to work
14430 also on selections.
14432 * lyxtext.h: added enum word_location
14434 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14435 changeCase as this operates now also on selections.
14437 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14439 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14441 * many files: send debug output to Debug::INFO instead of
14444 * converter.C (View):
14446 (Move): send debug output to Debug::FILES instead of console.
14448 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14450 * lyxfunc.C (getStatus): use func_status
14452 * func_status.h: new header, describing the results of
14453 LyXFunc::getStatus;
14455 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14458 2001-06-25 The LyX Project <jug@sad.it>
14460 * buffer.C (sgmlOpenTag):
14462 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14464 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14466 * text2.C: remove some dead code
14468 * tabular.C (GetCellInset): store the last cell checked (gotten)
14470 * tabular.h: add the helper for the speedup
14472 * lyxtext.h: remove some dead code
14474 2001-06-26 The LyX Project <Asger>
14476 * paragraph.C: Change export to LaTeX of alignment to
14477 \begin{center} and family for better roundtrip work with reLyX.
14479 * Tune the math drawing a bit.
14481 2001-06-25 The LyX Project <Asger>
14483 * LColor.C (LColor): New color for math background. New color
14486 2001-06-25 The LyX Project <jug@sad.it>
14488 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14490 * lyxfunc.C (Open):
14491 * bufferlist.C (newFile): do not restrict to files ending with
14494 * BufferView_pimpl.C (MenuInsertLyXFile):
14496 2001-06-24 The LyX Project <jug@sad.it>
14498 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14501 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14503 * lyxtext.h: rename most methods to begin with a small char.
14504 Lots of changes because of this.
14506 * paragraph.C (Paragraph): do not call fitToSize
14507 (erase): call Pimpl::erase
14508 (insertChar): call Pimpl::insertChar
14509 (insertInset): call Pipl::insertInset
14510 (breakParagraph): do not call fitToSize
14511 (breakParagraphConservative): do not call fitToSize
14512 (fitToSize): remove method
14514 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14516 2001-06-24 The LyX Project <Asger>
14518 * Fix Qt compilation^2
14520 2001-06-24 The LyX Project <jug@sad.it>
14522 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14523 depthHook(getDepth()-1).
14526 * ParagraphParameters.h:
14527 * ParameterStruct.h: change type of depth to unsigned int ==
14528 depth_type. Many adaptations to other files before of that.
14530 2001-06-24 The LyX Project <Asger>
14532 * Fix Qt compilation.
14534 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14536 * paragraph.h: renamed several methods to begin with small letter.
14537 several changes to many parts of the code because of this.
14539 2001-06-23 The LyX Project <jug@sad.it>
14541 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14542 rewritten to discard all double spaces when KeepEmpty is off
14543 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14544 to only handle newlines but not fiddle with spaces and friends.
14546 * lyxfunc.C (MenuNew): when doing 'new from template', use
14547 template_path as default directory
14549 2001-06-23 The LyX Project <Asger>
14551 * Clean-up of header file includes all over
14552 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14554 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14556 * paragraph.h: renamed from lyxparagraph.h
14558 2001-06-23 Asger <lyx@violet.home.sad.it>
14560 * Buffer.h: Removed Buffer::resize
14561 * BufferList.h: Removed BufferList::resize
14562 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14563 the document lazily when we change the width, or the font settings.
14565 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14567 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14569 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14571 * buffer.h: remove out of date comment
14573 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14576 * screen.C: fix "theoretical" GC leak
14578 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14580 * LaTeX.C (scanAuxFile):
14581 (deplog): remove trailing \r when reading stream (useful under
14584 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14586 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14587 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14588 and BufferView::theLockingInset(Inset*), so should use them and not
14589 access bv_->text->the_locking_inset directly.
14591 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14593 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14596 * tex-defs.h: remove old unused file
14598 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14600 * BufferView_pimpl.C: fix typo, remove minibuffer message
14601 when buffer has loaded
14603 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14605 * lyxfunc.C (Dispatch): use stringstream
14606 (MenuNew): use stringstream
14607 (Open): use stringstream
14609 * importer.C (Import): use stringstream
14611 * bufferview_funcs.C (CurrentState): use stringstream
14613 * LaTeX.C (run): use stringstream
14615 * BufferView_pimpl.C (savePosition): use stringstream
14616 (restorePosition): use stringstream
14617 (MenuInsertLyXFile): use stringstream
14619 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14632 * vspace.C: removed // -*- C++ -*- as first line.
14635 * version.h: added // -*- C++ -*- as first line.
14637 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14639 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14641 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14644 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14646 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14649 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14651 * gettext.C: include LString.h even when --disable-nls is on.
14653 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14655 * converter.h (Get): changed argument type from int to
14656 FormatList::size_type to avoid unnecessary conversion.
14658 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14661 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14663 * gettext.h: include LString.h even when --disable-nls is on.
14665 2001-06-07 Juergen Vigna <jug@sad.it>
14667 * text.C (BreakAgain): subst spaces with tabs.
14669 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14670 (resizeInsetsLyXText): set force on resizeLyXText.
14672 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14674 * gettext.h (gettext_init):
14675 (locale_init): use a real definition instead of a macro
14677 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14679 * Bufferview_pimpl.C:
14681 * LColor.C: further lcolor tidies
14683 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14685 * BufferView_pimpl.C (updateScrollbar): simplify.
14687 * BufferView2.C: don't include insets/insetinfo.h, change
14688 prototype for insertInset and call the Pimpl version. let
14689 updateInset call Pimpl version.
14691 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14692 gotoInset to BufferView::Pimpl
14694 2001-06-01 Juergen Vigna <jug@sad.it>
14696 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14697 inside a LockingInset (is the update needed at all?).
14699 2001-05-31 Juergen Vigna <jug@sad.it>
14701 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14702 here not the old one otherwise how should we compare it afterwards
14705 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14710 * FontInfo.C: bring C functions into global namespace when
14713 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14715 * LString.h: make sure config.h has been loaded before LString.h.
14717 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14718 (one for each char read by EatLine!).
14720 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14723 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14725 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14726 to the same as the par we break from
14728 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14730 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14732 * MenuBackend.C (expand): also create menu entries for wide
14733 versions of the floats.
14735 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14737 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14739 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14740 frontends/Makefile.am
14746 * tabular.C (getTokenValue): add std::
14748 * tabular-old.C (getTokenValue): add std::
14749 (getTokenValue): ditto
14750 (getTokenValue): ditto
14752 * screen.C (ToggleSelection): adjust
14754 * lyxtext.h: put selection cursors inside a Selection struct.
14756 * lyxfunc.C (moveCursorUpdate): adjust
14758 * lyxfont.C (latexWriteStartChanges): add std::
14760 * lyxfind.C: adjust
14762 * font.h: delete with(char const *, LyXFont const &)
14764 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14766 * FontInfo.C (getFontname): add std::
14768 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14769 (workAreaButtonPress): adjust
14770 (tripleClick): adjust
14772 (moveCursorUpdate): adjust
14775 * BufferView2.C (gotoInset): adjust
14777 2001-05-30 Juergen Vigna <jug@sad.it>
14779 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14780 to check pspell I add this as default as I now have new pspell
14781 libraries and they seem to use this.
14783 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14785 * text2.C (CutSelection): make the cursor valid before the call to
14788 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14790 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14791 relied on 0 terminated strings and other horrors. Bug found due to
14792 the new assert in lyxstring!
14794 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14797 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14799 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14802 * lyxfunc.C (processKeySym): change method of getting to the
14805 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14806 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14807 * BufferView_pimpl.[Ch]: here as private methods.
14809 2001-05-28 Juergen Vigna <jug@sad.it>
14811 * text.C (SetHeightOfRow): added the update() call again as it is
14812 needed to initialize inset dimensions!
14814 2001-05-16 Juergen Vigna <jug@sad.it>
14816 * text2.C (SetCharFont): Add new function with BufferView * and
14817 bool toggleall parameters for setting insets internal fonts.
14818 (SetFont): Freeze the undo as we may change fonts in Insets and
14819 all this change should be inside only one Undo!
14821 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14822 setting font's in insets as for them we have the SetFont function!
14824 2001-05-15 Juergen Vigna <jug@sad.it>
14826 * text2.C (ClearSelection): to be sure we REALLY don't have any
14829 * tabular.C (TeXCellPreamble): fixed the left border problem for
14832 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14834 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14837 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14839 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14840 LFUN_BREAKPARAGRAPH.
14842 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14843 help test to "internal only", similar for LFUN_INSERT_URL
14845 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14846 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14847 auto_region_delete and deadkeys.
14849 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14852 * LColor.C: remove some dead entries, tidy a little
14854 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14856 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14858 (Dispatch): implement LFUN_ESCAPE
14860 * commandtags.h: add LFUN_ESCAPE
14862 * LyXAction.C (init): add entry for LFUN_ESCAPE
14864 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14865 Remove commented code.
14866 (insertNote): moved here
14867 (open_new_inset): moved here
14869 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14872 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14874 * kbmap.C (findbinding): clean it up and make it work correctly.
14876 * lyx_main.C (init): do not pass argc and argv as parameters
14878 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14880 * buffer.C: fix path for OS/2 & Win32
14884 * lyx_main.C: Added os:: class.
14886 * os2_defines.h: update
14888 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14890 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14891 better by trying again with reduced state.
14893 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14895 * lyxrc.C (read): print error about invalid key sequence only when
14896 debugging (because not all latinX keysyms are known to some X
14899 * kbsequence.C (getiso): add a few std:: qualifiers
14900 (getiso): comment out extra return statement.
14902 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14904 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14906 (Dispatch): enhance the accent inset a bit. (not perfect)
14908 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14910 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14912 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14914 * bufferlist.C (emergencyWrite): fix assert() call
14916 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14918 * text.C (InsertChar): Added trivial patch to only send the "you
14919 can not do multiple spaces this way" message once during a
14922 2001-05-08 Baruch Even <baruch@lyx.org>
14924 * Makefile.am: Changed order of libraries to get LyX to link properly
14925 with the gnome frontend.
14927 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14929 * LaTeXFeatures.h: add a std:: qualifier
14931 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14933 * paragraph.C (String): use stringstream
14935 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14937 * paragraph.C (writeFile): remove footflag arg
14939 * buffer.C (makeLaTeXFile): use stringstream
14940 (latexParagraphs): remove footnot gurba
14942 * LaTeXFeatures.C (getPackages): use stringstream
14943 (getMacros): likewise
14944 (getTClassPreamble): likewise
14945 (getFloatDefinitions): new method
14947 * paragraph.C (writeFile): reindent
14950 * WorkArea.h: revert the xpos + etc changes.
14952 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14954 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14956 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14957 (pasteSelection): likewise
14958 * text2.C (CreateUndo): likewise
14960 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14962 * minibuffer.C (peek_event): temporarily reduce the functionality
14963 of the minibuffer (to allow args on lfuns)
14965 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14966 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14968 * buffer.C (readInset): add compability reading of old float
14969 lists, add reading of new style float list.
14970 (readInset): avoid reevaluation of inscmd.getCmdName()
14971 (getLists): reindent
14973 * MenuBackend.C (MenuItem): implement parsing of
14974 md_floatlistinsert and md_floatinsert.
14975 (expand::LastFiles): move initalizaton of iterators out of loop,
14976 avoid reevaluation.
14977 (expand::Documents): introduce typdedef vector<string> Strings,
14979 (expand::ExportFormats): introduce typedef vector<Format const *>
14980 Formats, and use it.
14981 (expand): implement FloatListInsert and FloatInsert.
14983 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14984 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14985 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14987 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14989 (Dispatch::LFUN_FLOAT_LIST): implement
14991 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14993 * LaTeX.C (run): Fix problem with --export code.
14995 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14997 * BufferView.[Ch] (workarea): removed.
14998 (getClipboard) new method; wrapper for workarea()->getClipboard()
15000 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15003 * WorkArea.h (width, height, xpos, ypos): These methods all
15004 returned the dimensions of the work_area sub-area of WorkArea,
15005 resulting in a position error if the WorkArea were resized. Now
15006 return the dimensions of the entire WorkArea.
15008 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15010 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15012 * LaTeX.C (deplog): correct the syntax of regex reg1
15014 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15016 * undo.C: remove !NEW_INSETS cruft
15018 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15020 * text2.C: remove !NEW_INSETS cruft
15022 * text.C: remove !NEW_INSETS cruft
15024 * tabular.C: remove !NEW_INSETS cruft
15026 * spellchecker.C: remove !NEW_INSETS cruft
15028 * lyxtext.h: remove !NEW_INSETS cruft
15030 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15032 * lyxfunc.C: remove !NEW_INSETS cruft
15034 * lyxfind.C: remove !NEW_INSETS cruft
15036 * lyx_cb.C: remove !NEW_INSETS cruft
15038 * figureForm.C: remove !NEW_INSETS cruft
15040 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15042 * buffer.[Ch]: remove !NEW_INSETS cruft
15044 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15046 * CutAndPaste.C: remove !NEW_INSETS cruft
15048 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15050 * BufferView2.C: remove !NEW_INSETS cruft
15052 * BufferView.h: remove !NEW_INSETS cruft
15054 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15056 * Lsstream.h: include LString.h before the sstream headers to
15057 fix problem with gcc 2.95.3 and lyxstring
15059 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15061 * lyx_main.C: add using directives when needed for C functions
15062 declared in std:: namespace.
15064 2001-04-27 Juergen Vigna <jug@sad.it>
15066 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15067 (SetHeightOfRow): comment out the update call should not be needed!
15069 2001-04-13 Juergen Vigna <jug@sad.it>
15071 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15072 (LyXTabular): tried to minimize operator= operations (and realized
15073 hopfully Lars wish).
15075 2001-04-27 Juergen Vigna <jug@sad.it>
15077 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15079 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15081 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15083 * buffer.C (readInset): hack to make listof algorithm work
15085 * BufferView_pimpl.C: hack to make listof algorithm work
15087 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15089 * LyXAction.C: removed all !NEW_INSETS cruft
15090 (init): moved lfun_item in method
15092 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15094 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15096 * BufferView2.C (theLockingInset): white space.
15098 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15100 * minibuffer.C: include <iostream>
15102 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15104 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15106 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15108 * text.[Ch] (TransposeChars): new method
15110 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15112 * call message directly through LyXView instead of through LyXFunc
15113 * BufferView2.C: adjust
15114 * BufferView_pimpl.C: adjust
15115 * FontLoader.C: adjust
15117 * bufferview_funcs.C: adjust
15118 * converter.C: adjust
15119 * figureForm.C: adjust
15120 * importer.C: adjust
15122 * lyx_gui_misc.C: adjust
15123 * lyxfunc.C: adjust
15126 + more files in subdirs
15128 * lyxparagraph.h (size): move up int file
15131 * adjust all uses of Assert to lyx::Assert.
15133 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15134 lyxfunctional in namespace lyx
15135 * layout.C (hasLayout): ditto
15138 (delete_layout): ditto
15139 (NumberOfClass): ditto
15140 * converter.C (GetFormat): ditto
15145 * bufferlist.C (getFileNames): ditto
15146 (emergencyWriteAll): ditto
15149 * MenuBackend.C (hasSubmenu): ditto
15152 * BufferView_pimpl.C (getInsetByCode): ditto
15154 2001-04-18 Juergen Vigna <jug@sad.it>
15156 * vspace.C (asLatexString): fixed the 100% problem.
15158 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15160 * lyxfunc.C (Dispatch):
15162 * minibuffer.h: add a few std:: qualifiers
15164 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15166 * minibuffer.[Ch]: reimplement so that commands is initiated and
15167 run from lyxfunc, simplified som handling, and made the completion
15168 and history code for complete. wip.
15170 * lyxfunc.C (processKeySym): call message
15171 (miniDispatch): new temporary method
15172 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15173 (LFUN_MESSAGE): implement
15174 (LFUN_MESSAGE_PUSH): implement
15175 (LFUN_MESSAGE_POP): implement
15176 (initMiniBuffer): the initial/defualt minibuffer message.
15178 * lyxfont.[Ch]: inline some more getters
15180 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15182 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15184 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15185 (AutoSave): use LFUN_MESSAGE
15186 (Reconfigure): ditto
15188 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15190 * figureForm.C: use LFUN_MESSAGE
15192 * converter.C (runLaTeX): use LFUN_MESSAGE
15194 * bufferview_funcs.C: use LFUN_MESSAGE
15196 (changeDepth): ditto
15198 * bufferparams.h: use boost::
15200 * bufferlist.h: inherit privately from noncopyable
15202 * bufferlist.C (loadLyXFile): remove some commented code.
15204 * buffer.C (runChktex): use LFUN_MESSAGE
15206 * ShareContainer.h: inherit privately from noncopyable
15208 * ParagraphParameters.[hC] (depth): inline it.
15210 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15212 (message): new method
15213 (messagePush): ditto
15214 (messagePop): ditto
15215 (show): init minibuffer
15216 (showState): direct call
15218 * LaTeX.[Ch]: inherit privately from noncopyable
15219 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15220 instead of WriteStatus.
15222 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15224 * BufferView_pimpl.C (buffer): don't init minibuffer
15225 (workAreaButtonPress): use LFUN_MESSAGE
15226 (workAreaButtonRelease): ditto
15227 (savePosition): ditto
15228 (restorePosition): ditto
15229 (MenuInsertLyXFile): ditto
15230 (workAreaExpose): don't init minibuffer
15231 (update): remove commented code, simplify
15233 * BufferView2.C (openStuff): use LFUN_MESSAGE
15234 (toggleFloat): ditto
15237 (copyEnvironment): ditto
15238 (pasteEnvironment): ditto
15243 (updateInset): remove some commented code
15245 * lastfiles.h: inherit privately from noncopyable
15248 * lyx_main.h: ditto
15250 * lyxlex_pimpl.h: ditto
15252 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15253 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15254 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15256 * LyXAction.h: inherit privately from noncopyable, add methods
15257 func_begin, func_end, returning iterators to the func map.
15259 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15260 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15261 (func_begin): new method
15262 (func_end): new method
15264 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15266 (copySelection): ditto
15267 (pasteSelection): ditto
15269 * BufferView.C: whitespace change
15270 * BufferView.h: inherit privately from noncopyable
15272 2001-04-16 Allan Rae <rae@lyx.org>
15274 * tabular-old.C (l_getline):
15275 * spellchecker.C (sc_check_word):
15276 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15277 an unrecognised preprocessor directive. So ensure they're wrapped.
15279 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15281 * src/exporter.C (Export): Give an error message when path to file
15284 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15286 * LaTeX.C (deplog): Always check that foundfile exists.
15288 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15291 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15293 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15295 * tabular.[Ch] (getLabelList): implement new method
15297 * minibuffer.h: comment ouf setTiimer
15299 * minibuffer.C (ExecutingCB): constify res
15300 (peek_event): constify s
15301 (Set): constify ntext
15302 (Init): constify nicename
15304 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15306 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15307 (savePosition): use two params to Minibuffer::Set
15308 (restorePosition): ditto
15310 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15312 * lyx_main.C: include language.h
15314 * Makefile.am (lyx_main.o): add language.h
15316 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15322 * CutAndPaste.C: include gettext.h
15324 * lyxfont.h: remove old hack with ON and OFF.
15327 * lyxfont.h: do not include language.h...
15332 * bufferview_funcs.C:
15338 * paragraph.C: ... but do it here instead
15340 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15342 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15344 * tabular.C: small reformat
15346 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15349 (BreakParagraph): ditto
15350 (SetOnlyLayout): ditto
15353 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15356 * lastfiles.C: removed most using decl, add std:: where needed
15358 * buffer.C: ws changes
15360 * MenuBackend.C (class compare_format): put into anon namespace
15361 (expand): constify label, names, action, action2
15364 * text.C (SingleWidth): constify font
15365 (IsBoundary): constify rtl2
15366 (GetVisibleRow): constify ww
15368 * LaTeX.C (deplog): constify logfile
15370 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15372 (workAreaExpose): constify widthChange, heightChange
15374 * lyxrow.C (par): moved
15377 * lyxrow.h: as inlines here
15379 * lyxfont.h (shape): moved from lyxfont.C
15380 (emph): moved from lyxfont.C
15382 * lyxfont.C (LyXFont): use initialization list for all
15384 (shape): move to lyxfont.h as inline
15385 (emph): move to lyxfont.h as inline
15388 2001-04-04 Juergen Vigna <jug@sad.it>
15390 * vspace.C: had to include stdio.h for use of sscanf
15392 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15395 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15396 independent of xforms.
15398 2001-04-02 Juergen Vigna <jug@sad.it>
15400 * spellchecker.C: fixed namespace placing!
15402 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15404 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15405 the LyXParagraph * is 0.
15407 2001-03-29 Juergen Vigna <jug@sad.it>
15409 * vspace.C: added support for %, c%, p%, l%.
15410 (stringFromUnit): added helper function.
15411 (asLatexString): changed to give right results for the %-values.
15413 * buffer.C: convert the widthp in a width%.
15415 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15417 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15420 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15421 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15423 * lyx_cb.[Ch]: see above.
15425 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15429 * lyx.[Ch]: replaced by figure_form.[Ch].
15433 * lyxfunc.C: changed headers associated with above changes.
15435 2001-03-27 Juergen Vigna <jug@sad.it>
15437 * BufferView_pimpl.C: set the temporary cursor right!
15439 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15441 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15443 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15445 * LString.h: removed "using std::getline"!
15447 * BufferView_pimpl.C (Dispatch): changes due to changes in
15448 InsetInclude::Params.
15450 * buffer.C (tag_name): removed redundant break statements as they were
15451 producing lots of warnings with my compiler.
15453 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15455 * LString.h: add "using std::getline" when using the real <string>.
15457 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15459 * buffer.C: removed bitset usage.
15460 PAR_TAG moved to an anonymous name space.
15461 (tag_name): new funtion, also in the anonymous namespace.
15462 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15463 (makeDocBookFile): clean code. Completed transition from string arrays
15465 (SimpleDocBookOnePar): code clean.
15467 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15469 * tabular.C: add some comments.
15471 2001-03-22 Juergen Vigna <jug@sad.it>
15473 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15474 compatibility read a bit and fixed bug with minipage in different
15477 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15479 * buffer.C (pop_tag): removed.
15480 (push_tag): removed.
15481 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15482 array replaced with vector. Added support for CDATA sections.
15483 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15485 (makeDocBookFile): XML conformant declaration of CDATA section,
15486 fixed bug related to <emphasis> in the first paragraph char.
15487 (sgmlOpenTag): exclude empty tags.
15488 (sgmlCloseTag): ditto.
15490 * buffer.h (pop_tag): removed.
15491 (push_tag): removed.
15493 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15495 * language.h (Languages): added size_type and size().
15497 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15499 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15500 response on compability reading of minipages. One probliem is that
15501 the old usage of minipages was «flertydig»
15503 * several files here and in subdirs: don't use static at file
15504 scope use anon namespaces instead.
15506 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15508 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15509 LaTeX output. This is necessary for Literate document
15512 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15514 * buffer.C: insert hfill when needed.
15516 * tabular.C (l_getline): use string::erase, small whitespace change.
15518 * BufferView_pimpl.C: try the anon namespace.
15519 * WorkArea.C: ditto
15521 2001-03-16 Juergen Vigna <jug@sad.it>
15523 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15524 otherwise it won't open options-dialogs.
15526 * buffer.C: honor pextraWidth(p) on converting minipages.
15528 * tabular.C (l_getline): changed the functions to strip trailing \r.
15530 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15532 * BufferView_pimpl.C:
15533 * minibuffer..C: added "using SigC::slot" declaration.
15535 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15537 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15543 * paragraph.C: ditto
15545 * lyxtext.h: NO_PEXTRA
15547 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15549 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15550 * ParameterStruct.h: ditto
15551 * ParagraphParameters.h: ditto
15552 * lyxparagraph.h: ditto
15554 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15556 * buffer.C: add compability for minipage alignment.
15557 (latexParagraphs): remove unwanted pextra check.
15559 * several files: remove CXX_WORKING_NAMESPACES
15561 * buffer.C (pop_tag): tie is in namespace boost
15563 * BufferView.h: noncopyable is in namespace boost
15565 * lyx_main.h: ditto
15568 * lastfiles.h: ditto
15569 * bufferlist.h: ditto
15570 * ShareContainer.h: ditto
15572 * LyXAction.h: ditto
15575 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15577 * Merging changes from BRANCH_MVC back into HEAD.
15579 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15581 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15583 * BufferView_pimpl.C: change from intl.C
15587 * Makefile.am: move combox.*
15593 * intl.C: remove dialog (covered by prefs)
15595 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15597 * lyxfunc.C (Dispatch): removed redundant break statement.
15599 2001-03-14 Juergen Vigna <jug@sad.it>
15601 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15603 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15605 * buffer.C: add hack to fix compability reading of minipages.
15607 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15609 * buffer.C (getLists): Cleanup.
15611 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15613 * lyxfont.C (update): don't honor toggleall on font size.
15615 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15619 * Makefile.am: moved to frontends/xforms/
15623 * BufferView_pimpl.C: changes for moved mathpanel
15625 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15627 * gettext.h: fix gettext_init() in --disable-nls
15629 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15631 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15633 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15636 * lyx.h: strip external form
15638 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15640 * BufferView_pimpl.C: add comment, destroySplash()
15642 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15644 * BufferView_pimpl.C:
15648 * lyxfunc.C: use re-worked insetinclude
15650 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15652 * buffer.C: add using std::stringstream.
15654 * lyx_cb.C: readd using std::ios.
15656 * buffer.C: add using std::map.
15658 * BufferView_pimpl.C: add using std::vector.
15660 * ShareContainer.h: add std:: to swap.
15662 * buffer.h: add some typedefs
15663 * buffer.C (getLists): use them
15664 (getLists): renamed from getTocList.
15665 add a counter for the different float types and use it in the
15667 (getLists): use the same counter for the NEW_INSETS and the "non"
15670 * lyx_cb.h: remove unused items, includes, using etc.
15672 * ShareContainer.h: remove some commented code, add more comments
15673 and "documentation".
15675 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15677 * buffer.C (getTocList): make the list also when NEW_INSETS is
15680 * buffer.h: remove TocType
15682 * buffer.C (getTocList): change to return a map<string,
15683 vector<TocItem> >, implement for dynamic number of list.
15685 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15686 * text2.C (PasteSelection): adjust
15687 * CutAndPaste.C (pasteSelection): adjust
15689 * FloatList.C (FloatList): update from the new_insets branch.
15690 * Floating.[Ch]: ditto
15691 * LaTeXFeatures.C: ditto
15693 * lyxlex_pimpl.C: ditto
15695 * paragraph.C (Last): remove when NEW_INSETS is defined.
15697 * other file: changes because of the above.
15699 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15701 * lyxparagraph.h: rename next to next_, previous to previous_,
15702 make them private for NEW_INSETS. Rename Next() to next(),
15703 Previous() to previous().
15705 * other files: changes because of the above.
15707 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15710 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15713 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15715 * main.C (main): pass lyx_localedir to gettext_init().
15717 * gettext.h: remove locale_init and gettext_init macros
15719 * gettext.C (locale_init): new function
15720 (gettext_init): new function
15722 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15725 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15727 * Moved credits to frontends:
15728 * credits.[Ch]: removed
15729 * credits_form.[Ch]: removed
15730 * lyx_gui_misc.C: remove credits stuff
15733 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15735 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15737 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15738 unneeded destructor.
15740 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15741 a standalone pointer again.
15743 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15745 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15751 * ToolbarDefaults.C:
15760 * BufferView_pimpl.C: use new file dialog in GUII
15763 * lyx_cb.C: remove LayoutsCB to Toolbar
15765 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15767 * ShareContainer.h (get): add std:: qualifier
15769 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15771 * ShareContainer.h: define a proper ShareContainer::value_type
15772 type (and use typename to please compaq cxx)
15774 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15776 * lyxparagraph.h: move serveral local vars to
15777 ParameterStruct/ParagraphParameters., use ShareContainer in
15778 FontTable., make vars in FontTable private and add getter and
15781 * paragraph.C: changes because of the above.
15783 * lyxfont.h: remove copy constructor and copy assignment. (the
15784 default ones is ok), move number inside FontBits. move inlines to
15787 * lyxfont.C: add number to initializaton of statics, move several
15788 inlines here. constify several local vars. some whitespace
15789 cleanup. Dont hide outerscope variables.
15791 * Spacing.h: add two new constructors to match the set methods.
15793 * ShareContainer.h: new file, will perhaps be moved to support
15795 * ParameterStruct.h: new file
15797 * ParagraphParameters.h: new file
15799 * ParagraphParameters.C: new file
15801 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15802 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15804 * BufferView_pimpl.C: ParagraphParameter changes.
15805 * buffer.C: Likewise.
15806 * bufferview_funcs.C: Likewise.
15807 * text.C: Likewise.
15808 * text2.C: Likewise.
15810 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15812 * lyxfind.C (LyXReplace): do not redefine default argument in
15814 (IsStringInText): ditto
15815 (SearchForward): ditto
15816 (SearchBackward): ditto
15818 2001-03-06 Juergen Vigna <jug@sad.it>
15820 * lyxfind.C (IsStringInText): put parentes around expressions.
15822 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15824 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15826 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15828 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15830 * stl_string_fwd.h: add comment
15832 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15835 * tabular.C: remove unused DocBook methods
15841 killed DO_USE_DEFAULT_LANGUAGE
15843 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15845 * lyx_gui.C: do not include language.h.
15847 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15848 arguments in function implementation.
15850 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15852 * BufferView_pimpl.C: add <ctime>
15854 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15856 * BufferView_pimpl.C: add using std::find_if
15858 2001-02-27 José Matos <jamatos@fep.up.pt>
15860 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15863 2001-02-11 José Matos <jamatos@fep.up.pt>
15865 * buffer.C (makeDocBookFile): command styles now have a parameter as
15866 "title" by default.
15868 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15870 * layout_forms.[Ch]: removed
15871 * lyx_cb.[Ch]: out character
15872 * lyx_gui.C: out character
15873 * lyx_gui_misc.C: out character
15874 * bufferview_funcs.C: : out character,
15875 added toggleall as parameter in ToggleAndShow
15877 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15879 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15881 * text2.C (SetCurrentFont): Disable number property at boundary.
15883 2001-02-26 Juergen Vigna <jug@sad.it>
15885 * lyxfunc.C (getStatus): added a string argument override function so
15886 that this is correctly called from LyXFunc::Dispatch if it contains a
15887 do_not_use_argument which is used!
15888 (Dispatch): added check for "custom" export and call appropriate func.
15890 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15892 * lyxrc.C: Add language_command_local, language_use_babel and
15893 language_global_options.
15895 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15897 * buffer.C (makeLaTeXFile): Use language_use_babel and
15898 language_global_options.
15900 2001-02-23 Juergen Vigna <jug@sad.it>
15902 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15903 which works with LyXText and putted it inside BufferView. Here now we
15904 only call for that part the BufferView::Dispatch() function.
15906 * BufferView.C (Dispatch): added.
15908 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15909 functions which needs to use a LyXText over from LyXFunc.
15910 (MenuInsertLyXFile): added
15911 (getInsetByCode): added
15912 (moveCursorUpdate): added
15913 (static TEXT): added
15915 2001-02-22 Juergen Vigna <jug@sad.it>
15917 * BufferView_pimpl.C (update): call a status update to see if LyXText
15920 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15922 * vc-backend.C (revert): implement for CVS
15923 (getLog): implement for CVS
15925 2001-02-20 Juergen Vigna <jug@sad.it>
15927 * text2.C (ClearSelection): added BufferView param for inset_owner call
15929 * lyxfunc.C (TEXT): added this function and use it instead of
15930 directly owner->view()-text of getLyXText().
15932 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15934 * src/layout_forms.C: out preamble
15935 * src/layout_forms.h: out preamble
15936 * src/lyx_cb.C: out preamble
15937 * src/lyx_cb.h: out preamble
15938 * src/lyx_gui.C: out preamble
15939 * src/lyx_gui_misc.C: out preamble
15940 * src/lyxfunc.C: connect with guii preamble
15942 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15944 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15946 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15948 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15949 whether to run bibtex.
15951 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15953 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15955 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15957 * Makefile.am (lyx_SOURCES): removed bibforms.h
15959 * vspace.h: doxygen
15961 * text.C (GetVisibleRow): make several local vars const
15963 * tabular.C: small cleanup.
15965 * lyxserver.C (callback): use compare instead of strncmp
15967 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15968 inlines to after class or to paragraph.C
15970 * lyxfont.h: remove friend operator!=
15972 * converter.h: move friend bool operator< to non friend and after
15975 * combox.h: small cleanup
15977 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15978 to inlines after class def.
15980 * buffer.C (pop_tag): use string operations instead of strcmp
15982 * bmtable.c: doxygen, small cleanup
15984 * LaTeX.h: remove friend operator==
15986 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15998 * BufferView_pimpl.C:
15999 * BufferView.[Ch]: remove cruft
16001 2001-02-14 Juergen Vigna <jug@sad.it>
16003 * lyxfunc.C: removed #if 0 unused code
16005 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16007 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16009 * text2.C (SetSelection): added a BufferView * parameter
16011 2001-02-13 Juergen Vigna <jug@sad.it>
16013 * lyxfunc.C (Dispatch): fixed protected blank problem.
16014 * BufferView2.C (protectedBlank): added LyxText * parameter.
16016 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16017 (AppendColumn): same as above for column_info.
16019 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16020 (moveCursorUpdate): use a LyXText param for support of InsetText.
16022 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16023 (tripleClick): ditto
16025 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16027 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16029 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16031 * text2.C (SetSelection): set correct update status if inset_owner
16032 (ToggleFree): ditto
16034 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16036 * tabular.C: remove some commented code.
16038 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16040 * BufferView_pimpl.C: call hideSplash()
16042 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16045 * bibforms.h: remove
16048 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16049 add LFUN_CHILD_CREATE
16051 * counters.h: fix tiny typo
16056 * lyx.C: move splash to frontends/xforms/
16058 * lyx_gui_misc.C: move Include and Bibform to frontends
16060 * lyxvc.h: clarify comment
16062 * vspace.C: tiny housekeeping
16064 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16066 * text.C (PrepareToPrint): RTL Fix.
16068 * paragraph.C (GetUChar): New method.
16069 (String): Use GetUChar.
16071 * buffer.C (asciiParagraph): Use GetUChar.
16073 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16075 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16077 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16080 * buffer.C: rename to getLogName(), handle
16081 build log / latex log nicely
16083 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16086 * MenuBackend.h: remove support for reference menuitem type.
16088 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16090 * BufferView_pimpl.C: housekeeping
16091 * BufferView_pimpl.h:
16096 * minibuffer.h: move Timeout GUI-I
16098 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16100 * lyxrc.C (read): Update converters data-structures.
16102 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16104 * LaTeX.h (operator!=): add operator != for Aux_Info
16106 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16108 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16110 * LaTeXLog.C: deleted, useful code moved to Buffer
16113 * buffer.C: new function getLatexLogName()
16119 * lyxfunc.C: use frontends for LaTeX and VC logs
16121 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16123 * LaTeX.h: yet another std:: that Allan forgot.
16125 * Variables.C (set): renamed from isset(), because this clashes
16126 with some HP-UX macros (grr).
16128 2001-02-06 Allan Rae <rae@lyx.org>
16130 * LaTeX.h: Another bug fix. Missing std:: this time.
16132 2001-02-04 Allan Rae <rae@lyx.org>
16134 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16135 floats problem. I've left it commented out because it's not quite
16136 correct. It should also test that the current object is a table or
16137 figure inset. But I haven't gotten around to figuring out how to do
16138 that. I *think* it'll be something like: "table" == inset.type()
16140 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16143 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16145 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16146 all the citation/databases/styles in the auxilary file.
16147 (run): Rerun latex if there was a babel language error.
16149 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16151 * text.C (Backspace): Preserve the font when changing newline char
16153 (BreakParagraph): If the cursor is before a space, delete the space.
16155 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16157 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16159 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16160 new argument (code).
16161 (ChangeCitationsIfUnique): New method.
16163 * paragraph.C (GetPositionOfInset): Handle bibkey.
16165 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16167 * BufferView_pimpl.h: change type of Position::par_pos to
16168 LyXParagraph::size_type.
16170 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16172 * BufferView_pimpl.C (savePosition, restorePosition): Write
16173 messages to minibuffer.
16175 2001-01-28 José Matos <jamatos@fep.up.pt>
16177 * buffer.C (makeDocBookFile): adds support for document language.
16178 A silly restriction on the name of LatexCommand types where removed.
16179 Added support for CDATA sections, allows to chars unescaped, used
16180 among others in code, to avoid escape < and >.
16182 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16184 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16185 saved positions instrad of a stack. Furthermore, a position is
16186 stored using paragraph id/paragraph position.
16188 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16189 Remove LFUN_REF_BACK.
16191 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16193 * converter.C (dvipdfm_options): New method.
16195 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16197 * vspace.C (isValidLength): Fix for empty input string.
16199 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16201 * LyXAction.C (init): change description of LFUN_FIGURE to
16204 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16206 * LaTeX.C: add using directive
16208 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16210 * MenuBackend.C (expand): Fix the sorting of the formats.
16212 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16214 * lyx_main.C: tiny error message fix
16216 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16218 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16219 calling fl_initialize(). This fixes the problem with ',' as
16220 decimal separator in text files.
16222 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16224 * trans.C (process): Fix the keymap bug.
16226 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16228 * LaTeX.C (scanAuxFiles): New method. Provides support for
16229 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16230 (scanLogFile) Scan for "run BibTeX" messages.
16232 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16233 OT1 font encoding. Also, load the aecompl package if the ae
16236 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16238 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16240 * texrow.C (increasePos): turn two error messages into debug
16243 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16245 * LaTeX.C (scanAux): Handle the \@input macro.
16246 (runBibTeX): Use scanAux().
16248 * language.C (latex_options_): New field.
16250 * LaTeXFeatures.C (getMacros): Add language macros.
16252 * buffer.C (makeLaTeXFile): Small fix.
16254 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16256 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16258 * text2.C: add a using directive.
16260 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16265 * lyxfunc.C: kill LyXBell.
16267 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16269 * text.C (IsBoundary): Remove the error message
16271 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16273 * lyxrc.C (setDefaults): Correct initialization value for
16276 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16278 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16281 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16282 and GotoNextNote().
16284 * src/LyXAction.C: Added reference-next.
16286 * text.C (InsertChar): Use contains instead of strchr.
16288 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16290 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16292 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16293 alignment commands (when needed).
16295 * text.C (InsertChar): Add ':' to number separator chars.