1 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * lengthcommon.C: a more general fix for bug 1682
5 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
7 * text.C (backspace): fix crash
9 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
11 * format.[Ch] (getFormatFromFile): new method
12 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
14 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
18 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * lyxfunc.C (dispatch): remove the verbose argument
21 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
24 * kbmap.C (defkey): set the origin of func to KEYBOARD
26 * MenuBackend.C (MenuItem):
27 * ToolbarBackend.C (add): set the origin of func to UI
29 * funcrequest.[Ch]: add origin member, which indicates which part
30 of LyX requests an action
32 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
34 * converter.C (move): don't lie in the error message
35 * converter.h (isReachable, move): document
37 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
39 * buffer.C: remove unused using lyx::support::atoi
40 * paragraph_funcs.C: ditto
42 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
44 * bufferlist.C (exists): use bind and equal_to instead of
47 * lyxtextclasslist.C (NumberOfClass): ditto
49 * cursor.C (insert): use for_each instead of explicit for loop
51 * bufferlist.C (getFileNames): use std::transform and
52 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
54 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
57 * buffer.C (changeLanguage): use for_each instead of explicit for
59 (hasParWithID): implement using getParFromID
61 * LaTeXFeatures.C: ws change only
63 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
66 * BufferView_pimpl.C (trackChanges): use for_each instead of
69 2004-11-04 André Pönitz <poenitz@gmx.net>
72 * undo.C (textUndoOrRedo): fix crash when creating undo information.
74 * dociterator.C (asDocIterator): use hard assert again.
76 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
78 * lyxlength.C (asLatexString): rewrite so that it does not use
81 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
83 * text3.C (specialChar, dispatch): make sure cursor moves to the
84 right after inserting an inset
86 2004-11-02 José Matos <jamatos@lyx.org>
88 * output_docbook.C (docbook):
89 * paragraph.C (getID):
90 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
91 garantee that the output is always legal.
93 * tabular.C (docbook):
94 * outputprams.[Ch]: remove mixed contents.
96 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
98 * text2.C (setCounter): prevent endless loop
100 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
102 * exporter.C (copyFile): use the mover instead of support::copy()
103 * exporter.C (Export): pass format and latex name to copyFile()
104 * exporter.h (addExternalFile): document
105 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
107 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
109 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
111 2004-10-30 José Matos <jamatos@lyx.org>
113 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
114 text and no inset or font change. This allows to use CDATA
115 sections just for the whole paragraph.
117 2004-10-30 José Matos <jamatos@lyx.org>
119 * paragraph.C (getFirstWord): remove unused variable.
121 2004-10-30 José Matos <jamatos@lyx.org>
123 * paragraph.C (getFirstWord): the content should always be escaped
125 (simpleDocBookOnePar):
126 * output_docbook.C (makeEnvironment): replace reference to CDATA
129 2004-10-30 José Matos <jamatos@lyx.org>
131 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
133 2004-10-30 José Matos <jamatos@lyx.org>
135 * output_docbook.C (makeParagraphs):
136 * paragraph.[Ch] (emptyTag): for docbook and company, if the
137 standard paragraph has only a given type of content drop the wrapper.
139 2004-10-29 José Matos <jamatos@lyx.org>
141 * output_docbook.C (makeEnvironment):
143 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
145 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
147 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
148 (cleanID): sanitize any id.
150 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
152 * buffer.C, lyxlex_pimpl.C:
153 * lyxlex_pimpl.C (setFile):
154 s/getExtFromContents/getFormatFromContents/
156 2004-10-28 José Matos <jamatos@lyx.org>
158 * output_docbook.C (makeEnvironment): move id to broadest possible
161 * sgml.C (openTag): apply substitution of <> for all attributes.
163 2004-10-28 José Matos <jamatos@lyx.org>
165 * buffer.C (makeLinuxDocFile, makeDocBookFile):
166 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
167 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
169 * sgml.[Ch]: new version for open and closeTag for paragraph and
170 for strings. Now they handle the ids of paragraphs.
172 2004-10-26 Angus Leeming <leeming@lyx.org>
174 * Makefile.am: add mover.[Ch].
176 * converter.C (convert, move): use the new Movers to move external
177 files to the temp directory.
179 * lyx_main.C (init): ensure that the global system_movers data
182 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
185 * mover.[Ch]: new files, defining a Mover as a utility to move an
186 external file between directories and, if necessary, manipulate this
187 file using a helper script.
189 2004-10-25 José Matos <jamatos@lyx.org>
191 * output_docbook.C (makeCommand): merge two if's that tested the
194 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * sgml.C (escapeString): fix warning in a better way
198 2004-10-25 José Matos <jamatos@lyx.org>
200 * sgml.C (escapeString): import the require boosts header file for
201 tie, and avoid a signed unsigned comparison.
203 2004-10-25 José Matos <jamatos@lyx.org>
205 * sgml.h: add #include <string>
207 2004-10-25 José Matos <jamatos@lyx.org>
209 * sgml.[Ch] (escapeString): new function to escape all the string.
211 2004-10-24 José Matos <jamatos@lyx.org>
213 * paragraph.[Ch] (getFirstWord): new function to get the first
214 word. Useful for description.
215 (simpleDocBookOnePar): remove depth argument, add another that
216 says where to start the paragraph.
218 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
219 use the new functions to fix cleanly the support for descriptions.
221 2004-10-24 José Matos <jamatos@lyx.org>
223 * buffer.C (makeLinuxDocFile, makeDocBookFile):
224 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
225 * output_linuxdoc.C (linuxdocParagraphs):
226 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
227 add buffer as argument.
229 2004-10-24 José Matos <jamatos@lyx.org>
231 * output_docbook.C (makeEnvironment, searchEnvironment): place
232 CDATA inside paragraphs and fix scope for listitems.
234 2004-10-24 José Matos <jamatos@lyx.org>
236 * output_docbook.C: remove using statement for stack.
238 2004-10-23 José Matos <jamatos@lyx.org>
240 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
241 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
242 docbook. The new scheme is recursive and makes use of iterators, the
243 same as latex export works.
244 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
245 directly with the paragraph contents. This code was moved up to
246 output_docbook.C (docbookParagraphs).
247 * sgml.C (openTag, closeTag): removed unneeded newlines.
248 (closeEnvTags) removed.
250 2004-10-23 André Pönitz <poenitz@gmx.net>
252 * undo.C (textUndoOrRedo):
253 * dociterator.C (asDocIterator): work around crash
255 * cursor.C (getStatus): replace ASSERT by more verbose error message
256 and manual correction of the problem. Should increase stability
257 while providing more sensible information.
259 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
261 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
263 * bufferlist.C (previous, next): new methods
266 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
268 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
270 * buffer.C (makeDocBookFile): add dsssl stylesheet control
271 entities to preamble.
273 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
275 * messages.C (Pimpl): strip off translation context information
277 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
279 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
280 the cursor is correct (bug 1694)
282 2004-10-13 José Matos <jamatos@lyx.org>
284 * output_docbook.C (docbookParagraphs): fix closing tags in the
287 2004-10-09 José Matos <jamatos@lyx.org>
289 * buffer.C: format up to 237.
290 * bufferparams.C (write): use tostr to convert booleans to strings.
292 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
294 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
296 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
298 * LaTeX.C: implement use of babel language in xindy.
300 2004-10-05 José Matos <jamatos@lyx.org>
302 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
303 Add new translators to help reading and writing the lyx file.
305 2004-10-05 José Matos <jamatos@lyx.org>
307 * ParagraphParameters.C (read):
308 * text.C (readParToken): replace nexToken by more appropriate lex
311 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
313 * LaTeX.C (runMakeIndex):
314 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
315 (usually 'makeindex') configurable.
317 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
318 with a variable rather than with a number.
320 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
322 * output_latex.C (TeXOnePar): make sure font setting is the first
323 thing that gets output (and the last at the end). Should fix bug
326 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
328 * pch.h: use proper signal include
330 * LaTeX.h: Use preferred calling of Boost.Signal
333 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
335 * pch.h: dont include <boost/function/function0.hpp>
337 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
339 * paragraph_pimpl.h: remove usage of ShareContainer
341 * paragraph_pimpl.C: remove initialization of ShareContainer.
343 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
347 * BufferView.C (putSelectionAt): change the semantics when
348 backwards == true: now, this just swaps cursor and anchor wrt the
351 * BufferView.h (putSelectionAt): add some documentation
353 * lyxfind.C (findBackwards): rewrite using while(). In particular,
354 make sure backwardChar is done at least once (to avoid getting
356 (findNextChange): use putSelectionAt in the forward direction
357 (operator()): use Paragraph::isWord
359 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
361 * Spacing.C (set): c_str fix
363 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
365 * lyx_cb.C (Reconfigure): quote the name of configure script in
366 case it contains spaces
368 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
372 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
373 (BOOST_LIBS): use top_buildir when looking for the file
375 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
377 * pch.h: do not use include boost/format.hpp, multiple symbols
378 will result (gcc bug)
381 2004-08-23 José Matos <jamatos@lyx.org>
383 * bufferparams.C (readToken): fix reading of the author field.
385 2004-08-20 José Matos <jamatos@lyx.org>
387 * lyxrc.C: remove support/translator.h inclusion since it is not used.
389 2004-08-20 José Matos <jamatos@lyx.org>
391 * lyxlex.[Ch] (findToken): remove function.
393 * ParagraphParameters.C (findToken):
394 * bufferparams.C (findToken): replace call for previous function
395 with local copy. This local function has one more argument, the
396 read string argument.
398 2004-08-16 José Matos <jamatos@lyx.org>
400 * ParagraphParameters.C (write):
401 * Spacing.C (writeFile):
402 * bufferparams.C (writeLaTeX):
403 * lyx_cb.C (Reconfigure):
404 * paragraph.C (write):
405 * tabular.C (write): remove unnecessary space at end of line.
408 2004-08-16 José Matos <jamatos@lyx.org>
410 * text.C (readParagraph): remove debug message.
412 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
414 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
417 * output_plaintext.C (asciiParagraph): set depth correctly
419 * outputparams.h: add member depth
421 * paragraph_funcs.C (ownerPar): remove.
423 * text2.C (setCounter): remove first_pit; comment out some
424 non-working code that uses ownerPar
426 * BufferView.C (getParentLanguage): remove. Not used anymore, and
429 2004-08-16 José Matos <jamatos@lyx.org>
431 * text.C (readParToken, readParagraph, read): report all unknown tokens.
432 For the same level of importance use the same chanel to report problems.
433 (read): add code to deal with \begin_body and \end_body.
436 2004-08-15 José Matos <jamatos@lyx.org>
438 * lyxlex.C (getString): fix comment, buffer::readBody is now
441 * tex-strings.C (string_papersize): Default -> default,
442 Custom -> custom, for consistency with other options.
444 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
448 * Makefile.am: support pch
450 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
452 * text.C (readParToken): remove the static LyXFont variable and
453 pass it as a parameter instead. This fixes a nasty bug where an
454 inset will be inserted with a bad font in some situations
455 (readParagraph): adapt
457 * text2.C (setCounter): reduce number of calls to pars_[pit]
459 * text.C (singleWidth): add an assert, fix a test
461 * rowpainter.C (paintText): reduce number of calls to singleWidth
463 * paragraph.C (isHfill):
466 2004-08-14 André Pönitz <poenitz@gmx.net>
471 * lyxtext.h (several functions): use a Paragraph & argument
474 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
476 * metricsinfo.h: add a new field ltr_pos to PainterInfo
478 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
480 * text.C (singleWidth): remove useless test
482 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
484 * tabular.h: remove bogus comments
486 * tabular.C (getDescentOfRow):
487 (isPartOfMultiColumn): add assertions
489 * lyxlength.C (inPixels): remove #warning
491 2004-08-14 André Pönitz <poenitz@gmx.net>
493 * paragraph.h: inline getChar()
495 * BufferView.h: remove unused declarations
497 2004-08-14 José Matos <jamatos@lyx.org>
499 * Buffer.[Ch] (readDocument): new name for old readBody.
500 * Buffer.C: new file format, new keywords: \begin_document,
501 \begin_header, \begin_body, \end_body.
503 * bufferparams.C (readToken): replace all calls to lex.nextToken
504 by lex.next(). Do the same to eatLine except where really needed.
506 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
507 line when writing to the lyx file.
509 * output_plaintext.C (asciiParagraph): fix Bibliography style
512 * text.C (read): fix end of file handling.
514 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
516 * MenuBackend.C (Menu::operator[]): new method to access
517 individual menu items
518 (Menu::hasFunc): new method. search for an item that corresponds
520 (MenuBackend::specialMenu): new method
521 (MenuBackend::expand): if a special menu has been set, skip
522 entries whose func() appears in this menu
524 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
526 * text3.C: use Debug::DEBUG a bit more
528 * text.C (leftMargin): try to simplify a tiny bit change var x to
529 l_margin. Dont output the wide margins always.
530 (rightMargin): no margin in inner texts
532 * rowpainter.h (nestMargin): new func
533 (changebarMargin): new func
534 (rightMargin): new func
536 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
540 * factory.C (createInset): modify setDrawFrame
542 * cursor.C: use Debug::DEBUG a bit more
544 2004-08-14 André Pönitz <poenitz@gmx.net>
547 * Makefile.am: new files to accomodate an 'external' (x,y)-position
548 cache for all insets in (at least partially) visible (top-level)
551 * BufferView_pimpl.C: reset external coord cache before every update.
552 This means the coord cache only contains valid entries.
554 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
557 * BufferView_pimpl.C (getInsetByCode): move function out of class
558 and change in to a template in anon namespace. Also fix to do what
561 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
564 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
566 (breakParagraph): rename par to par_offset and use a local
567 reference. Add code to keep the language over a rebreak.
568 (breakParagraphConservative): rename par to par_offset, use a
570 (mergeParagraph): ditto
572 (isFirstInSequence): ditto
573 (outerFont): rename pit to par_offset
575 * paragraph.C: ws change
580 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
582 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
585 * paragraph.C (simpleTeXOnePar): when we have a \item with
586 optional argument, enclose the argument with curly brackets (in
587 case it contains a closing square bracket)
591 * text3.C (checkInsetHit): constify
593 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
595 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
598 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
600 Fix toggling of collapsable insets with the mouse (bug 1558)
602 * lyxfunc.C (dispatch): adapt to LCursor changes
604 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
605 make sure that dispatch is not invoked twice
607 * cursor.C (needsUpdate): new method
608 (dispatch): return void
609 (result): new method, to access the DispatchResult of the cursor.
611 2004-08-13 José Matos <jamatos@lyx.org>
613 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
615 2004-08-13 André Pönitz <poenitz@gmx.net>
617 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
619 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
622 2004-08-12 André Pönitz <poenitz@gmx.net>
624 * text3.C: take out the 'cursor right' form insertInset and only
625 do it in those places when it is really needed. Fixes crash on
628 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
630 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
632 * BufferView_pimpl.C (setBuffer): initialize the current font of
633 the underlying LyXText
635 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
637 * kbsequence.C (print): use UI native formatting for menu
640 * text.C (insertChar): call Paragraph::insertChar with a font
643 * paragraph.C (insertInset, insertChar): the version that takes a
644 LyXFont argument is now a wrapper around the other one (the
645 opposite used to be true).
647 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
648 argument. Font setting is done in Paragraph now.
650 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
652 * outputparams.h: add new members intitle and lang.
654 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
655 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
657 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
659 * text3.C (dispatch): remove special handling of button 4 and 5,
660 it is now taken care of in the frontend code.
662 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
664 * Spacing.h: add <string> (STLPort compile fix)
666 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
668 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
670 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
672 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
675 * converter.C (showMessage): inherit from unary_function, make
678 * buffer.C (writeFile): initialize retval
680 * InsetList.h: rename private variable list to list_
681 * InsetList.[Ch]: adjust accordingly.
683 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
685 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
686 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
687 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
688 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
689 * ParagraphParameters.C, LaTeXFeatures.C: replace
690 "support/std_sstream.h" with <sstream>
692 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
694 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
695 * lyxsocket.C (LyXServerSocket): ditto
696 (serverCallback): ditto
698 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
700 * LaTeXFeatures.C: check release date when loading jurabib.
702 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
704 * lyxserver.C (startPipe): call register_socket_callback
705 (endPipe): call unregister_socket_callback
707 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
709 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
710 (LyXServerSocket): register the callback
711 (LyXServerSocket): unregister the callback
712 (fd): delete function
713 (serverCallback): improve error checking and setup the callbacks.
714 (dataCallback): change arg to fd.
715 (writeln): new func (copied fro the client socket) used for server
717 (LyXDataSocket): simplify
718 (~LyXDataSocket): close ann unregiser callback
719 (server): delete function
720 (fd): delete function
721 (readln): small changes, improve some std::string usage
722 (writeln): constify a bit
724 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
726 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
729 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
731 * BufferView_pimpl.C (setBuffer): set the layout combox value only
732 after it has been populated
734 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
736 * text2.C (insertInset): move cursor when inserting inset.
738 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
740 * kbmap.C (findbindings): a couple of new methods. returns a
741 container of kb_sequence objects. The real work is done by the
742 private recursive version
743 (printbindings): uses findbindings to print out a bracketed list
744 of bindings (renamed from findbinding).
746 * MenuBackend.C (binding): use kb_keymap::findbindings
748 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
750 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
752 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
754 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
756 * paragraph.C (isWord): return true on insets that report
759 * text.C (getWord): use Paragraph::isWord to decide what is in a
760 word and what is not; fix bug 1609.
762 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
764 * tex-strings.C: add "none" to string_paperpackages[], fixes
765 off-by-one-error in the paperpackage selection.
768 * tex-strings.[Ch]: char const * string[n]
769 -> char const * const string[]
771 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
773 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
774 command, return early.
776 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
778 * debug.h: add DEBUG to enum and fix size of ANY.
780 * debug.C: add support for Debug::DEBUG
781 (showTags): cast errorTags.level to unsigned int
783 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
784 (redoCurrentBuffer): ditto
785 (updateScrollbar): ditto
786 * cursor.C (dispatch): ditto
787 * text2.C (setLayout): ditto
789 (updateCounters): ditto
791 (deleteEmptyParagraphMechanism): ditto
793 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
795 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
796 annotations to cleanup the Makefile slightly.
798 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
800 * lyxrc.C: do not set user_email to a default value but use empty
801 instead. The entry used to be translated, which does not work
802 since at the point where lyxrc is constructed there is no
803 translation service available
805 * messages.C (getLocaleDir): remove and use directly
806 lyx_localedir() instead
808 2004-06-02 Angus Leeming <leeming@lyx.org>
810 Fix crash caused by dereferencing null pointer 'exportdata' in
811 OutputParams by creating a new ExportData variable on the heap,
812 storing it in a boost::shared_ptr.
813 The crash was triggered when generating an Instant Preview
814 of an external inset.
816 * Makefile.am: add outputparams.C
818 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
819 (c-tor): allocate memory to it.
821 * exporter.C (c-tor): associated changes.
823 2004-06-01 Angus Leeming <leeming@lyx.org>
825 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
826 contains data before calling isInset(0). (Bug 1513.)
828 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
830 * exporter.C (checkOverwrite): new method
831 * exporter.C (copyFile): new method
832 * exporter.C (Export): copy referenced files to the document dir
833 * exporter.[Ch]: new class ExportedFile
834 * exporter.[Ch]: new class ExportData. Contains currently the
835 names of referenced external files
836 * outputparams.h: add exportdata member.
838 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
840 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
843 2004-05-19 Angus Leeming <leeming@lyx.org>
848 * lyxfunc.C: small changes due to the introduction of namespace
849 lyx::frontend and the moving of namespace biblio to lyx::biblio.
851 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
853 * text3.C (dispatch): supress update when only moving the cursor
854 * cursor.C (selHandle): remove commented code
856 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
858 * paragraph.C (startTeXParParams): correct column count
859 * CutAndPaste.C (pasteSelection): remove const_cast
860 * output_docbook.C (docbookParagraphs): remove const_cast
861 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
862 const_cast and return ParagraphList::const_iterator
863 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
864 * output_plaintext.C (writeFileAscii): remove const_cast
865 * paragraph.[Ch] (simpleTeXOnePar): make const
866 * paragraph_funcs.C (outerPar): use const iterators
867 * paragraph_pimpl.C (validate): use const iterators
868 * text.C (setHeightOfRow): use const iterators
870 2004-05-17 Angus Leeming <leeming@lyx.org>
873 * LyXAction.C (init): new LFUN_INSET_REFRESH.
875 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
876 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
877 if the citation engine has changed.
879 2004-05-14 José Matos <jamatos@lyx.org>
881 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
882 if the textclass does not provide it. Have it different for sgml and
884 support the language of document.
885 * output_docbook.C (docbookParagraphs):
886 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
887 first anchor as the id of the paragraph, remove special case code.
888 * sgml.C (escapeChar): escape only < & >.
890 2004-05-14 Angus Leeming <leeming@lyx.org>
892 * bufferparams.h: move biblio::CiteEngine enum here to minimize
893 dependencies on src/frontends/controllers/biblio.h. Define a
894 CiteEngine_enum wrapper class to enable the enum to be forward
897 2004-05-12 Angus Leeming <leeming@lyx.org>
899 * buffer.C: up LYX_FORMAT to 234.
900 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
901 use_numerical_citations with a single biblio::CiteEngine cite_engine
903 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
905 2004-05-13 José Matos <jamatos@lyx.org>
908 * converter.C (Converter, readFlags): add xml member.
909 * outputparams.h: add XML flavor.
910 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
912 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
914 * lyxfunc.C (dispatch):
915 (getStatus): fix handling of LFUN_SEQUENCE
917 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
919 * debug.C (showLevel): do not forget the end-of-line marker
921 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
923 * kbmap.C (read): do not stop parsing a bind file when an error
926 2004-04-29 Angus Leeming <leeming@lyx.org>
931 * text2.C: wrap a bunch of #warning statements
932 inside #ifdef WITH_WARNINGS blocks.
934 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
936 * buffer.C: increment format to 233.
938 2004-04-28 Angus Leeming <leeming@lyx.org>
940 * BufferView_pimpl.C:
943 s/updateToolbar()/updateToolbars()/
944 s/Toolbar.h/Toolbars.h/
946 2004-04-28 Angus Leeming <leeming@lyx.org>
948 * BufferView.[Ch] (c-tor):
949 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
950 No longer passes these data to the WorkArea generator.
952 2004-04-28 Angus Leeming <leeming@lyx.org>
954 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
956 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
958 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
960 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
962 * output_latex.C (TeXEnvironment): make sure that there is a line
963 break before \end{foo} for the last paragraph of a document
964 (TeXOnePar): if the paragraph is at the end of the document (or
965 inset) and the language has to be reset, then make sure that the
966 line break is _before_ the language command, not after (fixes bug
967 1225); also make sure that the language reset command is the first
968 thing after the paragraph (to ensure proper nesting of
969 environments and thus fix bug 1404)
971 2004-04-21 John Levon <levon@movementarian.org>
974 * ToolbarBackend.C: make "name" be a programmatic name
975 and a gui_name field.
977 * lyxfunc.C: display the minibuffer on M-x
979 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
981 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
984 2004-04-19 Angus Leeming <leeming@lyx.org>
986 * BufferView_pimpl.C (setBuffer): changed preview interface.
988 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
991 2004-04-19 John Levon <levon@movementarian.org>
993 * BufferView_pimpl.C:
994 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
996 2004-04-05 Angus Leeming <leeming@lyx.org>
998 * text.C (redoParagraphs): add call to updateCounters(), thereby
999 fixing the missing "Figure #:" label from the caption of a
1002 2004-04-13 Angus Leeming <leeming@lyx.org>
1004 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1005 cursor is clicked out of an inset.
1007 2004-04-13 Angus Leeming <leeming@lyx.org>
1009 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1010 than an InsetOld one.
1012 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1014 * format.[Ch]: add editor to Format
1015 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1016 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1018 2004-04-08 André Pönitz <poenitz@gmx.net>
1020 * metricsinfo.h: remove PainterInfo::width member
1022 2004-04-08 Angus Leeming <leeming@lyx.org>
1024 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1025 "\providecommand" rather than "\newcommand", thereby preventing
1026 clashes with packages that define "\boldsymbol" themselves.
1029 2004-04-08 Angus Leeming <leeming@lyx.org>
1031 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1032 thereby squashing an unnecessary warning.
1034 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1036 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1039 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1041 * BufferView.C (setCursor): call redoParagraph (some insets could
1043 (putSelectionAt): remove the 'double update' trick
1045 * BufferView_pimpl.C (fitCursor): call refreshPar
1046 (workAreaDispatch): remove an uneeded update call
1047 (dispatch): remove some manual update calls
1049 * cursor.[Ch]: remove cached_y_, updatePos
1050 (selHandle): set noUpdate when appropriate
1052 * lyxfunc.C (dispatch): track if we need an update
1054 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1056 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1057 (paintSelection): cheap optimization, do not call cursorX when not
1059 (paintPars): change signature
1062 (paintTextInset): adjust
1066 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1068 * lengthcommon.C: compilation fix: remove explicit array size from
1069 unit_name[] and friends
1071 2004-04-05 Angus Leeming <leeming@lyx.org>
1073 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1075 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1076 present only for the preferences dialog.
1077 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1079 2004-04-05 Angus Leeming <leeming@lyx.org>
1081 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1082 to enable the frontends to export changes to lyxrc correctly.
1084 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1086 2004-04-07 André Pönitz <poenitz@gmx.net>
1088 * cursor.[Ch] (selClear, adjust): remove math
1090 * cursor_slice.C: more agressive assert
1093 * BufferView_pimpl.C: rework mouse event dispatch
1100 2004-04-05 André Pönitz <poenitz@gmx.net>
1102 * cursor.[Ch] (valign, halign...): remove unneeded functions
1104 2004-04-05 Angus Leeming <leeming@lyx.org>
1106 * lyxlength.[Ch] (unit_name et al.): const-correct.
1108 2004-04-05 Angus Leeming <leeming@lyx.org>
1110 * BufferView_pimpl.C:
1119 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1121 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1123 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1125 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1127 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1128 * BufferView_pimpl.[Ch] (getStatus)
1129 * BufferView.[Ch] (getStatus): add
1130 * lyxfunc.C (getStatus): move lfuns handled in
1131 BufferView::dispatch to te function above
1132 * Cursor.C (setSelection): set selection() = true
1134 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1136 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1138 2004-03-31 Angus Leeming <leeming@lyx.org>
1140 * lyxfunc.C (dispatch): Fall through to the generic
1141 Dialogs::show("preamble").
1143 2004-03-31 Angus Leeming <leeming@lyx.org>
1145 * lyxfunc.C (dispatch): Fall through to the generic
1146 Dialogs::show("spellchecker").
1148 2004-03-31 Angus Leeming <leeming@lyx.org>
1150 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1153 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1158 * insetiterator.[Ch]:
1163 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1165 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1167 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1168 insets where we are putting the cursor.
1170 2004-03-31 Angus Leeming <leeming@lyx.org>
1173 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1175 * lyxrc.[Ch] (read, write): overloaded member functions taking
1176 a std::[io]stream arguments.
1178 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1180 2004-03-31 Angus Leeming <leeming@lyx.org>
1182 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1183 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1185 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1186 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1188 2004-03-31 Angus Leeming <leeming@lyx.org>
1190 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1191 the LFUN_ALL_INSETS_TOGGLE code.
1193 2004-03-30 Angus Leeming <leeming@lyx.org>
1195 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1196 has died. Fall through to the generic Dialogs::show("document").
1198 2004-03-30 Angus Leeming <leeming@lyx.org>
1201 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1202 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1204 * lyxfunc.C (getStatus, dispatch): define the actions for these
1205 lfuns. Little more than a cut and pste job from ControlDocument.C
1207 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1209 2004-03-30 Angus Leeming <leeming@lyx.org>
1212 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1213 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1215 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1216 open/closed state of ollapsable insets. Usage:
1218 all-inset-toggle <state> <name>, where
1219 <state> == "open" || "closed" || "toggle" and
1220 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1222 * lyxtext.h, text2.C (toggleInset): removed.
1224 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1225 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1226 now passes LFUN_INSET_TOGGLE to the found inset.
1228 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1229 is now invoked as "all-insets-toggle toggle branch".
1231 2004-03-30 Angus Leeming <leeming@lyx.org>
1235 * pariterator.[Ch]: added/corrected header blurb.
1237 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1239 * dociterator.[Ch]: add an inset_ member
1240 (backwardPos): implemented
1241 (backwardPos, forwardPos): use inset_ when the stack is empty.
1242 (doc_iterator_begin, doc_iterator_end): implemented
1243 * pariterator.[Ch]: adjust, add begin, end
1244 * insetiterator.[Ch]: adjust, add begin, end
1248 * BufferView_pimpl.C:
1249 * CutAndPaste.C: adjust
1251 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1253 * buffer.C: increment file format to 232.
1254 * LaTeXFeatures.C: add bibtopic package.
1255 * bufferparams.[Ch]: param \use_bibtopic.
1257 * lyxrc.[Ch]: add lyxrc bibtex_command
1258 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1260 * buffer.C: increment file format to 231.
1262 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1264 * dociterator.C: implement forwardPar
1265 * iterators.[Ch]: remove, replaced by
1266 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1268 * BufferView_pimpl.C:
1271 * bufferview_funcs.C:
1277 * Makefile.am: adjust
1279 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1281 * CutAndPaste.C (pasteSelection): fix 2 crashes
1282 (eraseSelection): fix a crash
1283 * paragraph_funcs.C: remove a warning
1285 2004-03-28 Angus Leeming <leeming@lyx.org>
1288 * LyXAction.C (init): new LFUN_PRINT.
1290 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1292 2004-03-27 Angus Leeming <leeming@lyx.org>
1295 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1297 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1299 2004-03-27 Angus Leeming <leeming@lyx.org>
1301 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1302 insetlist always contains non-null pointers to insets.
1304 2004-03-26 Angus Leeming <leeming@lyx.org>
1306 * src/BufferView_pimpl.C:
1307 * src/CutAndPaste.C:
1310 * src/output_plaintext.C:
1311 * src/outputparams.h:
1312 * src/paragraph_funcs.C:
1316 * src/frontends/controllers/ControlErrorList.C:
1317 * src/frontends/gtk/FileDialogPrivate.C:
1318 * src/frontends/gtk/GPainter.C:
1319 * src/frontends/gtk/GToolbar.C:
1320 * src/frontends/qt2/QRef.C:
1321 * src/mathed/math_scriptinset.C: squash compiler warnings.
1323 2004-03-26 Angus Leeming <leeming@lyx.org>
1325 * ispell.C (LaunchIspell::start):
1326 * lyx_cb.C (AutoSaveBuffer::start):
1327 invoke run(DontWait) rather than runNonBlocking().
1329 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1331 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1333 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1335 * kbsequence.C (print): adjust
1337 * kbmap.C (printKeySym): rename and change signature
1338 (printKey): use LyXKeySym::print()
1340 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1342 * undo.C: add using std::advance to compile for stlport
1344 2004-03-24 Angus Leeming <leeming@lyx.org>
1346 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1347 it leads to a crash when no buffer is present.
1349 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1350 Martin Vermeer <martin.vermeer@hut.fi>
1352 * lyxfunc.C (dispatch):
1353 * bufferparams.C (readToken): use the new LColor::setColor
1355 * LColor.[Ch] (setColor): new version that takes two strings as
1356 argument and creates a new color entry if necessary
1358 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1360 * buffer.C (makeLaTeXFile): if the main latex file that is
1361 processed is usually a subdocument of some master, then pretend
1362 for a while that it is actually the master
1364 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1366 * buffer.C (getLabelList):
1367 (getBibkeyList): use getMasterBuffer()
1368 (getMasterBuffer): new method. Returns the main document in the
1369 case where one is using included documents.
1371 2004-03-25 André Pönitz <poenitz@gmx.net>
1375 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1377 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1379 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1380 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1382 * ParameterStruct.h: merge with ParagraphParameters
1384 * lyxtext.h: remove LyXText::parOffset() and getPar()
1386 * text3.C: Remove all 'manual' update calls. We do now one per user
1387 interaction which is completely sufficient.
1391 * BufferView_pimpl.C:
1392 * FontIterator.[Ch]:
1394 * ParagraphParameters.[Ch]:
1399 * cursor_slice.[Ch]:
1406 * output_docbook.[Ch]:
1407 * output_latex.[Ch]:
1408 * output_linuxdoc.[Ch]:
1409 * output_plaintext.[Ch]:
1411 * paragraph_funcs.[Ch]:
1412 * paragraph_pimpl.[Ch]:
1420 * frontends/controllers/ControlDocument.C:
1421 * frontends/controllers/ControlErrorList.C:
1422 * frontends/controllers/ControlSpellchecker.C:
1425 * insets/insetbase.h:
1426 * insets/insetbibitem.C:
1427 * insets/insetbox.C:
1428 * insets/insetbranch.C:
1429 * insets/insetcaption.C:
1430 * insets/insetcharstyle.C:
1431 * insets/insetcharstyle.h:
1432 * insets/insetcollapsable.C:
1433 * insets/insetcollapsable.h:
1434 * insets/insetert.C:
1435 * insets/insetfloat.C:
1436 * insets/insetfoot.C:
1437 * insets/insetmarginal.C:
1438 * insets/insetnote.C:
1439 * insets/insetoptarg.C:
1440 * insets/insettabular.C:
1441 * insets/insettext.C:
1442 * insets/insettext.h:
1443 * insets/insetwrap.C:
1444 * mathed/math_mboxinset.C:
1445 * mathed/math_nestinset.C:
1446 * mathed/math_scriptinset.C:
1447 * mathed/math_scriptinset.h:
1450 2004-03-24 Angus Leeming <leeming@lyx.org>
1452 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1453 deal with any child processes that have finished but are waiting to
1454 communicate this fact to the rest of LyX.
1456 2004-03-24 Angus Leeming <leeming@lyx.org>
1458 64-bit compile fixes.
1460 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1461 (c-tor): pass lyx::pos_types rather than ints.
1463 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1466 * text.C (Delete): compile fix.
1467 (getPar): ensure that function declaration is the same as that in
1470 2004-03-23 Angus Leeming <leeming@lyx.org>
1472 * ispell.C (LaunchIspell):
1473 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1474 a boost::shred_ptr rather than a std::auto_ptr.
1476 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1478 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1479 handle LFUN_FILE_INSERT_*
1481 * lyxrc.C (setDefaults, getDescription, output, read):
1482 * lyxrc.h: remove ps_command
1484 2004-03-22 Angus Leeming <leeming@lyx.org>
1486 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1487 Ensure that error_handler is processed once only and that all data
1488 is saved before attempting to output any warning messages.
1490 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1492 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1494 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1496 2004-03-19 André Pönitz <poenitz@gmx.net>
1498 * cursor.[Ch] (reset): take main text inset as argument
1500 * BufferView: adjust
1501 * BufferView_pimpl.C: adjust
1503 * paragraph.[Ch]: fix completely broken operator=()
1505 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1507 * LColor.C (getFromLyXName): make sure that the color name is used
1510 2004-03-17 Angus Leeming <leeming@lyx.org>
1513 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1515 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1516 dialog and to kill a forked process.
1518 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1520 * text2.C (setCursorFromCoordinates): fix font problem
1522 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1524 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1525 bogus "rebuild cursor" code
1527 2004-03-11 André Pönitz <poenitz@gmx.net>
1529 * buffer.[Ch]: use InsetText instead of LyXText as container for
1532 * dociterator.[Ch]: drop the BufferView * member which is not needed
1533 anymore after the change to buffer.C
1535 * paragraph_funcs.C:
1539 * BufferView_pimpl.[Ch]:
1541 * cursor_slice.[Ch]: adjust
1543 * text3.C: fix bug in mathDispatch
1545 2004-03-08 André Pönitz <poenitz@gmx.net>
1547 * undo.[Ch]: use 'StableDocumentIterator' as base for
1550 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1553 * bufferparams.[Ch]: add jurabib support and param.
1555 * LaTeX.C: add FIXME/comment.
1557 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1559 * buffer.C: increment file format to 230.
1561 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1563 * cursor.C (dispatch): avoid infinite loops
1565 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1567 * rowpainter.C (paintSelection): fix x coordinates
1569 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1571 * text.C (rowBreakPoint): fix breaking before displayed insets
1573 2004-03-01 André Pönitz <poenitz@gmx.net>
1575 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1577 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1581 * BufferView_pimpl.C:
1589 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1595 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1596 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1598 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1600 * Bidi.[Ch] (computeTables): const correctness
1601 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1602 fill_hfill, fill_label_hfill and x from Row
1603 * lyxtext.h: prepareToPrint returns a RowMetrics
1604 * rowPainter.C: adjust
1605 * text.C (prepareToPrint): use width, not textWidth. adjust
1606 (redoParagraphInternal, cursorX): adjust
1607 * text2.C (getColumnNearX): adjust
1608 (init): put a default value to the top LyXText::width
1610 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1612 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1614 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1616 * lyxtext.h: add FontIterator class
1618 * text.C (FontIterator, operator*, operator->, operator++): add
1619 (rowBreakPoint, setRowWidth): adjust (fixing a
1622 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1624 * BufferView_pimpl.C (workAreaDispatch): allow also
1625 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1627 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1629 * text.C (rowBreakPoint): fix a bug showing with very large insets
1631 2004-02-25 André Pönitz <poenitz@gmx.net>
1634 * cursor.[Ch]: move some mathed specific code to mathed
1636 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1638 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1639 use_tempdir in preferences
1640 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1642 * lyx_main.C: ensure that tempdir is valid
1643 * lyxlex.h: correct typo
1644 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1645 * paragraph.[Ch] (isMultiLingual): make const
1646 * cursor.[Ch] (openable): make const
1648 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1650 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1652 2004-02-20 André Pönitz <poenitz@gmx.net>
1654 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1656 * cursor.[Ch]: prepare for localized getStatus()
1662 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1664 2004-02-20 André Pönitz <poenitz@gmx.net>
1666 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1668 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1670 * text2.C (setCursorFromCoordinates): switch to absolute coords
1672 (cursorDown): adjust
1673 * text3.C (dispatch): adjust
1675 2004-02-16 André Pönitz <poenitz@gmx.net>
1677 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1680 * cursor_slice.[Ch]: remove unneeded acessor function
1682 * lyxtext.h: rename rtl() to isRTL()
1690 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1692 * rowpainter.C (paintSelection): coord fix
1694 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1696 * Spacing.C: compile fix
1698 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1700 * cursor.C (dispatch): restore current_ before returning
1702 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1704 * text2.C (cursorUp, cursorDown): fix coords
1707 2004-02-12 André Pönitz <poenitz@gmx.net>
1712 * text3.C: add LCursor & parameter to most cursor movement functions
1713 remove usage of LyXText::cursorRow() and cursorPar()
1715 * cursor.[Ch]: add textRow() needed members
1718 * BufferView_pimpl.C:
1721 * BufferView_pimpl.C: adjust
1723 2004-02-11 André Pönitz <poenitz@gmx.net>
1727 * BufferView_pimpl.C: shift undo/redo handling
1729 * cursor.[Ch]: fix mathed crash
1732 * lyxtext.h: move selectionAsText to LCursor
1740 * rowpainter.C: fix excessive drawing
1742 2004-02-06 André Pönitz <poenitz@gmx.net>
1745 * BufferView_pimpl.[Ch]:
1746 * text3.C: move some text specific LFUN handling
1748 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1750 * text3.C (checkInsetHit): adjust coords
1751 * text2.C (getColumnNearX): adjust coords
1752 (edit): adjust coords
1753 * text.C (getRowNearY): add two asserts
1755 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1758 * format.C: add using std::distance to compile on gcc 2.95/stlport
1760 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1762 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1764 2004-02-04 André Pönitz <poenitz@gmx.net>
1766 * BufferView.[Ch] (insertInset):
1767 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1772 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1774 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1775 on the default clause of the switch
1776 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1777 wasn't catched by LCursor::dispatch
1779 2004-02-03 André Pönitz <poenitz@gmx.net>
1782 * cursor.[Ch]: some additional asserts
1784 * undo.[Ch]: remove LyXText dependency in interface
1788 * lyxtext.h (firstPar, lastPar): remove dead functions
1793 * paragraph.[Ch]: adjust
1795 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1797 * lyxfind.C (find): fix argument order in call to ::find
1799 2004-02-02 André Pönitz <poenitz@gmx.net>
1801 * cursor.[Ch]: remove direct access to anchor
1803 * text.C: remove findText() hack
1805 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1807 * iterators.[Ch] (lockPath): remove in favour of...
1808 * BufferView.[Ch] (setCursor): this addition
1809 * BufferView.C (putSelectionAt): adjust
1810 * undo.C (performUndoOrRedo): adjust
1811 * lyxfunc.C (dispatch): adjust
1813 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1815 * iterators.C (lockPath): add a missing slice
1816 * undo.C (performUndoOrRedo): remove redundant positioning code
1818 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1820 * vc-backend.C (scanMaster): ";" -> ';'
1822 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1824 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1825 std::binary_function
1827 * lyxtextclass.C (compare_name): rename to...
1828 (LayoutNamesEqual): ...this
1830 * lyxlex_pimpl.C (compare_tags): inherit from
1831 std::binary_function, put back into anon namespace
1833 * lyxfind.C (MatchString): inherig from std::binary_function
1834 (findChange): use empty() istead of !size()
1836 * format.C (FormatNamesEqual): new functor
1843 * converter.C (compare_Converter): rename to...
1844 (ConverterEqual): ...this, and fixup a bit.
1845 (getConverter): use it, and make function const
1846 (getNumber): use it, and make function const
1850 * bufferlist.C: add using boost::bind
1852 * MenuBackend.C (MenuNamesEqual): new functor
1853 (hasMenu): use it, and make function const
1854 (hasSubmenu): use nested bind to get rid of compare_memfun.
1856 2004-01-30 André Pönitz <poenitz@gmx.net>
1858 * BufferView_pimpl.C:
1861 * cursor_slice.[Ch]:
1864 * paragraph_funcs.C:
1865 * paragraph_funcs.h:
1869 * text3.C: move some of the edit(x,y) handling to the insets
1870 some coordinate changes.
1872 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1874 * text.C: add using statements for std::advance and std::distance
1876 * paragraph.C: add using statement for std::distance
1878 * lyxfind.C: add using statement for std::advance
1880 * cursor.C (region): remove std:: from swap
1881 (openable): use nucleus in stead of operator->
1883 * BufferView.C: add using statements for std::distance and std::swap
1885 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1887 * iterators.C: Remove the pimple, move the needed structures to
1888 the header file. Create accessor for the positions stack.
1889 (asPosIterator): remove function
1891 * PosIterator.C (PosIterator): move constructors to top of file
1892 (PosIterator): reimplement the constructor taking a ParIterator in
1894 (setFrom): new function
1895 (operator!=): inline it
1897 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1899 * lyxfind.C (replaceAll): use std::advance
1901 * iterators.h: inherit from std::iterator.
1903 * PosIterator.C (advance, distance): remove
1904 * PosIterator.h: interit from std::iterator.
1906 2004-01-26 André Pönitz <poenitz@gmx.net>
1909 * BufferView_pimpl.[Ch]:
1913 * bufferview_funcs.C:
1923 * output_linuxdoc.C:
1924 * output_plaintext.C:
1926 * paragraph_funcs.[Ch]:
1927 * paragraph_pimpl.[Ch]:
1933 * text3.C: more IU: dumps most of the rest of the mathcursor
1934 implementation into cursor.[Ch]; "globalize" a bit of it.
1936 2004-01-25 Angus Leeming <leeming@lyx.org>
1938 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1940 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1942 * LaTeXFeatures.h: add nice_ and nice() const
1943 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1945 2004-01-20 André Pönitz <poenitz@gmx.net>
1948 * BufferView_pimpl.C:
1950 * bufferview_funcs.C:
1952 * cursor_slice.[Ch]:
1963 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1964 LCursor and mathcursor parts to LCursor and InsetBase.
1966 2004-01-15 André Pönitz <poenitz@gmx.net>
1968 * cursor_slice.[Ch]: add a few covienience functions
1970 * funcrequest.[Ch]: remove BufferView * member
1972 * BufferView_pimpl.C:
1979 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1981 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1983 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1984 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1986 2004-01-13 André Pönitz <poenitz@gmx.net>
1989 * lyxtext.h: hide cursor and selection anchor behind accessor function
1992 * BufferView_pimpl.[Ch]:
1994 * bufferview_funcs.C:
2004 * cursor_slice.[Ch]: some integer type changes for inset unification
2006 * lyxcursor.[hC]: remove, it's CursorSlice now.
2009 * BufferView_pimpl.[Ch]:
2010 * bufferview_funcs.C:
2016 * textcursor.[Ch]: adjust
2018 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2020 * text2.C (undoSpan): add and use
2021 * text.C (breakParagraph): use undoSpan (fix bug 578)
2024 2004-01-08 Angus Leeming <leeming@lyx.org>
2026 * BufferView_pimpl.C (MenuInsertLyXFile):
2027 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2028 * lyxfunc.C (menuNew, open, doImport):
2029 FileFilterList change to the FileDialog open and save functions.
2031 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2033 * ShareContainer.h: make isEqual and isUnique adaptable
2035 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2037 2004-01-07 Angus Leeming <leeming@lyx.org>
2040 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2042 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2044 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2045 functions replacing find, replace and replaceAll.
2047 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2048 LFUN_WORDFIND(FORWARD|BACKWARD).
2050 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2052 * text.C (breakParagraph): remove an outdated #warning
2054 2004-01-07 André Pönitz <poenitz@gmx.net>
2056 * lyxfind.C: somewhat clearer logic
2058 * text.C: prevent crash in cursorX on unitialized row cache
2060 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2062 * lyxcursor.[Ch] (operator>): add
2063 * textcursor.C (selStart, selEnd): use std::min and std::max
2065 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2067 * Chktex.C: include boost/format.hpp
2069 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2071 * InsetList.C: replace functor MathcIt with adaptable functor
2073 (insetIterator): modify accordingly
2075 * BranchList.h: move the BranchNamesEqual functor here from...
2076 * BranchList.C: ... to here
2078 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2080 (add): replace a finding loop with std::find_if.
2082 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2084 * output_docbook.C: moving LatexParam functionality into
2087 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2089 * buffer.C: increment format to 229.
2091 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2094 * lyx_sty.[Ch]: remove minipageindent_def
2100 * text3.C: remove LFUN_INSET_MINIPAGE
2102 2003-12-28 Angus Leeming <leeming@lyx.org>
2104 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2106 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2108 * text2.C (setParagraph): fix off-by-one crash
2110 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2112 * output_docbook.C: header stuff for AGU
2114 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2116 * text2.C (redoCursor): remove
2119 * BufferView_pimpl.C: remove calls to redoCursor and
2120 setCursor(cursor.par(), cursor.pos()) all around
2122 2003-12-15 Angus Leeming <leeming@lyx.org>
2124 * buffer.C: up the format to 228.
2126 2003-12-15 André Pönitz <poenitz@gmx.net>
2128 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2133 * BufferView_pimpl.C:
2142 2003-12-15 Angus Leeming <leeming@lyx.org>
2144 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2145 than getFromGUIName to manipulate the color.
2147 2003-12-14 Angus Leeming <leeming@lyx.org>
2149 * BranchList.[Ch]: minimize the API.
2150 (Branch::getBranch, getColor): now return a 'const &'.
2151 (Branch::setSelected) now returns a bool set to true if the
2152 selection status changes.
2153 (BranchList::clear, size, getColor, setColor, setSelected,
2154 allBranches, allSelected, separator): removed.
2155 (BranchList::find): new functions, returning the Branch with
2157 (BranchList::add, remove): return a bool indicating that
2158 the operation was successful.
2160 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2161 new InsetBranch::isBranchSlected member function.
2163 * LColor.[Ch]: mimimize the API.
2164 (fill): renamed as addColor and made private.
2165 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2166 versions of these functions taking a string arg have been removed.
2168 * bufferparams.C (readToken):
2169 * lyxfunc.C (dispatch):
2170 * lyxrc.C (read): changes due to the altered BranchList and
2173 * factory.C (createInset, readInset): changes due to altered
2176 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2179 * lyxfunc.C: remove insetminipage. "minipage-insert"
2180 now produces a frameless minipage box inset.
2182 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2184 * textcursor.[Ch] (selStart,selEnd): add new methods
2185 remove selection::start, end, use LyXCursor::operator<
2186 * lyxcursor.[Ch] (operator<): add
2187 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2188 * BufferView.[Ch] (unsetXSel): add
2189 * text2.C (clearSelection): use unsetXSel,adjust
2192 * rowpainter.C: adjust
2193 * bufferview_funcs.C (put_selection_at): adjust
2195 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2197 * BufferView_pimpl.C: small coord. correction
2199 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2201 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2202 dragging over the splash screen.
2204 2003-12-11 Angus Leeming <leeming@lyx.org>
2206 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2207 as it is now handled in LyXText::dispatch.
2209 * text3.C (doInsertInset): remove a level of nesting.
2211 2003-12-11 Angus Leeming <leeming@lyx.org>
2213 * factory.C (createInset): changes due to the changed interface to
2214 InsetCommandMailer::string2params.
2216 2003-12-10 Angus Leeming <leeming@lyx.org>
2218 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2219 'dialog-show-new-inset <inset name>'
2221 2003-12-10 Angus Leeming <leeming@lyx.org>
2223 * buffer.C: up the format to 227.
2225 * factory.C: the box inset is now identified simply by 'Box'.
2227 2003-12-10 Angus Leeming <leeming@lyx.org>
2229 * buffer.C: up the format to 226.
2231 * factory.C: the note inset is now identified simply by 'Note'.
2233 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2235 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2236 when a pit is enough. Standarize a couple of loops.
2238 2003-12-05 Angus Leeming <leeming@lyx.org>
2240 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2241 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2242 data to the re-worked "log" dialog.
2244 2003-12-03 André Pönitz <poenitz@gmx.net>
2250 * paragraph_funcs.C:
2252 * text2.C: use Inset::getText instead of Inset::getParagraph
2254 2003-12-03 André Pönitz <poenitz@gmx.net>
2258 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2259 InsetText::read() as LyXText::read()
2261 2003-12-02 Angus Leeming <leeming@lyx.org>
2263 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2264 type. Add a comment in the implementation that the function uses
2265 the stream's bad() function rather than fail() as the std::streams
2268 2003-12-02 André Pönitz <poenitz@gmx.net>
2270 * lyxlex.[Ch]: make interface more similar to std::stream
2272 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2274 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2276 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2278 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2280 * vspace.[Ch]: remove VSpace::NONE
2282 2003-12-01 André Pönitz <poenitz@gmx.net>
2285 * lyxtext.h: move ParagraphList member to LyXText
2286 rename LyXText::ownerParagraphs to LyXText::paragraph
2289 * bufferview_funcs.C:
2299 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2301 * undo.C: fix cursor positioning
2303 2003-12-01 John Levon <levon@movementarian.org>
2305 * BufferView_pimpl.C: fix a crash on exit with
2308 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2310 * BranchList.C: fix setSelected() method.
2312 2003-11-28 André Pönitz <poenitz@gmx.net>
2314 * ParagraphParameters.[Ch]:
2315 * ParameterStruct.h: remove space above/below from Paragraph to
2318 * BufferView_pimpl.C:
2324 * paragraph_funcs.C:
2330 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2332 * factory.C: Syntax change for CharStyles
2334 2003-11-28 André Pönitz <poenitz@gmx.net>
2339 * buffer.[Ch]: move LyXText member
2341 2003-11-28 André Pönitz <poenitz@gmx.net>
2343 * BufferView.[Ch]: make LyXText * text a private member
2345 * BufferView_pimpl.C:
2356 * output_plaintext.C: cleanup
2358 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2361 * lyxtextclass.[Ch]: parametrize SGML document header
2363 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2366 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2369 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2371 * text2.C (setFont): rework using PosIterator (no more recursive)
2372 (setCharFont): no more needed
2373 (setLayout): no more selection cursors fiddling (done by redoCursor)
2374 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2375 destroy remaining ones)
2377 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2379 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2381 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2384 * text3.C: adjust + re-allow multi par depth changes
2385 * textcursor.C: simplify a bit
2387 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2393 * src/output_docbook.C:
2394 * src/output_latex.C:
2399 * src/text2.C: Introducing a number of tags parametrizing various
2400 XML formats that we may want to support
2402 2003-11-25 André Pönitz <poenitz@gmx.net>
2404 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2406 * lyxtext.h (leftMargin/rightMargin): simplify interface
2413 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2415 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2416 master file to any child files. Fixes bug 546.
2418 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2420 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2422 2003-11-24 André Pönitz <poenitz@gmx.net>
2424 * rowpainter.C: simplification
2426 * text2.C (updateCounters): remove call to redoParagraph on
2427 changed labels as this is far too expensive.
2429 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2431 * converter.C (convert): fix a crash: this function gets
2432 called with buffer == 0 from importer code.
2434 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2436 * text3.C (cursorPrevious): make sure that we do not compare
2437 iterators form different containers.
2440 * rowpainter.C (paintSelection): make sure that we do not compare
2441 iterators from different containers.
2443 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2444 iterators from different ParagraphList containers.
2447 * text2.C (LyXText): change order of initialization slightly
2448 (operator=): new function. copy all variables except cache_par_
2449 (moveUp): make sure that we do not compare iterators from
2450 different ParagraphList constainers.
2453 * text.C (firstPar): new function
2454 (lastPar): new function
2455 (endPar): new function
2457 * lyxtext.h: move things around and group public functions, public
2458 variables, private functions, private variables
2460 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2462 * factory.C: change call to InsetERT constructor to avoid
2463 additional invocation of method status
2464 * text2.C (toggleInset): remove redundant update() call
2465 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2466 instead of a Bufferview pointer
2468 2003-11-21 André Pönitz <poenitz@gmx.net>
2470 * rowpainter.C: simplification
2472 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2474 * text3.C (dispatch): make possible to extend a word/row selection
2477 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2479 * lyxtext.h: x0_,y0_ -> xo_,yo_
2480 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2481 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2482 * rowpainter.C (paintRows): paint full paragraphs
2484 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2486 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2489 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2491 * lyxtext.h: add x0_, y0_
2492 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2493 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2495 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2497 * text2.C (setCursorIntern): move the x_target update here *
2498 * text3.C: change some bv() to true/false in calls to
2499 cursorUp/Down/Right/Left
2500 * cursor.C: use helper function.
2502 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2504 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2505 * paragraph_funcs.[Ch]: correct comment
2506 * rowpainter.C: do not paint selections away from bv->cursor()
2507 Fix a long standing selection painting bug.
2508 * text3.C: generalize mouse-selection code to LyXTexts other that
2510 * textcursor.C: do not use y coords if we can use par offsets
2512 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2514 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2515 cursor position after e.g. inset insert)
2517 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2519 * lyxfind.C (replace): adjust to locking removal + some
2522 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2524 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2527 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2530 * output_docbook.C: XML sanitation: new layout
2531 parameters InnerTag and CommandDepth
2533 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2535 * BufferView_pimpl.C:
2537 * text3.C: Fix the insertion and modification of button-style
2540 2003-11-13 André Pönitz <poenitz@gmx.net>
2542 * InsetList.[Ch]: remove deleteLyXText
2544 * paragraph.[Ch]: cache beginOfBody position
2549 * text3.C: remove superfluous update() calls
2553 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2555 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2556 * BufferView.C (fitLockedInsetCursor): remove
2557 * cursor.[Ch] (getDim): add
2558 * text.C (getRowNearY): add faster version
2559 * text3.C: remove some update calls
2561 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2573 * text3.C: The Character Style /XML short element patch.
2575 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2578 * factory.C: Small step to solving 'unable to insert some insets'
2581 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2583 * cursor.[Ch] (updatePos): new function for updating the y
2584 position of the tip inset
2585 * bufferview_funcs.C (put_selection_at):
2586 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2588 2003-11-11 André Pönitz <poenitz@gmx.net>
2590 * text.C: remove big comment on invalid Paragraph pointers as it is
2593 2003-11-11 André Pönitz <poenitz@gmx.net>
2595 * text_funcs.[Ch]: merge with ...
2603 * Makefile.am: remove text_funcs.[Ch]
2605 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2607 * cursor.C (getPos): return absolute cached y coord
2609 * BufferView_pimpl.C (fitCursor): new simplistic code
2610 (workAreaDispatch): add a fitCursor call
2612 2003-11-10 André Pönitz <poenitz@gmx.net>
2615 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2617 2003-11-10 André Pönitz <poenitz@gmx.net>
2619 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2620 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2621 indicate that the cursor needs to leave an inset
2623 * lyxtext.h: remove inset locking
2625 * cursor.[Ch]: re-implement functionality provided by inset locking
2628 * BufferView_pimpl.[Ch]:
2630 * bufferview_funcs.[Ch]:
2642 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2644 * PosIterator.[Ch]: replace the stack with a vector, add inset
2646 * iterators.[C]: adjust
2648 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2650 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2652 * paragraph_funcs.C (readParToken): put the correct id in the
2653 error item, not the id of the top paragraph
2655 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2657 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2658 * bufferview_funcs.C (put_selection_at): use the above
2660 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2662 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2664 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2666 * output_linuxdoc.h:
2667 * output_plaintext.h:
2669 * output_docbook.h: add #include statements
2671 2003-11-05 José Matos <jamatos@lyx.org>
2673 * output_docbook.[Ch]:
2674 * output_latex.[Ch]:
2675 * output_linuxdoc.[Ch]:
2676 * output_plaintext.[Ch]: New files for output formats.
2677 * output.[Ch]: New file for helper functions.
2680 * paragraph_funcs.[Ch]: output functions moved to new files.
2682 * outputparams.h: rename of latexrunparams.h
2690 * paragraph_funcs.[Ch]:
2691 * paragraph_pimpl.[Ch]:
2692 * tabular.[Ch]: rename ascii to plaintext
2693 and LatexRunParams to OutputParams.
2695 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2697 * iterators.[Ch] (text): require bv argument
2698 * undo.C (recordUndo):
2699 * lyxfunc.C (dispatch):
2700 * bufferview_funcs.C (put_selection_at): adjust
2702 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2704 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2706 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2708 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2711 2003-11-04 André Pönitz <poenitz@gmx.net>
2713 * cursor.[Ch]: restructure
2716 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2718 * iterators.[Ch] (asCursor): remove
2720 * lfuns.h: remove LFUN_INSET_EDIT
2726 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2728 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2730 * lyxfind.[Ch]: complete overhaul
2731 * BufferView_pimpl.C:
2733 * paragraph.[Ch] (insert): add
2735 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2739 * text.C: remove dead spellcheck code
2741 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2743 * dispatchresult.h: add a val setter
2745 * cursor.C (dispatch): use a tempvar for data_[i]
2747 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2749 * PosIterator.[Ch]: compile fix
2751 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2753 * text.C (cursorPar): deactivate the cursor cache
2755 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2757 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2759 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2761 * text3.C (dispatch): adjust for new DisptchResult semantics.
2763 * lyxfunc.C (dispatch): handle update when return from
2764 Cursor::dispatch, adjust for new DispatchResult semantics.
2766 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2767 DispatchResult(true) mean to not update. Add class functions for
2768 setting dispatched and update, as well as reading.
2770 * cursor.C (dispatch): don't handle update here
2772 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2774 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2775 * trans_mgr.C: adjust
2777 * paragraph_funcs.C (readParToken): exception safety
2779 * lyxvc.h: store the vcs pointer in a scoped_ptr
2782 * lyxsocket.C (serverCallback): exception safety
2784 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2786 * ispell.C (clone): make it return a auto_ptr
2788 * factory.C (createInset): exception safety
2789 (readInset): exception safety
2791 * bufferlist.C (newBuffer): exception safety
2793 * Thesaurus.C (Thesaurus): use initialization for aik_
2795 * MenuBackend.C (expandToc): exception safety.
2797 2003-11-03 André Pönitz <poenitz@gmx.net>
2801 * bufferview_funcs.C: remove getInsetFromId()
2804 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2810 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2812 * PosIterator.C (distance, advance): new
2813 * bufferview_funcs.[Ch] (put_selection_at): new
2814 * iterators.[Ch] (lockPath): new
2816 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2818 * iterators.[Ch] (asPosIterator): added
2819 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2820 * PosIterator.[Ch]: added
2822 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2826 * cursor.C (dispatch):
2827 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2829 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2830 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2831 contructor, add a class function dispatched. Remove operator>=
2833 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2835 * debug.C: only use the default constructor for debugstream
2838 * main.C (main): include debug.h and setup the lyxerr streambuf
2841 2003-10-31 José Matos <jamatos@lyx.org>
2843 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2845 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2846 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2847 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2848 * paragraph_pimpl.C (simpleTeXSpecialC):
2849 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2850 add LatexRunParams argument.
2852 * exporter.C (Export): change call accordingly.
2854 * latexrunparams.h: add new member to take care of the other backends.
2855 2003-10-30 José Matos <jamatos@lyx.org>
2857 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2858 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2859 factorise code for paragraph output.
2861 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2864 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2866 * text3.C (dispatch):
2867 * lyxfunc.C (dispatch):
2868 * cursor.C (dispatch):
2869 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2871 * dispatchresult.h: make the dispatch_result_t ctor explicit
2873 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2876 * buffer.C: small refactoring of docbook stuff
2878 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2880 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2883 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2885 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2886 operator dispatch_result_t, and operators for == != and >=
2888 * cursor.C (dispatch): adjust for operator dispatch_result_t
2889 removal. comment out call to update
2891 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2893 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2901 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2904 * dispatchresult.h: new file, DispatchResult broken out of
2907 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2909 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2911 * text.C (rowBreakPoint): put a hack inside #if 0
2913 2003-10-28 André Pönitz <poenitz@gmx.net>
2917 * paragraph_funcs.C:
2920 * text2.C: general cleanup (lots of small stuff)
2922 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2924 * text2.C (cursorEnd): simple fix to the "end key goes to one
2925 before the end on last row" bug
2927 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2929 * text.C (backspace): fix the "zombie characters"
2931 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2933 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2935 2003-10-27 André Pönitz <poenitz@gmx.net>
2937 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2939 * factory.C: handle new InsetPagebreak, InsetLine
2941 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2942 and move handling into new InsetPagebreak, InsetLine
2944 * BufferView_pimpl.C:
2946 * ParagraphParameters.C:
2947 * ParameterStruct.h:
2952 * paragraph_funcs.C:
2953 * paragraph_pimpl.C:
2959 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2962 * lyxrow_funcs.[Ch]:
2968 * text3.C: remove lastPos uses in favour of Row::endpos
2970 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2972 * undo.C (performUndoOrRedo): fix two crashes by setting a
2973 cursor by hand and reordering some calls. Use bv->lockInset instead
2974 of inset->edit because the latter loses cursor information
2976 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2978 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2980 (rowBreakPoint): fix width. change point to point + 1.
2981 Add a missing check.
2983 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2986 * lyxfunc.C: fix (at least partly) the problems
2987 with the Nav menu and headers inside branch insets
2990 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2992 * paragraph.C (getChar): add strong asserts
2994 * lyxrow_funcs.C (lastPos): remove hideous hack
2996 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2997 (fill): adjust to that (avoid an infinite loop)
2999 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3001 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3003 2003-10-23 André Pönitz <poenitz@gmx.net>
3005 * RowList_fwd.h: change list<> to vector<> to gain speed
3006 after suggestion from Alfredo
3008 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3010 * lyxtext.h: move the bidi stuff from here...
3013 * Bidi.[Ch]: ... to here
3015 2003-10-23 André Pönitz <poenitz@gmx.net>
3018 * text.C (isLastRow, isFirstRow): new functions
3020 * paragraph.h: new width cache member
3022 * rowpainter.C: replace RowList::iterator with Row & where possible
3024 * lyxfunc.C: replace several view()->text with a single call
3026 * toc.C: fix 'unused' warning
3028 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3030 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3031 when woring with stream::pos_type
3032 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3034 2003-10-22 André Pönitz <poenitz@gmx.net>
3037 * text.C: use Row & instead of RowList::iterator
3039 * lyxrow.h: rename end() to endpos()
3045 2003-10-22 Angus Leeming <leeming@lyx.org>
3047 * buffer.[Ch] (fully_loaded): new member function, returning true
3048 only when the file has been loaded fully.
3049 Used to prevent the premature generation of previews and by the
3050 citation inset to prevent computation of the natbib-style label.
3052 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3053 templates are all set up.
3055 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3057 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3059 * text.C: fixed an "oops" in the "is a bit silly"
3062 2003-10-21 André Pönitz <poenitz@gmx.net>
3064 * FuncStatus.[Ch]: small stuff, whitespace
3066 * lyxfont.[Ch]: operator<<() for debug reasons
3070 * lyxtext.h: whitespace, spelling
3072 * paragraph.C: naming of variables
3075 * text2.C: small stuff
3078 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3080 * text.C: (1) finish off the inset display() work;
3081 (2) fix the "is a bit silly" bug (accessing char
3084 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3086 * text.C: re-introduce display() for insets, fixing the
3087 various bugs (stretch of line above, math inset
3090 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3092 * text.C (rightMargin): remove spurious semicolon
3094 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3097 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3099 * text3.C: fix one crash due to wrong cursor def
3101 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3103 * vc-backend.C (scanMaster): make the regex static
3105 * LaTeX.C (scanAuxFile): make the regexs static
3107 * text3.C (doInsertInset, dispatch, dispatch):
3108 * text2.C (cursorUp, cursorDown):
3109 * text.C (selectNextWordToSpellcheck):
3110 * BufferView_pimpl.C (dispatch):
3111 * lyxfunc.C (dispatch): localDispatch -> dispatch
3113 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3115 * lyxsocket.C: include <cerrno>
3117 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3119 * lyxfunc.C (dispatch): remove textcache stuff
3121 * bufferlist.C (release): remove textcache stuff
3124 * TextCache.C: delete file
3125 * TextCache.h: delete file
3127 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3129 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3130 delete of the bv_->text.
3131 (resizeCurrentBuffer): remove texcache stuff
3132 (workAreaResize): ditto
3134 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3136 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3139 2003-10-16 André Pönitz <poenitz@gmx.net>
3146 * text3.C: speed up by storing y positions per paragraph plus per-row
3147 offset instead of having a 'full' y position in the row.
3149 2003-10-15 André Pönitz <poenitz@gmx.net>
3153 * undo.[Ch]: make undo aware of inner insets
3155 2003-10-14 Angus Leeming <leeming@lyx.org>
3157 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3158 static member functions LyX::ref() and LyX::cref.
3159 (lastfiles): new accessor functions for the new lastfiles_ member var.
3160 (addLyXView, views_): add a new LyXView to the list of views_.
3161 (updateInset): loop over all LyXViews to call their own updateInset
3162 member function, returning a pointer to the Buffer owning the inset.
3164 * BufferView_pimpl.C (loadLyXFile):
3165 * MenuBackend.C (expandLastfiles):
3166 * bufferlist.C (MenuWrite, QuitLyX):
3167 lastfiles is no longer a global variable.
3168 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3170 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3171 static function. Access through LyX::cref().emergencyCleanup().
3173 2003-10-14 André Pönitz <poenitz@gmx.net>
3175 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3177 * undo.[Ch]: restoring part of 'undo in insets'
3180 * undo_funcs.[Ch]: merge with undo.[Ch]
3182 * tabular.C: small cleansing stuff
3184 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3186 * paragraph_funcs.C (readParToken): report unknown insets as error
3187 boxes. Use the outer paragraph as location (also for unknown
3190 * factory.C (readInset): do not abort on reading an unknown inset.
3191 Eat it and return 0.
3193 2003-10-13 Angus Leeming <leeming@lyx.org>
3195 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3197 * lyxrc.C: displayTranslator is now a function,
3198 declared in GraphicsTypes.h.
3200 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3202 * format.C: new placeholder $$a to pass the socket address.
3204 * bufferlist.[Ch]: new function getBufferFromTmp.
3206 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3207 files in the temporary dir.
3209 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3211 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3213 * Makefile.am: add lyxsocket.[Ch].
3215 * lyx_main.C (error_handler): handle SIGPIPE.
3217 2003-10-13 André Pönitz <poenitz@gmx.net>
3219 * BufferView_pimpl.C:
3224 * undo_funcs.[Ch]: use paroffset_type instead of
3225 ParagraphList::iterators to prevent multiple conversion
3226 (and get a more robust interface)
3228 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3230 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3232 * text3.C (dispatch): ditto
3234 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3236 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3237 move the onlyfile, use onlyfile instead of foundfile in a couple
3240 * DepTable.C (update): flush the error stream a bit more
3242 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3244 * lyxserver.C (callback): adjust
3246 * lyxfunc.C (getStatus): add a missing brace in commented code
3247 (ensureBufferClean): reindent
3248 (dispatch): delete version taking a string
3250 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3252 * LaTeX.C (deplog): move found file handlig from here...
3253 (handleFoundFile): .. to new function here.
3254 (deplog): make sure to discover several files mentioned on the
3257 2003-10-10 André Pönitz <poenitz@gmx.net>
3264 * text3.C: fix some of the tabular crashes
3266 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3268 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3270 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3272 2003-10-09 André Pönitz <poenitz@gmx.net>
3274 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3277 * BufferView_pimpl.C:
3278 * bufferview_funcs.C:
3289 * undo_funcs.C: adjust
3291 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3293 * text2.C (incrementItemDepth): new function, use a backtracking
3294 algorithm to discover the correct item depth.
3295 (resetEnumCounterIfNeeded): new function, use a backtracking
3296 algorithm to discover if counter reset is needed.
3297 (setCounter): use them. Simplify a bit. Add different labels for
3298 different item depths for itemize.
3300 * paragraph.C (Paragraph): remove initialization of enumdepth
3303 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3304 enumerate and itemize. Change the type of itemdepth to signed char.
3306 2003-10-08 André Pönitz <poenitz@gmx.net>
3308 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3313 * tabular.[Ch]: fix crash after 'row-insert'
3315 2003-10-08 Angus Leeming <leeming@lyx.org>
3317 Fix doxygen warnings.
3319 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3320 Remove CutAndPaste:: prefix from header file declaration.
3322 * LColor.h (fill): remove LColor:: prefix from declaration.
3324 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3325 use lyx::depth_type rather than Paragraph::depth_type so that
3326 header file and .C file match.
3328 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3330 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3331 * aspell.C: \file aspell_local.C -> \file aspell.C
3332 * gettext.C: \file gettext.C -> \file src/gettext.C
3333 * gettext.h: \file gettext.h -> \file src/gettext.h
3334 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3335 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3336 * text.C: \file text.C -> \file src/text.C
3338 * toc.C: move comment so that doxygen is not confused.
3340 2003-10-07 Angus Leeming <leeming@lyx.org>
3342 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3344 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3347 * aspell_local.h: add forgotten std::string's.
3349 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3356 * text3.C: The Box patch. Fancybox support, minipage, parbox
3358 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3364 * ParagraphParameters.h:
3374 * lyxtextclasslist.h:
3377 * paragraph_pimpl.C:
3378 * textcursor.h: add <string> and other small fixes to make Lars'
3379 std::string patch compile with STLport.
3381 2003-10-06 Angus Leeming <leeming@lyx.org>
3383 * LColor.h: Add missing #include <string>.
3385 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3387 * All most all file in all subdirs: Make <string> be the prefered
3388 way of getting to std::string, add using declarations.
3390 2003-10-06 André Pönitz <poenitz@gmx.net>
3392 * metricsinfo.C: initialize LyXFont before changing attribute.
3393 (fixes the 'math in \emph is upright' bug)
3395 2003-10-06 André Pönitz <poenitz@gmx.net>
3397 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3399 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3402 * paragraph_pimpl.C: Small fixes to build using STLport
3404 2003-10-02 André Pönitz <poenitz@gmx.net>
3407 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3409 2003-10-01 André Pönitz <poenitz@gmx.net>
3411 * factory.C: assert early
3413 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3415 * lyx_main.C: remove the global debug object
3417 * debug.h: adjust for new debugstream
3419 * debug.C: adjust for new debugstream and keep the global debug
3422 2003-09-22 Angus Leeming <leeming@lyx.org>
3424 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3425 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3426 an incomplete class LyXFont.
3428 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3430 * factory.C: bug fix in branches
3432 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3434 * lyxfunc.C (processKeySym): adjust
3436 (dispatch): change arg name from ev to func, adjust
3437 (sendDispatchMessage): ditto
3439 * lyx_main.C (defaultKeyBindings): adjust keybindings
3440 (deadKeyBindings): ditto
3442 * kbsequence.C (addkey): return a FuncRequest
3444 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3446 * kbmap.C (bind): take a FuncRequest as arg, adjust
3449 (defkey): change to take a FuncRequest as arg, adjust
3450 (findbinding): take a FuncRequest as arg, adjust.
3452 * funcrequest.h (operator=): added
3454 * funcrequest.C (FuncRequest): default kb_action changed from
3455 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3457 * buffer.C (dispatch): simplify
3458 (dispatch): adjust to take a FuncRequest as arg, adjust
3460 * boost.C (assertion_failed): change assertion message slightly
3462 * ToolbarBackend.C (read): simplify
3464 * MenuBackend.C (binding): adjust call to findbinding, add a
3465 message if no binding is found.
3467 (expandToc): correct by adding a empty FuncRequest
3469 * LyXAction.C: include <boost/assert.hpp>
3470 (isPseudoAction): delete function
3471 (LookupFunc): change name to...
3472 (lookupFunc): this. change return type to FuncRequest.
3473 (getActionName): take kb_action as arg, simplify
3474 (funcHasFlag): add an assert, simplify.
3476 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3478 * toc.C (action): return a FuncRequest, simplify
3480 * lyxfunc.C (processKeySym): adjust
3481 (getStatus): delete version that takes an int.
3483 (dispatch): delete version that takes action as int
3485 (sendDispatchMessage): simplify and adjust
3487 * funcrequest.C (getArg): take unsigned int as arg
3489 * ToolbarBackend.C (read): adjust
3490 (add): delete version that takes func as a string.
3491 (getIton): take a FuncRequest as arg
3493 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3496 * MenuBackend.C (MenuItem): add a new construct that only takes a
3497 Kind, simplify the constructor use for submenus.
3499 (expandLastfiles): adjust
3500 (expandDocuments): adjust
3501 (expandFormats): adjust
3502 (expandFloatListInsert): adjust
3503 (expandFloatInsert): adjust
3504 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3506 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3507 Remove class variables lyx_pseudo_map and lyx_arg_map
3509 * LyXAction.C (searchActionArg): delete function
3510 (getPseudoAction): delete function
3511 (retrieveActionArg): delete function
3512 (LookupFunc): make it return kb_action, simplify.
3513 (getActionName): simplify
3515 * factory.C (createInset): fix new bug
3517 2003-09-19 Angus Leeming <leeming@lyx.org>
3519 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3520 masterFilename_ parameter in the include inset.
3522 * factory.C (createInset): changes due to the changes to InsetInclude.
3524 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3526 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3528 2003-09-18 Angus Leeming <leeming@lyx.org>
3531 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3532 Inset::fillWithBibKeys.
3533 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3535 2003-09-18 Angus Leeming <leeming@lyx.org>
3537 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3539 (ctor): pass and store a 'Buffer const &'
3540 (buffer): new member function.
3542 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3543 '*this' to the LaTeXFeatures ctor.
3545 2003-09-18 Angus Leeming <leeming@lyx.org>
3551 * text.C: rename EnumLColor as LColor_color.
3553 2003-09-18 Angus Leeming <leeming@lyx.org>
3555 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3556 remove #include "insets/insetbase.h" from cursor.h.
3558 2003-09-18 Angus Leeming <leeming@lyx.org>
3560 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3561 InsetOld_code to remove #include "inset.h".
3563 * iterators.C: add #include "insets/inset.h"
3565 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3567 * BufferView.C: remove more locking stuff that apparently doesn't
3568 do anything sensible.
3570 2003-09-16 André Pönitz <poenitz@gmx.net>
3573 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3576 2003-09-16 Angus Leeming <leeming@lyx.org>
3578 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3580 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3583 * paragraph.h: remove #include "lyxfont.h". Forward declare
3586 2003-09-16 Angus Leeming <leeming@lyx.org>
3588 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3589 of support/textutils.h.
3590 (isWord): move the contents of support/textutils.h's IsWordChar here.
3596 * text2.C: add #include "paragraph.h".
3599 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3601 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3607 * LaTeX.C: use namespace alias for lyx::support::os
3609 2003-09-16 Angus Leeming <leeming@lyx.org>
3612 * bufferview_funcs.C:
3615 * paragraph_pimpl.C:
3617 * text.C: add #include "LColor.h".
3619 2003-09-16 Angus Leeming <leeming@lyx.org>
3621 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3622 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3624 Store the FontBits::color variable as an int rather than as an
3625 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3628 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3629 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3630 string calls together.
3632 * lyxrc.C: add #include "LColor.h".
3634 2003-09-15 Angus Leeming <leeming@lyx.org>
3636 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3639 2003-09-15 Angus Leeming <leeming@lyx.org>
3641 * LColor.h: add an EnumLColor wrapper for LColor::color.
3643 * lyxfont.[Ch] (color, setColor, realColor):
3644 * lyxtext.h, text.C (backgroundColor):
3645 pass EnumLColor args to/from the functions, rather than LColor::color
3649 * lyxtext.h: forward declare EnumLColor.
3651 * lyx_main.C: add #include "LColor.h".
3653 2003-09-15 Angus Leeming <leeming@lyx.org>
3655 * .cvsignore: add lyx-gtk.
3657 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3662 * ParagraphParameters.C
3666 * bufferview_funcs.C
3676 * vc-backend.C: remove usage of STRCONV
3678 2003-09-15 Angus Leeming <leeming@lyx.org>
3680 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3681 explicitly define the color passed to the painter.
3683 2003-09-15 Angus Leeming <leeming@lyx.org>
3685 * bufferparams.C (BufferParams): reorder member initializers to avoid
3688 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3690 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3691 * text.C (updateRowPositions): remove an unusual nop
3693 2003-09-12 André Pönitz <poenitz@gmx.net>
3695 * BufferView_pimpl.C:
3704 * Counters.[Ch]: finish the 'automatic counters' job
3706 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3708 * aspell.C: include <boost/assert.cpp> (compile fix)
3710 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3712 * boost.C (assertion_failed): use lyx::support::abort instead of
3715 2003-09-10 Angus Leeming <leeming@lyx.org>
3717 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3718 with their _fwd progeny.
3720 2003-09-09 Angus Leeming <leeming@lyx.org>
3722 134 files throughtout the source tree: replace 'using namespace abc;'
3723 directives with the appropriate 'using abc::xyz;' declarations.
3725 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3727 * boost.C (emergencyCleanup): moved here from LAssert.c
3728 (assertion_failed): new function, called by BOOST_ASSERT
3730 * several files: change Assert to BOOST_ASSERT
3732 2003-09-09 Angus Leeming <leeming@lyx.org>
3734 * buffer.[Ch]: Add an Impl class and move Buffer's member
3735 variables into it. As a result move several header files out of
3738 Add header files to lots of .C files all over the tree as a result.
3740 2003-09-09 Angus Leeming <leeming@lyx.org>
3742 * buffer.[Ch]: make Buffer's member variables private. Add
3745 Lots of changes all over the tree as a result.
3747 2003-09-08 Angus Leeming <leeming@lyx.org>
3749 * graph.C: #include <config.h>.
3751 2003-09-08 Angus Leeming <leeming@lyx.org>
3755 * BufferView_pimpl.C:
3784 * toc.C: remove redundant using directives.
3786 2003-09-07 Angus Leeming <leeming@lyx.org>
3788 * LaTeXFeatures.h: remove #include "support/types.h".
3789 * ToolbarBackend.h: remove #include <algorithm>.
3790 * changes.h: remove #include <ctime>.
3791 * debug.h: remove #include <iosfwd>.
3792 * graph.h: remove #include "support/std_string.h".
3793 * lyx_main.h: remove #include <csignal>.
3794 * lyxlex_pimpl.h: remove #include <fstream>.
3795 * sgml.h: remove #include <algorithm>, <utility>.
3796 * toc.h: remove #include "support/std_ostream.h".
3797 Add #include <iosfwd>.
3799 2003-09-07 Angus Leeming <leeming@lyx.org>
3801 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3803 * converter.h: forward declare LatexRunParams.
3804 * encoding.h: remove #include "lyxrc.h".
3805 * lyxtext.h: remove #include "LColor.h".
3806 * lyxtextclass.h: remove #include "support/types.h".
3807 * trans.h: remove #include "tex-accent.h".
3808 * trans_mgr.h: remove #include "tex-accent.h".
3809 * insets/inset.h: remove #include "support/types.h", <vector>.
3810 * insets/insetcollapsable.h: remove #include "LColor.h".
3811 * insets/insetinclude.h: remove #include "dimension.h".
3812 * insets/insetlatexaccent.h: remove #include "dimension.h".
3813 * insets/insetoptarg.h:: remove #include "insettext.h".
3814 * insets/insettext.h: remove #include "dimension.h",
3815 <boost/shared_ptr.hpp>
3817 * insets/renderers.h: add #include "dimension.h".
3818 * insets/updatableinset.h: add #include "support/types.h".
3820 * many .C files: Associated changes.
3822 2003-09-06 Angus Leeming <leeming@lyx.org>
3824 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3825 one, inside testInvariant.
3827 * PrinterParams.C: new file.
3828 * PrinterParams.[Ch]: move the function bodies out of line.
3830 2003-09-06 Angus Leeming <leeming@lyx.org>
3832 * ParagraphParameters.h: forward declare ParameterStruct rather than
3833 including its header file.
3834 (depth): moved out-of-line.
3836 2003-09-06 Angus Leeming <leeming@lyx.org>
3838 * BufferView_pimpl.h:
3841 * lyxfunc.h: forward declare LyXKeySym rather than
3842 #include "frontends/LyXKeySym.h".
3844 * BufferView_pimpl.C:
3847 * lyxfunc.C: associated changes.
3849 2003-09-06 Angus Leeming <leeming@lyx.org>
3851 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3852 As a result, can remove the #include "insets/inset.h" from BufferView.h
3854 2003-09-06 Angus Leeming <leeming@lyx.org>
3856 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3857 As a result, can remove the #include "insets/inset.h" from BufferView.h
3859 2003-09-06 Angus Leeming <leeming@lyx.org>
3865 * bufferview_funcs.C:
3866 * BufferView_pimpl.C:
3871 * ParagraphParameters.C:
3876 * frontends/controllers/ControlDocument.C:
3877 * insets/insetcaption.C: rearrange the #includes into some sort of
3880 * buffer.h: remove #includes ErrorList.h, undo.h
3882 2003-09-06 Angus Leeming <leeming@lyx.org>
3884 * support/types.h: add a 'depth_type' typedef, used to store the
3885 nesting depth of a paragraph.
3888 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3889 defining explicitly.
3892 * paragraph_funcs.h:
3893 * ParagraphParameters.h:
3894 * sgml.h: use lyx::depth_type rather than Paragraph or
3895 ParameterStruct's depth_type.
3898 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3901 * BufferView_pimpl.C:
3903 * ParagraphParameters.C:
3906 * bufferview_funcs.C:
3913 * frontends/LyXView.C:
3914 * frontends/controllers/ControlDocument.C:
3915 * frontends/controllers/ControlErrorList.C:
3916 * insets/insetbibitem.C:
3917 * insets/insetbranch.C:
3918 * insets/insetcaption.C:
3919 * insets/insetcollapsable.C:
3920 * insets/insetenv.C:
3921 * insets/insetert.C:
3922 * insets/insetfloat.C:
3923 * insets/insetfoot.C:
3924 * insets/insetfootlike.C:
3925 * insets/insetnewline.C:
3926 * insets/insetquotes.C:
3927 * insets/insettabular.C:
3928 * insets/insettext.C:
3929 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3931 * frontends/controllers/ControlChanges.C: #include "changes.h".
3933 2003-09-06 Angus Leeming <leeming@lyx.org>
3935 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3936 than #including paragraph.h.
3939 * RowList.h: deleted. Superfluous.
3949 * insets/insettext.h: use ParagraphList_fwd.h rather than
3952 * paragraph.h: don't forward declare ParagraphList.
3955 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3956 rather than ParagraphList.h. paragraph.h is still needed for the
3957 Paragraph::depth_type parameters.
3959 * textcursor.h: enable it to compile stand-alone in light of the
3962 * bufferview_funcs.C:
3974 * frontends/controllers/ControlParagraph.C:
3975 * frontends/controllers/ControlTabular.C:
3976 * insets/insetmarginal.C:
3977 * insets/insetminipage.C:
3978 * insets/insetnote.C:
3979 * insets/insetoptarg.C: add header files needed to compile again.
3981 2003-09-06 Angus Leeming <leeming@lyx.org>
3983 * RowList_fwd.h: new file, forward-declaring Row rather than
3984 #including lyxrow.h.
3989 * insets/insettext.h: use it instead of RowList.h
3991 * bufferview_funcs.C:
3998 * text3.C: #include "RowList.h".
4000 2003-09-05 Angus Leeming <leeming@lyx.org>
4002 * factory.C (createInset):
4003 * vspace.C (c-tor): replace sscanf call with an istringstream.
4004 * ispell.C: re-add missing HP/UX headers.
4005 * lyxserver.C: re-add missing os2 headers.
4007 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4016 * text3.C: re-add missing system headers, needed for 2.95.2.
4018 2003-09-05 Angus Leeming <leeming@lyx.org>
4020 Changes most place everywhere due to the removal of using directives
4021 from support/std_sstream.h.
4023 2003-09-05 Angus Leeming <leeming@lyx.org>
4025 Replace LString.h with support/std_string.h,
4026 Lsstream.h with support/std_sstream.h,
4027 support/LIstream.h with support/std_istream.h,
4028 support/LOstream.h with support/std_ostream.h.
4030 Changes resulting throughout the tree.
4032 2003-09-05 Angus Leeming <leeming@lyx.org>
4034 * sgml.h: ensure that the header file can be compiled stand-alone.
4035 * *.C: strip out redundant #includes. (320 in total.)
4037 2003-09-04 Angus Leeming <leeming@lyx.org>
4039 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4040 here (from getPackages).
4042 * debug.[Ch]: add a new EXTERNAL tag.
4044 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4046 * text2.C (cursorEnd): simplify
4048 (getColumnNearX): adjust
4050 * text.C (computeBidiTables): adjust
4053 * rowpainter.C (paintChars): adjust
4054 (paintSelection): adjust
4055 (paintChangeBar): adjust
4058 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4060 (numberOfSeparators): adjust
4062 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4068 * text3.C: Restricts the mouse click functionality
4069 of insets like bibtex, include, toc and floatlist to the visible
4070 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4071 up the dialogs. Cursor has to be in front of the inset (i.e.
4072 start of row) for this to function.
4074 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4076 * bufferview_funcs.C (currentState): output row information
4078 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4080 * bufferview_funcs.C (currentState): output paragraph position
4082 2003-09-04 Angus Leeming <leeming@lyx.org>
4084 * FloatList.h: move out #include "Floating.h".
4085 * LaTeX.h: move out #include "DepTable.h".
4086 * LyXAction.h: move out #include "funcrequest.h".
4087 * buffer.h: move out #include "author.h", "iterators.h".
4088 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4089 * lyx_main.h: move out #include "errorlist.h".
4090 * lyxfunc.h: move out #include "FuncStatus.h".
4091 * lyxtext: move out #include "lyxcursor.h".
4092 * paragraph_pimpl.h: move out #include "counters.h".
4094 2003-09-03 Angus Leeming <leeming@lyx.org>
4096 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4097 preamble_snippets list, enabling us to add snippets to the preamble
4098 only if the snippet was not there already.
4100 2003-09-04 Angus Leeming <leeming@lyx.org>
4102 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4104 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4106 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4109 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4111 * BranchList.C: point fix, earlier forgotten
4113 2003-09-02 Angus Leeming <leeming@lyx.org>
4115 * box.C (contains): renamed from 'contained' after a fantastic
4118 2003-09-02 John Levon <levon@movementarian.org>
4124 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4126 2003-09-02 John Levon <levon@movementarian.org>
4128 * text2.C: simplification of cursorEnd(), including partial
4131 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * buffer.C (readFile): add a space
4135 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4137 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4139 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4141 * buffer.C (readFile): new function, take a filename and a
4142 ParagraphList::iterator
4144 (readFile): adjust, make it private. don't use setStream, make
4145 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4146 always contain the filename.
4148 * BufferView.C (insertLyXFile): simplify and make it work for
4151 2003-08-30 John Levon <levon@movementarian.org>
4153 * Makefile.am: fix dist (from Kayvan)
4155 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * most files: change to use const Buffer refs
4159 2003-08-27 André Pönitz <poenitz@gmx.net>
4161 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4162 on top of ownerPar().
4164 2003-08-27 John Levon <levon@movementarian.org>
4166 * funcrequest.C: properly initialise POD members
4168 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4170 * lyxtext.h (top_y): move top_y from here
4175 * BufferView_pimpl.[Ch]: to here
4176 * frontends/screen.C:
4177 * insets/insettabular.C:
4178 * insets/insettext.C: adjust
4179 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4181 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4184 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4186 2003-08-26 André Pönitz <poenitz@gmx.net>
4188 * paragraph_func.[Ch] (outerPar): new function
4191 * paragraph_funcs.C:
4192 * paragraph_funcs.h:
4193 * paragraph_pimpl.C:
4194 * text2.C: remove Inset::par_owner
4196 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4201 * text2.C: eliminates the needFullRow/display() stuff
4202 altogether, putting the logic in metrics/draw in the insets.
4204 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4206 * text2.C (redoParagraphInternal, redoParagraphs):
4207 * text.C (redoParagraph): add a call to updateRowPositions at the
4208 end of each 'metrics-like' call. Remove all others.
4209 (getRow): remove the 'y-computing' version.
4210 (getRowNearY): do not compute nor return the real y. Solve the
4211 'y < 0' problem and simplify.
4213 2003-08-22 Angus Leeming <leeming@lyx.org>
4215 * *.[Ch]: clean-up of licence and author blurbs.
4216 Also move config.h out of a few .h files and into a few .C files.
4218 2003-08-22 André Pönitz <poenitz@gmx.net>
4220 * lyxrow.[Ch]: add x_ and *fill_ members
4225 * text2.C: adjust/remove prepareToPrint() calls
4227 2003-08-22 André Pönitz <poenitz@gmx.net>
4229 * lyxrow.[Ch]: add end_ member
4231 * lyxrow_funcs.C: use LyXRow::end_
4233 * lyxtext.h (singleWidth): add LyXFont parameter
4236 * text2.C: adjust LyXText::singleWidth() calls
4238 * text.C (redoParagraph): simplify row breaking logic
4241 2003-08-19 André Pönitz <poenitz@gmx.net>
4243 * funcrequest.C: initialize button_ member
4246 * rowpainter.[Ch]: interface consolidation
4248 2003-08-18 André Pönitz <poenitz@gmx.net>
4251 * BufferView_pimpl.C:
4253 * paragraph_funcs.C:
4255 * text3.C: remove LyXScreen::draw() and fitCursor calls
4257 * BranchList.h: remove spurious semicolons
4259 * MenuBackend.C: fix branchlist related crash
4261 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4269 * bufferparams.[Ch]:
4273 * text3.C: implements the 'branch inset'
4274 idea. This allows the output of various versions of a document
4275 from a single source version, selectively outputing or suppressing
4276 output of parts of the text.
4277 This implementation contains a 'branch list editor' in a separate
4278 tab of the document settings dialog. Branches are user definable
4279 and have a "display colour" to distinguish them on-screen.
4281 ColorHandler was somewhat cleaned up.
4282 (1) make possible a dynamically growing LColor list by allowing
4283 the graphic context cache to grow along (vector);
4284 (2) eliminate an IMHO unnecessary step in colour allocation.
4286 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4288 * BufferView_pimpl.C: compile fix
4290 2003-08-15 André Pönitz <poenitz@gmx.net>
4292 * rowpainter.C: remove extra metrics calls
4294 * lyxtext.h: merge the two constructors into a single one,
4295 pass reference to owner's par list
4297 * BufferView_pimpl.C:
4301 2003-08-15 André Pönitz <poenitz@gmx.net>
4303 * lyxrow_funcs.[Ch]:
4306 * paragraph_funcs.C:
4311 * text_funcs.C: split LyXText::rowlist_ into individual
4312 Paragraph::rows_ chunks
4315 * BufferView_pimpl.[Ch]:
4318 * text3.C: remove toggleSelection()
4320 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4322 * bufferlist.C: beautify two alerts (shorter text of buttons)
4323 * buffer.C: Remove redundant ' ' from message
4325 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4326 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4327 rename VALIGN_CENTER to VALIGN_MIDDLE
4329 2003-08-11 André Pönitz <poenitz@gmx.net>
4331 * lyxtext.h (getPar):
4332 * text.C: new function
4334 2003-08-11 André Pönitz <poenitz@gmx.net>
4337 * tracer.[Ch]: remove unneeded files
4339 * InsetList.[Ch]: remove resizeInsetsLyXText()
4344 * text3.C: merge insertParagraphs() and appendParagraph()
4345 remove breakAgain(), update()
4347 * BufferView_pimpl.[Ch]:
4348 * bufferview_funcs.[Ch]:
4352 * tabular.C: adjust after text & InsetList changes.
4354 2003-08-08 André Pönitz <poenitz@gmx.net>
4356 * text.C (insertChar, backspace): replace rowlist fiddling
4357 with rebreak of full par
4360 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4361 checkParagraph, updateInset): removed
4363 2003-08-07 André Pönitz <poenitz@gmx.net>
4366 * text3.C: merge some LFUN handlers, remove dead code
4368 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4370 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4372 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4374 * text2.C (DEPM): fix part of bug 1255 and 1256
4376 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4378 * BufferView_pimpl.C (workAreaDispatch): change to use
4379 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4380 that are no mouse related.
4382 2003-08-05 André Pönitz <poenitz@gmx.net>
4385 * BufferView_pimpl.[Ch]:
4386 * bufferview_funcs.C:
4388 * text3.C: rip out "deep update"
4390 * textcursor.[Ch] (last_sel_cursor): remove unused member
4392 2003-08-04 André Pönitz <poenitz@gmx.net>
4395 * BufferView_pimpl.[Ch]:
4396 * ParagraphParameters.C:
4397 * bufferview_funcs.C:
4403 * text3.C: replace "complicated" BufferView::update(...) calls with
4406 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4408 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4410 * Makefile.am (lyx_SOURCES): add paper.h
4412 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4414 * Makefile.am: move things around so that both lyx-qt and
4415 lyx-xforms can be built (according to --with-frontend). Then lyx
4416 is a symbolic link to lyx-[firstfrontend]
4418 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4420 * Always use std::endl with lyxerr
4422 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4424 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4426 2003-08-01 André Pönitz <poenitz@gmx.net>
4429 * BufferView_pimpl.[Ch]:
4431 * text3.C: merge BufferView::repaint() and BufferView::update()
4433 2003-08-01 José Matos <jamatos@lyx.org>
4435 * buffer.[Ch]: file_format is no longer a buffer data element.
4437 2003-08-01 André Pönitz <poenitz@gmx.net>
4442 * text2.C: make redoParagraph more independent of current cursor
4444 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4446 * text2.C: remove unneeded members
4448 2003-07-30 André Pönitz <poenitz@gmx.net>
4450 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4452 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4453 create a single function...
4455 * paragraph_funcs.C (moveItem): ... here.
4458 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4460 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4462 * LColor.[Ch]: Add comment and greyedout logical colors.
4464 2003-07-30 André Pönitz <poenitz@gmx.net>
4466 * tabular.C: don't use Assert too heavily. This crashes where it
4469 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4471 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4472 is disabled (bug 1232)
4474 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4476 * factory.C: limited 'arg' scope
4478 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4480 * factory.C: fixed Note submenu issues
4482 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4484 * factory.C: submenu for Note/Comment/Greyedout
4486 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4489 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4491 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4494 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4495 greyedout. Patch provided by Jürgen Spitzmüller.
4497 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4499 * kbmap.C (read): fix error message when reading bind files
4501 2003-07-29 Angus Leeming <leeming@lyx.org>
4503 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4504 certainly does not do what it purports to do. I am doing it, and
4505 us, a favour by killing it.
4507 2003-07-28 José Matos <jamatos@lyx.org>
4509 * buffer.C (readBody, do_writeFile):
4510 * paragraph.C(readParagraph): \end_document replaces \the_end.
4512 2003-07-29 André Pönitz <poenitz@gmx.net>
4515 * BufferView_pimpl.[Ch]:
4519 * textcursor.[Ch]: remove toggleToggle & Co
4521 2003-07-28 José Matos <jamatos@fep.up.pt>
4523 * buffer.C (readParagraph):
4524 * params_func (readParToken, readParagraph):
4525 * paragraph.C (write): \layout -> \begin_layout.
4527 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4529 * lyxlex_pimpl.C (setFile): clean up slightly.
4531 * bufferparams.h: add compressed var
4533 * buffer_funcs.C (readFile): adjust for LyXLex change
4534 (newFile): ditto + simplify
4536 * buffer.C (writeFile): handle writing of compressed files
4538 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4539 Check if the file is compressed and set a bufferparm if so.
4541 * Makefile.am (lyx_LDADD): remove explicit -lz
4543 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4545 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4546 makeDocBookFile): put the real LyX version in the first line of
4550 * version.C.in: remove lyx_docversion
4552 * tabular.C (write_attribute): add a template-based version to
4553 write enums properly
4555 2003-07-28 André Pönitz <poenitz@gmx.net>
4560 * text3.C: use doubles again for x-coordinates. They are needed.
4562 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4564 * messages.C (getLocaleDir): use lyx_localedir()
4566 * lyxlex_pimpl.C (setFile): compress stuff
4568 * buffer.C (writeFile): add some compression stuff
4569 (do_writeFile): new func, dont call expliti close... will this
4572 * Makefile.am (lyx_LDADD): add -lz
4574 2003-07-28 José Matos <jamatos@fep.up.pt>
4576 * buffer.C: increment file format.
4577 * paragraph_funcs (readParagraph, readParToken):
4578 * paragraph.C (readParagraph): add \end_layout.
4580 2003-07-27 Angus Leeming <leeming@lyx.org>
4582 * Makefile.am: remove special casing for configure-time setting of
4583 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4585 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4586 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4588 2003-07-26 André Pönitz <poenitz@gmx.net>
4590 * paragraph_func.[Ch]:
4591 * paragraph.C (realizeFont): inline it whereever it is used
4596 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4599 2003-07-26 André Pönitz <poenitz@gmx.net>
4603 * text2.C: get rid of LyXText::need_break_row
4605 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4607 * toc.[Ch]: put namespace toc inside namespace lyx
4609 * MenuBackend.C (expandToc2): adjust for lyx::toc
4612 * lyxfunc.C (dispatch): adjust for lyx::find
4614 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4615 lyx::find instead. Reorganize a bit.
4616 (LyXReplace): rename to replace
4617 (LyXFind): rename to find
4619 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4622 2003-07-26 André Pönitz <poenitz@gmx.net>
4624 * text.C (setHeightOfRow): restrict scope of temporary variable
4626 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4627 code (never has been used?)
4629 2003-07-27 Asger Alstrup <alstrup@local>
4631 * text.C (fill): Optimise algorithm to exploit that we can reuse
4632 the LyXFont for many characters.
4633 (setHeightOfRow): Same thing.
4634 (rowBreakPoint): Same thing.
4636 2003-07-26 Asger Alstrup <alstrup@local>
4638 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4640 * text.C (singleWidth): Spurious font copying in hot-spot
4641 singleWidth avoided. Reorder tests for arabic for efficiency.
4643 * text.C (fill): handle empty paragraphs better.
4645 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4648 * encoding.h: add includes
4650 * lyxrc.C: remove reading of bind files
4652 * lyx_main.C (init): setup bindings and menus only if we have a
4655 * kbmap.C (read): new method. Do the actual reading of bind
4658 * converter.C (dvipdfm_options):
4661 (output): adapt PAPER_* enums.
4663 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4665 * bufferparams.h: remove paper-related enums from there
4667 * paper.h: New file. A trivial header file to hold paper-related
4668 enums. It should later expand to contain many paper-related
4671 * lyxrc.C: declare extern displayTranslator
4673 2003-07-27 José Matos <jamatos@fep.up.pt>
4675 * tabular.[Ch] (linuxdoc): add support for tables and figures
4678 2003-07-27 José Matos <jamatos@fep.up.pt>
4680 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4681 consistency in both functions.
4682 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4684 2003-07-26 Asger Alstrup <alstrup@local>
4686 * rowpainter.C (paintRows): Change algorithm to work directly on
4687 the insets rather than asking every character in the document
4688 whether its an inset.
4690 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4692 * buffer.C (openFileWrite): factorize some code
4694 2003-07-26 Angus Leeming <leeming@lyx.org>
4697 * lyx_main.[Ch]: replace occurances of system_tempdir with
4700 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4702 * rename Inset to InsetOld
4704 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4706 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4707 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4708 which I think is a bit clearer. EDIT is gone, since it was
4709 premature optimisation, and broken for mathed anyway.
4710 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4711 with cursor positioning in insets as well (math insets still do not
4712 work, but that's a different story anyway.) It mysteriously
4713 crashes sometimes with undo in the first paragraph, but I'm fairly
4714 confident that this is a compiler bug.
4716 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4718 * paragraph.C (Paragraph): adjust for new clone return type
4720 (copyIntoMinibuffer): ditto
4722 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4724 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4725 by not having a special case, and always doing a full rebreak of
4726 the document after undo.
4728 2003-07-23 Angus Leeming <leeming@lyx.org>
4730 * factory.C (createInset): InsetExternal::setParams now takes a
4733 2003-07-23 Angus Leeming <leeming@lyx.org>
4735 * factory.C (createInset): changed interface to the external and
4736 graphics mailers' string2params functions.
4738 2003-07-23 Angus Leeming <leeming@lyx.org>
4740 * factory.C (createInset): pass a
4741 Buffer const * parameter to InsetExternalMailer's string2params.
4743 2003-07-22 John Levon <levon@movementarian.org>
4745 * Thesaurus.h: include the right aiksaurus header
4747 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4749 * MenuBackend.C (expand): check menu shortcuts unconditionally
4751 2003-07-21 Angus Leeming <leeming@lyx.org>
4753 * factory.C (createInset): pass a
4754 buffer_path parameter to InsetGraphicsMailer's string2params.
4756 2003-07-21 Angus Leeming <leeming@lyx.org>
4758 * BufferView_pimpl.C (buffer):
4761 * lyxfunc.C (dispatch):
4762 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4763 rather than the grfx shortcut.
4765 2003-07-21 André Pönitz <poenitz@gmx.net>
4767 * rowpainter.C: remove unused variables
4770 * tabular_funcs.h: move to tabular.C
4771 * Makefile.am: adjust
4773 * tabular.[Ch]: basic optical cleaning
4775 * author.h: pass references, not values
4777 2003-07-18 André Pönitz <poenitz@gmx.net>
4785 * text3.C: two-phase drawing for InsetText and InsetTabular
4786 some float -> int changes.
4788 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4790 * lyx_main.C: fix the fix
4792 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4794 * lyx_main.C: fix a crash in batch mode if no files specified
4797 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4799 * format.[Ch] (papersize): moved to BufferParams
4800 * converter.[Ch] (dvips_options): moved to BufferParams
4801 (dvipdfm_options): moved to anon namespace
4802 * bufferparams.[Ch]: added above functions.
4804 2003-07-17 André Pönitz <poenitz@gmx.net>
4808 * text2.C: don't call inset->update() anymore
4810 * metricsinfo.[Ch]: add convenience constructor
4812 2003-07-16 André Pönitz <poenitz@gmx.net>
4817 * text2.C: replace the LyXCursor::irow_ member with
4818 on-demand computation of the value
4820 2003-07-16 John Levon <levon@movementarian.org>
4822 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4824 2003-07-15 André Pönitz <poenitz@gmx.net>
4827 * text2.C: remove no more needed refresh_row
4829 2003-07-15 André Pönitz <poenitz@gmx.net>
4834 * text3.C: refresh_status tristate -> need_update bool
4836 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4838 * lyxtext.h (init): remove reinit argument (act as if always true)
4839 * text2.C: adjust to that
4841 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4843 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4844 * text3.C: use it to delete selections in some cases
4845 (bugs 441, 673, 702, 954).
4847 2003-07-14 André Pönitz <poenitz@gmx.net>
4849 * rowpainter.[Ch]: reduce interface
4851 2003-07-14 André Pönitz <poenitz@gmx.net>
4853 * BufferView_pimpl.C:
4854 * text2.C: adjust after removing unused BufferView * argument
4856 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4858 * text2.C (init): fix a crash fired on resize
4860 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4862 * buffer.[Ch]: added new closing signal
4863 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4864 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4865 BufferView::Pimpl via the closing the signal
4867 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4869 * buffer.[Ch]: take out all bv-related from buffer
4871 * BufferView_pimpl.[Ch]: connect to new signals
4872 * CutAndPaste.C: removed useless asserts
4873 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4876 * lyxfunc.C: moved view-related funciontality from vc here
4877 * paragraph.C: removed outdated comments
4880 2003-07-10 André Pönitz <poenitz@gmx.net>
4882 * BufferView_pimpl.C:
4886 * text2.C: remove InsetText::InnerCache, clean up consequences
4888 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4890 * ispell.C: fix two typos in error messages
4892 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4894 * Extend Note inset to other forms of annotation like Comment
4895 and Greyedout. Right button click gives dialog.
4897 Files modified or added (+):
4901 * ControlNote.[Ch] +
4903 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4904 frontends/controllers
4908 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4910 * aspell.C: add missing namespace lyx::support
4912 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4914 * BufferView.[Ch] (newFile): Add
4915 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4916 * LaTeX.[Ch] (message): added this signal and use it
4917 * buffer.[Ch] (busy, message): added these signals and use them
4918 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4922 * importer.C: use buffer signals instead of direct bv calling
4923 * lyx_cb.[Ch] (ShowMessage): removed
4926 * paragraph_funcs.C:
4927 * text2.C: use buffer signals
4929 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4931 * introduce namespace lyx::graphics
4933 2003-07-02 André Pönitz <poenitz@gmx.net>
4935 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4937 2003-07-01 André Pönitz <poenitz@gmx.net>
4944 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4945 text*.C to text_func.C
4947 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * introduce namespace lyx::support
4951 2003-06-30 André Pönitz <poenitz@gmx.net>
4956 * text.C: re-enable --with-included-string
4958 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4960 * textcursor.C: add <config.h>
4962 * text.C (getWord): remove const from word_location arg
4964 * lyxvc.C (getLogFile): fix const type order
4966 * lyxtext.h: remove const from word_location arg, add arg name
4968 * lyxlayout.h: currect type on labeltype.
4970 * importer.C: correct \file
4972 * converter.C (intToFormat): use std:: on ret val, ws changes
4974 * bufferlist.h: correct \file
4976 * buffer.C (makeLinuxDocFile): fix const type order
4977 (makeDocBookFile): ditto
4978 (fillWithBibKeys): use std:: on stdlib args.
4980 * CutAndPaste.C: fix authors.
4981 (availableSelections): use std:: on return vector
4983 2003-06-27 André Pönitz <poenitz@gmx.net>
4985 * BufferView_pimpl.C:
4986 * bufferview_funcs.C:
4994 * text3.C: remove LyXCursor::row_ member
4997 * text.C: rename fullRebreak() to partialRebreak() and implement
4998 a fullRebreak() that really bereks fully
5000 * textcursor.h: new struct for cursor-related data
5002 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5004 * lyx_main.C (LyX): get full path of document loaded on the
5007 2003-06-26 André Pönitz <poenitz@gmx.net>
5009 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5010 remove unused/broken operator>,<,>=.
5012 * text.C: remove only use of broken operator<= in an Assert().
5014 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5016 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5017 moved errorlist_.clear to showErrorList
5019 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5021 * converter.C (scanLog, runLaTeX):
5022 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5023 move the bv->showErrorList call to the callers
5024 * lyxfunc.C: i.e. here...
5026 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5027 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5028 namespace, the second to...
5029 * buffer_funcs (BufferFormat, parseErrors): added
5030 * errorlist.C (ErrorList(TeXErrors const &)): removed
5032 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5034 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5036 2003-06-24 "Garst R. Reese" <reese@isn.net>
5040 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5042 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5044 * version.C.in: change docversion to 1.4
5046 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5048 * buffer.C: fix a bug just introduced
5050 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5052 * buffer.[Ch]: added the parseError signal and use it, removed
5054 * BufferView.[Ch] (addError): moved to ...
5055 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5056 to the Buffer::parseError signal to catch (guess what) parse errors
5057 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5059 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5061 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5062 ability to create a buffer and to return an existing one from
5063 the list. Moved these functions to...
5064 * buffer_funcs.[Ch]: added
5065 * BufferView.[Ch] (loadLyXFile): added
5066 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5067 job removed from bufferlist::loadLyXFile.
5068 * buffer.C (setReadOnly): make it work without view
5069 (i.e added an if (users))
5071 2003-06-19 Angus Leeming <leeming@lyx.org>
5074 * LyXAction.C (init):
5075 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5076 with LFUN_DIALOG_SHOW <name> <data>.
5078 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5080 * CutAndPaste.C (availableSelections): small compilation fix for
5081 ancient (gcc 2.9x) compilers
5083 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5085 * text3.C (cursorNext): add tmp var
5087 * text2.C (updateCounters): for function calling out of for clause
5088 (replaceSelectionWithString): ditto
5089 (insertStringAsParagraphs): ditto
5090 (getColumnNearX): add tmp var
5091 (setCursorFromCoordinates): add tmp var
5092 (cursorDownParagraph): add tmp var
5093 (deleteEmptyParagraphMechanism): add tmp var
5095 * text.C (insertChar): add tmp var
5097 * rowpainter.C (paintDepthBar): add tmp var
5099 * CutAndPaste.C (availableSelections): potentially check all
5100 paragraphs in a cut to fill the shown strings.
5102 2003-06-18 André Pönitz <poenitz@gmx.net>
5104 * kbmap.[Ch]: use vector<> instead of list<>
5106 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5108 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5109 pasteSelection with index
5111 * text2.C (pasteSelection): modify, call pasteSelection with index
5113 * paragraph.C (asString): reimplement version with no interval to
5114 call the one with interval.
5116 * lyxtext.h: add index arg to pasteSelection
5118 * MenuBackend.C (MenuItem): handle PasteRecent
5119 (Menu::read::Menutags): add md_pasterecent
5121 (expandPasteRecent): new function
5124 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5126 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5128 (availableSelections): new function
5130 2003-06-17 Angus Leeming <leeming@lyx.org>
5132 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5134 2003-06-17 Angus Leeming <leeming@lyx.org>
5137 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5139 * lyxfunc.C (dispatch): invoke it.
5141 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5143 * iterators.C (operator++, ParPosition): reintroduce some
5144 const_cast for the benefit of older compilers.
5146 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5148 * text3.C (dispatch): do not modify clipboard when doing
5149 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5150 LFUN_DELETE_SKIP on a selection selection
5152 2003-06-16 André Pönitz <poenitz@gmx.net>
5158 * tabular.[Ch]: IU of clone() and getLabelList();
5160 2003-06-13 André Pönitz <poenitz@gmx.net>
5162 * tabular.h: compactification
5164 2003-06-12 André Pönitz <poenitz@gmx.net>
5168 * tabular_funcs.h: some renaming plus whitespace
5170 2003-06-12 André Pönitz <poenitz@gmx.net>
5173 * BufferView_pimpl.C:
5179 * toc.C: Return a Paragraph & for ParIterator::operator*()
5181 2003-06-11 John Levon <levon@movementarian.org>
5185 * ToolbarBackend.C: add "Toolbars" section and
5188 2003-06-10 Angus Leeming <leeming@lyx.org>
5191 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5193 * lyxfunc.C (dispatch): invoke it.
5195 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5197 * main.C: protect <ios> with HAVE_IOS
5198 (main): protect sync_with_stdio with HAVE_IOS
5200 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5202 * text2.C (cutSelection): adjust
5203 (pasteSelection): adjust
5205 * messages.C: handle get of empty string
5207 * main.C (main): use sync_with_stdio(false)
5209 * lyxfunc.C (dispatch): adjust
5211 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5212 (WriteAs): remove unneeded BufferView arg.
5214 * bufferparams.h: use correct types on papersize, papersize2 and
5217 * bufferparams.C (readToken): adjust for type
5218 (writeLaTeX): add missing cases to switch.
5220 * bufferlist.C (quitWriteBuffer): adjust
5223 * buffer.C (asciiParagraph): remove some commented code.
5225 * CutAndPaste.C: remove current_view extern variable.
5226 (cutSelection): add BufferParams arg.
5227 (eraseSelection): add BufferParams arg.
5228 (pasteSelection): add Buffer const & arg
5230 2003-06-07 John Levon <levon@movementarian.org>
5233 * paragraph_funcs.C:
5234 * paragraph_pimpl.C:
5238 * paragraph.C: allow InsetERT to freely space lines,
5239 and some consolidation of code
5241 2003-06-06 José Matos <jamatos@fep.up.pt>
5243 * buffer.C (makeDocBookFile): fix bug #821
5245 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5247 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5249 2003-06-04 Angus Leeming <leeming@lyx.org>
5251 * buffer.C: bump format to 224.
5253 2003-06-05 André Pönitz <poenitz@gmx.net>
5255 * text2.C (redoParagraphs): remove two const_cast<>
5257 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5259 * ParagraphList.h: remove last remnants of NO_STD_LIST
5261 2003-06-03 Angus Leeming <leeming@lyx.org>
5263 * factory.C (createInset): small change to the way InsetExternal's params
5266 2003-06-04 André Pönitz <poenitz@gmx.net>
5268 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5270 * paragraph_pimpl.h:
5271 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5273 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5275 * undo_funcs.C: make some simple cases of undo work again
5277 2003-06-03 John Levon <levon@movementarian.org>
5279 * ispell.C: HPUX doesn't have sys/select.h
5282 2003-06-03 John Levon <levon@movementarian.org>
5284 * CutAndPaste.C: update tabular and include inset
5289 * paragraph.C: remove owningBuffer(), don't pass Buffer
5292 * factory.C: insetGraphicsParams changed
5294 2003-06-02 John Levon <levon@movementarian.org>
5300 * text3.C: remove insetparent
5302 2003-06-02 John Levon <levon@movementarian.org>
5305 * buffer.C: fix inset_iterator.end(), move out of line
5308 2003-06-01 John Levon <levon@movementarian.org>
5310 * text3.C: use a proper cut/paste when doing inset
5311 insert (from Jürgen Spitzmüller)
5313 2003-06-01 John Levon <levon@movementarian.org>
5315 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5317 2003-05-30 André Pönitz <poenitz@gmx.net>
5319 * rowpainter.C: unify second drawing phase
5321 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5323 * trans_mgr.C: remove one case of current_view
5325 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5327 * paragraph_funcs.h: remove paragraph.h include
5329 * paragraph.h: delete NO_STD_LIST stuff
5331 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5333 * buffer.h: remove paragraph.h include
5335 * ParagraphList.C: delete file
5337 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5339 * toc.C (getTocList): adjust
5341 * paragraph_pimpl.C (validate): adjust
5343 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5345 * paragraph.C (Paragraph): adjust
5346 (getPositionOfInset): use const_iterator, adjust
5347 (bibitem): use const_iterator, adjust
5348 (setInsetOwner): adjust
5350 * iterators.C (operator++): adjust
5352 * InsetList.[Ch]: Replace selfmade iterator with standard
5353 vector::iterator also introduce const_iterator. Remove getPos,
5354 getInset and setInset from InsetTable. Adjust accordingly.
5356 * BufferView.C (lockInset): adjust
5357 (ChangeInsets): adjust
5359 * tabular.[Ch]: delete commented same_id functions
5361 2003-05-28 John Levon <levon@movementarian.org>
5363 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5365 2003-05-28 André Pönitz <poenitz@gmx.net>
5367 * metricsinfo.[Ch]: remove 'fullredraw' member
5369 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5371 * lyxtextclass.C (operator): remove caching.
5373 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5377 * text2.C (cursorBottom): adjust
5378 (setCounter): use ParagraphList::find, adjust
5380 * text.C (workWidth): use ParagraphList::find, adjust
5382 * lyxcursor.C (LyXCursor): adjust
5384 * buffer.C (inset_iterator): adjust
5386 * ParagraphList.h: make iterator(value_type) private, make
5387 ParagraphList a friend of iterator.
5389 * ParagraphList.C (find): new function
5391 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5393 2003-05-27 André Pönitz <poenitz@gmx.net>
5395 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5397 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5399 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5401 2003-05-26 John Levon <levon@movementarian.org>
5403 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5405 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5407 * remove same_id from function signatures, adjust.
5409 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5411 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5413 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5415 * paragraph.C (Paragraph): get rid of same_ids parameter
5417 * ParagraphList.C (insert): adjust
5420 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5422 * paragraph_funcs.C (breakParagraph): adjust
5423 (breakParagraphConservative): adjust
5425 * buffer.C (readParagraph): adjust
5427 * ParagraphList.C (insert): take a reference instead of a pointer
5430 * paragraph.[Ch] (id): new function
5432 * bufferlist.C (newFile): adjust
5434 * ParagraphList.C (ParagraphList): adjust
5436 (push_back): take a reference instead of a pointer.
5438 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5440 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5443 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5444 set else use old code.
5446 * ParagraphList.C: remove all NO_NEXT code and only compile this
5447 code of NO_STD_LIST is set.
5449 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5451 * BufferView_pimpl.C:
5461 * graphics/GraphicsConverter.C:
5462 * graphics/PreviewLoader.C: header adjustment
5464 2003-05-23 Angus Leeming <leeming@lyx.org>
5466 * LaTeXFeatures.[Ch] (useBabel): new method.
5467 * bufferparams.C (writeLaTeX): use it.
5469 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5471 * ParagraphList.h (set): remove unused function.
5473 2003-05-23 André Pönitz <poenitz@gmx.net>
5476 * BufferView_pimpl.C:
5480 * undo_funcs.C: setUndo reworked
5482 * iterators.[Ch]: add access to topmost ParagraphList
5484 * lyxtext.[Ch] (workWidth): add a const
5486 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5488 * texrow.[Ch] (increasePos): remove function
5489 * exporter.C (export): removed unused var and outdated comment
5491 2003-05-23 Angus Leeming <leeming@lyx.org>
5493 * latexrunparams.h: rename fragile as moving_arg.
5494 * paragraph.C (simpleTeXOnePar): ditto.
5495 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5497 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5499 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5501 (textUndoOrRedo): comment out a currently unused var.
5503 * paragraph.h (NO_NEXT): enable NO_NEXT
5505 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5507 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5509 * exporter.C (Export): adjust for removeAutoInsets removal.
5511 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5513 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5515 * BufferView.[Ch] (removeAutoInsets): delete function
5517 2003-05-22 Angus Leeming <leeming@lyx.org>
5519 * latexrunparams.h: add a free_spacing variable.
5521 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5522 to pass moving_arg, as the data is stored in runparams.fragile.
5524 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5525 to Inset::latexOptional or to simpleTeXOnePar.
5527 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5528 free_spacing arg to Inset::latexOptional.
5530 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5533 2003-05-22 Angus Leeming <leeming@lyx.org>
5535 * latexrunparams.h: add fragile and use_babel variables.
5537 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5538 * buffer.C (makeLaTeXFile): store this returned value in
5539 runparams.use_babel, thus passing it to the inset::latex methods.
5541 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5542 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5544 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5545 longer has a fragile arg, as it is stored in runparams.fragile.
5547 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5548 moving_arg parameter as the data is stored in runparams.fragile.
5550 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5551 a fragile parameter as the data is stored in runparams.fragile.
5553 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5555 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5557 2003-05-22 Angus Leeming <leeming@lyx.org>
5559 * latexrunparams.h: add a 'bool nice' which defaults to false.
5561 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5562 now encapsulated within runparams.
5564 * bufferlist.C (updateIncludedTeXfiles):
5565 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5567 2003-05-22 Angus Leeming <leeming@lyx.org>
5569 * latexrunparams.h: new file containing struct LatexRunParams.
5570 * Makefile.am: add new file.
5572 * LaTeX.[Ch] (c-tor, run):
5573 * buffer.[Ch] (makeLaTeXFile):
5574 * bufferlist.[Ch] (updateIncludedTeXfiles):
5575 * converter.C (convert, scanLog):
5576 * converter.[Ch] (runLaTeX):
5577 * exporter.C (Export):
5578 * paragraph.[Ch] (simpleTeXOnePar):
5579 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5580 * paragraph_funcs.[Ch] (latexParagraphs):
5581 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5582 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5583 pass around a LatexRunParams parameter.
5585 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5587 * paragraph.[Ch]: remove unused constructor
5589 * ParagraphList.C (erase): new function, taking two iterators
5591 2003-05-22 André Pönitz <poenitz@gmx.net>
5593 * undo_funcs.C: remove duplicated code
5595 * iterator.[Ch]: operator=
5597 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5599 * tabular.C (SetMultiColumn): ws changes
5601 * rowpainter.C (paintFirst): get rid of a ->previous
5603 * lyx_cb.C (getPossibleLabel): parlist simplification
5605 * BufferView.C (ChangeInsets): simplify slightly.
5607 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5609 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5610 * lfuns.h: new LFUN_SPACE
5611 * lyxfunc.C: protected space has a new lfun
5612 * paragraph_funcs.C: read new space insets
5614 * factory.C: handle new space insets
5616 2003-05-22 André Pönitz <poenitz@gmx.net>
5619 * BufferView_pimpl.C:
5622 * undo_funcs.C: return a ParIterator from getParFromID.
5624 * iterators.[Ch]: add two const's
5626 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5628 * toc.C (getTocList): adjust
5630 * iterators.[Ch]: rework for parlist
5632 * buffer.C (par_iterator_begin): adjust
5633 (par_iterator_end): adjust
5635 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5637 * BufferView.C (removeAutoInsets): adjust
5638 (ChangeInsets): adjust
5640 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5642 * text.C (top_y): fix bug 1110
5644 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5646 * errorlist.[Ch]: added
5649 * BufferView_pimpl.C:
5650 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5653 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5655 * Makefile.am: ensure that lyx is relinked upon changes to the
5656 various "convenience" libs.
5658 2003-05-20 Angus Leeming <leeming@lyx.org>
5660 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5661 files are compiled in alphabetical order again.
5663 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5665 2003-05-19 Angus Leeming <leeming@lyx.org>
5667 * gettext.[Ch]: remove "char const * _(char const *)".
5669 2003-05-19 André Pönitz <poenitz@gmx.net>
5671 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5680 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5682 2003-05-19 André Pönitz <poenitz@gmx.net>
5686 * lyxtextclass.[Ch]:
5688 * paragraph_funcs.[Ch]:
5690 * text3.C: more insetenv work
5692 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5694 * ParagraphParameters.C (params2string): small bug fixed
5696 2003-05-16 André Pönitz <poenitz@gmx.net>
5699 * bufferview_funcs.C: patch from Kornel Benko to prevent
5700 crash when _(...) is called twice in a statement
5702 2003-05-16 André Pönitz <poenitz@gmx.net>
5709 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5711 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5713 * lyx_main.C (init): remove spurious static_cast
5715 2003-05-14 André Pönitz <poenitz@gmx.net>
5717 * BufferView.C: fix format string
5719 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5721 * BufferView.[Ch] (insertErrors): removed
5722 * BufferView.[Ch] (showErrorList): added
5723 * buffer.C (runChkTeX):
5724 * converter.C (scanLog): call showErrorList instead of inserterrors
5726 2003-05-13 André Pönitz <poenitz@gmx.net>
5728 * BufferView_pimpl.C:
5730 * bufferview_func.C:
5737 * tabular_funcs.h: tostr() from its own header
5739 * ParagraphParameters.C:
5744 * text3.C: STRCONV()
5746 2003-05-12 André Pönitz <poenitz@gmx.net>
5749 * BufferView_pimpl.C:
5753 * ParagraphParameters.C:
5757 * bufferview_funcs.C:
5770 * paragraph_funcs.C:
5774 * text3.C: boost::format -> bformat all over the place
5777 2003-05-09 André Pönitz <poenitz@gmx.net>
5779 * LColor.[Ch]: Pimpl the #include <map> away
5781 2003-05-09 John Levon <levon@movementarian.org>
5783 * bufferlist.C: never remove emergency saves
5785 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5787 * Makefile.am: better lib building
5789 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5791 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5793 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5794 (simpleTeXSpecialChars): adjust
5795 (simpleTeXSpecialChars): adjust
5796 * paragraph.C (simpleTeXOnePar): adjust
5797 * buffer.C (makeLaTeXFile): adjust
5799 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5801 * text2.C (changeDepth): parlist cleanup
5802 (getColumnNearX): ditto
5804 * rowpainter.C (getLabelFont): parlist cleanup
5806 * bufferlist.C (newFile): parlist cleanup
5808 * CutAndPaste.C (eraseSelection): parlist cleanup
5810 * BufferView_pimpl.C (trackChanges): parlist cleanup
5813 * BufferView.C (lockInset): parlist cleanup.
5814 (ChangeInsets): ditto
5816 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5818 * CutAndPaste.h: Update file header.
5820 * CutAndPaste.C: Update file header.
5821 Store the parts cut out of the Document in a limited_stack.
5822 (copySelection): adjust
5823 (pasteSelection): new function, takes the index in the limited stack.
5824 (nrOfParagraphs): adjust
5825 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5826 simplify error inset insertion.
5827 (checkPastePossible): adjust
5829 2003-05-06 John Levon <levon@movementarian.org>
5831 * text2.C: don't cast wrap inset to float
5833 2003-05-05 André Pönitz <poenitz@gmx.net>
5836 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5838 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5839 few naked Paragraph *.
5841 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5843 * bufferparams.C: Output warning if a document with missing
5844 TeX document class is loaded
5845 * exporter.C: Disable TeX exports if the document class is missing
5848 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5849 isTeXClassAvailable()
5851 2003-05-03 John Levon <levon@movementarian.org>
5854 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5855 explicit cursor show/hide
5857 * BufferView_pimpl.h:
5858 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5859 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5861 * lyxfunc.C: hide cursor before dispatching.
5866 * text3.C: remove explicit cursor hides
5868 2003-05-02 André Pönitz <poenitz@gmx.net>
5870 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5873 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5876 * text2.C: tiny whitespace
5878 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5880 * undo_funcs.C: almost only ws changes.
5882 * ParagraphList.C (splice): just return if pl is empty.
5884 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5886 * ParagraphList.C (splice): new function.
5888 * CutAndPaste.C (pasteSelection): use it
5890 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5892 * CutAndPaste.C (pasteSelection): remove the last next and
5893 previous from this file.
5895 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5897 * CutAndPaste.C (pasteSelection): more clean up, user proper
5898 ParagraphList functions for pasteing.
5900 * ParagraphList.C (insert): new function, three arg insert
5902 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5904 * ParagraphList.C (insert): new function, three arg insert
5906 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5909 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5911 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5913 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5915 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5917 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5919 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5920 (copySelection): clean up a bit.
5921 (pasteSelection): use make_pair
5923 * ParagraphList.C (ParagraphList): implement copy constructor
5924 (operator=): implement, base on copy constructor.
5927 * paragraph.C (erase): return a bool
5929 * paragraph_pimpl.C (erasePos): remove function, move contents...
5930 (erase): ... here. Return a bool.
5931 (erase): call erase instead of erasePos.
5933 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5935 * ParagraphList.h: define PitPosPair
5936 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5937 ParagraphList, fix a bug on pasting multiple pars
5938 * text2.C: change interface to C&P
5940 2003-04-30 André Pönitz <poenitz@gmx.net>
5942 * undo_func.C: revert part of yesterday's patch 2
5944 2003-04-30 John Levon <levon@movementarian.org>
5946 * LColor.C: s/tabular/table/
5948 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5950 * text3.C (dispatch): do not convert iterator -> pointer
5951 * undo_funcs.C (setCursorParUndo): ditto
5952 * text_funcs.C (transposeChars): ditto
5954 * text2.C (setLayout): ws changes only
5956 * text.C (breakParagraph): do not convert iterator -> pointer
5958 (acceptChange): ditto
5959 (rejectChange): ditto
5964 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5967 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5969 * text3.C (gotoInset): YABG (yet another bad getChar)
5971 2003-04-29 André Pönitz <poenitz@gmx.net>
5973 * paragraph.h: make operator= private unimplemented as long as
5976 * ParagraphList.C: whitespace
5979 * paragraph_pimpl.[Ch]:
5980 * paragraph_funcs.C:
5982 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5985 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5987 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5989 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5990 * paragraph.[Ch] (erase):
5991 * paragraph_pimpl.[Ch] (erase): change return type and value
5992 * text2.C (cutSelection): some rework
5994 2003-04-28 John Levon <levon@movementarian.org>
5996 * bufferlist.C: changes for unsaved changes dialog
5998 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6000 * bufferlist.C (newFile): set language (messages_) for new
6003 * buffer.C (readFile): ws changes only.
6005 2003-04-28 André Pönitz <poenitz@gmx.net>
6010 * BufferView_pimpl.C:
6011 * BufferView.C: getParFromID related ParagraphList::iterator changes
6013 2003-04-28 André Pönitz <poenitz@gmx.net>
6015 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6018 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6020 * messages.C: remove one more localedir class variable.
6022 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6024 * messages.C (getLocaleDir): singleton generation function
6026 (Messages): add a default constructor.
6028 * main.C (main): do not setup localedir here, do not call
6031 * gettext.C (_): use it.
6032 (gettext_init): delete funciton
6034 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6036 * gettext.C (getLyXMessages): new singleton generating function.
6038 * buffer.C (updateDocLang): adjust
6040 * Makefile.am (messages.o): add target
6041 (main.o): remove target
6043 2003-04-27 John Levon <levon@movementarian.org>
6048 * lyxvc.C: specify cancel button in Alert::prompt
6050 2003-04-26 John Levon <levon@movementarian.org>
6055 * LyXAction.C: add LFUN_INSET_SETTINGS
6057 * lyxfunc.C: don't enable tabular-feature when there's
6058 just any locking inset
6060 2003-04-26 John Levon <levon@movementarian.org>
6062 * bufferlist.C: re-add Cancel to buffer close question
6064 * lyxfunc.C: fix import UI a bit
6066 2003-04-25 John Levon <levon@movementarian.org>
6068 * gettext.C: remove the broken asserts for now
6070 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6072 * messages.C: make case where setlocale cannot comply work better.
6074 * buffer.C (updateDocLang): new function
6075 (changeLanguage): use it
6078 * text2.C (setCounter): use B_ a bit.
6080 * lyxlayout.C (Read): be sure to trim the label strings.
6082 * messages.C (Messages): fix typo in comment
6084 * buffer.C (readFile): set message_ after file is loaded.
6085 (makeDocBookFile): remove double return
6086 (changeLanguage): reset message_ upon language change.
6087 (B_): new func, use this to get translated buffer strings.
6089 * main.C: add myself and Jean Marc as authors.
6091 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6093 * messages.[hC]: pimplify Messages, and three different pimpls to be
6094 used in different circumstances.
6096 * gettext.[Ch]: change for use with new message code.
6098 2003-04-24 André Pönitz <poenitz@gmx.net>
6100 * factory.C: support for eqref
6102 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6104 * messages.[Ch]: add missing char
6106 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6108 * messages.[Ch]: New files
6110 2003-04-18 John Levon <levon@movementarian.org>
6114 * BufferView_pimpl.C:
6118 * text2.C: remove layout-copy/paste (bug 778)
6120 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6122 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6124 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6126 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6127 if they succeed. Act accordingly.
6129 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6131 * text2.C (setCharFont): adjust
6132 (setCounter): adjust
6133 (insertStringAsLines): adjust
6135 * text.C (leftMargin): adjust
6136 (setHeightOfRow): adjust
6138 * rowpainter.C (paintFirst): adjust
6141 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6143 (isFirstInSequence): ditto
6144 (getEndLabel): ditto
6147 * paragraph.C (getParLanguage): comment out some hard stuff.
6149 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6151 (simpleDocBookOnePar): ditto
6152 (makeDocBookFile): use ParagraphList::iterator
6154 * CutAndPaste.C (pasteSelection): adjust
6156 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6158 * text2.C (getFont): adjust
6159 (getLayoutFont): adjust
6160 (getLabelFont): adjust
6162 * paragraph_funcs.C (TeXOnePar): adjust
6164 * buffer.C (simpleLinuxDocOnePar): adjust
6165 (simpleDocBookOnePar): adjust
6167 * CutAndPaste.C (pasteSelection): adjust
6169 * BufferView.C (getEncoding): adjust
6171 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6173 2003-04-16 John Levon <levon@movementarian.org>
6175 * lyxfind.C: use parlist stuff for search/changes
6177 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6179 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6181 * text2.C (deleteEmptyParagraphMechanism): adjust
6183 * text2.[Ch] (ownerParagraph): delete func (both of them
6185 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6187 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6189 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6191 * ParagraphList.C: prepare for NO_NEXT
6193 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * text2.C (getFont): adjust
6196 (getLayoutFont): adjust
6197 (getLabelFont): adjust
6199 * paragraph.C (getFont): adjust
6200 (getLabelFont): adjust
6201 (getLayoutFont): adjust
6203 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6205 2003-04-15 John Levon <levon@movementarian.org>
6209 * lyx_main.C: handle Include in .ui files
6211 2003-04-15 John Levon <levon@movementarian.org>
6213 * MenuBackend.C: make the doc files length shorter
6216 * ToolbarBackend.C: handle toolbar placement flags,
6219 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6221 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6224 * paragraph_funcs.C (TeXOnePar): adjust
6226 * paragraph.C (getLabelFont): add outerfont arg, adjust
6227 (getLayoutFont): ditto
6228 (simpleTeXOnePar): adjust
6230 * paragraph_pimpl.C (realizeFont): delete func
6232 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6234 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6235 row argument, constify cur argument.
6237 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6239 * text2.C (getFont): adjust
6240 (getLayoutFont): adjust
6241 (getLabelFont): adjust
6243 * paragraph_funcs.C (TeXOnePar): adjust
6244 (outerFont): new func...
6245 (realizeFont): ...moved out from here, changed this to facilitate
6248 * paragraph.C (getFont): take outerfont as arg, adjust
6249 (simpleTeXOnePar): add outerfont arg, adjust
6251 * buffer.C (simpleLinuxDocOnePar): adjust
6252 (simpleDocBookOnePar): adjust
6254 * CutAndPaste.C (pasteSelection): adjust
6256 * BufferView.C (getEncoding): adjust
6258 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6260 * text2.C (setCharFont): adjust
6261 (setCounter): adjust
6263 * text.C (leftMargin): adjust
6264 (setHeightOfRow): adjust
6266 * rowpainter.C (paintFirst): adjust
6269 * paragraph_pimpl.C (realizeFont): adjust
6271 * paragraph.C (isFirstInSequence): move from here...
6272 * paragraph_funcs.C (isFirstInSequence): ...to here
6274 * paragraph.C (outerHook): move from here...
6275 * paragraph_funcs.C (outerHook): ...to here
6277 * paragraph.C (depthHook): move from here...
6278 * paragraph_funcs.C (depthHook): ...to here
6280 * paragraph.C (getEndLabel): move from here...
6281 * paragraph_funcs.C (getEndLabel): ...to here
6283 * text2.C (realizeFont): move from here...
6284 * paragraph_funcs.C (realizeFont): ...to here
6286 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6288 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6290 2003-04-14 Angus Leeming <leeming@lyx.org>
6292 * LColor.[Ch]: scrap LColor mathcursor.
6294 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6296 * lyxlex.[Ch] (text): delete function
6297 * trans.C (Load): adjust
6298 * paragraph_funcs.C (readParToken): adjust
6300 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6302 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6303 vector<char> instead of a char[].
6305 * lyxlex_pimpl.C (getString): adjust
6307 (lex): use getString
6311 * lyxlex.C (text): use pimpl_->getString()
6315 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6317 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6318 (makeFontEntriesLayoutSpecific): temp var for par.size()
6319 (setLayout): temp var for ownerParagraphs().end()
6320 (fullRebreak): temp var for rows().end()
6321 (selectionAsString): temp var for boost::next(startpit), realize
6322 that the while really is a regular for loop.
6323 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6324 setCursor in one place.
6325 (setParagraph): temp vr for ownerParagraphs().end()
6326 (updateCounters): make the while loop a for loop
6327 (cutSelection): temp var for ownerParagraphs().end()
6328 (updateInset): make the do {} while() a regular for loop
6329 (getCursorX): use temp vars
6330 (setCurrentFont): use temp vars
6331 (getColumnNearX): use temp vars
6333 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6335 * text.C (transformChar): use temp var for getChar
6336 (computeBidiTables): use temp var for row->par()
6337 (fill): move temp vars for row->par() and pit->layout() earlier in
6339 (labelFill): use temp var for row->par()
6340 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6341 asc and desc, realize that pit never changes and that firstpit is
6342 just a duplicate and not needed. Exchange rit->par() with pit in a
6344 (breakAgain): use a temp var for boost::next(rit)
6345 (breakAgainOneRow): ditto
6346 (breakParagraph): use a temp var for rows().begin()
6347 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6348 (cursorRightOneWord): use temp var for cursor.par() and
6349 cursor.pos(), remove usage of tmpcursor.
6350 (cursorLeftOneWord): use temp var for cursor.par() and
6351 cursor.pos() only set cur at end of function.
6353 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6355 * text.C, text2.C: exchange all usage of Paragraph::next with
6356 boost::next(ParagraphList::iterator)
6358 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6360 * text2.C (cursorTop): simplify implementation
6361 (cursorBottom): ditto
6362 (setParagraph): use ParagraphList::iterator
6363 (setCurrentFont): adjust
6364 (getColumnNearX): adjust
6365 (cursorRight): adjust
6366 (cursorLeft): remove usage of Paragraph::previous
6367 (cursorUpParagraph): ditto
6368 (deleteEmptyParagraphMechanism): slight cleanup
6370 * text.C (isBoundary): take a Paragraph const & instead of a
6372 (addressBreakPoint): ditto
6373 (leftMargin): remove usage of Paragraph::previous.
6374 (setHeightOfRow): ditto
6375 (cursorLeftOneWord): ditto
6376 (selectNextWordToSpellcheck): ditto
6379 (breakParagraph): remove one usage of Paragraph::next
6380 (redoParagraph): ditto
6381 (acceptChange): ditto
6382 (insertChar): adjust
6383 (rowBreakPoint): adjust
6385 * bufferview_funcs.C (toggleAndShow): adjust
6387 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6389 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6390 methods to access it.
6392 * text.C: Added updateRowPositions to compute all row positions.
6393 Make top_y and getRowNearY() to use the cached y position
6395 2003-04-11 John Levon <levon@movementarian.org>
6397 * text.C (rowBreakPoint): reintroduce the labelEnd
6398 checks, code copied from the row fill stuff. Deep voodoo.
6400 * text.C (fill): add a comment and debugging for the
6403 2003-04-11 John Levon <levon@movementarian.org>
6405 * text.C: make sure fullrow insets get wrapped to the next line,
6406 even when they're in a manual label
6408 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6410 * text2.C (insertParagraph): make it take ParagraphList::iterator
6412 (setLayout): make it return ParagraphList::iterator
6413 (redoParagraphs): ditto
6415 (checkParagraph): ditto
6417 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6419 * text2.C: adjust several funcs.
6420 (realizeFont): take a ParagraphList::iterator as arg.
6421 (getLayoutFont): ditto
6422 (getLabelFont): ditto
6423 (setCharFont): ditto
6425 * text.C: adjust several funcs.
6427 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6429 * text.C (selectNextWordToSpellcheck): don't accidentally
6432 2003-04-10 John Levon <levon@movementarian.org>
6434 * ToolbarBackend.C (getIcon): special handling for
6437 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6439 * text2.C (cursorRight): a getChar assert fixed
6441 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6443 * text2.C (getFont): change to take a ParagraphList::iterator
6444 instead of Paragraph*
6445 Adjust several functions.
6447 * text.C (transformChar): change to take a ParagraphList::iterator
6448 instead of Paragraph*
6449 (singleWidth): ditto
6450 Adjust several functions.
6452 * rowpainter.C: adjust several functions
6453 * rowpainter.h:store a ParagraphList::iterator and not a
6457 2003-04-09 John Levon <levon@movementarian.org>
6462 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6463 and the "help" bits as well
6465 2003-04-09 John Levon <levon@movementarian.org>
6468 * ToolbarBackend.C: allow multiple toolbars
6470 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6472 * undo_funcs.C (setCursorParUndo): adjust
6474 * text_funcs.C (transposeChars): adjust
6476 * text3.C (gotoNextInset): adjust
6479 * text2.C (setLayout): adjust
6480 (changeDepth): adjust
6482 (redoParagraphs): adjust
6483 (selectionAsString): adjust
6484 (setParagraph): adjust
6485 (insertInset): adjust
6486 (cutSelection): adjust
6487 (copySelection): adjust
6488 (pasteSelection): adjust
6489 (insertStringAsLines): adjust
6490 (updateInset): adjust
6491 (setCursor): change to take a ParagraphList::iterator parameter
6492 (setCursorIntern): change to take a ParagraphList::iterator parameter
6493 (setCurrentFont): adjust
6494 (cursorLeft): adjust
6495 (cursorRight): adjust
6496 (deleteEmptyParagraphMechanism): adjust
6498 * text.C (breakParagraph): adjust
6499 (insertChar): adjust
6500 (acceptChange): adjust
6501 (rejectChange): adjust
6502 (selectNextWordToSpellcheck): adjust
6503 (changeCase): adjust
6507 * lyxfind.C (SearchForward): adjust
6508 (SearchBackward): adjust
6509 (nextChange): adjust
6511 * lyxcursor.C (par): adjust
6513 * lyxcursor.h: store a ParagraphList::iterator instead of a
6516 * lyx_cb.C (getPossibleLabel): adjust
6518 * bufferview_funcs.C (toggleAndShow): adjust
6520 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6523 * BufferView.C (removeAutoInsets): adjust
6524 (lockedInsetStoreUndo): adjust
6526 2003-04-09 John Levon <levon@movementarian.org>
6528 * ToolbarBackend.C: try icon without argument
6529 if with argument fails
6531 2003-04-08 John Levon <levon@movementarian.org>
6534 * ToolbarBackend.C: add getIcon(), handle tooltip,
6535 and change from "Icon" to "Item".
6537 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6539 * BufferView.C (lockInset): another bad getchar crunched
6541 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6543 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6546 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6548 * lyxfind.C (searchForward, searchBackwards): bug 782
6550 2003-04-07 John Levon <levon@movementarian.org>
6552 * paragraph.C: remove dead comment
6554 * text.C: remove troublesome depth-fiddling code
6555 in leftMargin() and rightMargin() (bug 1017)
6557 * text.C: fix breaking of rows in nested lists
6560 * text2.C (updateCounters): fix up depth values
6563 2003-04-07 John Levon <levon@movementarian.org>
6565 * BufferView_pimpl.C: clear message when doc finishes resizing,
6566 and after a mouse event
6568 * lyxfunc.C: clear message after exiting inset
6570 2003-04-07 John Levon <levon@movementarian.org>
6572 * bufferview_funcs.C: show math status not outside
6573 status in the statusbar
6575 2003-04-07 John Levon <levon@movementarian.org>
6577 * lyxfunc.C: note status changed after a depth change
6579 2003-04-04 Angus Leeming <leeming@lyx.org>
6581 * LaTeX.h: move AuxInfo operator==, != out of line.
6582 Remove LaTeX virtual destructor; nothing derives from it.
6583 Move operator()() out of public area and rename it startscript().
6584 Change protected for private.
6586 2003-04-04 Angus Leeming <leeming@lyx.org>
6589 * text2.C: remove unneeded #includes.
6591 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6593 * text2.C (dEPM): fix the heigth of the next row
6595 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6597 * text.C: squashed an invalid getChar requester + some ws changes
6599 2003-04-03 John Levon <levon@movementarian.org>
6601 * bufferview_funcs.h:
6602 * bufferview_funcs.C:
6605 * text2.C: make getStatus work for the env depth lfuns
6607 2003-04-03 John Levon <levon@movementarian.org>
6609 * bufferview_funcs.h:
6610 * bufferview_funcs.C:
6613 * text2.C: parlistize decDepth(), by merging it with incDepth()
6615 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6617 * lyxrow.h: store a ParagraphList::iterator instead of a
6618 Paragraph* and adjust other class functions to suit.
6620 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6623 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6625 * text2.C (setCursor): do not anchor to cursor row for the time being
6627 2003-04-02 John Levon <levon@movementarian.org>
6634 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6636 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6638 * paragraph.h: make ParagraphList and ParagraphList::iterator
6639 friends of Paragraph.
6641 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6643 * ParagraphList.C: Use the private next_ and previous_ from
6646 2003-04-01 John Levon <levon@movementarian.org>
6650 * Makefile.am: rename, remove defaults gunk
6653 * MenuBackend.C: remove defaults gunk
6656 * Languages.C: remove defaults gunk
6659 * lyx_main.C: error out if files couldn't be found.
6661 2003-04-02 John Levon <levon@movementarian.org>
6663 * text2.C: make incDepth() use parlist
6665 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6667 * undo_funcs.C (firstUndoParagraph): adjust
6669 * text3.C (gotoInset): adjust
6670 (dispatch): adjust, and rewrite loop.
6672 * text2.C (init): adjust, and rewrite loop.
6673 (redoParagraphs): adjust
6674 (updateInset): adjust, and rewrite loop.
6675 (deleteEmptyParagraphMechanism): adjust
6677 * tabular.C (LyXTabular): adjust
6678 (SetMultiColumn): adjust
6681 * lyxtext.[Ch] (ownerParagraph): delete function
6682 (ownerParagraphs): new function returns a ParagraphList.
6684 * BufferView.C (removeAutoInsets): adjust
6685 (insertErrors): adjust
6686 (setCursorFromRow): adjust
6688 2003-04-01 Angus Leeming <leeming@lyx.org>
6690 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6693 2003-04-02 John Levon <levon@movementarian.org>
6699 * text_funcs.C: make transposeChars a free function
6701 * lyxrow_funcs.C: remove wrong comment
6703 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6706 * rowpainter.C: adjust
6711 * lyxrow_funcs. [Ch]: new files
6713 * lyxrow.[Ch]: remove next and previous pointers
6714 (next,previous): remove accessor functions
6715 (isParEnd): move to lyxrow_funcs
6716 (lastPos): move to lyxrow_funcs
6717 (nextRowIsAllInset): move to lyxrow_funcs
6718 (lastPrintablePos): move to lyxrow_funcs
6719 (numberOfSeparators): move to lyxrow_funcs
6720 (numberOfHfills): move to lyxrow_funcs
6721 (numberOfLabelHfills): move to lyxrow_funcs
6722 (hfillExpansion): move to lyxrow_funcs
6726 * bufferview_funcs.C (toggleAndShow): adjust
6728 * RowList.h: Remove class RowList from file leave just a
6731 * RowList.C: delete file
6733 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6736 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6738 * text3.C (cursorPrevious): adjust
6739 (cursorNext): adjust
6742 * text2.C (redoHeightOfParagraph): adjust
6743 (redoDrawingOfParagraph): adjust
6746 * text.C (breakParagraph): adjust
6747 (insertChar): adjust
6750 * rowpainter.C (RowPainter): adjust
6751 (leftMargin): simplify and adjust
6752 (most rowpainter functions): adjust.
6754 * rowpainter.h: store the row as RowList::iterator not as Row*
6756 * lyxcursor.C (row): taka RowList::iterator as arg
6759 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6762 2003-04-01 Angus Leeming <leeming@lyx.org>
6764 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6765 stuff like bool Bool.
6767 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6769 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6772 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6774 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6777 * lyxtext.h (rows): drop one version and leve a const variant that
6778 returns a RowList::iterator.
6780 2003-03-31 Angus Leeming <leeming@lyx.org>
6782 * text.C (fill): ensure that the signature is the same as that in the
6785 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6787 * text2.C (redoParagraphs): adjust
6788 (updateCounters): adjust
6789 (checkParagraph): adjust
6790 (getColumnNearX): adjust and reformat a bit.
6792 * text.C (top_y): adjust
6794 (leftMargin): adjust
6795 (prepareToPrint): adjust
6797 (getRowNearY): adjust
6799 * lyxtext.h: make rowlist_ mutable.
6801 * RowList.h: add const_iterator
6802 * RowList.C: adjust for RowList::const_iterator.
6804 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6807 2003-03-31 John Levon <levon@movementarian.org>
6810 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6812 * lyx_main.C: set default fonts from using lyx_gui funcs
6814 * exporter.C: pdf_mode moved from lyxrc
6817 * lyxfunc.C: changes from above
6819 2003-03-31 John Levon <levon@movementarian.org>
6821 * lyx_main.C: fix to the last fix
6823 2003-03-31 John Levon <levon@movementarian.org>
6825 * bufferlist.C: "Load original" -> "Load Original"
6831 * format.C: more Alert cleanups
6833 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6835 * text2.C (removeParagraph): make it take a RowList::iterator as
6837 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6838 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6840 * text.C (anchor_row): make it take a RowList::iterator as arg,
6842 (computeBidiTables): make it take a const reference to Row instead
6843 of Row pointer, adjust.
6844 (leftMargin): make it take a RowList::iterator as arg, adjust.
6845 (rowBreakPoint): adjust
6846 (breakAgainOneRow): make it take a RowList::iterator as arg,
6848 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6850 * bufferview_funcs.C (toggleAndShow): adjust
6852 2003-03-30 John Levon <levon@movementarian.org>
6856 * boost-inst.C: moved to support
6858 * several files: changes as a result
6860 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6862 * text2.C (LyXText): adjust.
6864 (removeRow): make it take a RowList::iterator as arg, adjust.
6865 (fullRebreak): adjust
6866 (deleteEmptyParagraphMechanism): adjust
6867 (clearPaint): adjust
6870 * text.C (top_y): adjust
6871 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6872 (breakAgain): make it take a RowList::iterator as arg, adjust.
6873 (breakParagraph): adjust
6874 (insertChar): adjust
6877 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6878 need_break_row, and refresh_row.
6880 * text3.C (dispatch): adjust
6882 * text2.C (checkParagraph): adjust
6884 (setCursorFromCoordinates): adjust
6886 * text.C (top_y): adjust
6888 (getRow): make it return a RowList::iterator, adjust
6889 (getRowNearY): make it return a RowList::iterator, adjust
6891 * text2.C (init): adjust
6892 (insertRow): remove function
6893 (insertParagraph): adjust
6894 (redoParagraphs): adjust
6895 (fullRebreak): adjust
6896 (updateCounters): adjust
6898 * text.C (top_y): rewrite to use RowList iterators.
6900 (setHeightOfRow): rewrite to sue RowList iterators.
6901 (appendParagraph): adjust
6902 (breakAgain): adjust
6903 (breakAgainOneRow): adjust
6904 (breakParagraph): adjust
6906 (getRowNearY): adjust, and remove commented code.
6908 * lyxtext.h (firstRow): delete function
6909 (lastRow): delete function
6910 (rows): new function (const and non-const versions.)
6911 (insertRow): delete function
6913 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6915 2003-03-29 John Levon <levon@movementarian.org>
6917 * BufferView_pimpl.C: always update scrollbar top
6918 because pasting text when we're anchored could mean we
6919 miss an update altogether
6921 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6923 * text2.C (init): use rowlist_.end() and not 0.
6924 (insertRow): change to take a RowList::iterator as arg, adjust
6926 (insertParagraph): change to take a RowList::iterator as arg,
6928 (redoParagraphs): remove some debug msgs.
6930 * text.C (appendParagraph): change to take a RowList::iterator
6931 arg, adjust for this.
6932 (breakAgain): add an assert
6933 (breakAgainOneRow): ditto
6935 2003-03-29 John Levon <levon@movementarian.org>
6937 * text2.C: do not clear selection after inc/decDepth
6940 2003-03-29 John Levon <levon@movementarian.org>
6943 * buffer.C: fix broken strerrors according to Lars
6945 2003-03-29 John Levon <levon@movementarian.org>
6947 * converters.C: more Alert cleanups
6949 2003-03-29 John Levon <levon@movementarian.org>
6951 * bufferview_funcs.C: remove pointless Alert
6953 * buffer.C: fix confusing error message when
6954 a template is chmoded 000
6956 2003-03-29 John Levon <levon@movementarian.org>
6960 * BufferView_pimpl.C: Alert fixes
6964 * tabular-old.C: remove unused table compat reading
6966 2003-03-29 John Levon <levon@movementarian.org>
6971 * lyx_cb.C: more Alert cleanups
6973 * lyxfunc.C: don't allow chktex if not latex document
6975 2003-03-29 John Levon <levon@movementarian.org>
6979 * buffer.C: warnings pushed down from support/,
6982 2003-03-29 John Levon <levon@movementarian.org>
6984 * lyxfunc.C: safety check for C-r (revert)
6986 2003-03-29 John Levon <levon@movementarian.org>
6989 * bufferlist.C: several UI fixes using Alert::prompt.
6990 Fix the pointless looping quit code. Fix stupid revert
6995 * lyx_cb.C: use Alert::prompt
6997 * lyx_main.C: remove a silly question
6999 * lyxfunc.C: remove a couple of silly questions,
7002 2003-03-28 John Levon <levon@movementarian.org>
7004 * text2.C: fix bug 974 (End on empty par)
7006 2003-03-28 John Levon <levon@movementarian.org>
7008 * BufferView_pimpl.C:
7010 * lfuns.h: remove do-nothing math greek lfuns
7012 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7014 * lyxgluelength.h (isValidGlueLength): add default arg on
7015 parameter 2. Remove default arg from friend in class.
7017 * lyxlength.h (isValidLength): add default arg on parameter 2.
7018 Remove default arg from friend in class.
7020 * text2.C (LyXText): adjust, initialize refresh_row.
7024 (insertParagraph): adjst
7025 (redoParagraphs): adjust
7026 (fullRebreak): adjust
7027 (updateCounters): adjust
7028 (deleteEmptyParagraphMechanism): first attempt at fixing a
7031 * text.C (top_y): adjust
7032 (setHeightOfRow): adjust
7034 (getRowNearY): adjust
7036 * lyxtext.h: include RowList.h
7037 (~LyXText): not needed anymore, deleted.
7038 (firstRow): modify for RowList
7039 (lastRow): new function
7040 Delete firstrow and lastrow class variables, add a Rowlist
7041 rowlist_ class variable.
7043 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7046 * RowList.C (insert): fix case where it == begin().
7048 2003-03-26 Angus Leeming <leeming@lyx.org>
7050 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7051 the thesaurus dialog.
7053 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7055 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7057 * RowList.[Ch]: new files
7059 * ParagraphList.C (erase): handle the case where it == begin
7062 2003-03-25 John Levon <levon@movementarian.org>
7066 * aspell.C: add new aspell support
7069 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7072 2003-03-25 Angus Leeming <leeming@lyx.org>
7075 * LyXAction.C (init): new LFUN_INSET_INSERT.
7077 * BufferView_pimpl.C (dispatch): split out part of the
7078 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7080 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7083 2003-03-25 Angus Leeming <leeming@lyx.org>
7085 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7087 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7090 * text3.C: remove useless row->height(0)
7092 2003-03-25 John Levon <levon@movementarian.org>
7096 * text3.C: rename the refreshing stuff to better names
7098 2003-03-24 John Levon <levon@movementarian.org>
7100 * BufferView_pimpl.h:
7101 * BufferView_pimpl.C: update layout choice on a mouse
7104 2003-03-23 John Levon <levon@movementarian.org>
7106 * Makefile.am: fix commandtags.h reference
7108 2003-03-22 John Levon <levon@movementarian.org>
7110 * BufferView_pimpl.C:
7115 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7117 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7120 * text.C: take the rtl methods out of line
7122 2003-03-21 André Pönitz <poenitz@gmx.net>
7124 * metricsinfo.[Ch]: new files containing structures to be passed around
7125 during the two-phase-drawing...
7127 2003-03-21 André Pönitz <poenitz@gmx.net>
7129 * lyxtextclass.C: read 'environment' tag.
7131 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7133 * text2.C (removeRow): fix bug 964
7135 2003-03-20 John Levon <levon@movementarian.org>
7139 * text2.C: paint cleanups. Inset::update() dropped font
7142 2003-03-19 John Levon <levon@movementarian.org>
7144 * lyxfunc.C: only fitcursor/markDirty if available()
7146 2003-03-19 John Levon <levon@movementarian.org>
7148 * commandtags.h: rename to ...
7150 * lfuns.h: ... this, and renumber / cleanup
7152 2003-03-19 John Levon <levon@movementarian.org>
7154 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7155 fit the cursor after an lfun
7159 * BufferView_pimpl.h:
7160 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7162 * LyXAction.C: layout-character should have ReadOnly
7164 * ParagraphParameters.C:
7166 * bufferview_funcs.C:
7173 * undo_funcs.C: changes from above
7175 2003-03-18 John Levon <levon@movementarian.org>
7177 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7178 remove it from update()
7180 * lyxfunc.C: update layout choice after an lfun
7182 * text3.C: remove extra updateLayoutChoice()s
7184 2003-03-18 John Levon <levon@movementarian.org>
7186 * text.C: top_y change means full repaint, fix
7187 a drawing bug with cursor movement
7189 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7193 * text2.C: anchor row on setCursor
7195 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7197 * lyxtext.h: remove almost all mutable keywords
7200 * text3.C: remove const keywords accordingly
7202 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7204 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7206 (TeXEnvironment): ditto
7209 2003-03-17 John Levon <levon@movementarian.org>
7211 * text.C (rowBreakPoint): remove attempt to fix displayed
7212 math insets inside a manual label
7214 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7216 * lyxtext.h: remove BufferView* as first arg from almost all class
7218 * other files: adjust.
7220 2003-03-17 John Levon <levon@movementarian.org>
7224 * text2.C: more paint cleanups
7226 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7229 * rowpainter.C: remove "smart" background painting code
7231 2003-03-16 John Levon <levon@movementarian.org>
7236 * text3.C: add helper functions for setting refresh_row/y
7238 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7240 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7241 newline inset which *can* get inserted in the pass_thru layouts.
7242 This is primarily for literate documents.
7244 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7246 * buffer.C: increment LYX_FORMAT to 223
7248 2003-03-14 André Pönitz <poenitz@gmx.net>
7250 * textclass.h: prepare for environment handling, ws changes
7251 * lyxlayout.C: read latexheader and latexfooter tags
7253 2003-03-14 John Levon <levon@movementarian.org>
7255 * text2.C: rewrite ::status() a bit
7257 2003-03-13 John Levon <levon@movementarian.org>
7259 * lyxtext.h: add some docs
7261 2003-03-13 John Levon <levon@movementarian.org>
7266 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7268 2003-03-13 John Levon <levon@movementarian.org>
7270 * text3.C: fix appendix redrawing
7272 2003-03-13 John Levon <levon@movementarian.org>
7274 * text.C (setHeightOfRow):
7276 * rowpainter.C: make appendix mark have the text
7277 "Appendix" so the user knows what it is
7280 * LColor.C: s/appendixline/appendix/ from above
7282 2003-03-13 John Levon <levon@movementarian.org>
7284 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7286 * text.C: fix a getChar(pos) bug properly
7288 2003-03-13 Angus Leeming <leeming@lyx.org>
7291 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7292 Probably only temporary. Let's see how things pan out.
7294 * BufferView.C (unlockInset):
7295 * BufferView_pimpl.C (fitCursor):
7296 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7298 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7299 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7301 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7302 new functions that convert ParagraphParameters to and from a string.
7304 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7305 BufferView::Pimpl's dispatch.
7306 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7308 2003-03-13 André Pönitz <poenitz@gmx.net>
7312 * factory.C: make it aware of InsetEnv
7314 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7316 * text2.C (setCursor): never ask for one past last
7317 (setCursor): add some debugging messages.
7319 * text.C (singleWidth): never ask for one past last
7320 (singleWidth): ditto
7322 (rightMargin): ditto
7323 (rowBreakPoint): ditto
7324 (setHeightOfRow): ditto
7325 (prepareToPrint): ditto
7327 * rowpainter.C (paintBackground): never ask for one past last
7328 (paintText): never ask for one past last
7330 * paragraph_pimpl.C (getChar): make the assert stricter, never
7331 allow the one past last pos to be taken
7333 * paragraph.C (getChar): ws changes only
7335 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7336 (numberOfSeparators): ditto
7337 (numberOfHfills): ditto
7339 2003-03-12 John Levon <levon@movementarian.org>
7345 * paragraph_funcs.C: fix per-buffer authorlists
7347 2003-03-12 John Levon <levon@movementarian.org>
7349 * text.C: fix newline in right address
7351 2003-03-12 Angus Leeming <leeming@lyx.org>
7353 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7354 duplicate those in LyXFunc::dispatch.
7358 * ToolbarDefaults.C:
7359 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7360 Add LFUN_FONTFREE_UPDATE.
7362 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7363 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7365 * bufferview_func.[Ch]: several new functions to facilliate
7366 transfer of data to and from the character dialog.
7368 2003-03-12 John Levon <levon@movementarian.org>
7373 * paragraph_funcs.C:
7374 * paragraph_pimpl.C:
7378 * text3.C: remove META_NEWLINE in favour of an inset
7381 * rowpainter.C: remove paintNewline (done by inset)
7383 2003-03-12 John Levon <levon@movementarian.org>
7385 * paragraph_pimpl.C: complain about bad getChar()s
7386 for a while at least
7388 2003-03-12 John Levon <levon@movementarian.org>
7391 * buffer.C: move paragraph read into a separate function,
7392 a little renaming to reflect that.
7395 * bufferparams.C: remove the author_ids map, not necessary now
7398 * factory.C: moved Buffer::readInset to here
7400 * paragraph_funcs.h:
7401 * paragraph_funcs.C: readParagraph free function moved from
7404 * tabular.C: name change
7406 2003-03-12 John Levon <levon@movementarian.org>
7409 * ParagraphParameters.C: move par params input to
7412 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7413 behave like a normal read from the stream wrt reading
7414 a line vs. a \\token
7416 2003-03-12 John Levon <levon@movementarian.org>
7419 * ParagraphParameters.h:
7420 * ParagraphParameters.C: move output code to a
7423 2003-03-12 John Levon <levon@movementarian.org>
7425 * BufferView.C (insertLyXFile):
7428 * tabular.C: use a parlist iterator for creating the
7431 2003-03-12 John Levon <levon@movementarian.org>
7433 * buffer.C: make current_change static local not
7436 2003-03-12 John Levon <levon@movementarian.org>
7438 * buffer.C: fix insertStringAsLines for change tracking
7440 2003-03-12 John Levon <levon@movementarian.org>
7447 * bufferparams.C: move author list into params. Rename some
7448 functions. Move the header reading into a separate token
7449 loop. Move the header token reading into BufferParams.
7451 2003-03-12 John Levon <levon@movementarian.org>
7453 * changes.C: put debug inside lyxerr.debugging() checks
7455 2003-03-11 André Pönitz <poenitz@gmx.net>
7457 * factory.C: make it aware of InsetHFill
7459 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7461 * buffer.C (latexParagraphs): move function from here...
7462 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7465 2003-03-10 Angus Leeming <leeming@lyx.org>
7467 * LyXAction.C (init): fix bug in poplating array with multiple entries
7468 with the same LFUN (spotted by JMarc).
7470 2003-03-10 John Levon <levon@movementarian.org>
7473 * text2.C: move getColumnNearX() near its
7476 2003-03-10 John Levon <levon@movementarian.org>
7478 * text.C: fix break before a minipage
7480 2003-03-10 John Levon <levon@movementarian.org>
7482 * text.C: fix the last commit
7484 2003-03-09 John Levon <levon@movementarian.org>
7488 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7489 bug 365 (don't break before insets unless needed). Don't
7490 return a value > last under any circumstances.
7492 2003-03-09 Angus Leeming <leeming@lyx.org>
7494 * BufferView_pimpl.C (trackChanges, dispatch): call
7495 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7497 2003-03-09 Angus Leeming <leeming@lyx.org>
7499 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7500 than Dialogs::showAboutlyx().
7502 2003-03-09 Angus Leeming <leeming@lyx.org>
7504 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7505 than Dialogs::showTabularCreate().
7507 2003-03-09 John Levon <levon@movementarian.org>
7511 * text2.C: 3rd arg to nextBreakPoint was always the same.
7514 2003-03-08 John Levon <levon@movementarian.org>
7521 * text2.C: Remove the "main" bit from the "main body"
7524 2003-03-08 John Levon <levon@movementarian.org>
7526 * text.C (leftMargin): The left margin of an empty
7527 manual label paragraph should not include the label width
7530 * text.C (prepareToPrint): don't attempt to measure hfills
7531 for empty manual label paragraphs - the answer should be 0
7533 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * CutAndPaste.C: remove commented code and reindent.
7537 2003-03-08 John Levon <levon@movementarian.org>
7540 * lyxfunc.C: move reloadBuffer()
7543 * BufferView.C: to here
7545 * lyxvc.C: add comment
7548 * vc-backend.C: call bv->reload() to avoid
7549 getStatus() check on MENURELOAD
7551 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7553 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7554 to an old format .dep file.
7556 2003-03-07 Angus Leeming <leeming@lyx.org>
7558 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7559 when the LFUN_MOUSE_RELEASE should have been handled by
7560 inset->localDispatch.
7562 2003-03-07 Angus Leeming <leeming@lyx.org>
7564 * BufferView_pimpl.C (dispatch):
7565 * LyXAction.C (init):
7566 * ToolbarDefaults.C (init):
7568 * lyxfunc.C (getStatus):
7569 remove LFUN_INSET_GRAPHICS.
7571 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7573 2003-03-07 Angus Leeming <leeming@lyx.org>
7576 * LyXAction.C (init):
7577 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7579 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7582 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7584 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7585 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7587 2003-03-07 Angus Leeming <leeming@lyx.org>
7589 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7592 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7594 * ParagraphList.C (front): new function
7597 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7599 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7600 and top_row_offset_. removed var first_y.
7602 * text2.C (LyXText, removeRow):
7604 * BufferView_pimpl.C:
7605 use these methods instead of using first_y
7607 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7609 * text2.C (pasteSelection): adjust for checkPastePossible
7611 * CutAndPaste.C: remove Paragraph * buf and replace with
7612 ParagraphList paragraphs.
7613 (DeleteBuffer): delete
7614 (cutSelection): change the tc type to textclass_type
7615 (copySelection): change the tc type to textclass_type
7616 (copySelection): adjust for ParagraphList
7617 (pasteSelection): change the tc type to textclass_type
7618 (pasteSelection): adjust for Paragraphlist
7619 (nrOfParagraphs): simplify for ParagraphList
7620 (checkPastePossible): simplify for ParagraphList
7621 (checkPastePossible): remove unused arg
7623 * ParagraphList.C (insert): handle the case where there are no
7626 * CutAndPaste.h: make CutAndPaste a namespace.
7628 * text3.C (dispatch): adjust
7630 * text.C (breakParagraph): add a ParagraphList as arg
7632 * paragraph_funcs.C (breakParagraph): change to take a
7633 BufferParams and a ParagraphList as args.
7634 (breakParagraphConservative): ditto
7635 (mergeParagraph): ditto
7636 (TeXDeeper): add a ParagraphList arg
7637 (TeXEnvironment): ditto
7640 * buffer.C (readLyXformat2): adjust
7641 (insertStringAsLines): adjust
7642 (latexParagraphs): adjust
7644 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7645 (cutSelection): adjust
7646 (pasteSelection): adjust
7648 * BufferView_pimpl.C (insertInset): adjust
7650 2003-03-05 Angus Leeming <leeming@lyx.org>
7653 * LyXAction.C (init):
7654 * BufferView_pimpl.C (dispatch):
7655 * lyxfunc.C (getStatus):
7656 remove LFUN_CHILD_INSERT.
7658 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7660 2003-03-05 Angus Leeming <leeming@lyx.org>
7663 * LyXAction.C (init):
7664 * src/factory.C (createInset):
7665 * lyxfunc.C (getStatus):
7666 * text3.C (dispatch):
7667 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7669 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7671 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7673 * ParagraphList.C (insert): handle insert right before end()
7674 (erase): fix cases where it can be first or last paragraph.
7676 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7678 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7679 Paragraph::next and Paragraph::previous
7682 * text.C (breakParagraph): adjust
7684 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7685 BufferParams& as arg.
7686 (breakParagraph): use ParagraphList::insert
7687 (breakParagraphConservative): take a Buffer* instead of a
7688 BufferParams& as arg.
7689 (breakParagraphConservative): use ParagraphList::insert.
7691 * buffer.C (insertStringAsLines): un-const it
7692 (insertStringAsLines): adjust
7694 * ParagraphList.C (insert): new function
7696 * CutAndPaste.C (pasteSelection): adjust
7698 * text.C (backspace): adjust
7700 * tabular.C (SetMultiColumn): adjust
7702 * CutAndPaste.C (cutSelection): adjust
7703 (pasteSelection): adjust
7705 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7706 Buffer const * as arg
7708 * ParagraphList.C (erase): new function
7709 * paragraph_funcs.C (mergeParagraph): use it
7710 (mergeParagraph): make it take a Buffer* instead of a
7711 BufferParams* as arg
7713 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7715 (breakParagraphConservative): ditto
7717 * paragraph.h: remove the breakParagraph friend
7719 * paragraph.C (eraseIntern): new function
7720 (setChange): new function
7722 * paragraph_funcs.C (mergeParagraph): make it take a
7723 ParagraphList::iterator instead of a Paragraph *, adjust
7726 * paragraph.h: move an #endif so that the change tracking stuff
7727 also works in the NO_NEXT case.
7729 2003-03-04 Angus Leeming <leeming@lyx.org>
7732 * LyXAction.C: new LFUN_INSET_MODIFY.
7734 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7735 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7737 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7739 * several files: ws changes only
7741 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7742 (TeXEnvironment): ditto
7745 * buffer.C (makeLaTeXFile): adjust
7746 (latexParagraphs): make it take ParagraphList::iterator as args
7748 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7750 * buffer.C (latexParagraphs): adjust
7752 * paragraph.C (TeXOnePar): move function...
7753 (optArgInset): move function...
7754 (TeXEnvironment): move function...
7755 * paragraph_pimpl.C (TeXDeeper): move function...
7756 * paragraph_funcs.C: ...here
7758 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7760 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7762 * buffer.C (readInset): remove compability code for old Figure and
7765 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7767 * buffer.C: ws changes
7770 * BufferView_pimpl.C: ditto
7773 * bufferlist.h: ditto
7777 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7779 * converter.[Ch]: split into itself +
7782 * Makefile.am: += graph.[Ch] + format.[Ch]
7789 * lyxrc.C: added #include "format.h"
7791 2003-02-27 Angus Leeming <leeming@lyx.org>
7793 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7796 * factory.C (createInset): add "label" to the factory.
7798 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7799 string and do no more.
7801 2003-02-27 Angus Leeming <leeming@lyx.org>
7804 * LyXAction.C (init):
7805 * factory.C (createInset):
7806 * BufferView_pimpl.C (dispatch):
7807 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7809 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7811 * lyxfunc.C (dispatch):
7812 * text3.C (dispatch): pass name to params2string.
7814 2003-02-26 Angus Leeming <leeming@lyx.org>
7816 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7818 Rearrange the ~includes. Strip out the unnecessary ones.
7820 * factory.C (createInset): reformat.
7821 create new insets for the various LFUN_XYZ_APPLY lfuns.
7823 2003-02-26 John Levon <levon@movementarian.org>
7826 * lyxrow.C: add isParStart,isParEnd helpers
7828 * paragraph.h: make isInserted/DeletedText take refs
7830 * paragraph_funcs.h:
7831 * paragraph_funcs.C: remove #if 0'd code
7836 * text.C: use lyxrow helpers above.
7837 Move draw and paint routines to RowPainter.
7838 Make several methods use refs not pointers.
7839 Make backgroundColor() const.
7840 Add markChangeInDraw(), isInInset().
7841 Merge changeRegionCase into changeCase.
7842 Make workWidth() shouldn't-happen code into an Assert.
7845 * rowpainter.C: new class for painting a row.
7848 * vspace.C: make inPixels take a ref
7850 2003-02-26 Angus Leeming <leeming@lyx.org>
7852 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7855 2003-02-25 John Levon <levon@movementarian.org>
7857 * ispell.C: give the forked command a more accurate name
7859 2003-02-22 John Levon <levon@movementarian.org>
7862 * toc.C: make TocItem store an id not a Paragraph *
7865 2003-02-21 Angus Leeming <leeming@lyx.org>
7867 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7868 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7869 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7870 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7871 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7872 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7874 * BufferView_pimpl.C (dispatch):
7875 * LyXAction.C (init):
7876 * factory.C (createInset):
7877 * lyxfunc.C (getStatus, dispatch):
7878 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7880 2003-02-21 Angus Leeming <leeming@lyx.org>
7882 * BufferView_pimpl.C (MenuInsertLyXFile):
7883 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7884 * lyxfunc.C (menuNew, open, doImport):
7885 no longer pass a LyXView & to fileDlg.
7887 2003-02-21 Angus Leeming <leeming@lyx.org>
7889 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7890 * LyXAction.C: change, BIBKEY to BIBITEM.
7891 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7892 Change InsetBibKey to InsetBibitem.
7893 Change BIBKEY_CODE to BIBITEM_CODE.
7894 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7895 * factory.C: replace insetbib.h with insetbibitem.h.
7896 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7897 * paragraph.C: replace insetbib.h with insetbibitem.h.
7898 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7899 Change bibkey() to bibitem().
7900 * text.C: remove insetbib.h.
7901 * text2.C: replace insetbib.h with insetbibitem.h.
7902 change bibkey() to bibitem().
7903 * text3.C: remove insetbib.h.
7904 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7906 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7908 * lyxrc.C (output): enclose user email in quotes (in case there are
7911 2003-02-18 John Levon <levon@movementarian.org>
7913 * buffer.h: add std::
7915 2003-02-17 John Levon <levon@movementarian.org>
7921 * pspell.C: reworking. Especially in ispell, a large
7922 number of clean ups and bug fixes.
7924 * lyxfunc.C: fix revert to behave sensibly
7926 2003-02-17 André Pönitz <poenitz@gmx.net>
7929 * commandtags.h: new LFUN_INSERT_BIBKEY
7939 * paragraph_func.C: remove special bibkey handling
7941 2003-02-17 John Levon <levon@movementarian.org>
7943 * text.C (Delete): fix case where delete at the end of
7944 the very first paragraph would not merge the pars
7946 2003-02-17 John Levon <levon@movementarian.org>
7948 * lyxrow.C: fix lastPrintablePos()
7950 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7952 * bufferparams.C (writeLaTeX): add a std:here
7954 * buffer.C: and remove a using directive there
7956 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7958 * buffer.C (makeLaTeXFile): move the code that generates the
7961 * bufferparams.C (writeLaTeX): ... in this new method
7963 * LaTeXFeatures.C (getEncodingSet): make const
7964 (getLanguages): make const
7966 * MenuBackend.C (binding): returns the binding associated to this
7968 (add): sets the status of each item by calling getStatus. Adds
7970 (read): add support for OptSubMenu
7971 (expand): remove extra separator at the end of expanded menu
7973 2003-02-15 John Levon <levon@movementarian.org>
7976 * BufferView_pimpl.C:
7978 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7979 inset code that had no actual effect. Remove unneeded status
7982 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7984 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7987 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7989 * text.C (drawLengthMarker): also draw an arrow marker for
7990 symbolic lengths (medskip...)
7992 2003-02-14 John Levon <levon@movementarian.org>
7995 * tabular.C: better method names
7997 2003-02-14 John Levon <levon@movementarian.org>
7999 * BufferView_pimpl.C:
8004 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8005 it's a more accurate name. Remove some pointless uses.
8007 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8009 * text2.C (LyXText): change order of initilizers to shut off
8012 2003-02-14 John Levon <levon@movementarian.org>
8014 * buffer.C: use ParIterator for getParFromID()
8018 * paragraph_pimpl.h:
8019 * paragraph_pimpl.C: remove unused getParFromID()
8021 2003-02-14 John Levon <levon@movementarian.org>
8023 * buffer.C: remove some very old #if 0'd parse code
8025 2003-02-13 John Levon <levon@movementarian.org>
8029 * text2.C: move hfillExpansion(), numberOfSeparators(),
8030 rowLast(), rowLastPrintable(), numberofHfills(),
8031 numberOfLabelHfills() ...
8034 * lyxrow.C: ... to member functions here.
8039 * text.C: remove LyXText::beginningOfMainBody(), and call
8040 p->beginningOfMainBody() directly. Move the check for
8041 LABEL_MANUAL into the latter.
8048 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8054 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8055 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8057 2003-02-13 John Levon <levon@movementarian.org>
8059 * CutAndPaste.C: remove debug
8061 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8063 * paragraph.C (asString): remove two unused variables
8065 * lyxtextclass.C (readTitleType):
8067 (LyXTextClass): handle new members titletype_ and titlename_
8069 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8071 2003-02-09 John Levon <levon@movementarian.org>
8074 * buffer.C: replace hand-coded list with a map for the dep clean
8076 2003-02-08 John Levon <levon@movementarian.org>
8078 * LaTeX.C: consolidate code into showRunMessage() helper
8080 2003-02-08 John Levon <levon@movementarian.org>
8085 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8086 and pass the size in explicitly
8088 * BufferView_pimpl.h:
8089 * BufferView_pimpl.C:
8091 * BufferView.C: add getCurrentChange()
8093 * BufferView_pimpl.h:
8094 * BufferView_pimpl.C: handle change lfuns
8096 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8097 for changes. Mark pasted paragraphs as new.
8099 * support/lyxtime.h:
8100 * support/lyxtime.C:
8101 * DepTable.C: abstract time_t as lyx::time_type
8104 * LColor.C: add colours for new text, deleted text, changebars
8106 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8107 package use "usenames" option.
8111 * LyXAction.C: add change lfuns
8115 * author.C: author handling
8118 * buffer.C: add a per-buffer author list, with first entry as
8119 current author. Handle new .lyx tokens for change tracking. Output
8120 author list to .lyx file. Output dvipost stuff to .tex preamble.
8121 Bump lyx format to 222.
8124 * bufferlist.C: add setCurrentAuthor() to reset current author details
8128 * bufferparams.C: add param for tracking
8130 * bufferview_funcs.C: output change info in minibuffer
8134 * changes.C: add change-tracking structure
8137 * debug.C: add CHANGES debug flag
8140 * lyxfind.C: add code for finding the next change piece
8143 * lyxrc.C: add user_name and user_email
8146 * lyxrow.C: add a metric for the top of the text line
8149 * text.C: implement accept/rejectChange()
8152 * text.C: paint changebars. Paint new/deleted text in the chosen
8153 colours. Strike through deleted text.
8157 * paragraph_pimpl.h:
8158 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8159 in the current change to the insert functions. Rework erase to
8160 mark text as deleted, adding an eraseIntern() and a range-based
8161 erase(). Implement per-paragraph change lookup and
8164 * paragraph_funcs.C: Fixup paste for change tracking.
8166 * tabular.C: mark added row/columns as new.
8168 * text.C: fix rowLast() to never return -1. Don't allow
8169 spellchecking of deleted text. Track transpose changes. Don't
8170 allow paragraph break or merge where appropriate.
8172 * text2.C: leave cursor at end of selection after a cut.
8174 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8176 * text.C (getLengthMarkerHeight):
8177 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8178 visible on screen too.
8180 2003-02-07 John Levon <levon@movementarian.org>
8182 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8184 2003-02-05 Angus Leeming <leeming@lyx.org>
8186 * lyxserver.C (read_ready): revert my patch of 11 September last year
8187 as it sends PC cpu through the roof. Presumably this means that
8188 the lyxserver will no longer run on an Alpha...
8190 2003-01-30 Angus Leeming <leeming@lyx.org>
8192 * factory.C (createInset): create an InsetCommandParam of type "index"
8193 and use it to 'do the right thing'.
8195 * text2.C (getStringToIndex): ensure that cursor position is always
8196 reset to the reset_cursor position.
8198 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8200 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8203 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8207 * lyxfunc.C: Output messages with identical spelling, punctuation,
8210 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8212 * MenuBackend.C (expandFormats): List only viewable export formats
8215 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8218 * lyxfunc.C (getStatus): Make sure that formats other than
8219 "fax" can also be disabled
8221 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8223 * text3.C (dispatch): put the lfuns that insert insets in 3
8224 groups, and call doInsertInset with appropriate arguments.
8225 (doInsertInset): new function, that creates an inset and inserts
8226 it according to some boolean parameters.
8228 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8230 * buffer.C (readFile): remember to pass on 'par' when calling
8231 readFile recursively.
8233 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8235 * MenuBackend.C (expandFormats): add "..." to import formats.
8237 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8239 * paragraph.C (asString): Remove XForms RTL hacks.
8241 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8242 * buffer.C: fix typo
8244 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8246 * Makefile.am (LIBS): delete var
8247 (lyx_LDADD): add @LIBS@ here instead.
8249 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8251 * Clarify the meaning of "wheel mouse jump"
8253 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8255 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8258 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8260 * importer.C (Loaders): do not preallocate 3 elements in the
8261 vector, since one ends up with 6 elements otherwise
8263 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8265 * DepTable.C (write): write the file name as last element of the
8266 .dep file (because it may contain spaces)
8267 (read): read info in the right order
8269 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8271 * paragraph_pimpl.C (simpleTeXBlanks):
8272 (simpleTeXSpecialChars):
8273 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8275 * tabular.C (latex): add some missing case statements. Reindent.
8277 * MenuBackend.C (expandToc): remove unused variable.
8279 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8288 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8291 2003-01-05 John Levon <levon@movementarian.org>
8294 * BufferView.C: add getEncoding()
8297 * kbsequence.C: do not store last keypress
8300 * lyxfunc.C: store last keypress here instead. Pass encoding
8303 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8305 * lyx_main.C (init): remove annoying error message when following
8306 symbolic links (bug #780)
8308 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8310 * text.C (insertChar):
8311 * lyxrc.C (getDescription): remove extra spaces
8313 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8315 * lyxrc.C (getDescription): remove extra spaces
8317 2002-12-20 John Levon <levon@movementarian.org>
8319 * text3.C: hack fix for page up/down across tall rows
8321 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8323 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8326 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8328 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8329 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8330 thesaurus is not compiled in
8332 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8334 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8336 2002-12-16 Angus Leeming <leeming@lyx.org>
8339 * lyx_main.C (init): remove override_x_deadkeys stuff.
8341 2002-12-12 John Levon <levon@movementarian.org>
8343 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8344 insert. Only remove shift modifier under strict
8347 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8349 * MenuBackend.C (expandToc): fix crash.
8351 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8353 * MenuBackend.C (expandToc): gettext on float names.
8355 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8357 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8358 implement bool empty() [bug 490]
8360 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8362 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8364 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8366 * several files: ws changes
8368 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8370 * text2.C (setCounter): clean up a bit, use boost.format.
8371 (updateCounters): initialize par upon declaration.
8373 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8374 if the layout exists. We do not just store the layout any more.
8375 (SwitchLayoutsBetweenClasses): use boost.format
8377 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8379 * converter.C (convert): if from and to files are the same, use a
8380 temporary files as intermediary
8382 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8385 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8387 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8389 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8391 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8393 * tabular.C (asciiPrintCell): use string(size, char) instead of
8396 * sgml.C (openTag): fix order of arguments to string constructor
8399 * lyxfunc.C (dispatch): use boost.format
8401 * lots of files: change "c" -> 'c'
8403 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8405 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8407 2002-11-25 Angus Leeming <leeming@lyx.org>
8409 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8411 * lyx_main.C (init): compile fix.
8413 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8415 * lyx_cb.C (start): boost.formatify
8416 do not include <iostream>
8418 * lengthcommon.C: ws only
8420 * boost-inst.C,BoostFormat.h: add more explict instantations
8422 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8424 * lots of files: handle USE_BOOST_FORMAT
8426 2002-11-21 John Levon <levon@movementarian.org>
8428 * pspell.C: fix compile
8430 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8432 * lyxfunc.C (dispatch): use boost::format
8436 * lyxfont.C (stateText): use boost::format
8438 * lyx_main.C (LyX): use boost::format
8440 (queryUserLyXDir): ditto
8443 (typedef boost::function): use the recommened syntax.
8445 * importer.C (Import): use boost::format
8447 * debug.C (showLevel): use boost::format
8449 * converter.C (view): use boost::format
8454 * bufferview_funcs.C (currentState): use boost::format
8456 * bufferlist.C (emergencyWrite): use boost::format
8458 * buffer.C (readLyXformat2): use boost::format
8459 (parseSingleLyXformat2Token): ditto
8461 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8463 * LaTeX.C (run): use boost::format
8465 * Chktex.C (scanLogFile): use boost::format
8467 * BufferView_pimpl.C (savePosition): use boost::format
8468 (restorePosition): ditto
8469 (MenuInsertLyXFile): ditto
8471 * BoostFormat.h: help file for explicit instation.
8473 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8475 * tabular.C (latex): Support for block alignment in fixed width
8478 2002-11-17 John Levon <levon@movementarian.org>
8480 * BufferView_pimpl.C:
8482 * lyxfunc.C: split filedialog into open/save
8484 2002-11-08 Juergen Vigna <jug@sad.it>
8486 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8487 by my last patch (hopefully).
8489 2002-11-08 John Levon <levon@movementarian.org>
8498 * toc.C: ParConstIterator, and use it (from Lars)
8500 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8502 * lyxtextclass.[Ch]: revise and add doxygen comments
8504 2002-11-07 John Levon <levon@movementarian.org>
8506 * text.C: fix progress value for spellchecker
8508 * toc.C: fix navigate menu for insetwrap inside minipage
8510 * paragraph_funcs.C: added FIXME for suspect code
8512 2002-11-07 John Levon <levon@movementarian.org>
8514 * BufferView_pimpl.C: fix redrawing of insets
8517 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8519 * text2.C (updateCounters): fix bug 668
8521 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8523 * text3.C (dispatch): Do not make the buffer dirty when moving the
8526 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8528 * vc-backend.C: STRCONV
8531 * text2.C (setCounter): STRCONV
8533 * paragraph.C (asString): STRCONV
8535 * lyxlength.C (asString): STRCONV
8536 (asLatexString): ditto
8538 * lyxgluelength.C (asString): STRCONV
8539 (asLatexString): ditto
8541 * lyxfunc.C (dispatch): STRCONV
8544 * lyxfont.C (stateText): STRCONV
8546 * importer.C (Import): STRCONV
8548 * counters.C (labelItem): STRCONV
8549 (numberLabel): ditto
8550 (numberLabel): remove unused ostringstream o
8555 * bufferview_funcs.C (currentState): STRCONV
8557 * buffer.C (readFile): STRCONV
8558 (asciiParagraph): ditto
8559 (makeLaTeXFile): ditto
8561 * Spacing.C (writeEnvirBegin): STRCONV
8563 * LaTeXFeatures.C (getLanguages): STRCONV
8564 (getPackages): ditto
8566 (getBabelOptions): ditto
8567 (getTClassPreamble): ditto
8568 (getLyXSGMLEntities): ditto
8569 (getIncludedFiles): ditto
8573 (scanAuxFile): ditto
8576 * LString.h: add the STRCONV macros
8578 * BufferView_pimpl.C (savePosition): STRCONV
8579 (restorePosition): ditto
8580 (MenuInsertLyXFile): ditto
8582 * vc-backend.C (scanMaster): change from submatch[...] to
8585 * funcrequest.C: include config.h
8587 * factory.C: include config.h
8589 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8591 * box.C: include config.h
8593 * LaTeX.C (scanAuxFile): change from submatch[...] to
8597 2002-10-25 Angus Leeming <leeming@lyx.org>
8599 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8601 * ispell.[Ch] (setError): new method.
8602 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8603 Use setError() insetead of goto END.
8605 * lyx_cb.C (AutoSave): move out child process into new class
8608 2002-10-30 John Levon <levon@movementarian.org>
8610 * text3.C: make start appendix undoable
8612 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8614 * lyxlength.C (inPixels): Fix returned value.
8616 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8619 2002-10-24 Angus Leeming <leeming@lyx.org>
8621 * lyxgluelength.h: no need to forward declare BufferParams
8622 or BufferView, so don't.
8624 2002-10-21 John Levon <levon@movementarian.org>
8626 * BufferView.C: menuUndo ->undo, redo
8628 * BufferView.h: document, remove dead, make some methods private
8630 * paragraph_funcs.h:
8631 * paragraph_funcs.C:
8632 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8637 * sgml.C: move sgml open/close tag into sgml.C
8639 * bufferview_funcs.h: unused prototype
8642 * lyxfunc.C: remove unused
8645 * text.C: remove unused
8647 2002-10-21 John Levon <levon@movementarian.org>
8651 * BufferView_pimpl.h:
8652 * BufferView_pimpl.C: fix mouse wheel handling based on
8653 patch from Darren Freeman
8655 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8657 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8659 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8661 * lyxlength.C (inPixels): Fix hanfling of negative length.
8662 Fix LyXLength::MU case.
8664 2002-10-16 John Levon <levon@movementarian.org>
8666 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8668 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8670 * converter.C (view): add support for $$i (file name) and $$p
8671 (file path) for the viewer command. If $$i is not specified, then
8672 it is appended to the command (for compatibility with old syntax)
8674 2002-10-14 Juergen Vigna <jug@sad.it>
8676 * undo_funcs.C (textHandleUndo): alter the order in which the
8677 new undopar is added to the LyXText, as we have to set first
8678 the right prev/next and then add it as otherwise the rebuild of
8679 LyXText is not correct. Also reset the cursor to the right paragraph,
8680 with this IMO we could remove the hack in "redoParagraphs()".
8682 2002-10-09 Angus Leeming <leeming@lyx.org>
8684 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8685 to turn off an optimisation if a new inset is to be inserted.
8687 2002-10-11 André Pönitz <poenitz@gmx.net>
8689 * lyxtext.h: make some functions public to allow access
8690 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8692 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8694 * text3.C (dispatch): when changing layout, avoid an infinite loop
8697 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8699 * lyxrc.C (read): treat a viewer or converter command of "none" as
8702 * MenuBackend.C (expandFormats): for an update, also allow the
8703 formats that are not viewable
8705 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8706 script if it is newer than the lyxrc.defaults in user directory
8708 2002-10-07 André Pönitz <poenitz@gmx.net>
8710 * text.C: Vitaly Lipatov's small i18n fix
8712 2002-09-25 Angus Leeming <leeming@lyx.org>
8714 * ispell.h: doxygen fix.
8716 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8718 * buffer.h (readFile): Add a new argument to the method, to allow
8719 reading of old-format templates.
8721 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8723 * toc.C (getTocList): Get TOC from InsetWrap.
8725 2002-09-16 John Levon <levon@movementarian.org>
8727 * lyxfunc.C: check tabular for cut/copy too
8729 2002-09-12 John Levon <levon@movementarian.org>
8734 * factory.C: add header
8736 * paragraph_funcs.h:
8737 * paragraph_funcs.C: cleanup
8739 2002-09-11 John Levon <levon@movementarian.org>
8741 * PrinterParams.h: odd/even default to true
8743 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8745 * PrinterParams.h: update printer parameters for new xforms dialog
8747 2002-09-11 Angus Leeming <leeming@lyx.org>
8749 * lyxserver.C (read_ready): re-write to make it more transparent
8750 and to make it work in coherent fashion under Tru64 Unix.
8752 2002-09-11 André Pönitz <poenitz@gmx.net>
8756 * text3.C: implement LFUN_WORDSEL
8758 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8760 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8761 make floatlist_ a boost::shared_ptr<FloatList>
8763 * lyxtextclass.C: include FloatList.h
8764 (LyXTextClass): initialize floatlist_
8765 (TextClassTags): add TC_NOFLOAT
8766 (Read): match "nofloat" to TC_NOFLOAT and use it.
8767 (readFloat): modify call to floatlist_
8771 * FloatList.[Ch] (FloatList): remove commented out float
8773 (erase): new function
8775 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8777 * MenuBackend.C (expandToc): fix crash when there is no document
8780 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8782 * many files: Add insetwrap.
8784 2002-09-09 John Levon <levon@movementarian.org>
8786 * text2.C: remove confusing and awkward depth wraparound
8788 2002-09-09 John Levon <levon@movementarian.org>
8790 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8793 * buffer.C: remove getIncludeonlyList()
8796 * lyxfunc.C: remove headers
8798 2002-09-09 Juergen Vigna <jug@sad.it>
8800 * text.C (getColumnNearX): fix form Michael this is most
8801 probably a cut&paste bug.
8803 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8805 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8807 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8808 references, ws changes.
8810 * text2.C (init): update counters after init
8811 (insertParagraph): no need to set counter on idividual paragraphs.
8812 (setCounter): access the counters object in the textclass object
8813 on in the buffer object.
8814 (updateCounters): ditto
8816 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8817 shared_ptr<Counters> to avoid loading counters.h in all
8819 (LyXTextClass): initialize ctrs_
8820 (TextClassTags): add TC_COUNTER, and ...
8821 (Read): use it here.
8822 (CounterTags): new tags
8823 (readCounter): new function
8824 (counters): new funtion
8825 (defaultLayoutName): return a const reference
8827 * counters.C (Counters): remove contructor
8828 (newCounter): remove a couple of unneeded statements.
8829 (newCounter): simplify a bit.
8830 (numberLabel): some small formatting changes.
8832 * buffer.[Ch]: remove all traces of counters, move the Counters
8833 object to the LyXTextClass.
8835 2002-09-06 Alain Castera <castera@in2p3.fr>
8837 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8838 package to set the horizontal alignment on fixed width columns.
8841 * lyx_sty.h: added tabularnewline macro def.
8843 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8845 2002-09-06 John Levon <levon@movementarian.org>
8847 * LyXAction.C: tooltips for sub/superscript
8849 * MenuBackend.C: a bit more verbose
8851 * lyxfunc.C: tiny clean
8853 * undo_funcs.C: document undo_frozen
8855 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8857 * counters.C (Counters): add missing algorithm counter.
8859 * text2.C (setCounter): lookup the counter with layouts latexname
8860 instead of by section number.
8861 (setCounter): use a hackish way to lookup the correct enum
8863 a float name->type change
8864 reset enum couners with counter name directly instead of depth value.
8866 * counters.C (Counters): remove the push_backs, change to use the
8867 float type not the float name.
8868 (labelItem): remove unused string, float name->type change
8870 * counters.h: don't include vector, loose the enums and sects vectors
8872 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8874 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8875 (Read): add float->TC_FLOAT to textclassTags
8876 (Read): and handle it in the switch
8877 (readFloat): new function
8879 * FloatList.C (FloatList): comment out the hardcoded float
8882 * lyxlayout.h: ws change.
8884 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8886 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8888 2002-09-03 Angus Leeming <leeming@lyx.org>
8890 * BufferView_pimpl.h: qualified name is not allowed in member
8891 declaration: WorkArea & Pimpl::workarea() const;
8893 * factory.C: added using std::endl directive.
8895 * text3.C: added using std::find and std::vector directives.
8897 2002-08-29 André Pönitz <poenitz@gmx.net>
8900 * text2.C: remove unused member number_of_rows
8903 * BufferView2.C: remove file, move contents to...
8904 * BufferView.C: ... here
8906 * BufferView_pimpl.C:
8907 * factory.C: move more inset creation to factory
8909 * vspace.C: avoid direct usage of LyXText, ws changes
8912 don't provide direct access to WorkArea, use two simple
8913 acessors haveSelction() and workHeight() instead
8916 2002-08-29 John Levon <levon@movementarian.org>
8918 * BufferView_pimpl.C (dispatch): do not continue when
8921 2002-08-28 André Pönitz <poenitz@gmx.net>
8923 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8926 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8928 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8930 * buffer.C: increment LYX_FORMAT to 221
8932 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8933 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8935 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8937 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8939 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8941 * factory.C (createInset): use LyXTextClass::floats
8943 * MenuBackend.C (expandFloatListInsert):
8944 (expandFloatInsert):
8947 * text2.C (setCounter):
8949 * LaTeXFeatures.C (useFloat):
8950 (getFloatDefinitions):
8952 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8954 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8955 floatlist_, with accessor floats().
8957 * FloatList.h: remove global FloatList
8959 2002-08-26 André Pönitz <poenitz@gmx.net>
8961 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8965 * BufferView_pimpl.C:
8966 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8968 2002-08-25 John Levon <levon@movementarian.org>
8970 * LyXAction.C: fix margin note description
8972 2002-08-24 John Levon <levon@movementarian.org>
8976 * bufferview_funcs.C:
8978 * undo_funcs.C: cleanups
8980 * lyxfunc.C: disable CUT/COPY when no selection
8982 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8984 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8985 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8987 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8988 Add backward compatibility to "mono", "gray" and "no".
8990 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8992 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8993 (and file_format >= 200).
8995 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8997 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8999 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9001 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9003 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9005 * BufferView_pimpl.C:
9012 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9013 inset and code to make it work with the paragraph code. The inset
9014 can be anywhere in the paragraph, but will only do the expected
9015 thing in LaTeX if the layout file contains the parameter line
9017 (or more generally, a nonzero value) for that layout.
9019 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9021 * paragraph.h: remove the declaration of undefined counters class
9024 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9026 * text2.C (setCounter): fixed enumeration mis-count as reported by
9027 Dr. Richard Hawkins.
9029 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9031 * paragraph_funcs.h: remove some unneeded includes
9033 * text.C (backspace): pasteParagraph now in global scipe
9035 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9036 (pasteSelection): ditto
9038 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9039 * paragraph_funcs.C (pasteParagraph): ... here
9041 2002-08-20 André Pönitz <poenitz@gmx.net>
9043 * commandtags.h: new LFUNs for swapping/copying table row/colums
9046 * lyxfunc.C: support for new lfuns
9048 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9051 * buffer.[Ch]: remove NO_COMPABILITY stuff
9053 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9055 * boost.C (throw_exception): new file, with helper function for
9056 boost compiled without exceptions.
9061 * ParameterStruct.h:
9062 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9064 * bufferlist.C (emergencyWriteAll): use boost bind
9066 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9068 * text.C: include paragraph_funcs.h
9069 (breakParagraph): breakParagraph is now in global scope
9071 * paragraph_funcs.[Ch]: new files
9073 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9076 * buffer.C: include paragraph_funcs.h
9077 (insertStringAsLines): breakParagraph is now in global scope
9079 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9082 * CutAndPaste.C: include paragraph_funcs.h
9083 (cutSelection): breakParagraphConservative is now in global scope
9084 (pasteSelection): ditto
9086 * buffer.h: declare oprator== and operator!= for
9087 Buffer::inset_iterator
9089 * bufferlist.C (emergencyWrite): don't use fmt(...)
9091 * text3.C: add using std::endl
9093 * BufferView.C (moveCursorUpdate): remove default arg
9095 2002-08-20 André Pönitz <poenitz@gmx.net>
9097 * buffer.[Ch]: move inline functions to .C
9100 * BufferView_pimpl.C:
9102 * buffer.[Ch]: use improved inset_iterator
9105 * paragraph.[Ch]: write one paragraph at a time
9107 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9109 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9110 style if style is not specified.
9112 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9114 * text2.C (setCounter): when searching for right label for a
9115 caption, make sure to recurse to parent insets (so that a caption
9116 in a minipage in a figure float works) (bug #568)
9118 2002-08-20 André Pönitz <poenitz@gmx.net>
9120 * text3.C: new file for LyXText::dispatch() and helpers
9122 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9124 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9126 2002-08-19 André Pönitz <poenitz@gmx.net>
9129 * text.C: new LyXText::dispatch()
9131 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9133 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9135 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9137 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9140 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9142 * Makefile.am: use $(variables) instead of @substitutions@
9144 2002-08-15 André Pönitz <poenitz@gmx.net>
9147 * BufferView_pimpl.C: streamlining mathed <-> outer world
9151 * LyXAction.C: remove unused LFUN_MATH
9153 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9155 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9157 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9159 * paragraph.C (Paragraph): reformat a bit
9160 (cutIntoMinibuffer): use builtin InsetList function instad of
9164 * buffer.C: include boost/bind.hpp, add using std::for_each
9165 (writeFileAscii): use ParagraphList iterators
9166 (validate): use for_each for validate traversal of paragraphs
9167 (getBibkeyList): use ParagraphList iterators
9168 (resizeInsets): use for_each to resizeInsetsLyXText for all
9170 (getParFromID): use ParagraphList iterators
9172 * BufferView2.C (lockInset): use paragraph list and iterators
9174 2002-08-14 John Levon <levon@movementarian.org>
9176 * lyxserver.C: remove spurious xforms include
9178 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9180 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9182 2002-08-13 André Pönitz <poenitz@gmx.net>
9185 * lyxfunc.C: further cleaning
9187 2002-08-13 André Pönitz <poenitz@gmx.net>
9189 * funcrequest.h: new constructor
9191 * funcrequest.C: move stuff here from .h
9194 * BufferView_pimpl.C:
9197 * lyxfunc.C: subsequent changes
9199 * lyxfunc.h: new view() member function
9201 * lyxfunc.C: subsequent changes
9203 2002-08-13 Angus Leeming <leeming@lyx.org>
9206 * BufferView_pimpl.C:
9214 changes due to the changed LyXView interface that now returns references
9215 to member variables not pointers.
9217 2002-08-13 Angus Leeming <leeming@lyx.org>
9219 * WordLangTuple (word, lang_code): return references to strings,
9224 * lyxtext.h: forward-declare WordLangTuple.
9229 * text.C: #include "WordLangTuple.h".
9232 * text.C: (selectNextWordToSpellcheck): constify return type.
9234 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9240 * paragraph_pimpl.h:
9243 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9245 Made updateCounter always count from start of buffer, and removed
9246 second argument (par).
9247 Reverted floats number display to '#'. Perhaps I'll try again when the
9248 code base is sanitized a bit.
9250 2002-08-12 Angus Leeming <leeming@lyx.org>
9252 * buffer.[Ch] (getLabelList): constify.
9254 2002-08-07 André Pönitz <poenitz@gmx.net>
9256 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9258 * funcrequest.h: extension to keep mouse (x,y) position
9260 2002-08-12 Juergen Vigna <jug@sad.it>
9262 * BufferView2.C (insertErrors): forbid undo when inserting error
9265 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9267 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9269 * ParagraphList.[Ch]: new files
9271 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9273 * BufferView2.C (lockInset): ParagraphList changes
9276 * bufferlist.C: ditto
9280 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9282 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9283 unused class variable counter_,
9285 * paragraph.[Ch] (getFirstCounter): delete unused function
9287 * counters.C: include LAssert.h
9288 (reset): add a new function with no arg, change other version to
9289 not have def. arg and to not allow empty arg.
9291 * text2.C (setCounter): remove empty arg from call to Counters::reset
9293 2002-08-11 John Levon <levon@movementarian.org>
9295 * Makefile.am: add WordLangTuple.h
9297 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9299 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9300 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9302 * insets/insettext.C: InsetList changes
9304 * graphics/GraphicsSupport.C (operator()): InsetList changes
9306 * toc.C (getTocList): InsetList changes
9308 * paragraph_pimpl.[Ch]: InsetList changes
9310 * paragraph.[Ch]: InsetList changes
9312 * buffer.C (inset_iterator): InsetList changes
9313 (setParagraph): ditto
9314 * buffer.h (inset_iterator): ditto
9315 * iterators.C (operator++): ditto
9316 * iterators.h: ditto
9318 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9320 * InsetList.[Ch]: new files, most InsetList handling moved out of
9323 * BufferView2.C (removeAutoInsets): InsetList changes
9325 (ChangeInsets): ditto
9327 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9329 * paragraph_pimpl.h (empty): new function
9331 * paragraph.[Ch] (empty): new function
9333 * other files: use the new Paragraph::empty function
9335 2002-08-09 John Levon <levon@movementarian.org>
9337 * lyxtext.h: remove unused refresh_height
9339 2002-08-09 John Levon <levon@movementarian.org>
9346 * paragraph.C: move sgml char escaping out of paragraph
9349 * paragraph.C: remove id setter
9353 * paragraph_pimpl.C: remove dead tex_code_break_column
9355 * bufferview_funcs.C: small cleanup
9357 * lyxfunc.C: remove dead proto
9359 * lyxtext.h: make some stuff private. Remove some dead stuff.
9361 * lyxgluelength.C: make as[LyX]String() readable
9363 2002-08-08 John Levon <levon@movementarian.org>
9368 * ToolbarDefaults.C:
9371 * toc.C: lyxaction cleanup
9373 2002-08-08 John Levon <levon@movementarian.org>
9375 * BufferView2.C: small cleanup
9378 * lyxfind.C: move unnecessary header into the .C
9380 2002-08-08 John Levon <levon@movementarian.org>
9382 * funcrequest.h: just tedious nonsense
9385 * lyx_main.C: cleanups
9388 * vspace.C: remove dead header lyx_main.h
9390 2002-08-07 Angus Leeming <leeming@lyx.org>
9393 * paragraph_pimpl.h:
9394 Forward declare class Counters in paragraph.h by moving the ctrs member
9395 variable into Paragraph::Pimpl.
9396 (counters): new method, returning a reference to pimpl_->ctrs.
9398 * text2.C: ensuing changes.
9400 2002-08-07 John Levon <levon@movementarian.org>
9402 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9404 * BufferView_pimpl.C: announce X selection on double/triple
9407 * lyx_main.C: use correct bool in batch dispatch
9409 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9411 2002-08-07 André Pönitz <poenitz@gmx.net>
9413 * funcrequest.h: new class to wrap a kb_action and its argument
9416 * BufferView_pimpl[Ch]:
9420 * lyxrc.C: subsequent changes
9423 2002-08-07 John Levon <levon@movementarian.org>
9425 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9426 document options change.
9428 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9433 * makefile.am: move counters functionality over from
9434 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9436 2002-08-06 John Levon <levon@movementarian.org>
9438 * WordLangTuple.h: new file for word + language code tuple
9449 * BufferView2.C: use WordLangTuple
9452 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9454 2002-08-06 John Levon <levon@movementarian.org>
9456 * lyx_main.C: fix cmdline batch handling
9458 2002-08-06 André Pönitz <poenitz@gmx.net>
9460 * lyxrc.C: set default for show_banner to true
9462 2002-08-06 John Levon <levon@movementarian.org>
9464 * pspell.C: fix a crash, and allow new aspell to work
9466 2002-08-06 John Levon <levon@movementarian.org>
9469 * kbmap.C: small cleanup
9472 * vspace.C: add const
9474 2002-08-05 John Levon <levon@movementarian.org>
9476 * LyXAction.C: back to tabular-insert
9478 2002-08-04 John Levon <levon@movementarian.org>
9481 * BufferView.C: cosmetic change
9483 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9493 * BufferView2.C: purge all "Lyx" not "LyX" strings
9496 * lyxcursor.C: attempt to add some documentation
9501 * ToolbarDefaults.C:
9502 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9503 merge with LFUN_TABULAR_INSERT
9510 * pspell.C: split up i/pspell implementations into separate
9511 files, many cleanups
9513 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9515 * text2.C: some cleanup
9517 * lyxfunc.C: don't check for isp_command == "none" any more, it
9518 didn't make any sense
9520 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9525 * makefile.am: move counters functionality over
9526 from text2.C/paragraph.[Ch] to counters.[Ch], and
9528 2002-08-02 John Levon <levon@movementarian.org>
9530 * buffer.C: s/lyxconvert/lyx2lyx/
9532 2002-08-02 Angus Leeming <leeming@lyx.org>
9534 * lyxlex.C: revert John's change as it breaks reading of the user
9537 2002-08-02 Angus Leeming <leeming@lyx.org>
9539 * importer.C (Import):
9540 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9541 changes due to LyXView::view() now returning a boost::shared_ptr.
9543 2002-08-02 John Levon <levon@movementarian.org>
9545 * lyxlex.C: small cleanup
9547 2002-08-02 John Levon <levon@movementarian.org>
9549 * text2.C (status): small cleanup, no logic change
9551 2002-08-01 John Levon <levon@movementarian.org>
9554 * buffer.C (writeFile): don't output alerts, caller
9558 * lyx_cb.C: from above
9560 * lyxfunc.C: allow to open non-existent files
9562 2002-07-31 John Levon <levon@movementarian.org>
9564 * lyxserver.C: don't let incidental errors get
9567 2002-07-30 John Levon <levon@movementarian.org>
9569 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9571 2002-07-30 John Levon <levon@movementarian.org>
9574 * lyxserver.C: remove I/O callback too
9576 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9578 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9581 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9583 * many files: strip,frontStrip -> trim,ltrim,rtrim
9585 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9587 * PrinterParams.h: remove extern containsOnly, and include
9588 support/lstrings.h instead.
9590 * LaTeX.C (scanAuxFile): modify because of strip changes
9592 * buffer.C (makeLaTeXFile): ditto
9593 * bufferparams.C (writeFile): ditt
9594 * lyxfont.C (stateText): ditto
9595 * lyxserver.C (read_ready): ditto
9596 * vc-backend.C (scanMaster): ditto
9598 * BufferView_pimpl.h: ws changes
9600 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9602 2002-07-26 André Pönitz <poenitz@gmx.net>
9604 * kb_sequence.C: remove unnedred usings
9606 2002-07-26 Juergen Vigna <jug@sad.it>
9608 * lyxfind.C (LyXReplace): we have to check better if the returned
9609 text is not of theLockingInset()->getLockingInset().
9611 2002-07-25 Juergen Vigna <jug@sad.it>
9613 * lyxfind.C (LyXReplace): don't replace if we don't get the
9616 * undo_funcs.C (createUndo): remove debugging code.
9618 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9620 * buffer.C (parseSingleLyXformat2Token): Use default placement
9621 when reading old floats.
9623 * FloatList.C (FloatList): Change the default placement of figure
9624 and tables to "tbp".
9626 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9628 * MenuBackend.C: using std::max
9630 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9632 * MenuBackend.C (expandToc):
9633 (expandToc2): code moved from xforms menu frontend. It is now
9634 generic and TOCs are transparent to menu frontends.
9636 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9638 * toc.C (getTocList): protect against buf=0
9640 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9641 Menu as first parameter. Now, this calls itself recursively to
9642 expand a whole tree (this will be useful for TOC handling)
9643 (expandFloatInsert): remove 'wide' version of floats
9645 * MenuBackend.h (submenuname): returns the name of the submenu.
9646 (submenu): returns the submenu itself, provided it has been
9647 created by MenuBackend::expand
9649 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9651 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9652 insets which have noFontChange == true. (bug #172)
9654 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9656 * BufferView_pimpl.C: add connection objects and use them...
9659 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9661 * MenuBackend.C (expandLastfiles):
9664 (expandFloatListInsert):
9665 (expandFloatInsert):
9666 (expand): split expand in parts
9668 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9670 * lyx_gui.C: use lyx_gui::exit()
9672 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9674 * LyXAction.C: show the failing pseudo action
9676 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9678 * buffer.C (readFile): Run the lyxconvert script in order to read
9681 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9685 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9687 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9691 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9693 2002-07-22 Herbert Voss <voss@lyx.org>
9696 * lyxlength.[Ch]: add support for the vertical lengths
9698 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9700 * toc.[Ch]: std:: fixes
9702 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9704 * lyxrc.C: do not include lyx_main.h
9706 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9712 * BufferView2.C: include "lyxlex.h"
9715 * bufferparams.h: do not #include "lyxlex.h"
9717 * lyxtextclasslist.C (Add): remove method
9718 (classlist): renamed to classlist_
9720 * paragraph_pimpl.C:
9724 * bufferview_funcs.C:
9729 * toc.C (getTocList): use BufferParams::getLyXTextClass
9731 * toc.C (getTocList): use InsetFloat::addToToc
9733 * toc.[Ch]: new files, containing helper functions to handle table
9736 * lyxfunc.C (dispatch): no need to remove spaces around command
9738 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9739 first command of the sequence; it is not very clever, but I do not
9740 have a better idea, actually
9742 * LyXAction.C (LookupFunc): make sure to remove space at the
9743 beginning and end of the command
9745 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9747 * MenuBackend.C (getMenubar): new method: return the menubar of
9749 (read): treat differently reading of menu and menubar (in
9750 particular, the menubar has no name now)
9751 (Menu::menubar): remove
9753 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9756 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9758 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9759 a bibitem inset in a RTL paragraph.
9761 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9763 * paragraph_pimpl.C: constify
9765 * BufferView_pimpl.C:
9767 * lyxfunc.C: fix dispatch in a nicer way
9769 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9771 * lyxfunc.C (dispatch):
9772 * BufferView_pimpl.C:
9773 * BufferView_pimpl.h:
9775 * BufferView.h: rename Dispatch() to dispatch()
9777 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9779 * lyxlayout.C (Read): honor DependsOn tag
9781 * lyxlayout.[Ch] (depends_on): new method
9783 * version.C.in: update lyx_docversion
9785 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9787 * paragraph.C (validate): remove from here...
9788 * paragraph_pimpl.C (validate): ... and move here
9789 (isTextAt): make it const
9791 * buffer.C (getLists): ws cleanup
9793 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9795 * language.C (read): Use iso8859-1 encoding in latex_lang
9796 (this prevents LyX from crashing when using iso10646-1 encoding).
9798 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9800 * text2.C (toggleInset): if cursor is inside an inset, close the
9801 inset and leave cursor _after_ it
9803 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9805 * lyxfunc.C: move minibuffer completion handling out of here
9807 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9809 * BufferView_pimpl.C:
9810 * LaTeX.C: fix dispatch calls
9812 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9814 * text.C (drawChars): Fix Arabic text rendering.
9816 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9820 * lyxfunc.C: remove message-push/pop
9824 * lyxfunc.C: rationalise some code by removing verboseDispatch
9825 in favour of a bool argument to dispatch()
9827 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9829 * lyx_main.C (init): make sure to read symlinks as absolute paths
9831 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9834 * lyxfunc.C: no need for commandshortcut to be a member
9836 2002-07-15 André Pönitz <poenitz@gmx.net>
9838 * converter.C: add support for $$s (scripts from lib/scripts dir)
9839 * lyx_main.C: white space
9841 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9845 * lyxrc.C: remove second exit confirmation
9847 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9852 * BufferView_pimpl.h:
9853 * BufferView_pimpl.C:
9854 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9856 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9858 * MenuBackend.C (expand): add numeric shortcuts to document menu
9860 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9862 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9864 * lyxfont.C (setLyXFamily):
9871 * buffer.C (asciiParagraph): use ascii_lowercase
9873 2002-07-15 Mike Fabian <mfabian@suse.de>
9875 * lyxlex_pimpl.C (search_kw):
9876 * lyxlex.C (getLongString):
9877 * converter.h (operator<):
9878 * converter.C (operator<):
9879 * buffer.C (parseSingleLyXformat2Token):
9881 * ToolbarDefaults.C (read):
9882 * MenuBackend.C (checkShortcuts):
9884 * LColor.C (getFromGUIName):
9885 (getFromLyXName): use the compare_ascii_no_case instead of
9886 compare_no_case, because in turkish, 'i' is not the lowercase
9887 version of 'I', and thus turkish locale breaks parsing of tags.
9889 2002-07-16 Angus Leeming <leeming@lyx.org>
9891 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9892 now takes a Buffer const & argument.
9894 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9896 * BufferView.C (resize): check there's a buffer to resize
9898 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9900 * lyxfunc.C: remove dead code
9903 * lyxserver.C: use lyx_guii::set_read_callback
9905 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9907 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9908 an inset in a RTL paragraph.
9910 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9912 * lyxfunc.C: repaint after a font size update
9914 2002-07-15 André Pönitz <poenitz@gmx.net>
9916 * lyxlength.C: inBP should be able to return negative values
9918 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9920 * lyxfunc.C: use lyx_gui::update_fonts()
9922 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9924 * lyxfunc.C: use lyx_gui::update_color()
9926 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9932 * lyxrc.C: remove file->new asks for name option, and let
9933 buffer-new take an argument
9935 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9937 * BufferView_pimpl.C: remove unneeded extra repaint()
9939 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9941 * LyXAction.C: allow command-sequence with NoBuffer
9943 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9945 2002-07-10 Angus Leeming <leeming@lyx.org>
9947 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9949 2002-07-09 Angus Leeming <leeming@lyx.org>
9951 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9953 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9955 * lengthcommon.h: whitespace
9957 * lyxfunc.C: update scrollbar after goto paragraph
9959 * lyxtext.h: factor out page break drawing, and fix it so
9960 page break/added space paints as selected nicely
9962 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9964 * BufferView_pimpl.C: add FIXMEs, clean up a little
9966 2002-07-09 André Pönitz <poenitz@gmx.net>
9968 * lyxfont.[Ch]: support for wasy symbols
9970 2002-07-08 André Pönitz <poenitz@gmx.net>
9972 * BufferView_pimpl.C: apply John's patch for #93.
9974 2002-07-05 Angus Leeming <leeming@lyx.org>
9976 * BufferView_pimpl.C (buffer): generate previews if desired.
9978 * LColor.h: add "preview" to the color enum.
9980 * LColor.C (LColor): add a corresponding entry to the items array.
9982 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9985 2002-07-05 Angus Leeming <leeming@lyx.org>
9987 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9988 The body of the code is now in the method that is passed an ostream &
9989 rather than a file name.
9990 Pass an additional only_preamble parameter, useful for the forthcoming
9993 2002-07-03 André Pönitz <poenitz@gmx.net>
9995 * lyxfunc.C: simplify getStatus() a bit for math stuff
9997 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9999 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10001 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10003 * text.C (changeRegionCase): do not change case of all the
10004 document when region ends at paragraph end (bug #461)
10006 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10008 * paragraph.C (startTeXParParams):
10009 (endTeXParParams): add \protect when necessary
10011 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10013 * BufferView_pimpl.C (workAreaExpose): remove warning
10015 2002-06-27 Angus Leeming <leeming@lyx.org>
10017 * Makefile.am: add lyxlayout_ptr_fwd.h.
10019 2002-06-26 André Pönitz <poenitz@gmx.net>
10021 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10023 2002-06-25 Angus Leeming <leeming@lyx.org>
10025 * lyxfunc.C (dispatch): Comment out the call to
10026 grfx::GCache::changeDisplay. The method no longer exists now that the
10027 pixmap generation part of the graphics loader has been moved into
10030 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10032 * text2.C: layout as layout
10034 * text.C: layout as layout
10036 * tabular.C (OldFormatRead): layout as layout
10038 * paragraph_pimpl.C (TeXDeeper): layout as layout
10039 (realizeFont): layout as layout
10041 * paragraph.C (writeFile): layout as layout
10042 (validate): layout as layout
10043 (getFont): layout as layout
10044 (getLabelFont): layout as layout
10045 (getLayoutFont): layout as layout
10046 (breakParagraph): layout as layout
10047 (stripLeadingSpaces): layout as layout
10048 (getEndLabel): layout as layout
10049 (getMaxDepthAfter): layout as layout
10050 (applyLayout): layout as layout
10051 (TeXOnePar): layout as layout
10052 (simpleTeXOnePar): layout as layout
10053 (TeXEnvironment): layout as layout
10054 (layout): layout as layout
10055 (layout): layout as layout
10057 * lyxtextclass.C (compare_name): new functor to work with
10058 shared_ptr, layout as layout
10059 (Read): layout as layout
10060 (hasLayout): layout as layout
10061 (operator): layout as layout
10062 (delete_layout): layout as layout
10063 (defaultLayout): layout as layout
10065 * lyxlayout_ptr_fwd.h: new file
10067 * lyxlayout.C (Read): layout as layout
10069 * lyx_cb.C (MenuInsertLabel): layout as layout
10071 * bufferlist.C (newFile): layout as layout
10073 * buffer.C (readLyXformat2): layout as layout
10074 (parseSingleLyXformat2Token): layout as layout
10075 (insertStringAsLines): layout as layout
10076 (asciiParagraph): layout as layout
10077 (latexParagraphs): layout as layout
10078 (makeLinuxDocFile): layout as layout
10079 (simpleLinuxDocOnePar): layout as layout
10080 (makeDocBookFile): layout as layout
10081 (simpleDocBookOnePar): layout as layout
10082 (getLists): layout as layout
10084 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10086 * CutAndPaste.C (cutSelection): layout as layout
10087 (pasteSelection): layout as layout
10088 (SwitchLayoutsBetweenClasses): layout as layout
10090 * BufferView_pimpl.C (Dispatch): layout as layout
10091 (smartQuote): layout as layout
10093 * BufferView2.C (unlockInset): layout as layout
10095 2002-06-24 André Pönitz <poenitz@gmx.net>
10097 * lyxfunc.C: fix #487
10099 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10103 * lyxfunc.C: remove display_shortcuts, show_banner
10105 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10107 * Buffer_pimpl.C: oops, update on resize
10109 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10116 * BufferView.C: use repaint()
10118 * BufferView_pimpl.h:
10119 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10120 as it's a clearer description. Remove superfluous
10123 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10125 * text.C: fix bug 488. Not ideal, but getting
10126 getWord() to work properly for the insets that
10127 matter is more difficult ...
10129 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10131 * BufferView_pimpl.C:
10134 * lyxfunc.C: remove the six million index lyxfuncs to just
10135 one, and DTRT (bug 458)
10137 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10141 * BufferView_pimpl.h:
10142 * BufferView_pimpl.C: clean up resize() stuff,
10143 and unnecessary updateScreen()s
10145 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10149 * BufferView_pimpl.h:
10150 * BufferView_pimpl.C:
10153 * minibuffer.C: remove focus management of workarea,
10154 not needed. Use screen's greyOut()
10156 2002-06-17 Herbert Voss <voss@lyx.org>
10158 * converter.C: (convert) do not post a message, when converting
10159 fails, let the calling function decide what to do in this case
10161 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10163 * lyxfunc.C: tidy up a little
10165 2002-06-16 <alstrup@diku.dk>
10167 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10168 Got rid of FORMS_H_LOCATION include. Now we are
10171 2002-06-15 LyX Development team <lyx@rilke>
10173 * buffer.[Ch] (sgmlOpenTag):
10174 (sgmlCloseTag): Added support for avoiding pernicious mixed
10175 content. Return number of lines written.
10177 (makeLinuxDocFile):
10178 (makeDocBookFile): Fixed calls to sgml*Tag.
10179 Simple white space clean.
10181 (simpleDocBookOnePar): Simple white space clean.
10183 * tabular.[Ch] (docBook): Renamed to docbook and got another
10184 argument to related with the pernicious mixed content.
10186 (docbookRow): Fixed calls for docbook inset method.
10188 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10190 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10191 so it's X11 independent.
10195 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10197 2002-06-15 Lyx Development team <lyx@electronia>
10199 * intl.h: Renamed getTrans to getTransManager.
10201 2002-06-14 Angus Leeming <leeming@lyx.org>
10203 * Makefile.am: nuke forgotten stl_string_fwd.h.
10205 2002-06-12 Angus Leeming <leeming@lyx.org>
10207 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10209 2002-06-13 Angus Leeming <leeming@lyx.org>
10212 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10214 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10216 * kbmap.C (getiso): add support for cyrillic and greek
10218 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10222 * BufferView_pimpl.h:
10223 * BufferView_pimpl.C: move bogus scrolling logic
10226 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10229 * BufferView_pimpl.C: view->resize() change
10231 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10233 * BufferView_pimpl.C: topCursorVisible
10236 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10240 * lyx_gui.C: move to frontends/
10244 * lyx_main.C: changes from above
10246 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10253 * lyx_main.C: minor tidy
10255 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10257 * BufferView_pimpl.h:
10258 * BufferView_pimpl.C:
10260 * BufferView.C: make painter() const,
10263 * BufferView2.C: use screen() accessor
10266 * lyx_main.C: some minor cleanup
10268 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10270 * BufferView_pimpl.h:
10271 * BufferView_pimpl.C: remove enter/leaveView,
10274 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10279 * BufferView_pimpl.h:
10280 * BufferView_pimpl.C: only construct screen once,
10283 * lyxrc.C: remove pointless comment
10285 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10288 * BufferView.C: remove active() and belowMouse()
10290 * BufferView_pimpl.h:
10291 * BufferView_pimpl.C: use workarea() not workarea_,
10292 and make it use a scoped_ptr instead
10294 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10296 * lyx_gui.C: add debug message on BadWindow
10298 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10300 * sp_spell.C: fdopen is not part of the C++ standard.
10302 * paragraph.C (InsetIterator): use >= instead of ==
10304 2002-06-07 Angus Leeming <leeming@lyx.org>
10306 Fixes needed to compile with Compaq cxx 6.5.
10307 * BufferView_pimpl.C:
10314 * lyxtextclasslist.C:
10319 all c-library variables have been moved into namespace std. Wrap
10320 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10325 Add a using std::abs declaration.
10327 * kbmap.h (modifier_pair):
10328 * paragraph.h (InsetTable, InsetList):
10329 * lyxfont.h (FontBits):
10330 type definition made public.
10332 * bufferlist.C (emergencyWriteAll): the compiler complains that
10333 there is more than one possible lyx::class_fun template to choose from.
10334 I re-named the void specialisation as lyx::void_class_fun.
10336 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10338 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10339 the compiler is is unable to find tostr in write_attribute.
10341 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10343 * buffer.C (sgmlError): hide #warning
10345 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10347 * xtl/*: get rid of xtl, which is not in use anyway
10349 * LyXAction.C (init):
10350 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10351 were unimplemented xtl experimentation
10353 2002-06-04 André Pönitz <poenitz@gmx.net>
10355 * lyxfunc.C: disable array operation on simple formulae
10357 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10359 * converter.C: constify a bit
10361 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10363 * lyx_gui.C: check xforms version correctly
10365 2002-04-30 Herbert Voss <voss@lyx.org>
10367 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10370 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10372 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10373 attempt to register it with a VCS)
10375 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10377 * lyx_main.C (init): honor variables LYX_DIR_13x and
10380 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10384 * lyx_main.C: fix a crash on bad command line,
10385 and give a useful exit status on error
10387 * lyxfunc.C (doImport): allow -i lyx to work
10389 2002-03-30 André Pönitz <poenitz@gmx.net>
10391 * lyxfunc.C: mathed font changes
10393 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10408 * trans_mgr.h: srcdocs, and some minor cleanups
10410 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10412 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10413 call getFont all the time)
10415 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10417 * switch from SigC signals to boost::signals
10419 2002-05-29 André Pönitz <poenitz@gmx.net>
10421 * paragraph_pimpl.C (getChar): don't call size() too often...
10423 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10425 * paragraph_pimpl.C (insertChar): do not try to update tables when
10426 appending (pos == size())
10428 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10429 in order to reduce drastically the number of comparisons needed to
10430 parse a large document
10432 2002-05-29 André Pönitz <poenitz@gmx.net>
10438 * textclasslist.[Ch]:
10439 * sp_ispell.h: whitespace change
10441 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10443 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10444 lyxaction directly now.
10446 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10450 * lyxvc.C: remove unused headers
10452 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10459 * undo_funcs.C: some cleanups. Use shared_ptr
10460 and a template for the undo stacks.
10462 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10464 * BufferView_pimpl.h:
10465 * BufferView_pimpl.C:
10472 * text2.C: use key_state/mouse_state
10474 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10476 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10479 * chset.C: change include order
10480 (loadFile): use boost regex and get rid of LRegex and LSubstring
10482 * Makefile.am (BOOST_LIBS): new variable
10483 (lyx_LDADD): use it
10485 * LaTeX.C: change include order.
10486 (scanAuxFile): use boost regex and get rid of LRegex and
10490 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10495 * FontInfo.C: moved to frontends/xforms/
10498 * FontLoader.C: moved into frontends for GUIIzation
10503 * lyxfunc.C: changes from above
10505 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10507 * LColor.C: remove spurious X include
10509 * BufferView_pimpl.C:
10514 * text2.C: move font metrics to frontends/
10516 2002-05-24 Juergen Vigna <jug@sad.it>
10518 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10519 setting the undo_cursor.
10521 * ParagraphParameters.h: include local includes first.
10523 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10525 * BufferView_pimpl.C:
10526 * BufferView_pimpl.h:
10530 * screen.C: move WorkArea into frontends/
10536 * BufferView2.C: move LyXScreen into frontends/
10540 * lyx_gui.C: move lyxlookup into frontends/xforms/
10542 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10545 * BufferView_pimpl.C:
10555 * bufferview_funcs.C:
10568 * vc-backend.C: move LyX/XFormsView into frontends/
10570 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10582 * text2.C: move Painter to frontends/
10584 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10586 * buffer.C: comment out some some code that depend upon lyx_format
10589 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10590 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10592 * buffer.h (NO_COMPABILITY): turn off compability
10594 * ColorHandler.C: include scoped_array.hpp
10596 * font.C: Use more specific smart_ptr header.
10599 * ShareContainer.h: ditto
10600 * lyx_main.h: ditto
10602 * FontInfo.h: ditto
10603 * BufferView_pimpl.h: ditto
10604 * ColorHandler.h: ditto
10606 * kbmap.C (defkey): change call to shared_ptr::reset
10608 2002-05-21 Juergen Vigna <jug@sad.it>
10610 * buffer.C (insertErtContents): fix to insert ert asis if it is
10611 non empty. Skip it completely if it contains only whitespaces.
10613 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10615 * BufferView_pimpl.C:
10616 * BufferView2.C: clear selection on paste (bug 393)
10618 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10620 * DepTable.C: include ctime
10622 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10624 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10626 2002-05-14 Juergen Vigna <jug@sad.it>
10628 * text.C (breakParagraph): fixed function to honor the keepempty
10629 layout in the right maner and also to permit the right breaking
10630 algorithm on empty or non empyt keepempty paragraphs.
10632 * paragraph.C (breakParagraph): we have to check also if the par
10633 is really empty (!size()) for isempty otherwise we do the wrong
10636 2002-05-10 Juergen Vigna <jug@sad.it>
10638 * buffer.[Ch] : The following are only changes to the ert
10639 compatibility read reading old LaTeX layout and font stuff and
10640 convert it to ERTInsets.
10642 * buffer.h: added isErtInset().
10644 * buffer.C (struct ErtComp): add a fromlayout bool to check
10645 if we're inside a LaTeX layout.
10646 (isErtInset): new helper function.
10647 (insertErtContents): look for other ert insets before this one
10648 and insert the contents there, so that we don't have subsequent
10649 ERT insets with nothing between them. This way we create only one
10650 inset with multiple paragraphs. Also check if we don't insert only
10651 spaces ' ' as they are ignored anyway afterwards in the .tex file
10652 so if we have only spaces we will ignore this latex part in the
10654 (parseSingleLyXformat2Token \\layout): better compatibility when
10655 reading layout-latex stuff.
10656 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10658 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10659 stuff after reading the inset only get the information back from
10662 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10664 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10666 * LaTeXFeatures.C (getBabelOptions): New method.
10668 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10670 * BufferView_pimpl.C (Dispatch): work around missing argument for
10673 2002-05-08 Juergen Vigna <jug@sad.it>
10675 * text.C (leftMargin): handle paragraph leftindent.
10677 * paragraph.C (writeFile): write the new \\leftindent tag.
10678 (validate): handle leftindent code.
10679 (TeXEnvironment): handle paragraphleftindent code again.
10681 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10683 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10684 for paragrap_extra indent code and new token \\leftindent.
10685 (latexParagraphs): handle the leftindent as environment.
10687 * ParameterStruct.h: added leftindent support.
10689 * ParagraphParameters.C (leftIndent): added support functions for
10690 the paragraph left indent.
10692 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10695 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10697 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10700 * text.C (computeBidiTables): No bidi in insetERT.
10702 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10705 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10707 * version.C.in: pre 5
10709 2002-05-02 José Matos <jamatos@fep.up.pt>
10710 * buffer.C (makeDocBookFile): white space changes, add newline to
10712 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10714 * tabular.C (docBook): fix typo.
10716 2002-05-03 Juergen Vigna <jug@sad.it>
10718 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10719 change in LyXText as we can not be sure it was not freed.
10720 (drawOneRow): remove unused code.
10722 * text.C (drawInset): redo the calculation of the need_break_row as
10723 it could have a row which was already freed.
10724 (draw): look at the return value of drawInset and return false if
10725 it also returned false.
10726 (paintRowText): look at the return value of draw and return false if
10727 it also returned false.
10729 * lyxtext.h: added bool return type to drawInset() and draw() so that
10730 if we have a change in the row so that the rowbreak has to be redone
10731 we abort drawing as it will be called again.
10733 2002-05-02 Juergen Vigna <jug@sad.it>
10735 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10736 a change in the maintext also if we're inside an inset.
10737 (Dispatch): set the cursor again after a break line and after the
10738 screen has been updated as it could be we're in a different row.
10740 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10741 to set the cursor behind the pargraph with > size().
10742 (setCursor): check also for the same paragraph when checking where
10743 to put the cursor if we have a NFR inset.
10745 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10746 parts of layout read further up as it still was in the wrong
10749 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10751 * screen.C (drawFromTo): change sine fullRebreak always return
10754 * buffer.C (parseSingleLyXformat2Token): reindent some
10756 * BufferView_pimpl.C (update): change since fullRebreak always
10758 (Dispatch): git rid of the last hardcoded "Standard"s.
10760 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10762 * text2.[Ch] (fullRebreak): make it return void now that we always
10765 2002-04-30 Juergen Vigna <jug@sad.it>
10767 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10768 ert compatibility check for "latex" layout.
10770 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10772 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10773 minipages: use col% instead of p%, and also use the current font.
10774 (makeLaTeXFile): Fix use babel condition.
10775 (parseSingleLyXformat2Token): Correct font when reading old floats.
10777 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10779 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10780 inserting list of floats.
10782 2002-04-25 Herbert Voss <voss@lyx.org>
10784 * MenuBackend.C (expand): don't add the graphics extensions to the
10787 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10789 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10790 non-existing layout, do not complain if it was the default layout
10791 of the original class (bug #342)
10793 2002-04-24 Juergen Vigna <jug@sad.it>
10795 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10796 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10798 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10800 * buffer.C (getBibkeyList): If using \bibliography, return the
10801 option field with the reference itself. Enables us to provide natbib
10802 support when using \bibliography.
10804 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10806 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10808 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10809 natbib is provided by the LaTeX class.
10811 2002-04-23 Juergen Vigna <jug@sad.it>
10813 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10816 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10818 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10820 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10822 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10823 ensuremath around textordmasculine, textordfeminine and
10826 2002-04-19 Juergen Vigna <jug@sad.it>
10828 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10829 reinitializing the buffer otherwise row-dimensions may be wrong.
10830 (update): reset also the selection cursors if they do exits otherwise
10831 their x/y positions may be wrong.
10833 * text2.C (cursorDown): don't enter the inset if we came from a row
10834 above and are one row over the inset.
10836 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10837 really leaving an inset.
10839 2002-04-18 Juergen Vigna <jug@sad.it>
10841 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10842 of the selected paragraph does not have the selected layout also if
10845 * text2.C (setLayout): fixed bug which did not change last selected
10848 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10849 changed the read and substituted \\end_float with \\end_inset!
10851 * BufferView_pimpl.C (cursorPrevious):
10852 (cursorNext): fixed to make it work with rows heigher than the work
10853 area without moving the cursor only the draw of the row.
10854 (workAreaMotionNotify): fix jumping over high rows.
10856 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10858 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10861 2002-04-16 Juergen Vigna <jug@sad.it>
10863 * text2.C (setCursor): set also the irow().
10864 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10866 (cursorDown): support for locking an inset if the x_fix value goes
10867 inside it. That way I can transverse insets too with cursor up/down.
10869 * lyxrow.h: added irow helper function same as other (i) functions.
10871 * BufferView_pimpl.C (cursorPrevious):
10872 (cursorNext): fixed for insets!
10874 2002-04-15 Juergen Vigna <jug@sad.it>
10876 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10877 position otherwise it is wrong in some cases.
10879 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10880 inside the inset before the call.
10882 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10884 * buffer.[Ch] (getBibkeyList): make it const.
10886 2002-04-12 Juergen Vigna <jug@sad.it>
10888 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10890 * text2.C (getCursorX): new helper function
10891 (setCursor): compute also ix_
10892 (setCursorFromCoordinates): set also ix.
10894 * lyxcursor.h: added ix_ and helper functions.
10896 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10898 * buffer.C (insertStringAsLines): dont break paragraph if the this
10899 paragraph is inside an inset which does not permit it!
10901 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10902 also with no chars on this paragraph.
10903 (paintRowText): only paint stuff if it's inside the workarea!
10905 * paragraph.C (breakParagraph): honor keepempty flag and break the
10906 paragraph always below not above.
10908 * BufferView2.C (unlockInset): update the paragraph layout on inset
10909 unlock as we changed paragraph in such a case.
10911 * lyxfind.C (LyXFind): clear the former selection if not found!
10913 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10914 again called in insertChar().
10916 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10917 an inset which uses the whole row!
10918 (rightMargin): ditto.
10919 (insertChar): force a rebreak if we inserted an inset!
10921 2002-03-28 Herbert Voss <voss@lyx.org>
10923 * lyxlength.[Ch]: add inBP() to get the right PS-point
10924 units (BigPoint). With inPixels we have rounding errors
10926 2002-04-11 Juergen Vigna <jug@sad.it>
10928 * text2.C (setCursorFromCoordinates): set iy to the right value.
10929 (setCursor): add check if row->previous exists!
10931 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10932 an old float_type as this was the case in the old code!
10934 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10936 * BufferView2.C (showLockedInsetCursor): use iy
10937 (fitLockedInsetCursor): ditto
10939 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10940 locked insets as there we have the right value now.
10942 * lyxcursor.C: added iy_ variable and iy functions to set to the
10943 baseline of cursor-y of the locked inset.
10945 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10946 (setCursor): fixed for insets which need a full row.
10948 * text.C (rowLastPrintable): don't ignore the last space when before
10949 an inset which needs a full row.
10950 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10951 as last character of a row when before a inset which needs a full row.
10953 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10955 * version.C.in: update date
10957 * text2.C (fullRebreak): try to always return true and see what
10960 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10962 * MenuBackend.C (expand): use Floating::listName
10964 * FloatList.C (FloatList): add listName argument to the built-in
10967 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10968 text associated with the float.
10970 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10972 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10974 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10976 * ShareContainer.h: add a couple of missing typenames.
10978 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10980 * lyxrc.C (getDescription): use _() correctly rather than N_().
10982 2002-03-28 Herbert Voss <voss@lyx.org>
10984 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10985 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10987 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10989 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10990 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10992 2002-03-29 Juergen Vigna <jug@sad.it>
10994 * lyxfunc.C (dispatch): add a missing fitCursor call.
10996 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10997 it was scrolled by a cursor move, so return the bool status.
10999 * BufferView.C (fitCursor): return the bool flag also to the outside
11000 world as this is needed.
11002 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11004 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11005 call the edit() as it is not needed (and wrong) IMO.
11006 (workAreaButtonPress): set the screen_first variable before evt.
11007 unlock the inset as this may change screen_first and then we have
11008 a wrong y position for the click!
11010 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11012 * MenuBackend.C (expand): another translation that I missed
11014 2002-03-28 Juergen Vigna <jug@sad.it>
11016 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11018 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11020 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11022 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11024 * MenuBackend.C (expand): fix export/view/update when there is no
11027 2002-03-27 Herbert Voss <voss@lyx.org>
11029 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11032 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11034 * bufferview_funcs.C (currentState): only show paragraph number
11035 for is DEVEL_VERSION is set.
11037 * lyxfunc.C (dispatch): put warning in INFO channel
11039 * MenuBackend.C (expand): translate the name of floats
11041 * FloatList.C (FloatList): mark the float names for translation
11043 * converter.C (convert): use LibScriptSearch
11045 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11047 * MenuBackend.C (defaults): fix default menu (we might as well get
11050 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11052 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11055 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11057 * lyxvc.C: reorder includes.
11059 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11061 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11064 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11066 * CutAndPaste.C: change layouts earlier on paste
11067 to avoid crashing when calling getFont()
11069 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11071 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11074 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11076 * WorkArea.C: remove 'Pending' debug message.
11078 * most files: ws cleanup
11080 * buffer.[Ch]: ws changes
11082 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11084 2002-03-21 Juergen Vigna <jug@sad.it>
11086 * tabular.C (SetMultiColumn): collapse also the contents of the
11087 cells and set the last border right. Added a Buffer const * param.
11089 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11091 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11094 2002-03-19 Juergen Vigna <jug@sad.it>
11096 * text2.C (clearSelection): reset also xsel_cache.
11098 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11099 where it needs to be called (John tells us to do so too :)
11100 (selectionLost): reset sel_cache.
11102 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11104 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11106 * text2.C (setCursorIntern): put debuging code in INSETS channel
11108 2002-03-19 André Pönitz <poenitz@gmx.net>
11110 * lyxfunc.C: tiny whitespace change
11112 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11114 * ToolbarDefaults.C (init):
11115 * LyXAction.C (init):
11117 * BufferView_pimpl.C (Dispatch):
11118 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11120 2002-03-19 Allan Rae <rae@lyx.org>
11122 * exporter.C (Export): removeAutoInsets before doing anything else.
11123 While I've just introduced a dependency on BufferView this really is
11124 the best place to clean the buffer otherwise you need to cleanup in
11125 a dozen places before calling export or cleanup in a dozen functions
11128 * converter.C (runLaTeX):
11129 (scanLog): Better handling of removeAutoInsets and screen updates.
11131 * lyxfunc.C (dispatch): small whitespace changes
11133 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11135 * WorkArea.C (C_WorkAreaEvent): return a value.
11136 (event_cb): return 1 if we handled the event, 0 otherwise.
11138 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11140 2002-03-18 Juergen Vigna <jug@sad.it>
11142 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11143 (GetAdditionalWidth): ditto.
11144 (RightLine): ditto.
11147 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11148 inset if we're there actually (probably not used right now but this
11149 is the direction to go for unifying code).
11150 (paste): disable code to clear the selection.
11152 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11153 inside an InsetText and move the check further up as it is in the
11156 * text2.C (pasteSelection): set a selection over the pasted text.
11158 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11160 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11161 and libgraphics to build on Cygwin.
11163 2002-03-15 Juergen Vigna <jug@sad.it>
11165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11166 inserting an Inset into the paragraph. I know this is not the best
11167 fix but we already use current_view in CutAndPaste so we will remove
11168 all of it's using at the same time.
11170 * buffer.C (sgmlError): deactivated function till it is rewritten in
11171 the right mode, now it can create problems.
11173 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11174 before accessing it.
11176 2002-03-14 Juergen Vigna <jug@sad.it>
11178 * undo_funcs.C (textHandleUndo): do the right thing when updating
11179 the inset after the undo/redo.
11181 * text2.C (setCursor): just some testcode for #44 not ready yet.
11183 * undo_funcs.C (textHandleUndo): set the next() and previous()
11184 pointers of the paragraph to 0 before deleting otherwise we have
11185 problems with the Paragraph::[destructor].
11187 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11188 on a paragraph insertion.
11190 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11192 * buffer.C (asciiParagraph): use += operator for char append to
11195 * paragraph.C (getFontSettings): compare >= not just >
11196 (highestFontInRange): ditto
11199 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11201 * paragraph.C: change several algorithm to be more appripriate for
11202 the problem domain. This is lookip in FontList and in the InsetList.
11204 2002-03-13 André Pönitz <poenitz@gmx.net>
11207 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11209 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11214 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11216 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11218 * Painter.C (display): anon helper function, adjust code for this
11220 (pixmap): remove function.
11222 * Painter.h: remove private display variable.
11224 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11226 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11228 * WorkArea.[Ch]: remove figinset_canvas cruft.
11230 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11232 * lyxtextclass.C (operator): add one item cache optimization.
11234 * bufferlist.h: doxy changes
11236 * bufferlist.C: ws changes
11238 * DepTable.[Ch] (ext_exist): place const in the right spot.
11240 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11242 (workAreaExpose): call resizeInsets when the with BufferView changes.
11243 (Dispatch): adjust for protectedBlank removal
11244 (specialChar): call updateInset if the insert went ok.
11246 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11247 specialChar instead.
11249 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11251 * BufferView.h: doxy change
11253 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11255 * lyxtextclass.C (operator[]): remove non-const version
11256 (defaultLayout): remove non-const version
11258 2002-03-12 Juergen Vigna <jug@sad.it>
11260 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11261 did resize the LyXText too.
11263 * buffer.C (readLyXformat2): set layout information on newly allocated
11266 * tabular.C (OldFormatRead): set layout information on the paragraph.
11268 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11270 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11272 2002-03-11 Juergen Vigna <jug@sad.it>
11274 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11276 (resizeCurrentBuffer): force also the insets to resize themselfes.
11277 (moveCursorUpdate): fixed up for InsetText.
11279 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11282 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11283 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11284 value of Dialogs::tooltipsEnabled().
11285 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11287 2002-03-08 Juergen Vigna <jug@sad.it>
11289 * BufferView_pimpl.C (updateInset): update inset inside inset also
11290 if it isn't inside theLockingInset().
11292 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11294 * buffer.C (asciiParagraph): redo some of the word and line length
11296 (getLists): look for Caption instead of caption.
11298 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11300 * buffer.C (Buffer): initialize niceFile to true
11302 (makeLinuxDocFile):
11303 (makeDocBookFile): make sure niceFile is true on exit
11305 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11307 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11309 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11311 * LyXSendto.C: remove.
11312 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11313 * lyx_gui.C: remove now-redundant comment.
11314 * ColorHandler.h: remove forward declaration of class WorkArea.
11315 * lyxfunc.C: remove #include "WorkArea.h".
11317 2002-03-07 Juergen Vigna <jug@sad.it>
11319 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11320 got moved away with the DEPM and also set the inset_owner always
11321 right which before could have been omitted.
11323 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11325 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11326 wanted layout is not found.
11328 2002-03-07 Juergen Vigna <jug@sad.it>
11330 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11332 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11334 * paragraph.C (breakParagraph): use default layout not layout of
11336 (Paragraph): clear ParagraphParameters.
11338 2002-03-06 Juergen Vigna <jug@sad.it>
11340 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11341 otherwise it would not be a valid lenght. Fixed a special case in
11342 the minipage compatibility read where we end the document with a
11345 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11346 was set as it could be 0 for InsetTexts first entry.
11348 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11350 * paragraph.C (writeFile): if layout is empty write out
11351 defaultLayoutName().
11353 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11354 file without named layout we set layout to defaultLayoutName().
11356 2002-03-06 Juergen Vigna <jug@sad.it>
11358 * CutAndPaste.C (copySelection): set layout for new paragraph.
11360 * text.C (prepareToPrint): leave ERT inset left aligned
11361 (leftMargin): don't indent paragraphs inside ERT insets
11363 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11365 * paragraph.C (breakParagraph): dont call clear do the work manually
11367 * paragraph.[Ch] (clear): remove function
11369 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11371 * paragraph.C (Paragraph): dont call clear, the work has already
11374 * lyxtextclass.C (operator): assert if n is empty
11376 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11377 work manually instead.
11379 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11381 * BufferView_pimpl.C: protect selectionLost against text == 0
11383 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11385 * text.C (breakParagraph): fix a setting layout to '0' problem.
11387 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11389 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11390 final location of file, for the included files, and graphics.
11392 2002-03-05 Juergen Vigna <jug@sad.it>
11394 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11396 2002-03-04 Juergen Vigna <jug@sad.it>
11398 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11400 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11401 last column of multicolumn cells.
11402 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11404 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11406 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11407 file if it doesn't go to a temporary file.
11409 * buffer.C (sgmlOpenTag):
11410 (sgmlCloseTag): remove extra newline insertion.
11412 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11414 * text.C (getRowNearY): comment out debug msg
11416 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11418 * text2.C: first -> first_y
11420 * text.C (getRowNearY): add some attemts at a possible
11421 optimization, not working.
11423 * tabular.[Ch]: add BufferParams to several function so that newly
11424 created paragraph can be initialized to he default layotu for the
11427 * tabular-old.C (ReadOld): add buf->params to call of Init
11429 * screen.C: rename text->first to text->first_y
11431 * paragraph.C (breakParagraph): always set layout in the broken
11434 * lyxtextclass.C (Read): remove lowercase
11437 (delete_layout): ditto
11439 * lyxtext.h: rename first -> first_y
11441 * lyxlayout.C (Read): remove lowercase
11444 (obsoleted_by): ditto
11446 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11448 * buffer.C (insertErtContents): add params are to InsetERT
11449 (parseSingleLyXformat2Token): add code to check if a paragraphs
11450 layout really exist.
11451 (parseSingleLyXformat2Token): add params to several inset
11453 (asciiParagraph): remove lowercase, do the layout comparisons with
11456 * BufferView_pimpl.C (cursorNext): first -> first_y
11457 (resizeCurrentBuffer): first -> first_y
11458 (updateScrollbar): first -> first_y
11459 (scrollCB): first -> first_y
11460 (workAreaMotionNotify): first -> first_y
11461 (workAreaButtonPress): first -> first_y
11462 (checkInsetHit): first -> first_y
11463 (cursorPrevious): first -> first_y
11464 (cursorNext): first -> first_y
11465 (Dispatch): add buffer_->params to severl inset contructors
11467 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11469 * lyxlayout.C (Read): remove some debug info that I forgot.
11471 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11472 clean up the code slightly.
11473 (makeLinuxDocFile): ditto
11474 (makeDocBookFile): ditto
11476 * text2.C: layout as string
11478 * text.C: layout as string
11480 * paragraph_pimpl.C: layout as string
11482 * paragraph.[Ch]: layout as string
11484 * lyxtextclasslist.[Ch]: layout as string
11486 * lyxtextclass.[Ch]: layout as string
11488 * lyxtext.h: layout as string
11490 * lyxlayout.[Ch]: layout as string
11492 * lyx_cb.C: layout as string
11494 * bufferview_funcs.C: layout as string
11496 * bufferparams.C: layout as string
11498 * buffer.C: layout as string
11500 * LyXView.[Ch]: layout as string
11502 * LaTeXFeatures.[Ch]: layout as string
11504 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11506 * BufferView_pimpl.C: change current_layout to string, remove
11511 (workAreaButtonRelease): layout as string
11513 * BufferView2.C (unlockInset): adjust
11515 * vspace.C (asLatexCommand): use an explict temp variable.
11517 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11519 * Makefile.am: use FRONTEND_*
11521 2002-03-01 Juergen Vigna <jug@sad.it>
11523 * tabular.C (SetWidthOfMulticolCell): changed to something better
11524 I hope but still work in progress.
11525 (recalculateMulticolumnsOfColumn): renamed function from
11526 recalculateMulticolCells as it is more appropriate now.
11527 (SetWidthOfCell): calculate multicols better.
11529 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11531 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11533 * lyxfunc.C (processKeySym): print sequence also if it is
11534 `deleted' (complete)
11536 * kbsequence.C (print): print sequence even if it is deleted
11537 (complete would be a better word, actually).
11539 * lyxfunc.C (dispatch): print complete options after a prefix key
11541 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11543 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11545 * text2.C (setCharFont): eliminate setCharFont code duplication.
11547 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11549 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11550 LFUN_TABULAR_FEATURE (bug #177)
11552 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11554 * Makefile.am: remove figure.h
11556 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11558 * Bufferview_pimpl.C:
11570 * text2.C: remove #include "lyx_gui_misc.h".
11572 * LaTeX.C: added #include <cstdio>
11574 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11576 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11577 that the paragraph following this one can have.
11579 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11581 * vspace.C (asLatexCommand): fix bogus gcc warning
11583 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11585 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11587 * text2.C (setLayout): get rid of redundant code
11589 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11591 * text2.C (incDepth): make sure depth cannot be increased beyond
11594 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11596 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11597 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11599 * PainterBase.h (image):
11600 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11601 a LyXImage const *.
11603 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11607 * BufferView_pimpl.C:
11608 * BufferView_pimpl.h:
11628 * sp_spell.C: remove fig inset, and the crap house of
11629 cards that follows it
11631 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11636 * os2_errortable.h:
11637 * nt_defines.h: move .h into support/
11639 * vms_defines.h: remove
11641 * WorkArea.C: add space in debug output
11645 * buffer.C: add WITH_WARNINGS
11649 * bufferlist.C: s/retrive/retrieve/, add docs
11658 * chset.C: add docs
11660 * lyxgui.C: add ID to X error handler
11662 * lyxtestclass.c: fix typo
11664 2002-02-26 Juergen Vigna <jug@sad.it>
11666 * tabular_funcs.C (write_attribute): changed so that some default
11667 attributes are not written at all.
11668 (getTokenValue): set default values before trying to read the
11669 value so we have the return value always set as default if we don't
11670 find the token we search for.
11672 * tabular.C (Write): write bools as bools not as strings!
11674 2002-02-22 Juergen Vigna <jug@sad.it>
11676 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11677 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11679 * text.C (leftMargin): don't add an indent for paragraphs inside
11680 tabular cells (fix #208).
11682 2002-02-21 José Matos <jamatos@fep.up.pt>
11684 * tabular.C (docBook): fixed support for long tables.
11686 2002-02-20 Juergen Vigna <jug@sad.it>
11688 * text2.C (getFont): get the drawing font of the Inset if this
11689 paragraph is inside an inset (only important for InsetERT for now).
11691 * buffer.C (insertErtContents): use new lanugage params in ERT
11694 * CutAndPaste.C: commenting out seemingly uneeded code.
11696 2002-02-19 Allan Rae <rae@lyx.org>
11698 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11699 Iterators might be simple to use but they also get invalidated.
11700 (removeAutoInsets): renamed saved cursor tracking variables and added
11701 some comments to clarify what everything does.
11703 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11710 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11711 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11714 * vc-backend.h: remove #include "support/syscall.h"
11718 * converter.C: rearrange #includes in Lars' approved fashion.
11720 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11721 forward declare class Timeout in the header file.
11723 * XFormsView.C: changes due to the above.
11725 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11726 similar to LyXView.
11728 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11729 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11731 2002-02-18 José Matos <jamatos@fep.up.pt>
11733 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11736 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11738 * a lot of small ws changes
11739 * add a lot of using std::XXX
11740 * use std construcs some places where approp.
11741 * use some exisint stuff from lyxfunctional where approp.
11742 * Make file changes to use partial linking (lets test this now...)
11744 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11748 remove #include "support/syscontr.h" as it's redundant. Always has been.
11756 change Systemcalls::System to Systemcalls::Wait and
11757 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11758 No change of functionality, just reflects the stripped down Systemcalls
11761 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11763 * debug.[Ch]: add a GRAPHICS type to the enum.
11765 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11767 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11769 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11772 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11774 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11775 match the changes below.
11777 * text2.C (toggleInset): if there is not editable inset at cursor
11778 position, try to see if cursor is _inside_ a collapsable inset
11781 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11783 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11784 document menu has a nice checkbox
11786 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11788 * lyxlength.C (asLatexString): change PW to output as percent of
11791 * lengthcommon.C: change '%' to 't%'
11793 * lyxfunc.C (dispatch): a few comments from Martin
11795 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11799 * BufferView_pimpl.h:
11800 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11803 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11805 * vspace.C (inPixels): fix compiler warning
11807 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11809 * lyxfunc.C (getStatus): fix status message for disabled commands.
11811 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11813 * BufferView_pimpl.C: fix crash on close buffer
11814 during selection (#227)
11816 2002-01-27 Herbert Voss <voss@lyx.org>
11818 * buffer.C: link old Figure to new graphic inset
11820 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11822 * FontLoader.C (getFontinfo): Change the latex font names in order
11823 to match the names of type1inst.
11825 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11827 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11829 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11830 (extchanged): ditto
11832 (remove_files_with_extension): ditto
11833 (remove_file): ditto
11836 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11837 document is smaller than the work area height. Do not initialize
11838 static variables to 0.
11840 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11842 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11844 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11845 LFUN_LAYOUT_PARAGRAPHS.
11847 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11848 tabular. It is possible to provide a possible cell, which will
11849 typically be the actcell from the corresponding insettabular
11851 * lyxfunc.C (getStatus): small cleanup; disable
11852 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11855 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11857 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11859 * paragraph.C (startTeXParParams):
11860 (endTeXParParams): new methods. The LaTeX code to
11861 start/end paragraph formatting
11862 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11863 empty (fixes bug #200)
11865 * vspace.C (inPixels): adapt to the change below
11866 (inPixels): [later] more cleanups (remove unused variables)
11868 * lyxlength.C (inPixels): change to use a width and a height as
11871 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11873 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11874 Replaced with \paperwidth
11876 * DepTable.C (insert): add std:: qualifier
11878 2002-01-18 Allan Rae <rae@lyx.org>
11880 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11883 * text.C (drawInset): Turned out I didn't know enough about how
11884 rebreaking worked. This fixes most of the redraw problems. I see
11885 an occasional cursor trail when a line is broken now and the cursor
11886 placement can seem out by a few pixels also after a rebreak.
11888 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11890 * buffer.C (parseSingleLyXformat2Token): update because minipage
11891 width is now a LyXLength
11893 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11895 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11898 2002-01-17 Juergen Vigna <jug@sad.it>
11900 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11902 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11903 is set correctly and the inset is updated correctly.
11905 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11907 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11908 the beginning of the loop.
11910 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11912 * lyxrc.C: improve help for use_scalable_fonts
11914 2002-01-17 Allan Rae <rae@lyx.org>
11916 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11918 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11920 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11921 make sure to set their inset_owner to the right value (bug #171)
11923 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11926 * DepTable.C: Implement mtime checking to reduce time spent doing
11929 2002-01-16 Juergen Vigna <jug@sad.it>
11931 * tabular.C (GetAdditionalHeight): one of error fixed.
11933 * lyxrc.C (output): small fix in writing use_pspell.
11935 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11937 * sp_base.h: #include LString.h
11939 2002-01-16 Allan Rae <rae@lyx.org>
11941 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11942 Can someone check this please?
11944 * text.C (drawInset): It was possible that p.row would be removed by
11945 breakAgainOneRow upsetting a few other settings. There may be another
11946 small tweak possible by setting need_break_row = 0 when p.row has been
11947 removed but I don't know enough about the logic here.
11949 2002-01-15 Allan Rae <rae@lyx.org>
11951 * text.C (insertChar): removed conditional truism.
11953 * BufferView2.C (removeAutoInsets): More tweaks.
11954 cur_par_prev could be a stray pointer. Check for trailing empty line
11955 in case last line was cur_par and only had an error inset on it.
11957 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11959 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11962 * vc-backend.C (most methods):
11963 * exporter.C (Export):
11964 * converter.C (convert):
11966 * LyXSendto.C (SendtoApplyCB):
11967 * lyxfunc.C (dispatch):
11971 * lyx_cb.C (AutoSave):
11973 * BufferView_pimpl.C (MenuInsertLyXFile):
11974 * buffer.C (runChktex): use Buffer::filePath().
11976 * buffer.h: rename filename to filename_; rename filepath to
11977 filepath_ and make it private
11978 (filePath): new method
11980 * buffer.C (writeFile): use fileName()
11983 * lyx_main.C (init): fix starting of LyX when the binary is a
11984 link from so,ewhere else.
11986 * minibuffer.C: include <cctype> for isprint
11988 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11990 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11991 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11992 name clash with InsetCollapsable's width function.
11994 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11996 * lastfiles.C: include <iterator>
11998 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12000 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12003 * buffer.C (makeLaTeXFile): ditto.
12004 Also make loop operation more transparent.
12006 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12008 * ToolbarDefaults.C: remove trailing comma closing namespace.
12010 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12012 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12015 * trans.C (Load): comment out unused variable, allowed.
12017 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12019 * minibuffer.[Ch] (append_char): new method to recieve input from the
12020 drop-down completion browser. If a key was pressed, then recieve this
12021 char and append it to the existing string.
12022 (peek_event): modify the positioning data passed to the completion
12023 browser so that it can be placed above the minibuffer rather than below.
12024 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12026 * LyXAction.C (init): alloe error-next for readonly documents.
12028 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12031 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12033 * bufferlist.C (readFile): create the buffer _after_ checking that
12036 * lyxfunc.C (verboseDispatch): fix handling of arguments
12038 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12040 * lyxrc.C: use string::erase() instead of initializing to "".
12043 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12045 * BufferView_pimpl.h:
12046 * BufferView_pimpl.C:
12049 * text2.C: tell X when we have made a selection for copying
12051 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12053 * BufferView_pimpl.C (MenuInsertLyXFile):
12054 * lyxfunc.C (menuNew):
12056 (doImport): add shortcuts to directory buttons
12058 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12061 * lyxfunc.C (setStatusMessage):
12062 (getStatusMessage): new methods
12063 (getStatus):use setStatusMessage instead of setErrorMessage
12064 (dispatch): when function is disabled, set error message here
12065 [instead of in getStatus previously]
12067 * BufferView_pimpl.C (workAreaButtonRelease): update
12068 toolbar/menubar here too.
12070 2002-01-13 Allan Rae <rae@lyx.org>
12072 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12073 Now seems indestructible. Remaining task is to audit all other
12074 code affected by deleteEmptyParagraphMechanism. One small quirk
12075 left is that an empty document with an error in the preamble can
12076 be made to report an error but no error box appears. I don't know
12078 (removeAutoInsets): Improved comments.
12080 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12083 * Thesaurus.C: update for Aiksaurus 0.14
12085 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12087 * text2.C (firstParagraph): removed member function, all uses
12088 replaces with ownerParagraph
12089 (redoParagraphs): here
12090 (updateInset): here
12091 (toggleAppendix): here
12092 * BufferView2.C (insertErrors): here
12093 (setCursorFromRow): here
12095 2002-01-13 Allan Rae <rae@lyx.org>
12097 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12098 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12099 There is still a way to segfault this although you may have to do this
12100 multiple times: Have an InsetERT with an unknown command in it.
12101 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12102 <down-arrow>, <Enter> again, View->DVI, BANG!
12104 * text2.C (setCursor):
12105 (deleteEmptyParagraphMechanism):
12106 * lyxtext.h (setCursor):
12107 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12108 Making use of the return value may help fix other bugs.
12110 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12112 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12114 * LyXView.C (updateMenubar): call MenuBar::update here
12115 (updateToolbar): but not here
12116 (showState): do not update toolbar/menubar
12118 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12119 should need to care about that.
12121 * lyxfunc.C (verboseDispatch): simplify a bit
12122 (getStatus): have a version which takes a pseudoaction, and
12123 another which requires a (kb_action,string).
12125 * LyXAction.C (retrieveActionArg): make it work also when action
12126 is not a pseudo-action.
12127 (getActionName): simplify a bit
12130 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12132 * lyxfunc.C (verboseDispatch): new families of methods with
12133 several ways to specify a command and a bool to indicate whether
12134 the command name and shortcut should be displayed in minibuffer
12135 (eventually, we could extend that to a finer bitmask like
12136 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12137 (dispatch): the pristine dispatch command which just, well,
12138 dispatchs! Note it still sets its result to minibuffer; I'm not
12141 * lyxfunc.h: remove setHintMessage
12143 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12145 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12147 * BufferView_pimpl.C (specialChar): delete new inset if we have
12148 not been able to insert it.
12150 * kbmap.C: revert to using int instead of kb_action, since all we
12151 are dealing with is pseudo-actions.
12153 * LyXAction.C (searchActionArg): change to return int instead of
12154 kb_action, since the result is a pseudoaction.
12156 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12158 * buffer.C (insertErtContents): Fix (partially) the font bug.
12160 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12162 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12163 as the other one is broken on my machine!
12165 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12168 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12170 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12172 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12173 reflect their actual use. Provide compatibility code for older lyxrc
12176 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12178 change names of popup font variables in line with the changes to lyxrc.C
12180 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12182 * buffer.C (asciiParagraph): avoid outputing a word twice after
12185 * lyxrc.C (getDescription): document that document_path and
12186 template_path can be empty.
12188 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12190 * LaTeXFeatures.C (getMacros):
12191 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12193 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12195 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12197 (getPackages): rename feature "floats" to "float". Use an array to
12198 iterate over 'simple' features (i.e. just a \usepackage). Add
12199 handling of "amsmath" (renamed from "amsstyle").
12201 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12203 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12206 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12208 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12209 FuncStaus::FuncStatus & FuncStaus::some_method().
12211 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12213 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12214 of the func_satus stuff. Edited and massaged in various ways by
12217 * lyxfunc.C (getStatus): use FuncStatus
12219 2002-01-08 Juergen Vigna <jug@sad.it>
12221 * text.C (nextBreakPoint): use function Inset::isChar().
12223 * paragraph.C (TeXOnePar): use function
12224 Inset::forceDefaultParagraphs.
12226 * buffer.C (latexParagraphs): use function
12227 Inset::forceDefaultParagraphs.
12229 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12231 * lyx_gui.C (init): set the style of the menu popups to
12232 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12234 2002-01-07 Juergen Vigna <jug@sad.it>
12236 * text.C (setHeightOfRow): small fix
12237 (prepareToPrint): don't look at alignment if we don't have the place
12240 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12242 * box.C: New file. Move the Box methods and functions out of box.h,
12243 following Lars' suggestion.
12245 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12247 * box.h: #include "support/LOstream.h", needed for inlined function.
12250 * lyxtextclasslist.C: added some using std declarations.
12252 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12254 * box.h: make signed dimensions to allow insets wider than
12255 the screen (bug #162)
12257 * BufferView_pimpl.C: add some insetHit debug
12259 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12261 * vc-backend.C: add FIXME
12263 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12265 * lyxfunc.C (getStatus): enable code for showing math font status
12268 2002-01-07 Juergen Vigna <jug@sad.it>
12270 * text.C (nextBreakPoint): removed debug output not needed anymore.
12272 2002-01-06 Juergen Vigna <jug@sad.it>
12274 * text.C (nextBreakPoint): fixed up this function we had this bug
12275 since ever but now hopefully we break row better.
12276 (insertChar): we have to check if an inset is the next char as it
12277 could now happen that a large inset is causing a break.
12279 2002-01-05 Juergen Vigna <jug@sad.it>
12281 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12282 if it doesn't like to be drawed.
12284 2002-01-04 Juergen Vigna <jug@sad.it>
12286 * BufferView2.C (lockInset): forgot to set a cursor.
12288 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12290 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12292 * FormMathsPanel.C:
12295 * form_maths_panel.C:
12296 * form_maths_panel.h:
12297 * form_maths_panel.fd: implemented sub- and super- buttons in math
12300 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12301 (or ^ space) to be used as in TeX (req'd by André).
12303 * lyxfunc.C: Allow ^ and _ again to be used both as
12304 super/subscript (mathed) and as themselves (in text).
12306 2002-01-03 Allan Rae <rae@lyx.org>
12308 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12309 "LyX" or the filename of the current buffer if it has one. This is a
12310 modified form of John Levon's patch.
12312 * XFormsView.C (setWindowTitle): also set icon title.
12314 * LyXView.h (setWindowTitle): signature changed.
12315 * XFormsView.h (setWindowTitle): ditto.
12317 2002-01-02 Juergen Vigna <jug@sad.it>
12319 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12321 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12323 * screen.C (topCursorVisible): introduce a temp var for
12324 text->cursor.row(), handle the case where this row is null. (kindo
12327 * text2.C (setCursor): add a couple of asserts.
12329 * paragraph.h (inset_iterator): add -> operator
12331 * paragraph.[Ch] (autoDeleteInsets): remove member function
12333 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12334 cursor pos correctly and handle inset deletion by itself.
12335 (insertErrors): move iterator declaration out of for expression
12337 * lyxtextclass.C: add <algorithm>
12339 * Makefile.am: added the new files to sources, removed layout.C
12341 * layout.C: removed file
12343 * layout.h: remove LYX_DUMMY_LAYOUT
12345 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12349 * lyxtextclass.[Ch]:
12350 * lyxtextclasslist.[Ch]: new files
12352 * include order changes to a lot of files, also changes because of
12355 2001-12-27 Juergen Vigna <jug@sad.it>
12357 * buffer.C (asciiParagraph): more fixes.
12359 * tabular.C (ascii): make ascii export support export of only the
12360 data separated by a column-delimiter.
12361 (ascii): better support for ascii export.
12363 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12365 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12367 * tabular_funcs.C: use a "using std::getline" instead of the
12368 previous fix from Angus (necessary for cxx + lyxstring)
12370 2001-12-24 Juergen Vigna <jug@sad.it>
12372 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12374 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12375 problems. First check a minipage also if we have some ert-contents
12376 (not only on par->size(), second set the right depth of the paragraph
12377 on the relink to the root-paragraph-list!
12379 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12380 which then did not anymore update the main paragraphs on undo/redo!
12382 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12384 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12385 code. Support all font-changing funcs (even those which are not in
12386 menu currently). Support for reporting font settings in
12387 mathed (disabled until Andre provides a function on mathed's side).
12389 * func_status.h (toggle): small helper function to set toggle
12392 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12394 * tabular_funcs.C: getline -> std::getline
12396 2001-12-21 Juergen Vigna <jug@sad.it>
12398 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12399 accessed and could be 0 (I couldn't generate this but it seems
12402 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12404 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12405 * tabular_funcs.h: here and include iosfwd
12407 2001-12-20 Juergen Vigna <jug@sad.it>
12409 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12410 inside inset but undo_par was.
12412 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12414 * Thesaurus.C: always include <config.h> in sources.
12418 * box.h: do not include <config.h> in header files
12420 * text.C (paintLastRow): remove unused variable
12422 * text.C (transformChar):
12424 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12426 * Painter.C (text):
12427 * font.C (width): rewrite to use uppercase() instead of
12430 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12432 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12434 * lyxfind.C: clean up of find failure position change
12436 2001-12-20 Juergen Vigna <jug@sad.it>
12438 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12440 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12441 (TeXRow): added to LaTeX a single tabular row.
12442 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12443 (Latex): simplified and finally good LT-h/f support.
12444 (various_functions): just small adaptions for LT-h/f support.
12446 * tabular_funcs.[hC]: added and moved here all not classfunctions
12449 2001-12-19 Juergen Vigna <jug@sad.it>
12451 * tabular.[Ch]: better support for longtabular options (not finished
12454 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12456 * text.C (paintLastRow): use the label font instead of the font of
12457 the last character to compute the size of *_BOX. This makes more
12458 sense and avoids a crash with empty paragraphs.
12459 Use Painter::rectangle to draw EMPTY_BOX.
12461 2001-12-19 Juergen Vigna <jug@sad.it>
12463 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12464 the paragraphs if the replaced paragraph is not the first one!
12465 Tried to delete not used paragraphs but does not work yet so for
12466 now it's inside #ifdef's and by default off!
12468 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12470 * MenuBackend.C: include "lyx_main.h" instead of declaring
12471 lastfiles (actually was declared as LastFiles* instead of a
12474 2001-12-17 Juergen Vigna <jug@sad.it>
12476 * tabular.C (AppendColumn): applied John's fix
12478 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12482 * BufferView_pimpl.h:
12483 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12486 * box.h: new start of class for above
12488 * lyxfunc.C: ignore space-only minibuffer dispatches.
12489 Show the command name when it doesn't exist
12491 * minibuffer.C: don't add empty lines to the history
12493 * minibuffer.C: add a space on dropdown completion
12495 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12497 * text.C: fix line above/below drawing in insets
12499 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12501 * lyxlength.C (LyXLength): Initialize private variables.
12503 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12505 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12506 when inserting error insets.
12508 2001-12-13 Juergen Vigna <jug@sad.it>
12510 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12511 actually sometimes the before-paragraph.
12512 (setUndo): don't clear the redostack if we're not actually undoing!
12514 2001-12-06 Juergen Vigna <jug@sad.it>
12516 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12517 and fixed redoing of main paragraph, so we can use it now ;)
12519 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12521 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12523 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12526 2001-12-13 André Pönitz <poenitz@gmx.net>
12529 * undo_func.C: minor cleanup
12531 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12533 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12534 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12535 font in urw-fonts package which is marked as -urw-fontspecific and
12536 does not work (incidentally, changing the encoding in the
12537 fonts.dir of this package to -adobe-fontspecific fixes the
12540 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12541 is a crash when undoing first paragraph (Juergen, please take a
12542 look). THis does not mean the undo fix is wrong, just that it
12545 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12546 the (Paragraph*) version when needed instead of duplicating the
12549 * text.C (workWidth): use Inset::parOwner to find out where the
12550 inset has been inserted. This is a huge performance gain for large
12551 documents with lots of insets. If Inset::parOwner is not set, fall
12552 back on the brute force method
12554 * paragraph_pimpl.C (insertInset):
12555 * paragraph.C (Paragraph):
12556 (cutIntoMinibuffer): set parOwner of insets when
12557 inserting/removing them
12559 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12561 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12567 * mathed/formulabase.C:
12568 * mathed/math_cursor.[Ch]:
12569 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12572 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12574 * lyxlength.[Ch] (operator!=): new function
12576 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12578 * text.C (workWidth): use Inset::parOwner to find out where the
12579 inset has been inserted. This is a huge performance gain for large
12580 documents with lots of insets. If Inset::parOwner is not set, fall
12581 back on the brute force method
12583 * paragraph_pimpl.C (insertInset):
12584 * paragraph.C (Paragraph):
12585 (cutIntoMinibuffer): set parOwner of insets when
12586 inserting/removing them
12588 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12590 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12592 * tabular-old.C (getTokenValue):
12593 * tabular.C (getTokenValue):
12594 (write_attribute): new versions for LyXLength
12595 (everywhere): adjust the use of widths
12597 * tabular.h: change the type of widths from string to LyXLength
12599 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12601 * paragraph.C: fixed missing line number count when exporting
12602 Environments to LaTeX file
12604 * buffer.C: added informational message for checking line numbers.
12606 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12608 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12609 paragraph, do the 'double space' part, but not the 'empty
12612 * text.C (workWidth): small optimization
12613 (getLengthMarkerHeight): use minimal size for negative lengths.
12615 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12617 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12619 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12621 2001-12-11 André Pönitz <poenitz@gmx.net>
12624 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12626 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12628 * text2.C: keep selection on a setFont()
12630 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12632 * lyx_cb.C: another bv->text misuse, from insert label
12634 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12637 * kbsequence.C: re-instate nmodifier mask
12639 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12641 * lyx_main.h: make lyxGUI private.
12643 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12645 * lyxfind.C: place the cursor correctly on failed search
12647 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12649 * text.C (getLengthMarkerHeight): for small heights, the arrows
12650 are not always on top/bottom of the text
12651 (drawLengthMarker): smaller arrows; take the left margin in
12652 account; draw also vfills.
12654 (paintLastRow): remove special code for vfill and standard spaces,
12655 since everything is handled in drawLengthMarker now.
12657 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12659 * buffer.C (insertErtContents): try to handle font and language
12660 interaction a bit better.g
12662 * ColorHandler.C (updateColor): change the hash to cover the whole
12663 LColor enum, ws cleanup
12664 (getGCLinepars): ditto
12665 (getGCLinepars): only lookup in the linecache once.
12667 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12669 * iterators.C (operator++): Make the iterator more robust
12671 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12673 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12675 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12678 * text.C: better added space drawing
12680 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12683 * BufferView2.C: fix layout combo update on inset unlock
12685 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12687 * Makefile.am: don't compile unused files
12689 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12693 * LyXAction.C: remove old LFUN_LAYOUTNO
12695 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12697 * paragraph_pimpl.h:
12698 * paragraph_pimpl.C: isTextAt() doesn't need font param
12700 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12703 * lyxlex.C: little cleanup
12705 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12707 * BufferView_pimpl.C: fix insertAscii for insets
12709 2001-12-05 Juergen Vigna <jug@sad.it>
12711 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12712 set the right font on the "multi" paragraph paste!
12714 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12720 * lyxlength.C: remove out-commented code.
12722 * BufferView_pimpl:
12736 * vc-backend.C: change "while(" to "while ("
12738 * lyxlength.[Ch]: add zero function to check if length is zero or
12740 * lyxgluelength.C: use it
12742 2001-12-05 Allan Rae <rae@lyx.org>
12744 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12745 Works for 2.95.3, from what I understand of Garst's reports this should
12746 work for other g++ versions. We're screwed if the abs(int) definition
12747 changed between bugfix releases of gcc.
12749 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12751 * text.C: fix chapter label offset !
12753 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12756 * text.C: fix hfill at end of line, clean up
12758 2001-12-04 Juergen Vigna <jug@sad.it>
12760 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12761 that we force an update of the inset and it's owners if neccessary.
12763 2001-12-03 Juergen Vigna <jug@sad.it>
12765 * text.C (rowLast): simplified code
12767 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12769 * lyxfunc.C: fix show options on timeout
12771 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12773 * screen.C (topCursorVisible): scroll half a page when the cursor
12774 reached top of bottom of screen
12776 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12778 * minibuffer.C: deactivate on loss of focus
12780 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * vspace.[Ch] (operator!=): add operator.
12784 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12786 * BufferView_pimpl.C: refuse to open an inset when
12787 there's a selection.
12789 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12791 * BufferView_pimpl.C: allow to click on RHS of full row insets
12793 2001-11-30 Juergen Vigna <jug@sad.it>
12795 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12796 insets for undo reasons.
12798 2001-11-28 André Pönitz <poenitz@gmx.net>
12800 * vspace.[Ch]: cosmetical changes
12802 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12812 * kbsequence.C: part re-write of old kb code
12815 * WorkArea.C: remove Lgb_bug_find_hack
12817 2001-11-30 José Matos <jamatos@fep.up.pt>
12819 * buffer.C (makeDocBookFile): add a comment to point a hack.
12820 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12821 Fixed a double write of labels.
12823 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12826 * LaTeX.h Fixed bug in LaTeX class where it would not
12827 re-run latex if no depfiles were changed, but the .dvi was removed.
12829 2001-11-28 André Pönitz <poenitz@gmx.net>
12831 * all the files from the change on 2001/11/26:
12832 use lyx::layout_type instead of LyXTextClass::size_type
12833 use lyx::textclass_type instead of LyXTextClassList::size_type
12835 2001-11-29 Juergen Vigna <jug@sad.it>
12837 * text.C: added support for paragraph::isFreeSpacing()
12839 * buffer.C: same as above
12841 * paragraph.h: inserted isFreeSpacing() function to enable
12842 FreeSpacing inside InsetERT.
12844 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12845 of the paragraph's in the cut/copy buffer to 0!
12847 * text2.C (removeRow): remove the assert as it can!
12849 * lyxtext.h: added helper function firstRow returning firstrow and
12850 made firstrow private again.
12852 * BufferView2.C (lockInset): don't relock if we're already locked!
12854 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12855 the only paragraph.
12856 (removeRow): added Assert::(firstrow)
12858 * debug.C: forgot to add INSETTEXT here.
12860 2001-11-28 Juergen Vigna <jug@sad.it>
12862 * sp_spell.C (initialize): changed error text to more general
12863 spellchecker command use (not only ispell!)
12865 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12867 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12869 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12871 * vspace.C: initialise lyxgluelength on failure
12873 2001-11-28 Allan Rae <rae@lyx.org>
12875 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12876 declaration & definition that looks like a function declaration.
12878 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12880 * BufferView2.C (copy):
12881 (copyEnvironment): do not clear the selection when doing a copy.
12883 * text.C (paintFirstRow): compilation fix
12885 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12887 * tabular.C (Latex): correct line count when writing latex.
12889 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12891 * paragraph_pimpl.h:
12892 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12895 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12899 * LColor.C: change vfillline->added_space
12901 * text.C: add markers and text for added space
12903 * vspace.C: fix comment
12905 2001-11-28 André Pönitz <poenitz@gmx.net>
12907 * paragraph.C: whitespace changes
12908 * all the other files from the change on 2001/11/26:
12909 change *::pos_type into lyx::pos_type
12911 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12913 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12914 language of the document when inserting error insets.
12916 2001-11-26 André Pönitz <poenitz@gmx.net>
12918 * BufferView_pimpl.[Ch]:
12926 * paragraph_pimpl.[Ch]:
12929 * text2.C: reduce header dependencies, introduce type for positions
12931 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12933 * <various>: change to use Alert.h
12935 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12937 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12938 when encountering an unknown token.
12939 (readLyXformat2): Show an error message if there were unknown tokens.
12941 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12944 * BufferView_pimpl.C:
12948 * text2.C: use par->isInset()
12950 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12952 * paragraph_pimpl.h:
12953 * paragraph_pimpl.C: cleanup
12955 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12957 * text2.C (removeRow):
12958 * text.C (setHeightOfRow): remove useless (and costly) call to
12961 2001-11-20 Allan Rae <rae@lyx.org>
12963 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12964 Now need Inset*::checkInsertChar() to return true for appropriate
12965 cases so that the characters in the minibuffer will actually be
12968 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12970 * text.C: change the order of the includes.
12971 (workWidth): initialize it at once.
12972 (workWidth): make maxw unsigned
12973 (setHeightOfRow): remove unused variable (inset)
12974 (selectSelectedWord): remove unused variable (inset)
12975 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12977 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12979 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12980 server is not running.
12982 (closeConnection): add debug info when server is disabled.
12984 * ColorHandler.C (getGCForeground): send debug message to GUI
12987 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12989 * kbmap.C (bind): modify because return conventions of
12990 kb_sequence::parse have changed.
12992 * kbsequence.C (parse): only ignore spaces and not any stupid
12993 control character. This avoids tests like s[i] <= ' ', which are
12994 guaranteed to fail with 8bit characters and signed chars.
12995 Change return code to string::npos when there have been no error
12996 (0 was a bad idea when error is at first character)
12998 2001-11-14 José Matos <jamatos@fep.up.pt>
13001 * buffer.C (simpleDocBookOnePar): removed unused argument.
13003 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13005 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13006 insets which are part of a word. Paragraph::isLetter takes care of
13007 that now. Use Paragraph::isInset to identify insets.
13008 (selectSelectedWord): do not test for hyphenation break.
13010 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13011 that protected spaces are considered as spaces.
13013 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13016 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13019 * lyxserver.C: fix it. and small cleanup.
13021 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13023 * BufferView_pimpl.C: use inline helpers
13026 * LaTeXFeatures.C: fix typos
13029 * Spacing.C: move spacing_string into class
13031 * ToolbarDefaults.C: move stuff into namespace anon
13033 * layout.h: update enum
13035 * lyxfunc.C: use better debug
13037 * minibuffer.h: fix typo
13041 * WorkArea.C: add and use Debug::WORKAREA
13045 * text2.C: code re-organisation, inline helpers
13047 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13049 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13050 std::vector.empty().
13052 2001-11-09 Allan Rae <rae@lyx.org>
13054 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13055 '\n's after tables. Tabular and ERT inset work now makes this no
13058 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13061 * minibuffer.C: fix crash, improve drop-down completion
13063 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13066 * lyxserver.C: invalidate fd's when doing endPipe()
13068 2001-11-08 José Matos <jamatos@fep.up.pt>
13070 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13071 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13074 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13076 2001-11-07 José Matos <jamatos@fep.up.pt>
13079 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13082 * buffer.C (sgmlOpenTag):
13083 * buffer.C (sgmlCloseTag): removed debug info.
13085 * buffer.h (sgmlOpenTag):
13086 * buffer.h (sgmlCloseTag): made public.
13088 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13090 * buffer.C (saveParamsAsDefaults):
13091 * lyx_cb.C (MenuLayoutSave): remove
13093 * LyXAction.C (init):
13095 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13097 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13099 * buffer.C (setPaperStuff): removed from here...
13101 * bufferparams.C (setPaperStuff): ... and moved there.
13103 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13107 * XFormsView.C: add support for drop-down completion
13109 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13111 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13114 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13116 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13119 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13121 * lyx_main.C: change ref to known bugs
13123 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13125 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13126 to work around older babel problems.
13128 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13130 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13132 2001-10-24 Juergen Vigna <jug@sad.it>
13134 * tabular-old.C (ReadOld): below variable changes reflected.
13136 * tabular.[Ch]: added ltType struct for longtable header/footer
13137 defines and changed all instances where they are used. Added
13138 future support for double top/bottom rows.
13140 2001-10-24 José Matos <jamatos@fep.up.pt>
13142 * buffer.h (docbookHandleCaption):
13143 * buffer.C (docbookHandleCaption): removed unused function.
13144 (makeDocBookFile): moved docbook supported version to v4.1.
13146 2001-10-24 José Matos <jamatos@fep.up.pt>
13149 * tabular.C (docbookRow): new function to export docbook code of a row.
13150 (DocBook): now honors the longtable flags.
13152 2001-10-23 José Matos <jamatos@fep.up.pt>
13155 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13156 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13158 * buffer.C (makeLinuxDocFile):
13159 (makeDocBookFile): reworked the preamble, more clean, and with
13160 support for lyx defined entities. Changed the document declaration
13161 to be more XML friendly.
13163 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13164 if we need to output XML that should be done with a filter.
13166 2001-10-22 Juergen Vigna <jug@sad.it>
13168 * sp_pspell.h (class PSpell): add alive function needed in the
13169 controller to see if the spellchecker could be started.
13171 2001-10-22 Juergen Vigna <jug@sad.it>
13173 * buffer.C (insertStringAsLines): modify the font for inserting
13174 chars in certain conditions by calling checkInsertChar(font).
13176 2001-10-19 Juergen Vigna <jug@sad.it>
13178 * text.C (workWidth): use getRow instead of wrong algorithm.
13179 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13181 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13186 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13188 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13190 * text.C (workWidth): do not search for the exact row when
13191 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13192 optimization for big documents.
13194 2001-10-18 Juergen Vigna <jug@sad.it>
13196 * text.C (workWidth): new function with added Inset * parameter.
13198 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13200 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13202 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13203 change return type of getColumnNearX.
13206 * text.C (changeRegionCase): use uppercase/lowercase instead of
13209 (rightMargin): simplify code by factoring out the uses of
13214 (appendParagraph): use Paragraph::size_type
13216 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13218 * vspace.C (asLatexString): add a missing break
13220 2001-10-15 Herbert Voss <voss@perce.de>
13222 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13224 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13226 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13229 2001-10-10 André Pönitz <poenitz@gmx.net>
13231 * lyxfunc.C: removed greek_kb_flag.
13233 2001-10-10 Herbert Voss <voss@perce.de>
13235 * lyx_main.C: delete global string help_lyxdir.
13237 2001-10-09 Herbert Voss <voss@perce.de>
13239 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13241 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13243 * lyx_main.C: added global string help_lyxdir.
13245 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13247 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13249 * lyxrc.C (set_font_norm_type): support iso8859-4
13251 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13253 * LaTeX.C (deplog): add another regex for MikTeX
13255 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13257 * lyxrc.C (set_font_norm_type): support iso8859-3
13259 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13261 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13263 * LaTeXFeatures.C: remove special case of french and index
13265 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13266 before \begin{document}). This solves several incompatibilities.
13268 2001-10-03 Garst Reese <reese@isn.net>
13270 * lyx_cb.C: change CheckTex error msg.
13272 2001-10-03 José Matos <jamatos@fep.up.pt>
13274 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13276 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13278 * .cvsignore: update
13280 * lyx_main.C (commandLineVersionInfo): use new style version info.
13282 * buffer.C (writeFile):
13284 (makeLinuxDocFile):
13285 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13287 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13289 * version.h: update to use stuff in version.C
13291 * version.C.in: new file. Contains version information determined
13292 at compile time. This is a merging of version.h and
13295 2001-10-03 Juergen Vigna <jug@sad.it>
13297 * BufferView_pimpl.C (update): don't change "dirty" status in
13300 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13302 * WorkArea.C (c-tor): re-position version string slightly.
13304 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13306 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13307 revert to previous code.
13309 WorkArea.[Ch]: (show, destroySplash): methods removed.
13311 WorkArea.C: rework code so that it's an amalgam of the codes before and
13312 after the splash screen was moved to WorkArea.
13314 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13317 * vspace.C (inPixels):
13320 * buffer.C (insertStringAsLines):
13321 (asciiParagraph): fix types to be large enough
13323 * lyxlex_pimpl.h: change member status from short to int
13325 * layout.h: fix type of endlabeltype
13328 * kbsequence.C (parse): change return type to string::size_type
13330 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13333 * Bullet.C (bulletSize):
13334 (bulletEntry): do not use short ints as parameters
13336 * BufferView2.C (insertLyXFile): change a char to an int.
13338 * WorkArea.C (WorkArea): remove unneeded floats in computation
13340 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13342 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13344 * paragraph.C (asString): Do not ignore newline/hfill chars when
13345 copying to the clipboard.
13347 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13349 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13350 after a multi-line inset.
13352 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13354 * paragraph.C (validate): Set NeedLyXFootnoteCode
13356 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13358 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13359 and decrease-error to decrease.
13361 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13363 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13364 it more readable (should be equivalent)
13366 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13368 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13370 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13372 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13373 of a cursor (row, etc.) after a character has been deleted
13374 (deleteEmptyParagraphMechanism): call the method above on _all_
13375 cursors held by the LyXText when a double space has been
13378 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13380 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13382 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13384 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13385 background. Use greyOut() and the new show() methods to toggle between
13386 the foreground and background. Add code to remove the splash after
13387 its initial showing.
13389 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13390 (create_forms): no longer call Dialogs::showSplash.
13392 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13394 * .cvsignore: add version_info.h
13396 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13398 * version_info.h.in: new file
13400 * Makefile.am: add version_info.h.in
13402 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13403 version_info.h instead of VERSION_INFO
13405 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13407 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13408 The ERT inset now returns string().
13410 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13412 * lyxtext.h, text.C (selectNextWord): renamed as
13413 selectNextWordToSpellcheck.
13415 * text.C (selectNextWordToSpellcheck): Modified to not select
13416 words inside an ERT inset.
13418 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13420 * lyx_cb.C (MenuLayoutSave): change a bit the question
13422 * sp_base.h: include <sys/types.h>
13424 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13426 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13428 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13430 * several files: fix typos in user-visible strings
13432 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13434 * text2.C (pasteSelection): do not set the selection, since it
13435 will be cleared later. Actually, the intent was to fix the way the
13436 selection was set, but I figured rmoving the code was just as good.
13438 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13440 * FontLoader.C (available): Check if font is available without
13443 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13445 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13447 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13449 * lyxrc.[Ch]: added display_graphics variable and associated code.
13451 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13453 * bufferparams.C (hasClassDefaults): new method. Returns true if
13454 the buffer parameters correspond to known class defaults
13456 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13458 * XFormsView.C (show): set minimum size to the main window.
13460 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13462 * text2.C (copySelection):
13464 * lyxfind.C (LyXReplace):
13465 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13466 LyXText::selectionAsString.
13468 * paragraph.C (asString): add "label" argument to the second form
13470 * text2.C (selectionAsString): add "label" argument and pass it to
13471 Paragraph::asString.
13473 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13475 * lyx_main.C (commandLineHelp): remove version information
13477 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13479 * lyx_main.C: add -version commandline option
13481 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13483 * paragraph.h: make the optional constructor arg required instead.
13484 some modifications to other files because of this.
13486 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13488 * lyxserver.C (C_LyXComm_callback): make it static
13490 * lyx_main.C (error_handler): make it static
13492 * lyx_gui.C (LyX_XErrHandler): make it static
13494 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13496 * WorkArea.C: make the extern "C" methods static.
13498 * Makefile.am (lyx_LDADD): simplify
13500 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13502 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13503 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13505 * LyXAction.C (init):
13506 * lyxfunc.C (dispatch): associated code removal.
13508 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13510 * lyxfont.h (isSymbolFont): shut off warning
13512 * text.C (setHeightOfRow):
13513 (getVisibleRow): fix crash with empty paragraphs which have a
13516 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13518 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13521 2001-09-04 José Matos <jamatos@fep.up.pt>
13524 * tabular.C (docbook): rename docBook method to docbook.
13526 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13528 * Makefile.am: add dependencies to main.o.
13530 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13532 * FontLoader.C (available): Return false if !lyxrc.use_gui
13534 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13536 * FontInfo.C (query):
13537 * converter.C (view):
13538 * importer.C (Import):
13539 * exporter.C (Export): Can not -> cannot.
13541 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13543 * BufferView_pimpl.C: allow to create index inset even if
13546 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13548 * buffer.C (getLists): replace boost::tie code with an explicit pair
13549 as boost::tie can break some compilers.
13551 * iterators.h: Added a std:: declaration to the return type of
13554 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13556 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13559 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13561 * iterators.[Ch]: New files. Provide paragraph iterators.
13563 * buffer.C (changeLanguage): Use paragraph iterators.
13564 (isMultiLingual): ditto
13566 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13568 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13570 * FontLoader.C: Support for cmr font.
13572 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13574 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13575 (available): New method.
13577 * FontInfo.C (getFontname): Use scalable fonts even when
13578 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13581 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13583 * converter.C (Formats::view): reverted! Incorrect fix.
13585 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13587 * converter.C (Formats::view): only output the -paper option
13588 if the dvi viewer is xdvi, thereby fixing bug #233429.
13590 2001-08-23 Herbert Voss <voss@perce>
13592 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13594 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13596 * Spacing.h (Spacing): Set space to Default on in the default
13599 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13601 * vc-backend.h (RCS::versionString): add RCS to version
13602 (CVS::versionString): add CVS to version
13604 * vc-backend.C (scanMaster): do not add CVS to version.
13605 (scanMaster): do not add RCS to version
13607 * lyxvc.C (versionString): new method
13609 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13611 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13613 * Spacing.C (set): initialize fval
13615 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13617 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13620 2001-08-16 Juergen Vigna <jug@sad.it>
13622 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13624 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13626 * BufferView_pimpl.C:
13629 * text2.C: setParagraph takes linespacing now
13631 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13633 * LyxAction.C: add internal LFUN_CITATION_INSERT
13635 * LyXView.C: actually apply fix
13637 * bufferlist.C: fix open non-existent file
13639 * lyxfind.C: fix indentation
13641 * lyxfunc.C: remove unneeded assert, fix typo
13643 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13645 * MenuBackend.C: use "Floatname List"
13647 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13649 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13650 when converting LaTeX layout to insetERT.
13651 Generate a non-collapsed float when reading old float
13653 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13655 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13658 2001-08-13 Juergen Vigna <jug@sad.it>
13660 * text.C (fill): return 0 instead of 20 as this seems to be the more
13663 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13665 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13668 2001-08-13 Juergen Vigna <jug@sad.it>
13670 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13672 (SearchBackward): comment out the unlocking of the inset_owner this
13673 should not be needed!
13675 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13677 * Many files: Remove inherit_language, and add latex_language
13679 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13680 collapsible insets.
13682 2001-08-10 Juergen Vigna <jug@sad.it>
13684 * text.C (prepareToPrint): fixed hfill-width in draw!
13686 * BufferView2.C (selectLastWord): save the selection cursor as this
13687 now is cleared in the function LyXText::clearSelection!
13689 2001-08-08 Juergen Vigna <jug@sad.it>
13691 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13692 BACKSPACE type functions.
13694 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13695 is only cutted from the document but not put in the cut-buffer, where
13696 still the old stuff should be.
13698 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13700 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13702 * tabular.C (SetWidthOfCell): fixed special case where the width
13704 (LeftLine): handle '|' in align_special.
13706 (LeftAlreadyDrawed): ditto
13707 (SetWidthOfCell): ditto
13709 2001-08-07 Juergen Vigna <jug@sad.it>
13711 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13713 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13715 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13716 * lyxlex.[hC]: ditto
13718 2001-08-06 Juergen Vigna <jug@sad.it>
13720 * text.C (getVisibleRow): fix up row clearing a bit.
13722 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13724 * minibuffer.C: make sure the X server sees the changes in the input.
13726 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13728 * paragraph.C (getFont): split into...
13729 (getLabelFont): this
13730 (getLayoutFont): and this
13731 * paragraph_pimpl.C (realizeFont): calling this
13733 * text2.C (getFont): split into...
13734 (getLayoutFont): this
13735 (getLabelFont): and this
13736 (realizeFont): all three calling this
13738 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13741 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13743 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13745 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13747 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13748 layouts from the Quote inset insertion.
13750 2001-08-03 Juergen Vigna <jug@sad.it>
13752 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13754 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13755 only if status not is already CHANGED_IN_DRAW (second level).
13757 * text.C (draw): don't set the need_break_row when inside an
13760 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13762 * buffer.C (parseSingleLyXformat2Token): handle more latex
13765 * bufferview_funcs.[hC]: change function names to
13766 begin with small char, adjust other files.
13768 2001-08-02 André Pönitz <poenitz@gmx.net>
13771 BufferView_pimpl.C: remove broken special code for math-greek
13773 2001-08-02 Juergen Vigna <jug@sad.it>
13775 * BufferView_pimpl.C (update): redone this function so that we
13776 update the text again if there was a CHANGE_IN_DRAW.
13778 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13779 (drawFromTo): added a new internal bool which is used by draw() and
13781 (general): some cursor drawing problems fixed.
13783 2001-08-01 Juergen Vigna <jug@sad.it>
13785 * lyxfind.C (LyXFind): fixed
13786 (SearchForward): ditto
13787 (SearchBackward): ditto
13789 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13790 spurius drawing of the cursor in the main area.
13792 * text2.C (status): small fix which could lead to a segfault!
13793 (clearSelection): remove unneeded BufferView param.
13795 2001-08-01 André Pönitz <poenitz@gmx.net>
13797 * lyxfunc.C: small change due to changed mathed interface
13799 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13801 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13803 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13805 * lyxfunc.c: fail gracefully if file doesn't exist
13810 * BufferView_pimpl.C: IsDirWriteable() proto changed
13812 * LyXView.C: fix updateWindowTitle() to store the last title
13814 2001-07-31 Juergen Vigna <jug@sad.it>
13816 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13817 the font (wrong since using of Paragraph::highestFontInRange).
13819 * paragraph.C (highestFontInRange): added a default_size parameter.
13821 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13822 (setHeightOfRow): reformat
13824 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13826 * converter.[hC] + affected files: move to (inital-char)lowercase
13829 * ParagraphParameters.C (ParagraphParameters): remove commented code
13831 * PainterBase.[Ch]: remove commented code
13833 * LaTeXFeatures.h: add "bool floats" for float.sty
13835 * LaTeXFeatures.C (LaTeXFeatures): init floats
13836 (require): handle float
13837 (getPackages): do it with floats
13839 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13841 * BufferView_pimpl.C (Dispatch): improve handling of
13842 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13844 * commandtags.h: #include lyxfont.h here temporarily to avoid
13847 * bufferlist.h: include LString.h here.
13849 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13851 * text2.C (getStringToIndex): new method.
13853 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13855 * *: Reduced header file dependencies all over.
13857 2001-07-30 Baruch Even <baruch@lyx.org>
13859 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13861 2001-07-29 Baruch Even <baruch@lyx.org>
13863 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13865 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13867 * ParameterStruct.h (endif): add a default constructor to make
13868 sure that all variables is initialized.
13870 * ParagraphParameters.C (ParagraphParameters): adjust
13872 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13874 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13875 index; also, check that there is something to index, and that it
13876 does not span over several paragraphs.
13877 (doubleClick): use WHOLE_WORD_STRICT for double click.
13879 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13881 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13884 2001-07-26 Baruch Even <baruch@lyx.org>
13886 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13887 an InsetFig figure, backwards compatible reading of old figure code.
13889 2001-07-27 Juergen Vigna <jug@sad.it>
13891 * text2.C: font.realize function adaption.
13893 * text.C (draw): add a warnings lyxerr text if needed.
13895 * layout.C: font.realize function adaption.
13897 * language.C: add inherit_language and implement it's handlings
13899 * bufferview_funcs.C (StyleReset): remove language parameter from
13900 font creation (should be language_inherit now).
13902 * bufferparams.C (writeFile): handle ignore_language.
13904 * paragraph.C (getFontSettings): the language has to be resolved
13905 otherwise we have problems in LyXFont!
13907 * lyxfont.C (lyxWriteChanges): added document_language parameter
13908 (update): removed unneeded language parameter
13910 * paragraph.C (validate): fixed wrong output of color-package when
13911 using interface colors for certain fonts in certain environments,
13912 which should not seen as that on the final output.
13914 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13916 * BufferView_pimpl.C:
13921 * LyXAction.C: add thesaurus support
13924 * lyxfind.C: add "once" parameter, for thesaurus, to not
13925 move to the next match
13927 2001-07-26 Juergen Vigna <jug@sad.it>
13929 * lyxfont.C (realize): honor ignore_language too!
13932 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13934 * text.C (draw): one place more for ignore_language to not draw
13937 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13939 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13941 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13943 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13944 the minipage conversion problem.
13946 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13948 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13951 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13953 * BufferView.h: don't forward declare WorkArea
13955 * BufferView.C: don't include WorkArea.h
13957 2001-07-25 André Pönitz <poenitz@gmx.net>
13961 * lyxfunc.C: new LFUN 'math-space'
13963 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13965 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13967 * text2.C (toggleInset): call open/close
13969 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13971 * lyxfunc.C (dispatch): add debug for the disabled case
13973 * font.C (buttonText): make similar to rectText
13975 * buffer.C (readInset): comment out parsing of insetlist and
13978 * PainterBase.C (rectText): small correction
13980 * BufferView_pimpl.C: comment out insettheorem and insetlist
13981 * LyXAction.C: ditto
13982 * commandtags.h: ditto
13984 2001-07-24 Juergen Vigna <jug@sad.it>
13986 * text.C (draw): honor the ignore_language.
13988 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13990 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13992 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13995 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13997 * lyxtext.h: remove unused (and unimplemented) methods
13999 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14001 * text.C (getVisibleRow): honor background color
14004 * Painter.h: remove default color argument for fillRectangle
14006 * text.C (backgroundColor): new method
14008 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14010 * text.C (getVisibleRow): adjust
14012 * font.[Ch] (rectText): new method, metrics
14013 (buttonText): new method, metrics
14015 * PainterBase.[hC]: make rectText and buttonText always draw and take
14018 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14020 * ToolbarDefaults.C (read):
14021 * MenuBackend.C (read): allow escaping in all strings
14023 * BufferView_pimpl.C (insertAndEditInset): new method.
14024 (Dispatch): use insertAndEditInset whenever appropriate.
14026 * BufferView_pimpl.C (insertNote): removed
14028 * BufferView_pimpl.C (smartQuote): new method, moved from
14029 BufferView; if an insetquote cannot be inserted, insert a '"'
14032 * BufferView2.C: remove insertCorrectQuote();
14034 * lyxfunc.C (getStatus): Add support for all remaingin
14035 inset-insert lfuns.
14037 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14039 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14040 command (necessary to pass " as parameter of self-insert.
14042 * text.C (selectWordWhenUnderCursor):
14043 (selectWord): add word_location parameter
14044 (selectWordWhenUnderCursor): same + remove special code for word
14046 (selectNextWord): use kind() to guess type of insetspecialchar,
14049 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14050 (insertErtContents): create ert insets as collapsed.
14051 (readInset): better compatibility code for Info inset.
14053 2001-07-20 Juergen Vigna <jug@sad.it>
14055 * lyxfunc.C (dispatch): use always LyXFind now!
14057 * text2.C (init): add a reinit flag so that the LyXText can be
14058 reinited instead of deleted and reallocated (used in InsetText).
14060 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14066 2001-07-18 Juergen Vigna <jug@sad.it>
14068 * text.C (selectNextWord): handle insets inside inset by calling
14069 always the bv->text functions so that we can go up the_locking_inset!
14071 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14072 in strange locations when inside an inset!
14074 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14075 handling to include insets.
14077 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14079 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14081 * LyXAction.C (init):
14083 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14084 LIGATURE_BREAK, since the name is so stupid.
14086 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14088 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14091 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14093 * sp_form.[Ch]: remove.
14095 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14097 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14100 * src/buffer.C (readInset): ditto.
14102 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14104 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14105 menuSeparator(), endOfSentenceDot(), ldots() and
14106 hyphenationPoint(), which are therefore removed.
14107 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14109 * LyXAction.C (init):
14110 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14112 * paragraph.C (getWord): removed.
14114 * BufferView_pimpl.C (Dispatch): use last word or selection for
14115 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14117 * lyx_main.C (queryUserLyXDir): do not ask before creating
14118 user_dir, except if it has been named explicitely.
14120 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14122 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14123 a document of zero size.
14125 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14127 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14128 approriately in the c-tor and in require().
14129 (getPackages): output the appropriate LaTeX for natbib support.
14131 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14132 variables "use_natbib" and "use_numerical_citations" when reading the
14134 (readInset): read the various natbib cite commands.
14135 (validate): white-space change.
14137 * bufferparams.[Ch]: new variables "bool use_natbib" and
14138 "bool use_numerical_citations".
14139 (writeFile): output them in the LyX file.
14141 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14143 * lyxfunc.C (getStatus): add support for all the inset insertion
14146 * text2.C (insertInset):
14147 * paragraph.C (insetAllowed):
14148 * BufferView_pimpl.C (insertInset): update to take in account the
14149 renaming of insertInsetAllowed
14151 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14153 * text2.C (getInset): new method. returns inset at cursor position.
14155 * BufferView_pimpl.C (Dispatch): changes because of this.
14157 * LyXAction.C (init): rename open-stuff to inset-toggle.
14159 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14161 * text2.C (toggleInset): renamed from openStuff; use
14164 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14166 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14168 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14170 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14172 * buffer.C (readLyXformat2): Add filename to the error dialog
14174 2001-07-18 Juergen Vigna <jug@sad.it>
14176 * tabular.C (GetCellNumber): put an assert here instead of the check!
14178 2001-07-17 Juergen Vigna <jug@sad.it>
14180 * BufferView_pimpl.C (toggleSelection): adapted too.
14182 * text.C (selectNextWord): adapted for use with insets.
14183 (selectSelectedWord): ditto
14185 2001-07-17 Juergen Vigna <jug@sad.it>
14187 * sp_spell.C (PSpell): fix initialitation order.
14189 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14191 * paragraph.C: spacing
14193 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14195 * sp_spell.C: repair language selection for pspell
14197 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14199 * lyxfunc.h: change more methods to begin with lower char.
14201 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14203 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14204 for unknown layouts.
14206 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14208 * buffer.C (readLyXformat2): Generate an error dialog if there are
14211 2001-07-16 Juergen Vigna <jug@sad.it>
14213 * sp_spell.C: always compile ISpell part.
14215 * lyxrc.C: added use_pspell entry and it's handling.
14217 2001-07-13 Juergen Vigna <jug@sad.it>
14219 * sp_spell.C: removed double includes.
14221 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14223 Consistent use of Lsstream.h:
14224 * Lsstream.h: added using std::stringstream for consistencies sake.
14226 * buffer.C: removed using std::stringstream
14228 * lyxfont.C (stateText):
14229 * paragraph.C (asString):
14230 * text.C (selectNextWord, selectSelectedWord):
14231 * text2.C (setCounter):
14232 * vspace.C (asString, asLatexString):
14233 std::ostringstream -> ostringstream.
14235 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14237 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14238 * commandtags.h: add LFUN_HELP_ABOUTLYX
14239 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14241 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14243 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14245 * lyx_gui_misc.C: remove spellchecker
14246 * lyxfunc.C: showSpellchecker
14248 * sp_ispell.h: added
14249 * sp_pspell.h: added
14250 * sp_spell.C: added
14251 * sp_form.[Ch]: removed
14252 * spellchecker.[Ch]: removed
14254 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14256 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14258 (simpleTeXSpecialChars): Simply print the input character without
14259 any special translation if pass_thru is set.
14261 * layout.h: Added bool pass_thru to layout class for being able to
14262 implement pass through of a paragraph for Literate Programming.
14264 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14265 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14266 * layout.C (Read): add "passthru" to list of layout tags and add
14267 code to set the pass_thru boolean when it is read.
14269 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14271 * trans_decl.h: remove allowed from KmodInfo
14273 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14274 remove allowed code
14277 * paragraph_pimpl.C (erase): use boost::prior
14279 * Painter.C (text): use data() instead of c_str() when length is
14281 * WorkArea.C (putClipboard): ditto
14282 * font.h (width): ditto
14284 * BufferView2.C: use it-> instead of (*it). for iterators
14286 * paragraph_pimpl.C: ditto
14287 * paragraph.C: ditto
14288 * minibuffer.C: ditto
14289 * language.C: ditto
14291 * encoding.C: ditto
14292 * counters.C: ditto
14293 * converter.C: ditto
14295 * Variables.C: ditto
14296 * TextCache.C: ditto
14297 * MenuBackend.C: ditto
14298 * LyXAction.C: ditto
14300 * FloatList.C: ditto
14301 * DepTable.C: ditto
14302 * ColorHandler.C (LyXColorHandler): ditto
14304 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14306 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14308 * text2.C (openStuff): reintroduce this method (which had been
14309 nuked in NEW_INSETS frenzy).
14311 * lyxfunc.C (Dispatch): when an action has not been handled, use
14312 its name in the error message, not its number.
14314 * paragraph.C (inInset): change method name to begin with lowercase.
14317 * text2.C: updates because of this.
14319 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14321 * ToolbarDefaults.C (add): add spaces in error message
14323 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14325 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14326 (readLyXformat2): rename return_par to first_par, use lyxlex's
14327 pushToken and remove the manual push handling.
14328 (parseSingleLyXformat2Token): add another ert comp. variable:
14329 in_tabular, rename return_par to first_par. handle newlines better
14331 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14333 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14335 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14337 * text2.C (getParFromID): removed
14339 * buffer.C (getParFromID): new method moved form lyxtext.
14340 * BufferView2.C (insertErrors): adjust
14341 (setCursorFromRow): adjust
14342 * BufferView_pimpl.C (restorePosition): adjust
14343 * lyxfunc.C (Dispatch): adjust
14344 * undo_funcs.C (textUndo): adjust
14346 (textHandleUndo): adjust
14347 (textHandleUndo): adjust
14349 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14351 * buffer.C: up' the LYX_FORMAT
14353 * lyxfont.h: turn NO_LATEX on as default
14355 * buffer.C (insertErtContents): new methods of tex style compability.
14356 (parseSingleLyXformat2Token): use it several places.
14357 * tabular.C (OldFormatRead): and here
14359 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14361 * text2.C: remove some commented code.
14364 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14365 * trans.C: changes because of the above.
14367 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14369 * text2.C (setCounter): Fix counters bug with bibliography layout.
14371 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14373 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14374 own member functions
14375 (simpleTeXSpecialChars): ditto
14377 2001-07-06 Juergen Vigna <jug@sad.it>
14379 * a lot of files: changed the access to LyXText::status and the
14380 call of undo-functions.
14382 * undo.[Ch]: added a inset_id to the undo informations.
14384 * undo_funcs.[Ch]: added and moved here all undo functions.
14386 * lyxtext.h: give the status enum a weight, made status_ a private
14387 variable and made accessor functions for it, removed the whole bunch
14388 of undo-functions as they are now in their own file, make some
14389 functions publically available. Added function ownerParagraph with
14392 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14393 made InInset() a const function, added getParFromID() function.
14395 * buffer.[Ch]: added const version for inset_iterator functions,
14396 added getInsetFromID() function.
14398 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14399 changed undo functions for new version.
14401 2001-07-05 Juergen Vigna <jug@sad.it>
14403 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14404 unknow mechanism does not call the proper constructor but only this
14405 one also if I request the other!?
14407 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14409 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14411 * text2.C (LyXText): use initialization lists.
14413 * lyxtext.h (Selection): initialize set_ and mark_
14414 (init): remove method
14416 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14418 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14420 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14422 * screen.[Ch]: change method names to begin with lowercase
14424 * BufferView_pimpl.C (updateScrollbar): simplify further and
14425 hopefully make it a bit faster.
14427 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14429 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14430 calling directly xforms functions.
14432 * Painter.C (Painter):
14433 * lyx_cb.C (MenuWrite):
14434 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14437 * lyx_gui.C: remove bogus guiruntime extern declaration.
14439 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14441 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14443 (redoDrawingOfParagraph): ditto
14444 (redoParagraphs): ditto
14445 (cutSelection): don't create a object for CutAndPaste use the
14446 static method directly
14447 (pasteSelection): ditto
14449 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14452 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14454 * modifications to some other files because of this.
14456 * Makefile.am (lyx_SOURCES): add XFormsView
14458 * XFormsView.[Ch]: new files
14460 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14461 the main window. Move the gui dependent stuff to XFormsView
14463 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14465 * tabular.C (GetCellInset): update cur_cell also in the row/col
14466 version of this function.
14468 * lyxfunc.C: no need to include figure_form.h here.
14474 * lyxvc.C: no need to include forms.h here.
14476 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14478 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14480 * lyxfunc.C (Dispatch):
14482 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14483 constructor argument.
14485 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14487 * paragraph.C (Paragraph): dont't clear, and just set layout.
14488 (makeSameLayout): use params's copy contructor.
14490 * ParagraphParameters.[Ch] (makeSame): delete method
14492 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14494 * Variables.[Ch]: fix indentation, rename set to isSet
14496 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14498 * lyxfunc.C (Dispatch): fix typo
14500 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14502 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14505 * bufferlist.C: include assert.h for emergencyWrite().
14507 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14509 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14510 give up at last (bug #425202) !
14512 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14518 * spellchecker.C: strip spellchecker options and bring up
14519 preferences tab instead
14521 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14523 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14524 the istringstream constructor
14526 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14528 * paragraph.C (getLayout): fix return value
14530 * paragraph.h: do not declare getLayout as inline.
14532 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14534 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14536 * lyxcursor.h (operator<): new func
14537 (operator>): new func
14538 (operator>=): new func
14539 (operator<=): new func
14541 * text.C (changeCase): use selection.start and selection.end
14542 (changeRegionCase): require from to be <= to. Require par to be a
14545 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14547 2001-06-27 Juergen Vigna <jug@sad.it>
14549 * text.C (cursorLeftOneWord): changed to return the cursor and added
14550 overlay with BufferView * parameter which calls this one.
14552 (selectWord): use new getWord function.
14553 (changeCase): renamed from changeWordCase as and extended to work
14554 also on selections.
14556 * lyxtext.h: added enum word_location
14558 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14559 changeCase as this operates now also on selections.
14561 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14563 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14565 * many files: send debug output to Debug::INFO instead of
14568 * converter.C (View):
14570 (Move): send debug output to Debug::FILES instead of console.
14572 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14574 * lyxfunc.C (getStatus): use func_status
14576 * func_status.h: new header, describing the results of
14577 LyXFunc::getStatus;
14579 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14582 2001-06-25 The LyX Project <jug@sad.it>
14584 * buffer.C (sgmlOpenTag):
14586 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14588 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14590 * text2.C: remove some dead code
14592 * tabular.C (GetCellInset): store the last cell checked (gotten)
14594 * tabular.h: add the helper for the speedup
14596 * lyxtext.h: remove some dead code
14598 2001-06-26 The LyX Project <Asger>
14600 * paragraph.C: Change export to LaTeX of alignment to
14601 \begin{center} and family for better roundtrip work with reLyX.
14603 * Tune the math drawing a bit.
14605 2001-06-25 The LyX Project <Asger>
14607 * LColor.C (LColor): New color for math background. New color
14610 2001-06-25 The LyX Project <jug@sad.it>
14612 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14614 * lyxfunc.C (Open):
14615 * bufferlist.C (newFile): do not restrict to files ending with
14618 * BufferView_pimpl.C (MenuInsertLyXFile):
14620 2001-06-24 The LyX Project <jug@sad.it>
14622 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14625 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14627 * lyxtext.h: rename most methods to begin with a small char.
14628 Lots of changes because of this.
14630 * paragraph.C (Paragraph): do not call fitToSize
14631 (erase): call Pimpl::erase
14632 (insertChar): call Pimpl::insertChar
14633 (insertInset): call Pipl::insertInset
14634 (breakParagraph): do not call fitToSize
14635 (breakParagraphConservative): do not call fitToSize
14636 (fitToSize): remove method
14638 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14640 2001-06-24 The LyX Project <Asger>
14642 * Fix Qt compilation^2
14644 2001-06-24 The LyX Project <jug@sad.it>
14646 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14647 depthHook(getDepth()-1).
14650 * ParagraphParameters.h:
14651 * ParameterStruct.h: change type of depth to unsigned int ==
14652 depth_type. Many adaptations to other files before of that.
14654 2001-06-24 The LyX Project <Asger>
14656 * Fix Qt compilation.
14658 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14660 * paragraph.h: renamed several methods to begin with small letter.
14661 several changes to many parts of the code because of this.
14663 2001-06-23 The LyX Project <jug@sad.it>
14665 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14666 rewritten to discard all double spaces when KeepEmpty is off
14667 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14668 to only handle newlines but not fiddle with spaces and friends.
14670 * lyxfunc.C (MenuNew): when doing 'new from template', use
14671 template_path as default directory
14673 2001-06-23 The LyX Project <Asger>
14675 * Clean-up of header file includes all over
14676 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14678 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14680 * paragraph.h: renamed from lyxparagraph.h
14682 2001-06-23 Asger <lyx@violet.home.sad.it>
14684 * Buffer.h: Removed Buffer::resize
14685 * BufferList.h: Removed BufferList::resize
14686 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14687 the document lazily when we change the width, or the font settings.
14689 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14691 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14693 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14695 * buffer.h: remove out of date comment
14697 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14700 * screen.C: fix "theoretical" GC leak
14702 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14704 * LaTeX.C (scanAuxFile):
14705 (deplog): remove trailing \r when reading stream (useful under
14708 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14710 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14711 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14712 and BufferView::theLockingInset(Inset*), so should use them and not
14713 access bv_->text->the_locking_inset directly.
14715 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14717 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14720 * tex-defs.h: remove old unused file
14722 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14724 * BufferView_pimpl.C: fix typo, remove minibuffer message
14725 when buffer has loaded
14727 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14729 * lyxfunc.C (Dispatch): use stringstream
14730 (MenuNew): use stringstream
14731 (Open): use stringstream
14733 * importer.C (Import): use stringstream
14735 * bufferview_funcs.C (CurrentState): use stringstream
14737 * LaTeX.C (run): use stringstream
14739 * BufferView_pimpl.C (savePosition): use stringstream
14740 (restorePosition): use stringstream
14741 (MenuInsertLyXFile): use stringstream
14743 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14756 * vspace.C: removed // -*- C++ -*- as first line.
14759 * version.h: added // -*- C++ -*- as first line.
14761 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14763 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14765 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14768 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14770 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14773 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14775 * gettext.C: include LString.h even when --disable-nls is on.
14777 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14779 * converter.h (Get): changed argument type from int to
14780 FormatList::size_type to avoid unnecessary conversion.
14782 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14785 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14787 * gettext.h: include LString.h even when --disable-nls is on.
14789 2001-06-07 Juergen Vigna <jug@sad.it>
14791 * text.C (BreakAgain): subst spaces with tabs.
14793 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14794 (resizeInsetsLyXText): set force on resizeLyXText.
14796 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14798 * gettext.h (gettext_init):
14799 (locale_init): use a real definition instead of a macro
14801 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14803 * Bufferview_pimpl.C:
14805 * LColor.C: further lcolor tidies
14807 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14809 * BufferView_pimpl.C (updateScrollbar): simplify.
14811 * BufferView2.C: don't include insets/insetinfo.h, change
14812 prototype for insertInset and call the Pimpl version. let
14813 updateInset call Pimpl version.
14815 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14816 gotoInset to BufferView::Pimpl
14818 2001-06-01 Juergen Vigna <jug@sad.it>
14820 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14821 inside a LockingInset (is the update needed at all?).
14823 2001-05-31 Juergen Vigna <jug@sad.it>
14825 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14826 here not the old one otherwise how should we compare it afterwards
14829 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14834 * FontInfo.C: bring C functions into global namespace when
14837 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14839 * LString.h: make sure config.h has been loaded before LString.h.
14841 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14842 (one for each char read by EatLine!).
14844 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14847 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14849 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14850 to the same as the par we break from
14852 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14854 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14856 * MenuBackend.C (expand): also create menu entries for wide
14857 versions of the floats.
14859 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14861 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14863 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14864 frontends/Makefile.am
14870 * tabular.C (getTokenValue): add std::
14872 * tabular-old.C (getTokenValue): add std::
14873 (getTokenValue): ditto
14874 (getTokenValue): ditto
14876 * screen.C (ToggleSelection): adjust
14878 * lyxtext.h: put selection cursors inside a Selection struct.
14880 * lyxfunc.C (moveCursorUpdate): adjust
14882 * lyxfont.C (latexWriteStartChanges): add std::
14884 * lyxfind.C: adjust
14886 * font.h: delete with(char const *, LyXFont const &)
14888 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14890 * FontInfo.C (getFontname): add std::
14892 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14893 (workAreaButtonPress): adjust
14894 (tripleClick): adjust
14896 (moveCursorUpdate): adjust
14899 * BufferView2.C (gotoInset): adjust
14901 2001-05-30 Juergen Vigna <jug@sad.it>
14903 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14904 to check pspell I add this as default as I now have new pspell
14905 libraries and they seem to use this.
14907 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14909 * text2.C (CutSelection): make the cursor valid before the call to
14912 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14914 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14915 relied on 0 terminated strings and other horrors. Bug found due to
14916 the new assert in lyxstring!
14918 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14921 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14923 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14926 * lyxfunc.C (processKeySym): change method of getting to the
14929 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14930 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14931 * BufferView_pimpl.[Ch]: here as private methods.
14933 2001-05-28 Juergen Vigna <jug@sad.it>
14935 * text.C (SetHeightOfRow): added the update() call again as it is
14936 needed to initialize inset dimensions!
14938 2001-05-16 Juergen Vigna <jug@sad.it>
14940 * text2.C (SetCharFont): Add new function with BufferView * and
14941 bool toggleall parameters for setting insets internal fonts.
14942 (SetFont): Freeze the undo as we may change fonts in Insets and
14943 all this change should be inside only one Undo!
14945 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14946 setting font's in insets as for them we have the SetFont function!
14948 2001-05-15 Juergen Vigna <jug@sad.it>
14950 * text2.C (ClearSelection): to be sure we REALLY don't have any
14953 * tabular.C (TeXCellPreamble): fixed the left border problem for
14956 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14958 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14961 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14963 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14964 LFUN_BREAKPARAGRAPH.
14966 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14967 help test to "internal only", similar for LFUN_INSERT_URL
14969 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14970 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14971 auto_region_delete and deadkeys.
14973 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14976 * LColor.C: remove some dead entries, tidy a little
14978 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14980 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14982 (Dispatch): implement LFUN_ESCAPE
14984 * commandtags.h: add LFUN_ESCAPE
14986 * LyXAction.C (init): add entry for LFUN_ESCAPE
14988 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14989 Remove commented code.
14990 (insertNote): moved here
14991 (open_new_inset): moved here
14993 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14996 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14998 * kbmap.C (findbinding): clean it up and make it work correctly.
15000 * lyx_main.C (init): do not pass argc and argv as parameters
15002 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15004 * buffer.C: fix path for OS/2 & Win32
15008 * lyx_main.C: Added os:: class.
15010 * os2_defines.h: update
15012 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15014 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15015 better by trying again with reduced state.
15017 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15019 * lyxrc.C (read): print error about invalid key sequence only when
15020 debugging (because not all latinX keysyms are known to some X
15023 * kbsequence.C (getiso): add a few std:: qualifiers
15024 (getiso): comment out extra return statement.
15026 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15028 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15030 (Dispatch): enhance the accent inset a bit. (not perfect)
15032 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15034 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15036 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15038 * bufferlist.C (emergencyWrite): fix assert() call
15040 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15042 * text.C (InsertChar): Added trivial patch to only send the "you
15043 can not do multiple spaces this way" message once during a
15046 2001-05-08 Baruch Even <baruch@lyx.org>
15048 * Makefile.am: Changed order of libraries to get LyX to link properly
15049 with the gnome frontend.
15051 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15053 * LaTeXFeatures.h: add a std:: qualifier
15055 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15057 * paragraph.C (String): use stringstream
15059 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15061 * paragraph.C (writeFile): remove footflag arg
15063 * buffer.C (makeLaTeXFile): use stringstream
15064 (latexParagraphs): remove footnot gurba
15066 * LaTeXFeatures.C (getPackages): use stringstream
15067 (getMacros): likewise
15068 (getTClassPreamble): likewise
15069 (getFloatDefinitions): new method
15071 * paragraph.C (writeFile): reindent
15074 * WorkArea.h: revert the xpos + etc changes.
15076 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15078 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15080 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15081 (pasteSelection): likewise
15082 * text2.C (CreateUndo): likewise
15084 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15086 * minibuffer.C (peek_event): temporarily reduce the functionality
15087 of the minibuffer (to allow args on lfuns)
15089 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15090 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15092 * buffer.C (readInset): add compability reading of old float
15093 lists, add reading of new style float list.
15094 (readInset): avoid reevaluation of inscmd.getCmdName()
15095 (getLists): reindent
15097 * MenuBackend.C (MenuItem): implement parsing of
15098 md_floatlistinsert and md_floatinsert.
15099 (expand::LastFiles): move initalizaton of iterators out of loop,
15100 avoid reevaluation.
15101 (expand::Documents): introduce typdedef vector<string> Strings,
15103 (expand::ExportFormats): introduce typedef vector<Format const *>
15104 Formats, and use it.
15105 (expand): implement FloatListInsert and FloatInsert.
15107 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15108 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15109 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15111 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15113 (Dispatch::LFUN_FLOAT_LIST): implement
15115 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15117 * LaTeX.C (run): Fix problem with --export code.
15119 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15121 * BufferView.[Ch] (workarea): removed.
15122 (getClipboard) new method; wrapper for workarea()->getClipboard()
15124 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15127 * WorkArea.h (width, height, xpos, ypos): These methods all
15128 returned the dimensions of the work_area sub-area of WorkArea,
15129 resulting in a position error if the WorkArea were resized. Now
15130 return the dimensions of the entire WorkArea.
15132 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15134 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15136 * LaTeX.C (deplog): correct the syntax of regex reg1
15138 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15140 * undo.C: remove !NEW_INSETS cruft
15142 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15144 * text2.C: remove !NEW_INSETS cruft
15146 * text.C: remove !NEW_INSETS cruft
15148 * tabular.C: remove !NEW_INSETS cruft
15150 * spellchecker.C: remove !NEW_INSETS cruft
15152 * lyxtext.h: remove !NEW_INSETS cruft
15154 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15156 * lyxfunc.C: remove !NEW_INSETS cruft
15158 * lyxfind.C: remove !NEW_INSETS cruft
15160 * lyx_cb.C: remove !NEW_INSETS cruft
15162 * figureForm.C: remove !NEW_INSETS cruft
15164 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15166 * buffer.[Ch]: remove !NEW_INSETS cruft
15168 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15170 * CutAndPaste.C: remove !NEW_INSETS cruft
15172 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15174 * BufferView2.C: remove !NEW_INSETS cruft
15176 * BufferView.h: remove !NEW_INSETS cruft
15178 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15180 * Lsstream.h: include LString.h before the sstream headers to
15181 fix problem with gcc 2.95.3 and lyxstring
15183 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15185 * lyx_main.C: add using directives when needed for C functions
15186 declared in std:: namespace.
15188 2001-04-27 Juergen Vigna <jug@sad.it>
15190 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15191 (SetHeightOfRow): comment out the update call should not be needed!
15193 2001-04-13 Juergen Vigna <jug@sad.it>
15195 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15196 (LyXTabular): tried to minimize operator= operations (and realized
15197 hopfully Lars wish).
15199 2001-04-27 Juergen Vigna <jug@sad.it>
15201 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15203 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15205 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15207 * buffer.C (readInset): hack to make listof algorithm work
15209 * BufferView_pimpl.C: hack to make listof algorithm work
15211 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15213 * LyXAction.C: removed all !NEW_INSETS cruft
15214 (init): moved lfun_item in method
15216 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15218 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15220 * BufferView2.C (theLockingInset): white space.
15222 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15224 * minibuffer.C: include <iostream>
15226 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15228 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15230 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15232 * text.[Ch] (TransposeChars): new method
15234 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15236 * call message directly through LyXView instead of through LyXFunc
15237 * BufferView2.C: adjust
15238 * BufferView_pimpl.C: adjust
15239 * FontLoader.C: adjust
15241 * bufferview_funcs.C: adjust
15242 * converter.C: adjust
15243 * figureForm.C: adjust
15244 * importer.C: adjust
15246 * lyx_gui_misc.C: adjust
15247 * lyxfunc.C: adjust
15250 + more files in subdirs
15252 * lyxparagraph.h (size): move up int file
15255 * adjust all uses of Assert to lyx::Assert.
15257 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15258 lyxfunctional in namespace lyx
15259 * layout.C (hasLayout): ditto
15262 (delete_layout): ditto
15263 (NumberOfClass): ditto
15264 * converter.C (GetFormat): ditto
15269 * bufferlist.C (getFileNames): ditto
15270 (emergencyWriteAll): ditto
15273 * MenuBackend.C (hasSubmenu): ditto
15276 * BufferView_pimpl.C (getInsetByCode): ditto
15278 2001-04-18 Juergen Vigna <jug@sad.it>
15280 * vspace.C (asLatexString): fixed the 100% problem.
15282 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15284 * lyxfunc.C (Dispatch):
15286 * minibuffer.h: add a few std:: qualifiers
15288 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15290 * minibuffer.[Ch]: reimplement so that commands is initiated and
15291 run from lyxfunc, simplified som handling, and made the completion
15292 and history code for complete. wip.
15294 * lyxfunc.C (processKeySym): call message
15295 (miniDispatch): new temporary method
15296 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15297 (LFUN_MESSAGE): implement
15298 (LFUN_MESSAGE_PUSH): implement
15299 (LFUN_MESSAGE_POP): implement
15300 (initMiniBuffer): the initial/defualt minibuffer message.
15302 * lyxfont.[Ch]: inline some more getters
15304 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15306 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15308 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15309 (AutoSave): use LFUN_MESSAGE
15310 (Reconfigure): ditto
15312 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15314 * figureForm.C: use LFUN_MESSAGE
15316 * converter.C (runLaTeX): use LFUN_MESSAGE
15318 * bufferview_funcs.C: use LFUN_MESSAGE
15320 (changeDepth): ditto
15322 * bufferparams.h: use boost::
15324 * bufferlist.h: inherit privately from noncopyable
15326 * bufferlist.C (loadLyXFile): remove some commented code.
15328 * buffer.C (runChktex): use LFUN_MESSAGE
15330 * ShareContainer.h: inherit privately from noncopyable
15332 * ParagraphParameters.[hC] (depth): inline it.
15334 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15336 (message): new method
15337 (messagePush): ditto
15338 (messagePop): ditto
15339 (show): init minibuffer
15340 (showState): direct call
15342 * LaTeX.[Ch]: inherit privately from noncopyable
15343 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15344 instead of WriteStatus.
15346 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15348 * BufferView_pimpl.C (buffer): don't init minibuffer
15349 (workAreaButtonPress): use LFUN_MESSAGE
15350 (workAreaButtonRelease): ditto
15351 (savePosition): ditto
15352 (restorePosition): ditto
15353 (MenuInsertLyXFile): ditto
15354 (workAreaExpose): don't init minibuffer
15355 (update): remove commented code, simplify
15357 * BufferView2.C (openStuff): use LFUN_MESSAGE
15358 (toggleFloat): ditto
15361 (copyEnvironment): ditto
15362 (pasteEnvironment): ditto
15367 (updateInset): remove some commented code
15369 * lastfiles.h: inherit privately from noncopyable
15372 * lyx_main.h: ditto
15374 * lyxlex_pimpl.h: ditto
15376 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15377 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15378 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15380 * LyXAction.h: inherit privately from noncopyable, add methods
15381 func_begin, func_end, returning iterators to the func map.
15383 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15384 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15385 (func_begin): new method
15386 (func_end): new method
15388 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15390 (copySelection): ditto
15391 (pasteSelection): ditto
15393 * BufferView.C: whitespace change
15394 * BufferView.h: inherit privately from noncopyable
15396 2001-04-16 Allan Rae <rae@lyx.org>
15398 * tabular-old.C (l_getline):
15399 * spellchecker.C (sc_check_word):
15400 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15401 an unrecognised preprocessor directive. So ensure they're wrapped.
15403 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15405 * src/exporter.C (Export): Give an error message when path to file
15408 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15410 * LaTeX.C (deplog): Always check that foundfile exists.
15412 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15415 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15417 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15419 * tabular.[Ch] (getLabelList): implement new method
15421 * minibuffer.h: comment ouf setTiimer
15423 * minibuffer.C (ExecutingCB): constify res
15424 (peek_event): constify s
15425 (Set): constify ntext
15426 (Init): constify nicename
15428 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15430 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15431 (savePosition): use two params to Minibuffer::Set
15432 (restorePosition): ditto
15434 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15436 * lyx_main.C: include language.h
15438 * Makefile.am (lyx_main.o): add language.h
15440 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15446 * CutAndPaste.C: include gettext.h
15448 * lyxfont.h: remove old hack with ON and OFF.
15451 * lyxfont.h: do not include language.h...
15456 * bufferview_funcs.C:
15462 * paragraph.C: ... but do it here instead
15464 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15466 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15468 * tabular.C: small reformat
15470 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15473 (BreakParagraph): ditto
15474 (SetOnlyLayout): ditto
15477 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15480 * lastfiles.C: removed most using decl, add std:: where needed
15482 * buffer.C: ws changes
15484 * MenuBackend.C (class compare_format): put into anon namespace
15485 (expand): constify label, names, action, action2
15488 * text.C (SingleWidth): constify font
15489 (IsBoundary): constify rtl2
15490 (GetVisibleRow): constify ww
15492 * LaTeX.C (deplog): constify logfile
15494 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15496 (workAreaExpose): constify widthChange, heightChange
15498 * lyxrow.C (par): moved
15501 * lyxrow.h: as inlines here
15503 * lyxfont.h (shape): moved from lyxfont.C
15504 (emph): moved from lyxfont.C
15506 * lyxfont.C (LyXFont): use initialization list for all
15508 (shape): move to lyxfont.h as inline
15509 (emph): move to lyxfont.h as inline
15512 2001-04-04 Juergen Vigna <jug@sad.it>
15514 * vspace.C: had to include stdio.h for use of sscanf
15516 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15519 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15520 independent of xforms.
15522 2001-04-02 Juergen Vigna <jug@sad.it>
15524 * spellchecker.C: fixed namespace placing!
15526 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15528 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15529 the LyXParagraph * is 0.
15531 2001-03-29 Juergen Vigna <jug@sad.it>
15533 * vspace.C: added support for %, c%, p%, l%.
15534 (stringFromUnit): added helper function.
15535 (asLatexString): changed to give right results for the %-values.
15537 * buffer.C: convert the widthp in a width%.
15539 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15541 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15544 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15545 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15547 * lyx_cb.[Ch]: see above.
15549 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15553 * lyx.[Ch]: replaced by figure_form.[Ch].
15557 * lyxfunc.C: changed headers associated with above changes.
15559 2001-03-27 Juergen Vigna <jug@sad.it>
15561 * BufferView_pimpl.C: set the temporary cursor right!
15563 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15565 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15567 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15569 * LString.h: removed "using std::getline"!
15571 * BufferView_pimpl.C (Dispatch): changes due to changes in
15572 InsetInclude::Params.
15574 * buffer.C (tag_name): removed redundant break statements as they were
15575 producing lots of warnings with my compiler.
15577 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15579 * LString.h: add "using std::getline" when using the real <string>.
15581 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15583 * buffer.C: removed bitset usage.
15584 PAR_TAG moved to an anonymous name space.
15585 (tag_name): new funtion, also in the anonymous namespace.
15586 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15587 (makeDocBookFile): clean code. Completed transition from string arrays
15589 (SimpleDocBookOnePar): code clean.
15591 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15593 * tabular.C: add some comments.
15595 2001-03-22 Juergen Vigna <jug@sad.it>
15597 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15598 compatibility read a bit and fixed bug with minipage in different
15601 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15603 * buffer.C (pop_tag): removed.
15604 (push_tag): removed.
15605 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15606 array replaced with vector. Added support for CDATA sections.
15607 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15609 (makeDocBookFile): XML conformant declaration of CDATA section,
15610 fixed bug related to <emphasis> in the first paragraph char.
15611 (sgmlOpenTag): exclude empty tags.
15612 (sgmlCloseTag): ditto.
15614 * buffer.h (pop_tag): removed.
15615 (push_tag): removed.
15617 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15619 * language.h (Languages): added size_type and size().
15621 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15623 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15624 response on compability reading of minipages. One probliem is that
15625 the old usage of minipages was «flertydig»
15627 * several files here and in subdirs: don't use static at file
15628 scope use anon namespaces instead.
15630 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15632 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15633 LaTeX output. This is necessary for Literate document
15636 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15638 * buffer.C: insert hfill when needed.
15640 * tabular.C (l_getline): use string::erase, small whitespace change.
15642 * BufferView_pimpl.C: try the anon namespace.
15643 * WorkArea.C: ditto
15645 2001-03-16 Juergen Vigna <jug@sad.it>
15647 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15648 otherwise it won't open options-dialogs.
15650 * buffer.C: honor pextraWidth(p) on converting minipages.
15652 * tabular.C (l_getline): changed the functions to strip trailing \r.
15654 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15656 * BufferView_pimpl.C:
15657 * minibuffer..C: added "using SigC::slot" declaration.
15659 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15661 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15667 * paragraph.C: ditto
15669 * lyxtext.h: NO_PEXTRA
15671 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15673 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15674 * ParameterStruct.h: ditto
15675 * ParagraphParameters.h: ditto
15676 * lyxparagraph.h: ditto
15678 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15680 * buffer.C: add compability for minipage alignment.
15681 (latexParagraphs): remove unwanted pextra check.
15683 * several files: remove CXX_WORKING_NAMESPACES
15685 * buffer.C (pop_tag): tie is in namespace boost
15687 * BufferView.h: noncopyable is in namespace boost
15689 * lyx_main.h: ditto
15692 * lastfiles.h: ditto
15693 * bufferlist.h: ditto
15694 * ShareContainer.h: ditto
15696 * LyXAction.h: ditto
15699 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15701 * Merging changes from BRANCH_MVC back into HEAD.
15703 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15705 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15707 * BufferView_pimpl.C: change from intl.C
15711 * Makefile.am: move combox.*
15717 * intl.C: remove dialog (covered by prefs)
15719 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15721 * lyxfunc.C (Dispatch): removed redundant break statement.
15723 2001-03-14 Juergen Vigna <jug@sad.it>
15725 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15727 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15729 * buffer.C: add hack to fix compability reading of minipages.
15731 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15733 * buffer.C (getLists): Cleanup.
15735 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15737 * lyxfont.C (update): don't honor toggleall on font size.
15739 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15743 * Makefile.am: moved to frontends/xforms/
15747 * BufferView_pimpl.C: changes for moved mathpanel
15749 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15751 * gettext.h: fix gettext_init() in --disable-nls
15753 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15755 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15757 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15760 * lyx.h: strip external form
15762 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15764 * BufferView_pimpl.C: add comment, destroySplash()
15766 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15768 * BufferView_pimpl.C:
15772 * lyxfunc.C: use re-worked insetinclude
15774 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15776 * buffer.C: add using std::stringstream.
15778 * lyx_cb.C: readd using std::ios.
15780 * buffer.C: add using std::map.
15782 * BufferView_pimpl.C: add using std::vector.
15784 * ShareContainer.h: add std:: to swap.
15786 * buffer.h: add some typedefs
15787 * buffer.C (getLists): use them
15788 (getLists): renamed from getTocList.
15789 add a counter for the different float types and use it in the
15791 (getLists): use the same counter for the NEW_INSETS and the "non"
15794 * lyx_cb.h: remove unused items, includes, using etc.
15796 * ShareContainer.h: remove some commented code, add more comments
15797 and "documentation".
15799 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15801 * buffer.C (getTocList): make the list also when NEW_INSETS is
15804 * buffer.h: remove TocType
15806 * buffer.C (getTocList): change to return a map<string,
15807 vector<TocItem> >, implement for dynamic number of list.
15809 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15810 * text2.C (PasteSelection): adjust
15811 * CutAndPaste.C (pasteSelection): adjust
15813 * FloatList.C (FloatList): update from the new_insets branch.
15814 * Floating.[Ch]: ditto
15815 * LaTeXFeatures.C: ditto
15817 * lyxlex_pimpl.C: ditto
15819 * paragraph.C (Last): remove when NEW_INSETS is defined.
15821 * other file: changes because of the above.
15823 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15825 * lyxparagraph.h: rename next to next_, previous to previous_,
15826 make them private for NEW_INSETS. Rename Next() to next(),
15827 Previous() to previous().
15829 * other files: changes because of the above.
15831 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15834 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15837 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15839 * main.C (main): pass lyx_localedir to gettext_init().
15841 * gettext.h: remove locale_init and gettext_init macros
15843 * gettext.C (locale_init): new function
15844 (gettext_init): new function
15846 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15849 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15851 * Moved credits to frontends:
15852 * credits.[Ch]: removed
15853 * credits_form.[Ch]: removed
15854 * lyx_gui_misc.C: remove credits stuff
15857 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15859 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15861 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15862 unneeded destructor.
15864 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15865 a standalone pointer again.
15867 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15869 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15875 * ToolbarDefaults.C:
15884 * BufferView_pimpl.C: use new file dialog in GUII
15887 * lyx_cb.C: remove LayoutsCB to Toolbar
15889 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15891 * ShareContainer.h (get): add std:: qualifier
15893 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15895 * ShareContainer.h: define a proper ShareContainer::value_type
15896 type (and use typename to please compaq cxx)
15898 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15900 * lyxparagraph.h: move serveral local vars to
15901 ParameterStruct/ParagraphParameters., use ShareContainer in
15902 FontTable., make vars in FontTable private and add getter and
15905 * paragraph.C: changes because of the above.
15907 * lyxfont.h: remove copy constructor and copy assignment. (the
15908 default ones is ok), move number inside FontBits. move inlines to
15911 * lyxfont.C: add number to initializaton of statics, move several
15912 inlines here. constify several local vars. some whitespace
15913 cleanup. Dont hide outerscope variables.
15915 * Spacing.h: add two new constructors to match the set methods.
15917 * ShareContainer.h: new file, will perhaps be moved to support
15919 * ParameterStruct.h: new file
15921 * ParagraphParameters.h: new file
15923 * ParagraphParameters.C: new file
15925 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15926 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15928 * BufferView_pimpl.C: ParagraphParameter changes.
15929 * buffer.C: Likewise.
15930 * bufferview_funcs.C: Likewise.
15931 * text.C: Likewise.
15932 * text2.C: Likewise.
15934 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15936 * lyxfind.C (LyXReplace): do not redefine default argument in
15938 (IsStringInText): ditto
15939 (SearchForward): ditto
15940 (SearchBackward): ditto
15942 2001-03-06 Juergen Vigna <jug@sad.it>
15944 * lyxfind.C (IsStringInText): put parentes around expressions.
15946 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15948 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15950 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15952 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15954 * stl_string_fwd.h: add comment
15956 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15959 * tabular.C: remove unused DocBook methods
15965 killed DO_USE_DEFAULT_LANGUAGE
15967 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15969 * lyx_gui.C: do not include language.h.
15971 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15972 arguments in function implementation.
15974 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15976 * BufferView_pimpl.C: add <ctime>
15978 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15980 * BufferView_pimpl.C: add using std::find_if
15982 2001-02-27 José Matos <jamatos@fep.up.pt>
15984 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15987 2001-02-11 José Matos <jamatos@fep.up.pt>
15989 * buffer.C (makeDocBookFile): command styles now have a parameter as
15990 "title" by default.
15992 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15994 * layout_forms.[Ch]: removed
15995 * lyx_cb.[Ch]: out character
15996 * lyx_gui.C: out character
15997 * lyx_gui_misc.C: out character
15998 * bufferview_funcs.C: : out character,
15999 added toggleall as parameter in ToggleAndShow
16001 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16003 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16005 * text2.C (SetCurrentFont): Disable number property at boundary.
16007 2001-02-26 Juergen Vigna <jug@sad.it>
16009 * lyxfunc.C (getStatus): added a string argument override function so
16010 that this is correctly called from LyXFunc::Dispatch if it contains a
16011 do_not_use_argument which is used!
16012 (Dispatch): added check for "custom" export and call appropriate func.
16014 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16016 * lyxrc.C: Add language_command_local, language_use_babel and
16017 language_global_options.
16019 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16021 * buffer.C (makeLaTeXFile): Use language_use_babel and
16022 language_global_options.
16024 2001-02-23 Juergen Vigna <jug@sad.it>
16026 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16027 which works with LyXText and putted it inside BufferView. Here now we
16028 only call for that part the BufferView::Dispatch() function.
16030 * BufferView.C (Dispatch): added.
16032 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16033 functions which needs to use a LyXText over from LyXFunc.
16034 (MenuInsertLyXFile): added
16035 (getInsetByCode): added
16036 (moveCursorUpdate): added
16037 (static TEXT): added
16039 2001-02-22 Juergen Vigna <jug@sad.it>
16041 * BufferView_pimpl.C (update): call a status update to see if LyXText
16044 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16046 * vc-backend.C (revert): implement for CVS
16047 (getLog): implement for CVS
16049 2001-02-20 Juergen Vigna <jug@sad.it>
16051 * text2.C (ClearSelection): added BufferView param for inset_owner call
16053 * lyxfunc.C (TEXT): added this function and use it instead of
16054 directly owner->view()-text of getLyXText().
16056 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16058 * src/layout_forms.C: out preamble
16059 * src/layout_forms.h: out preamble
16060 * src/lyx_cb.C: out preamble
16061 * src/lyx_cb.h: out preamble
16062 * src/lyx_gui.C: out preamble
16063 * src/lyx_gui_misc.C: out preamble
16064 * src/lyxfunc.C: connect with guii preamble
16066 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16068 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16070 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16072 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16073 whether to run bibtex.
16075 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16077 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16079 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16081 * Makefile.am (lyx_SOURCES): removed bibforms.h
16083 * vspace.h: doxygen
16085 * text.C (GetVisibleRow): make several local vars const
16087 * tabular.C: small cleanup.
16089 * lyxserver.C (callback): use compare instead of strncmp
16091 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16092 inlines to after class or to paragraph.C
16094 * lyxfont.h: remove friend operator!=
16096 * converter.h: move friend bool operator< to non friend and after
16099 * combox.h: small cleanup
16101 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16102 to inlines after class def.
16104 * buffer.C (pop_tag): use string operations instead of strcmp
16106 * bmtable.c: doxygen, small cleanup
16108 * LaTeX.h: remove friend operator==
16110 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16122 * BufferView_pimpl.C:
16123 * BufferView.[Ch]: remove cruft
16125 2001-02-14 Juergen Vigna <jug@sad.it>
16127 * lyxfunc.C: removed #if 0 unused code
16129 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16131 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16133 * text2.C (SetSelection): added a BufferView * parameter
16135 2001-02-13 Juergen Vigna <jug@sad.it>
16137 * lyxfunc.C (Dispatch): fixed protected blank problem.
16138 * BufferView2.C (protectedBlank): added LyxText * parameter.
16140 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16141 (AppendColumn): same as above for column_info.
16143 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16144 (moveCursorUpdate): use a LyXText param for support of InsetText.
16146 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16147 (tripleClick): ditto
16149 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16151 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16153 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16155 * text2.C (SetSelection): set correct update status if inset_owner
16156 (ToggleFree): ditto
16158 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16160 * tabular.C: remove some commented code.
16162 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16164 * BufferView_pimpl.C: call hideSplash()
16166 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16169 * bibforms.h: remove
16172 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16173 add LFUN_CHILD_CREATE
16175 * counters.h: fix tiny typo
16180 * lyx.C: move splash to frontends/xforms/
16182 * lyx_gui_misc.C: move Include and Bibform to frontends
16184 * lyxvc.h: clarify comment
16186 * vspace.C: tiny housekeeping
16188 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16190 * text.C (PrepareToPrint): RTL Fix.
16192 * paragraph.C (GetUChar): New method.
16193 (String): Use GetUChar.
16195 * buffer.C (asciiParagraph): Use GetUChar.
16197 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16199 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16201 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16204 * buffer.C: rename to getLogName(), handle
16205 build log / latex log nicely
16207 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16210 * MenuBackend.h: remove support for reference menuitem type.
16212 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16214 * BufferView_pimpl.C: housekeeping
16215 * BufferView_pimpl.h:
16220 * minibuffer.h: move Timeout GUI-I
16222 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16224 * lyxrc.C (read): Update converters data-structures.
16226 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16228 * LaTeX.h (operator!=): add operator != for Aux_Info
16230 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16232 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16234 * LaTeXLog.C: deleted, useful code moved to Buffer
16237 * buffer.C: new function getLatexLogName()
16243 * lyxfunc.C: use frontends for LaTeX and VC logs
16245 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16247 * LaTeX.h: yet another std:: that Allan forgot.
16249 * Variables.C (set): renamed from isset(), because this clashes
16250 with some HP-UX macros (grr).
16252 2001-02-06 Allan Rae <rae@lyx.org>
16254 * LaTeX.h: Another bug fix. Missing std:: this time.
16256 2001-02-04 Allan Rae <rae@lyx.org>
16258 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16259 floats problem. I've left it commented out because it's not quite
16260 correct. It should also test that the current object is a table or
16261 figure inset. But I haven't gotten around to figuring out how to do
16262 that. I *think* it'll be something like: "table" == inset.type()
16264 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16267 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16269 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16270 all the citation/databases/styles in the auxilary file.
16271 (run): Rerun latex if there was a babel language error.
16273 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16275 * text.C (Backspace): Preserve the font when changing newline char
16277 (BreakParagraph): If the cursor is before a space, delete the space.
16279 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16281 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16283 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16284 new argument (code).
16285 (ChangeCitationsIfUnique): New method.
16287 * paragraph.C (GetPositionOfInset): Handle bibkey.
16289 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16291 * BufferView_pimpl.h: change type of Position::par_pos to
16292 LyXParagraph::size_type.
16294 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16296 * BufferView_pimpl.C (savePosition, restorePosition): Write
16297 messages to minibuffer.
16299 2001-01-28 José Matos <jamatos@fep.up.pt>
16301 * buffer.C (makeDocBookFile): adds support for document language.
16302 A silly restriction on the name of LatexCommand types where removed.
16303 Added support for CDATA sections, allows to chars unescaped, used
16304 among others in code, to avoid escape < and >.
16306 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16308 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16309 saved positions instrad of a stack. Furthermore, a position is
16310 stored using paragraph id/paragraph position.
16312 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16313 Remove LFUN_REF_BACK.
16315 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16317 * converter.C (dvipdfm_options): New method.
16319 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16321 * vspace.C (isValidLength): Fix for empty input string.
16323 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16325 * LyXAction.C (init): change description of LFUN_FIGURE to
16328 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16330 * LaTeX.C: add using directive
16332 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16334 * MenuBackend.C (expand): Fix the sorting of the formats.
16336 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16338 * lyx_main.C: tiny error message fix
16340 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16342 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16343 calling fl_initialize(). This fixes the problem with ',' as
16344 decimal separator in text files.
16346 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16348 * trans.C (process): Fix the keymap bug.
16350 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16352 * LaTeX.C (scanAuxFiles): New method. Provides support for
16353 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16354 (scanLogFile) Scan for "run BibTeX" messages.
16356 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16357 OT1 font encoding. Also, load the aecompl package if the ae
16360 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16362 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16364 * texrow.C (increasePos): turn two error messages into debug
16367 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16369 * LaTeX.C (scanAux): Handle the \@input macro.
16370 (runBibTeX): Use scanAux().
16372 * language.C (latex_options_): New field.
16374 * LaTeXFeatures.C (getMacros): Add language macros.
16376 * buffer.C (makeLaTeXFile): Small fix.
16378 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16380 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16382 * text2.C: add a using directive.
16384 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16389 * lyxfunc.C: kill LyXBell.
16391 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16393 * text.C (IsBoundary): Remove the error message
16395 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16397 * lyxrc.C (setDefaults): Correct initialization value for
16400 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16402 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16405 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16406 and GotoNextNote().
16408 * src/LyXAction.C: Added reference-next.
16410 * text.C (InsertChar): Use contains instead of strchr.
16412 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16414 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16416 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16417 alignment commands (when needed).
16419 * text.C (InsertChar): Add ':' to number separator chars.