1 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
3 * Makefile.am (BOOST_LIBS): use boost variables
5 2004-12-03 José Matos <jamatos@lyx.org>
7 * buffer.C: format up to 238.
9 2004-12-03 José Matos <jamatos@lyx.org>
11 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
13 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
15 * cursor.C (goUpDown): remove call to idxUpDown2
17 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
19 * tabular.[Ch]: use size_t-like types for cell, row and column
22 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * lyxfunc.C (getStatus): do not lose previous information when
25 calling BufferView::getStatus; do not set a default "Command
26 disabled" message at the beginning, but just before returning.
28 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
30 * cursor.h (getStatus): add better comment from src/cursor.C
32 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
34 * text3.C (getStatus): return false when the lfun is not handled
36 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
38 * broken_headers.h: remove
40 * Makefile.am (lyx_SOURCES): remove broken_headers.h
42 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
44 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
47 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
48 top_y_, merge fitcursor with update
49 (updateScrollbar, scrollDocView, fitCursor, center, update): new
52 (workAreaDispatch): adapt to new coord scheme
53 (redoCurrentBuffer): remove
55 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
57 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
60 * coordcache.[Ch]: add paragraph cache and helpers
62 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
65 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
66 (targetX, setTargetX): introduce
68 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
69 baseline -> ascent, as the rest of lyx
71 * lyxtext.h: remove redoParagraphs, updateParPositions,
72 fullRebreak, redoParagraphInternal. move dist to anon namespace in
73 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
74 have ascent/descent (ascent is ascent of first par)
76 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
79 * paragraph.[Ch]: unify dimension handling with the rest of lyx
81 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
83 * pariterator.C: fix infinite loop introduced in par->pit renaming
85 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
86 in insets and LyXText, draw two off-screen paragraphs using
87 NullPainter, and adapt to new coord scheme
91 * text3.C: adapt lfun handlers to the new coord scheme, which
92 means: there's only guaranteed coord information for onscreen pars
93 plus one above and one below. This implies that one can do search
94 from y coordinates in the range [-1,workHeight]
96 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
98 * rename a lot of InsetOld to InsetBase
100 2004-11-25 Angus Leeming <leeming@lyx.org>
102 * BufferView_pimpl.C:
104 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
106 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
108 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
109 call BufferView::getStatus if LCursor::getStatus did nothing
110 (setStatusMessage, getStatusMessage): removed.
112 * FuncStatus.C (message): new methods. Used to provide an error
113 message indicating why a command is disabled.
114 (clear, |=, FuncStatus): update for message.
116 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
118 * lyxfunc.C (dispatch): always call sendDispatchMessage
120 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
123 * BufferView_pimpl.C:
137 * undo.C: par->pit renaming
139 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
141 * tabular.C (cellstruct): use initialization, store a shared_ptr
142 to insettext instead of the insettext directly, adjust to fit.
143 (operator=): new function
145 (rowstruct): use initialization
146 (columnstruct): use initialization
147 (ltType): use initialization
150 * lyxlength.h (swap): new function
152 * LColor.[Ch] (operator=): use the common semantics
154 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * lyxfind.C (findNextChange): update the bufferview after setting
159 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
161 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
162 number of InsetOptArgs has already been inserted.
164 * output_latex.C (latexOptArgInsets): new method. This outputs all
165 the optarg insets, up to the limit defined in the layout file.
166 (optArgInset): removed
167 (TeXOnePar): call latexOptArgInsets; correctly update texrow
169 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
171 * paragraph.C (isLetter): remove special spellchecker-related
172 code; return true also for digits
173 (isWord, isKomma): remove
175 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
176 * lyxfind.C (MatchString()): use isLetter instead of isWord
178 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
180 * pariterator.h (operatir=): comment out un-implemented member
183 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
186 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
188 * lyxfont.h: include LColor.h to satisfy concept checks.
190 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
192 * pariterator.h: add typdefs for value_type, difference_type,
193 pointer and reference to satisfy concept checks. Also add default
194 constructor for same reason.
196 * pariterator.C (operator++): add post-increment operator to
197 satisfy concept checks.
199 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
202 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
204 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
205 checks. Also rename base_type to BaseType to follow naming
208 * FloatList.h: include Floating.h to satisfy concept checks.
210 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
212 * lyxfunc.C (getStatus): when the origin of the request is menu or
213 toolbar, and the LyXView does not have focus, do as if there was
216 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
217 FuncRequest to individual entries of LFUN_SEQUENCE
219 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
221 * output_latex.C (TeXOnePar): override runparams.moving_arg
222 according to the needprotect value of the current paragraph (bug
225 * paragraph.C (simpleTeXOnePar): no need to override
226 runparams.moving_args here
228 2004-11-14 John Spray <spray_john@users.sourceforge.net>
230 * vspace.C: fix off-by-one-error, related to fix #1682
232 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
234 * lengthcommon.C: a more general fix for bug 1682
236 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
238 * text.C (backspace): fix crash
240 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
242 * format.[Ch] (getFormatFromFile): new method
243 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
245 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
247 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
249 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
251 * lyxfunc.C (dispatch): remove the verbose argument
252 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
255 * kbmap.C (defkey): set the origin of func to KEYBOARD
257 * MenuBackend.C (MenuItem):
258 * ToolbarBackend.C (add): set the origin of func to UI
260 * funcrequest.[Ch]: add origin member, which indicates which part
261 of LyX requests an action
263 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
265 * converter.C (move): don't lie in the error message
266 * converter.h (isReachable, move): document
268 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
270 * buffer.C: remove unused using lyx::support::atoi
271 * paragraph_funcs.C: ditto
273 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
275 * bufferlist.C (exists): use bind and equal_to instead of
278 * lyxtextclasslist.C (NumberOfClass): ditto
280 * cursor.C (insert): use for_each instead of explicit for loop
282 * bufferlist.C (getFileNames): use std::transform and
283 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
285 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
288 * buffer.C (changeLanguage): use for_each instead of explicit for
290 (hasParWithID): implement using getParFromID
292 * LaTeXFeatures.C: ws change only
294 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
297 * BufferView_pimpl.C (trackChanges): use for_each instead of
300 2004-11-04 André Pönitz <poenitz@gmx.net>
303 * undo.C (textUndoOrRedo): fix crash when creating undo information.
305 * dociterator.C (asDocIterator): use hard assert again.
307 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
309 * lyxlength.C (asLatexString): rewrite so that it does not use
312 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
314 * text3.C (specialChar, dispatch): make sure cursor moves to the
315 right after inserting an inset
317 2004-11-02 José Matos <jamatos@lyx.org>
319 * output_docbook.C (docbook):
320 * paragraph.C (getID):
321 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
322 garantee that the output is always legal.
324 * tabular.C (docbook):
325 * outputprams.[Ch]: remove mixed contents.
327 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
329 * text2.C (setCounter): prevent endless loop
331 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
333 * exporter.C (copyFile): use the mover instead of support::copy()
334 * exporter.C (Export): pass format and latex name to copyFile()
335 * exporter.h (addExternalFile): document
336 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
338 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
340 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
342 2004-10-30 José Matos <jamatos@lyx.org>
344 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
345 text and no inset or font change. This allows to use CDATA
346 sections just for the whole paragraph.
348 2004-10-30 José Matos <jamatos@lyx.org>
350 * paragraph.C (getFirstWord): remove unused variable.
352 2004-10-30 José Matos <jamatos@lyx.org>
354 * paragraph.C (getFirstWord): the content should always be escaped
356 (simpleDocBookOnePar):
357 * output_docbook.C (makeEnvironment): replace reference to CDATA
360 2004-10-30 José Matos <jamatos@lyx.org>
362 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
364 2004-10-30 José Matos <jamatos@lyx.org>
366 * output_docbook.C (makeParagraphs):
367 * paragraph.[Ch] (emptyTag): for docbook and company, if the
368 standard paragraph has only a given type of content drop the wrapper.
370 2004-10-29 José Matos <jamatos@lyx.org>
372 * output_docbook.C (makeEnvironment):
374 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
376 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
378 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
379 (cleanID): sanitize any id.
381 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
383 * buffer.C, lyxlex_pimpl.C:
384 * lyxlex_pimpl.C (setFile):
385 s/getExtFromContents/getFormatFromContents/
387 2004-10-28 José Matos <jamatos@lyx.org>
389 * output_docbook.C (makeEnvironment): move id to broadest possible
392 * sgml.C (openTag): apply substitution of <> for all attributes.
394 2004-10-28 José Matos <jamatos@lyx.org>
396 * buffer.C (makeLinuxDocFile, makeDocBookFile):
397 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
398 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
400 * sgml.[Ch]: new version for open and closeTag for paragraph and
401 for strings. Now they handle the ids of paragraphs.
403 2004-10-26 Angus Leeming <leeming@lyx.org>
405 * Makefile.am: add mover.[Ch].
407 * converter.C (convert, move): use the new Movers to move external
408 files to the temp directory.
410 * lyx_main.C (init): ensure that the global system_movers data
413 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
416 * mover.[Ch]: new files, defining a Mover as a utility to move an
417 external file between directories and, if necessary, manipulate this
418 file using a helper script.
420 2004-10-25 José Matos <jamatos@lyx.org>
422 * output_docbook.C (makeCommand): merge two if's that tested the
425 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * sgml.C (escapeString): fix warning in a better way
429 2004-10-25 José Matos <jamatos@lyx.org>
431 * sgml.C (escapeString): import the require boosts header file for
432 tie, and avoid a signed unsigned comparison.
434 2004-10-25 José Matos <jamatos@lyx.org>
436 * sgml.h: add #include <string>
438 2004-10-25 José Matos <jamatos@lyx.org>
440 * sgml.[Ch] (escapeString): new function to escape all the string.
442 2004-10-24 José Matos <jamatos@lyx.org>
444 * paragraph.[Ch] (getFirstWord): new function to get the first
445 word. Useful for description.
446 (simpleDocBookOnePar): remove depth argument, add another that
447 says where to start the paragraph.
449 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
450 use the new functions to fix cleanly the support for descriptions.
452 2004-10-24 José Matos <jamatos@lyx.org>
454 * buffer.C (makeLinuxDocFile, makeDocBookFile):
455 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
456 * output_linuxdoc.C (linuxdocParagraphs):
457 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
458 add buffer as argument.
460 2004-10-24 José Matos <jamatos@lyx.org>
462 * output_docbook.C (makeEnvironment, searchEnvironment): place
463 CDATA inside paragraphs and fix scope for listitems.
465 2004-10-24 José Matos <jamatos@lyx.org>
467 * output_docbook.C: remove using statement for stack.
469 2004-10-23 José Matos <jamatos@lyx.org>
471 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
472 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
473 docbook. The new scheme is recursive and makes use of iterators, the
474 same as latex export works.
475 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
476 directly with the paragraph contents. This code was moved up to
477 output_docbook.C (docbookParagraphs).
478 * sgml.C (openTag, closeTag): removed unneeded newlines.
479 (closeEnvTags) removed.
481 2004-10-23 André Pönitz <poenitz@gmx.net>
483 * undo.C (textUndoOrRedo):
484 * dociterator.C (asDocIterator): work around crash
486 * cursor.C (getStatus): replace ASSERT by more verbose error message
487 and manual correction of the problem. Should increase stability
488 while providing more sensible information.
490 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
492 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
494 * bufferlist.C (previous, next): new methods
497 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
499 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
501 * buffer.C (makeDocBookFile): add dsssl stylesheet control
502 entities to preamble.
504 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
506 * messages.C (Pimpl): strip off translation context information
508 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
510 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
511 the cursor is correct (bug 1694)
513 2004-10-13 José Matos <jamatos@lyx.org>
515 * output_docbook.C (docbookParagraphs): fix closing tags in the
518 2004-10-09 José Matos <jamatos@lyx.org>
520 * buffer.C: format up to 237.
521 * bufferparams.C (write): use tostr to convert booleans to strings.
523 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
525 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
527 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
529 * LaTeX.C: implement use of babel language in xindy.
531 2004-10-05 José Matos <jamatos@lyx.org>
533 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
534 Add new translators to help reading and writing the lyx file.
536 2004-10-05 José Matos <jamatos@lyx.org>
538 * ParagraphParameters.C (read):
539 * text.C (readParToken): replace nexToken by more appropriate lex
542 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
544 * LaTeX.C (runMakeIndex):
545 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
546 (usually 'makeindex') configurable.
548 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
549 with a variable rather than with a number.
551 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
553 * output_latex.C (TeXOnePar): make sure font setting is the first
554 thing that gets output (and the last at the end). Should fix bug
557 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
559 * pch.h: use proper signal include
561 * LaTeX.h: Use preferred calling of Boost.Signal
564 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
566 * pch.h: dont include <boost/function/function0.hpp>
568 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
570 * paragraph_pimpl.h: remove usage of ShareContainer
572 * paragraph_pimpl.C: remove initialization of ShareContainer.
574 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
578 * BufferView.C (putSelectionAt): change the semantics when
579 backwards == true: now, this just swaps cursor and anchor wrt the
582 * BufferView.h (putSelectionAt): add some documentation
584 * lyxfind.C (findBackwards): rewrite using while(). In particular,
585 make sure backwardChar is done at least once (to avoid getting
587 (findNextChange): use putSelectionAt in the forward direction
588 (operator()): use Paragraph::isWord
590 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
592 * Spacing.C (set): c_str fix
594 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
596 * lyx_cb.C (Reconfigure): quote the name of configure script in
597 case it contains spaces
599 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
603 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
604 (BOOST_LIBS): use top_buildir when looking for the file
606 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
608 * pch.h: do not use include boost/format.hpp, multiple symbols
609 will result (gcc bug)
612 2004-08-23 José Matos <jamatos@lyx.org>
614 * bufferparams.C (readToken): fix reading of the author field.
616 2004-08-20 José Matos <jamatos@lyx.org>
618 * lyxrc.C: remove support/translator.h inclusion since it is not used.
620 2004-08-20 José Matos <jamatos@lyx.org>
622 * lyxlex.[Ch] (findToken): remove function.
624 * ParagraphParameters.C (findToken):
625 * bufferparams.C (findToken): replace call for previous function
626 with local copy. This local function has one more argument, the
627 read string argument.
629 2004-08-16 José Matos <jamatos@lyx.org>
631 * ParagraphParameters.C (write):
632 * Spacing.C (writeFile):
633 * bufferparams.C (writeLaTeX):
634 * lyx_cb.C (Reconfigure):
635 * paragraph.C (write):
636 * tabular.C (write): remove unnecessary space at end of line.
639 2004-08-16 José Matos <jamatos@lyx.org>
641 * text.C (readParagraph): remove debug message.
643 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
645 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
648 * output_plaintext.C (asciiParagraph): set depth correctly
650 * outputparams.h: add member depth
652 * paragraph_funcs.C (ownerPar): remove.
654 * text2.C (setCounter): remove first_pit; comment out some
655 non-working code that uses ownerPar
657 * BufferView.C (getParentLanguage): remove. Not used anymore, and
660 2004-08-16 José Matos <jamatos@lyx.org>
662 * text.C (readParToken, readParagraph, read): report all unknown tokens.
663 For the same level of importance use the same chanel to report problems.
664 (read): add code to deal with \begin_body and \end_body.
667 2004-08-15 José Matos <jamatos@lyx.org>
669 * lyxlex.C (getString): fix comment, buffer::readBody is now
672 * tex-strings.C (string_papersize): Default -> default,
673 Custom -> custom, for consistency with other options.
675 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
679 * Makefile.am: support pch
681 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
683 * text.C (readParToken): remove the static LyXFont variable and
684 pass it as a parameter instead. This fixes a nasty bug where an
685 inset will be inserted with a bad font in some situations
686 (readParagraph): adapt
688 * text2.C (setCounter): reduce number of calls to pars_[pit]
690 * text.C (singleWidth): add an assert, fix a test
692 * rowpainter.C (paintText): reduce number of calls to singleWidth
694 * paragraph.C (isHfill):
697 2004-08-14 André Pönitz <poenitz@gmx.net>
702 * lyxtext.h (several functions): use a Paragraph & argument
705 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
707 * metricsinfo.h: add a new field ltr_pos to PainterInfo
709 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
711 * text.C (singleWidth): remove useless test
713 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
715 * tabular.h: remove bogus comments
717 * tabular.C (getDescentOfRow):
718 (isPartOfMultiColumn): add assertions
720 * lyxlength.C (inPixels): remove #warning
722 2004-08-14 André Pönitz <poenitz@gmx.net>
724 * paragraph.h: inline getChar()
726 * BufferView.h: remove unused declarations
728 2004-08-14 José Matos <jamatos@lyx.org>
730 * Buffer.[Ch] (readDocument): new name for old readBody.
731 * Buffer.C: new file format, new keywords: \begin_document,
732 \begin_header, \begin_body, \end_body.
734 * bufferparams.C (readToken): replace all calls to lex.nextToken
735 by lex.next(). Do the same to eatLine except where really needed.
737 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
738 line when writing to the lyx file.
740 * output_plaintext.C (asciiParagraph): fix Bibliography style
743 * text.C (read): fix end of file handling.
745 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
747 * MenuBackend.C (Menu::operator[]): new method to access
748 individual menu items
749 (Menu::hasFunc): new method. search for an item that corresponds
751 (MenuBackend::specialMenu): new method
752 (MenuBackend::expand): if a special menu has been set, skip
753 entries whose func() appears in this menu
755 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
757 * text3.C: use Debug::DEBUG a bit more
759 * text.C (leftMargin): try to simplify a tiny bit change var x to
760 l_margin. Dont output the wide margins always.
761 (rightMargin): no margin in inner texts
763 * rowpainter.h (nestMargin): new func
764 (changebarMargin): new func
765 (rightMargin): new func
767 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
771 * factory.C (createInset): modify setDrawFrame
773 * cursor.C: use Debug::DEBUG a bit more
775 2004-08-14 André Pönitz <poenitz@gmx.net>
778 * Makefile.am: new files to accomodate an 'external' (x,y)-position
779 cache for all insets in (at least partially) visible (top-level)
782 * BufferView_pimpl.C: reset external coord cache before every update.
783 This means the coord cache only contains valid entries.
785 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
788 * BufferView_pimpl.C (getInsetByCode): move function out of class
789 and change in to a template in anon namespace. Also fix to do what
792 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
795 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
797 (breakParagraph): rename par to par_offset and use a local
798 reference. Add code to keep the language over a rebreak.
799 (breakParagraphConservative): rename par to par_offset, use a
801 (mergeParagraph): ditto
803 (isFirstInSequence): ditto
804 (outerFont): rename pit to par_offset
806 * paragraph.C: ws change
811 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
813 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
816 * paragraph.C (simpleTeXOnePar): when we have a \item with
817 optional argument, enclose the argument with curly brackets (in
818 case it contains a closing square bracket)
822 * text3.C (checkInsetHit): constify
824 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
826 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
829 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
831 Fix toggling of collapsable insets with the mouse (bug 1558)
833 * lyxfunc.C (dispatch): adapt to LCursor changes
835 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
836 make sure that dispatch is not invoked twice
838 * cursor.C (needsUpdate): new method
839 (dispatch): return void
840 (result): new method, to access the DispatchResult of the cursor.
842 2004-08-13 José Matos <jamatos@lyx.org>
844 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
846 2004-08-13 André Pönitz <poenitz@gmx.net>
848 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
850 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
853 2004-08-12 André Pönitz <poenitz@gmx.net>
855 * text3.C: take out the 'cursor right' form insertInset and only
856 do it in those places when it is really needed. Fixes crash on
859 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
861 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
863 * BufferView_pimpl.C (setBuffer): initialize the current font of
864 the underlying LyXText
866 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
868 * kbsequence.C (print): use UI native formatting for menu
871 * text.C (insertChar): call Paragraph::insertChar with a font
874 * paragraph.C (insertInset, insertChar): the version that takes a
875 LyXFont argument is now a wrapper around the other one (the
876 opposite used to be true).
878 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
879 argument. Font setting is done in Paragraph now.
881 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
883 * outputparams.h: add new members intitle and lang.
885 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
886 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
888 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
890 * text3.C (dispatch): remove special handling of button 4 and 5,
891 it is now taken care of in the frontend code.
893 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
895 * Spacing.h: add <string> (STLPort compile fix)
897 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
899 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
901 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
903 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
906 * converter.C (showMessage): inherit from unary_function, make
909 * buffer.C (writeFile): initialize retval
911 * InsetList.h: rename private variable list to list_
912 * InsetList.[Ch]: adjust accordingly.
914 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
916 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
917 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
918 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
919 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
920 * ParagraphParameters.C, LaTeXFeatures.C: replace
921 "support/std_sstream.h" with <sstream>
923 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
925 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
926 * lyxsocket.C (LyXServerSocket): ditto
927 (serverCallback): ditto
929 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
931 * LaTeXFeatures.C: check release date when loading jurabib.
933 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
935 * lyxserver.C (startPipe): call register_socket_callback
936 (endPipe): call unregister_socket_callback
938 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
940 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
941 (LyXServerSocket): register the callback
942 (LyXServerSocket): unregister the callback
943 (fd): delete function
944 (serverCallback): improve error checking and setup the callbacks.
945 (dataCallback): change arg to fd.
946 (writeln): new func (copied fro the client socket) used for server
948 (LyXDataSocket): simplify
949 (~LyXDataSocket): close ann unregiser callback
950 (server): delete function
951 (fd): delete function
952 (readln): small changes, improve some std::string usage
953 (writeln): constify a bit
955 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
957 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
960 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
962 * BufferView_pimpl.C (setBuffer): set the layout combox value only
963 after it has been populated
965 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
967 * text2.C (insertInset): move cursor when inserting inset.
969 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
971 * kbmap.C (findbindings): a couple of new methods. returns a
972 container of kb_sequence objects. The real work is done by the
973 private recursive version
974 (printbindings): uses findbindings to print out a bracketed list
975 of bindings (renamed from findbinding).
977 * MenuBackend.C (binding): use kb_keymap::findbindings
979 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
981 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
983 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
985 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
987 * paragraph.C (isWord): return true on insets that report
990 * text.C (getWord): use Paragraph::isWord to decide what is in a
991 word and what is not; fix bug 1609.
993 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
995 * tex-strings.C: add "none" to string_paperpackages[], fixes
996 off-by-one-error in the paperpackage selection.
999 * tex-strings.[Ch]: char const * string[n]
1000 -> char const * const string[]
1002 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1004 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1005 command, return early.
1007 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1009 * debug.h: add DEBUG to enum and fix size of ANY.
1011 * debug.C: add support for Debug::DEBUG
1012 (showTags): cast errorTags.level to unsigned int
1014 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1015 (redoCurrentBuffer): ditto
1016 (updateScrollbar): ditto
1017 * cursor.C (dispatch): ditto
1018 * text2.C (setLayout): ditto
1020 (updateCounters): ditto
1022 (deleteEmptyParagraphMechanism): ditto
1024 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1026 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1027 annotations to cleanup the Makefile slightly.
1029 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1031 * lyxrc.C: do not set user_email to a default value but use empty
1032 instead. The entry used to be translated, which does not work
1033 since at the point where lyxrc is constructed there is no
1034 translation service available
1036 * messages.C (getLocaleDir): remove and use directly
1037 lyx_localedir() instead
1039 2004-06-02 Angus Leeming <leeming@lyx.org>
1041 Fix crash caused by dereferencing null pointer 'exportdata' in
1042 OutputParams by creating a new ExportData variable on the heap,
1043 storing it in a boost::shared_ptr.
1044 The crash was triggered when generating an Instant Preview
1045 of an external inset.
1047 * Makefile.am: add outputparams.C
1049 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1050 (c-tor): allocate memory to it.
1052 * exporter.C (c-tor): associated changes.
1054 2004-06-01 Angus Leeming <leeming@lyx.org>
1056 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1057 contains data before calling isInset(0). (Bug 1513.)
1059 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1061 * exporter.C (checkOverwrite): new method
1062 * exporter.C (copyFile): new method
1063 * exporter.C (Export): copy referenced files to the document dir
1064 * exporter.[Ch]: new class ExportedFile
1065 * exporter.[Ch]: new class ExportData. Contains currently the
1066 names of referenced external files
1067 * outputparams.h: add exportdata member.
1069 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1071 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1074 2004-05-19 Angus Leeming <leeming@lyx.org>
1079 * lyxfunc.C: small changes due to the introduction of namespace
1080 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1082 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1084 * text3.C (dispatch): supress update when only moving the cursor
1085 * cursor.C (selHandle): remove commented code
1087 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1089 * paragraph.C (startTeXParParams): correct column count
1090 * CutAndPaste.C (pasteSelection): remove const_cast
1091 * output_docbook.C (docbookParagraphs): remove const_cast
1092 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1093 const_cast and return ParagraphList::const_iterator
1094 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1095 * output_plaintext.C (writeFileAscii): remove const_cast
1096 * paragraph.[Ch] (simpleTeXOnePar): make const
1097 * paragraph_funcs.C (outerPar): use const iterators
1098 * paragraph_pimpl.C (validate): use const iterators
1099 * text.C (setHeightOfRow): use const iterators
1101 2004-05-17 Angus Leeming <leeming@lyx.org>
1104 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1106 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1107 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1108 if the citation engine has changed.
1110 2004-05-14 José Matos <jamatos@lyx.org>
1112 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1113 if the textclass does not provide it. Have it different for sgml and
1115 support the language of document.
1116 * output_docbook.C (docbookParagraphs):
1117 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1118 first anchor as the id of the paragraph, remove special case code.
1119 * sgml.C (escapeChar): escape only < & >.
1121 2004-05-14 Angus Leeming <leeming@lyx.org>
1123 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1124 dependencies on src/frontends/controllers/biblio.h. Define a
1125 CiteEngine_enum wrapper class to enable the enum to be forward
1128 2004-05-12 Angus Leeming <leeming@lyx.org>
1130 * buffer.C: up LYX_FORMAT to 234.
1131 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1132 use_numerical_citations with a single biblio::CiteEngine cite_engine
1134 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1136 2004-05-13 José Matos <jamatos@lyx.org>
1139 * converter.C (Converter, readFlags): add xml member.
1140 * outputparams.h: add XML flavor.
1141 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1143 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1145 * lyxfunc.C (dispatch):
1146 (getStatus): fix handling of LFUN_SEQUENCE
1148 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1150 * debug.C (showLevel): do not forget the end-of-line marker
1152 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1154 * kbmap.C (read): do not stop parsing a bind file when an error
1157 2004-04-29 Angus Leeming <leeming@lyx.org>
1162 * text2.C: wrap a bunch of #warning statements
1163 inside #ifdef WITH_WARNINGS blocks.
1165 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1167 * buffer.C: increment format to 233.
1169 2004-04-28 Angus Leeming <leeming@lyx.org>
1171 * BufferView_pimpl.C:
1174 s/updateToolbar()/updateToolbars()/
1175 s/Toolbar.h/Toolbars.h/
1177 2004-04-28 Angus Leeming <leeming@lyx.org>
1179 * BufferView.[Ch] (c-tor):
1180 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1181 No longer passes these data to the WorkArea generator.
1183 2004-04-28 Angus Leeming <leeming@lyx.org>
1185 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1187 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1189 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1191 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1193 * output_latex.C (TeXEnvironment): make sure that there is a line
1194 break before \end{foo} for the last paragraph of a document
1195 (TeXOnePar): if the paragraph is at the end of the document (or
1196 inset) and the language has to be reset, then make sure that the
1197 line break is _before_ the language command, not after (fixes bug
1198 1225); also make sure that the language reset command is the first
1199 thing after the paragraph (to ensure proper nesting of
1200 environments and thus fix bug 1404)
1202 2004-04-21 John Levon <levon@movementarian.org>
1205 * ToolbarBackend.C: make "name" be a programmatic name
1206 and a gui_name field.
1208 * lyxfunc.C: display the minibuffer on M-x
1210 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1212 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1215 2004-04-19 Angus Leeming <leeming@lyx.org>
1217 * BufferView_pimpl.C (setBuffer): changed preview interface.
1219 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1222 2004-04-19 John Levon <levon@movementarian.org>
1224 * BufferView_pimpl.C:
1225 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1227 2004-04-05 Angus Leeming <leeming@lyx.org>
1229 * text.C (redoParagraphs): add call to updateCounters(), thereby
1230 fixing the missing "Figure #:" label from the caption of a
1233 2004-04-13 Angus Leeming <leeming@lyx.org>
1235 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1236 cursor is clicked out of an inset.
1238 2004-04-13 Angus Leeming <leeming@lyx.org>
1240 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1241 than an InsetOld one.
1243 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1245 * format.[Ch]: add editor to Format
1246 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1247 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1249 2004-04-08 André Pönitz <poenitz@gmx.net>
1251 * metricsinfo.h: remove PainterInfo::width member
1253 2004-04-08 Angus Leeming <leeming@lyx.org>
1255 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1256 "\providecommand" rather than "\newcommand", thereby preventing
1257 clashes with packages that define "\boldsymbol" themselves.
1260 2004-04-08 Angus Leeming <leeming@lyx.org>
1262 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1263 thereby squashing an unnecessary warning.
1265 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1267 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1270 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1272 * BufferView.C (setCursor): call redoParagraph (some insets could
1274 (putSelectionAt): remove the 'double update' trick
1276 * BufferView_pimpl.C (fitCursor): call refreshPar
1277 (workAreaDispatch): remove an uneeded update call
1278 (dispatch): remove some manual update calls
1280 * cursor.[Ch]: remove cached_y_, updatePos
1281 (selHandle): set noUpdate when appropriate
1283 * lyxfunc.C (dispatch): track if we need an update
1285 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1287 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1288 (paintSelection): cheap optimization, do not call cursorX when not
1290 (paintPars): change signature
1293 (paintTextInset): adjust
1297 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1299 * lengthcommon.C: compilation fix: remove explicit array size from
1300 unit_name[] and friends
1302 2004-04-05 Angus Leeming <leeming@lyx.org>
1304 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1306 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1307 present only for the preferences dialog.
1308 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1310 2004-04-05 Angus Leeming <leeming@lyx.org>
1312 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1313 to enable the frontends to export changes to lyxrc correctly.
1315 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1317 2004-04-07 André Pönitz <poenitz@gmx.net>
1319 * cursor.[Ch] (selClear, adjust): remove math
1321 * cursor_slice.C: more agressive assert
1324 * BufferView_pimpl.C: rework mouse event dispatch
1331 2004-04-05 André Pönitz <poenitz@gmx.net>
1333 * cursor.[Ch] (valign, halign...): remove unneeded functions
1335 2004-04-05 Angus Leeming <leeming@lyx.org>
1337 * lyxlength.[Ch] (unit_name et al.): const-correct.
1339 2004-04-05 Angus Leeming <leeming@lyx.org>
1341 * BufferView_pimpl.C:
1350 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1352 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1354 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1356 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1358 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1359 * BufferView_pimpl.[Ch] (getStatus)
1360 * BufferView.[Ch] (getStatus): add
1361 * lyxfunc.C (getStatus): move lfuns handled in
1362 BufferView::dispatch to te function above
1363 * Cursor.C (setSelection): set selection() = true
1365 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1367 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1369 2004-03-31 Angus Leeming <leeming@lyx.org>
1371 * lyxfunc.C (dispatch): Fall through to the generic
1372 Dialogs::show("preamble").
1374 2004-03-31 Angus Leeming <leeming@lyx.org>
1376 * lyxfunc.C (dispatch): Fall through to the generic
1377 Dialogs::show("spellchecker").
1379 2004-03-31 Angus Leeming <leeming@lyx.org>
1381 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1384 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1389 * insetiterator.[Ch]:
1394 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1396 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1398 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1399 insets where we are putting the cursor.
1401 2004-03-31 Angus Leeming <leeming@lyx.org>
1404 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1406 * lyxrc.[Ch] (read, write): overloaded member functions taking
1407 a std::[io]stream arguments.
1409 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1411 2004-03-31 Angus Leeming <leeming@lyx.org>
1413 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1414 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1416 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1417 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1419 2004-03-31 Angus Leeming <leeming@lyx.org>
1421 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1422 the LFUN_ALL_INSETS_TOGGLE code.
1424 2004-03-30 Angus Leeming <leeming@lyx.org>
1426 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1427 has died. Fall through to the generic Dialogs::show("document").
1429 2004-03-30 Angus Leeming <leeming@lyx.org>
1432 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1433 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1435 * lyxfunc.C (getStatus, dispatch): define the actions for these
1436 lfuns. Little more than a cut and pste job from ControlDocument.C
1438 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1440 2004-03-30 Angus Leeming <leeming@lyx.org>
1443 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1444 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1446 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1447 open/closed state of ollapsable insets. Usage:
1449 all-inset-toggle <state> <name>, where
1450 <state> == "open" || "closed" || "toggle" and
1451 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1453 * lyxtext.h, text2.C (toggleInset): removed.
1455 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1456 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1457 now passes LFUN_INSET_TOGGLE to the found inset.
1459 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1460 is now invoked as "all-insets-toggle toggle branch".
1462 2004-03-30 Angus Leeming <leeming@lyx.org>
1466 * pariterator.[Ch]: added/corrected header blurb.
1468 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1470 * dociterator.[Ch]: add an inset_ member
1471 (backwardPos): implemented
1472 (backwardPos, forwardPos): use inset_ when the stack is empty.
1473 (doc_iterator_begin, doc_iterator_end): implemented
1474 * pariterator.[Ch]: adjust, add begin, end
1475 * insetiterator.[Ch]: adjust, add begin, end
1479 * BufferView_pimpl.C:
1480 * CutAndPaste.C: adjust
1482 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1484 * buffer.C: increment file format to 232.
1485 * LaTeXFeatures.C: add bibtopic package.
1486 * bufferparams.[Ch]: param \use_bibtopic.
1488 * lyxrc.[Ch]: add lyxrc bibtex_command
1489 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1491 * buffer.C: increment file format to 231.
1493 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1495 * dociterator.C: implement forwardPar
1496 * iterators.[Ch]: remove, replaced by
1497 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1499 * BufferView_pimpl.C:
1502 * bufferview_funcs.C:
1508 * Makefile.am: adjust
1510 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1512 * CutAndPaste.C (pasteSelection): fix 2 crashes
1513 (eraseSelection): fix a crash
1514 * paragraph_funcs.C: remove a warning
1516 2004-03-28 Angus Leeming <leeming@lyx.org>
1519 * LyXAction.C (init): new LFUN_PRINT.
1521 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1523 2004-03-27 Angus Leeming <leeming@lyx.org>
1526 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1528 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1530 2004-03-27 Angus Leeming <leeming@lyx.org>
1532 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1533 insetlist always contains non-null pointers to insets.
1535 2004-03-26 Angus Leeming <leeming@lyx.org>
1537 * src/BufferView_pimpl.C:
1538 * src/CutAndPaste.C:
1541 * src/output_plaintext.C:
1542 * src/outputparams.h:
1543 * src/paragraph_funcs.C:
1547 * src/frontends/controllers/ControlErrorList.C:
1548 * src/frontends/gtk/FileDialogPrivate.C:
1549 * src/frontends/gtk/GPainter.C:
1550 * src/frontends/gtk/GToolbar.C:
1551 * src/frontends/qt2/QRef.C:
1552 * src/mathed/math_scriptinset.C: squash compiler warnings.
1554 2004-03-26 Angus Leeming <leeming@lyx.org>
1556 * ispell.C (LaunchIspell::start):
1557 * lyx_cb.C (AutoSaveBuffer::start):
1558 invoke run(DontWait) rather than runNonBlocking().
1560 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1562 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1564 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1566 * kbsequence.C (print): adjust
1568 * kbmap.C (printKeySym): rename and change signature
1569 (printKey): use LyXKeySym::print()
1571 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1573 * undo.C: add using std::advance to compile for stlport
1575 2004-03-24 Angus Leeming <leeming@lyx.org>
1577 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1578 it leads to a crash when no buffer is present.
1580 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1581 Martin Vermeer <martin.vermeer@hut.fi>
1583 * lyxfunc.C (dispatch):
1584 * bufferparams.C (readToken): use the new LColor::setColor
1586 * LColor.[Ch] (setColor): new version that takes two strings as
1587 argument and creates a new color entry if necessary
1589 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1591 * buffer.C (makeLaTeXFile): if the main latex file that is
1592 processed is usually a subdocument of some master, then pretend
1593 for a while that it is actually the master
1595 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1597 * buffer.C (getLabelList):
1598 (getBibkeyList): use getMasterBuffer()
1599 (getMasterBuffer): new method. Returns the main document in the
1600 case where one is using included documents.
1602 2004-03-25 André Pönitz <poenitz@gmx.net>
1606 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1608 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1610 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1611 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1613 * ParameterStruct.h: merge with ParagraphParameters
1615 * lyxtext.h: remove LyXText::parOffset() and getPar()
1617 * text3.C: Remove all 'manual' update calls. We do now one per user
1618 interaction which is completely sufficient.
1622 * BufferView_pimpl.C:
1623 * FontIterator.[Ch]:
1625 * ParagraphParameters.[Ch]:
1630 * cursor_slice.[Ch]:
1637 * output_docbook.[Ch]:
1638 * output_latex.[Ch]:
1639 * output_linuxdoc.[Ch]:
1640 * output_plaintext.[Ch]:
1642 * paragraph_funcs.[Ch]:
1643 * paragraph_pimpl.[Ch]:
1651 * frontends/controllers/ControlDocument.C:
1652 * frontends/controllers/ControlErrorList.C:
1653 * frontends/controllers/ControlSpellchecker.C:
1656 * insets/insetbase.h:
1657 * insets/insetbibitem.C:
1658 * insets/insetbox.C:
1659 * insets/insetbranch.C:
1660 * insets/insetcaption.C:
1661 * insets/insetcharstyle.C:
1662 * insets/insetcharstyle.h:
1663 * insets/insetcollapsable.C:
1664 * insets/insetcollapsable.h:
1665 * insets/insetert.C:
1666 * insets/insetfloat.C:
1667 * insets/insetfoot.C:
1668 * insets/insetmarginal.C:
1669 * insets/insetnote.C:
1670 * insets/insetoptarg.C:
1671 * insets/insettabular.C:
1672 * insets/insettext.C:
1673 * insets/insettext.h:
1674 * insets/insetwrap.C:
1675 * mathed/math_mboxinset.C:
1676 * mathed/math_nestinset.C:
1677 * mathed/math_scriptinset.C:
1678 * mathed/math_scriptinset.h:
1681 2004-03-24 Angus Leeming <leeming@lyx.org>
1683 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1684 deal with any child processes that have finished but are waiting to
1685 communicate this fact to the rest of LyX.
1687 2004-03-24 Angus Leeming <leeming@lyx.org>
1689 64-bit compile fixes.
1691 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1692 (c-tor): pass lyx::pos_types rather than ints.
1694 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1697 * text.C (Delete): compile fix.
1698 (getPar): ensure that function declaration is the same as that in
1701 2004-03-23 Angus Leeming <leeming@lyx.org>
1703 * ispell.C (LaunchIspell):
1704 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1705 a boost::shred_ptr rather than a std::auto_ptr.
1707 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1709 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1710 handle LFUN_FILE_INSERT_*
1712 * lyxrc.C (setDefaults, getDescription, output, read):
1713 * lyxrc.h: remove ps_command
1715 2004-03-22 Angus Leeming <leeming@lyx.org>
1717 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1718 Ensure that error_handler is processed once only and that all data
1719 is saved before attempting to output any warning messages.
1721 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1723 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1725 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1727 2004-03-19 André Pönitz <poenitz@gmx.net>
1729 * cursor.[Ch] (reset): take main text inset as argument
1731 * BufferView: adjust
1732 * BufferView_pimpl.C: adjust
1734 * paragraph.[Ch]: fix completely broken operator=()
1736 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1738 * LColor.C (getFromLyXName): make sure that the color name is used
1741 2004-03-17 Angus Leeming <leeming@lyx.org>
1744 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1746 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1747 dialog and to kill a forked process.
1749 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1751 * text2.C (setCursorFromCoordinates): fix font problem
1753 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1755 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1756 bogus "rebuild cursor" code
1758 2004-03-11 André Pönitz <poenitz@gmx.net>
1760 * buffer.[Ch]: use InsetText instead of LyXText as container for
1763 * dociterator.[Ch]: drop the BufferView * member which is not needed
1764 anymore after the change to buffer.C
1766 * paragraph_funcs.C:
1770 * BufferView_pimpl.[Ch]:
1772 * cursor_slice.[Ch]: adjust
1774 * text3.C: fix bug in mathDispatch
1776 2004-03-08 André Pönitz <poenitz@gmx.net>
1778 * undo.[Ch]: use 'StableDocumentIterator' as base for
1781 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1784 * bufferparams.[Ch]: add jurabib support and param.
1786 * LaTeX.C: add FIXME/comment.
1788 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1790 * buffer.C: increment file format to 230.
1792 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1794 * cursor.C (dispatch): avoid infinite loops
1796 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1798 * rowpainter.C (paintSelection): fix x coordinates
1800 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1802 * text.C (rowBreakPoint): fix breaking before displayed insets
1804 2004-03-01 André Pönitz <poenitz@gmx.net>
1806 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1808 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1812 * BufferView_pimpl.C:
1820 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1826 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1827 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1829 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1831 * Bidi.[Ch] (computeTables): const correctness
1832 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1833 fill_hfill, fill_label_hfill and x from Row
1834 * lyxtext.h: prepareToPrint returns a RowMetrics
1835 * rowPainter.C: adjust
1836 * text.C (prepareToPrint): use width, not textWidth. adjust
1837 (redoParagraphInternal, cursorX): adjust
1838 * text2.C (getColumnNearX): adjust
1839 (init): put a default value to the top LyXText::width
1841 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1843 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1845 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1847 * lyxtext.h: add FontIterator class
1849 * text.C (FontIterator, operator*, operator->, operator++): add
1850 (rowBreakPoint, setRowWidth): adjust (fixing a
1853 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1855 * BufferView_pimpl.C (workAreaDispatch): allow also
1856 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1858 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1860 * text.C (rowBreakPoint): fix a bug showing with very large insets
1862 2004-02-25 André Pönitz <poenitz@gmx.net>
1865 * cursor.[Ch]: move some mathed specific code to mathed
1867 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1869 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1870 use_tempdir in preferences
1871 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1873 * lyx_main.C: ensure that tempdir is valid
1874 * lyxlex.h: correct typo
1875 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1876 * paragraph.[Ch] (isMultiLingual): make const
1877 * cursor.[Ch] (openable): make const
1879 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1881 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1883 2004-02-20 André Pönitz <poenitz@gmx.net>
1885 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1887 * cursor.[Ch]: prepare for localized getStatus()
1893 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1895 2004-02-20 André Pönitz <poenitz@gmx.net>
1897 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1899 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1901 * text2.C (setCursorFromCoordinates): switch to absolute coords
1903 (cursorDown): adjust
1904 * text3.C (dispatch): adjust
1906 2004-02-16 André Pönitz <poenitz@gmx.net>
1908 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1911 * cursor_slice.[Ch]: remove unneeded acessor function
1913 * lyxtext.h: rename rtl() to isRTL()
1921 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1923 * rowpainter.C (paintSelection): coord fix
1925 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1927 * Spacing.C: compile fix
1929 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1931 * cursor.C (dispatch): restore current_ before returning
1933 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1935 * text2.C (cursorUp, cursorDown): fix coords
1938 2004-02-12 André Pönitz <poenitz@gmx.net>
1943 * text3.C: add LCursor & parameter to most cursor movement functions
1944 remove usage of LyXText::cursorRow() and cursorPar()
1946 * cursor.[Ch]: add textRow() needed members
1949 * BufferView_pimpl.C:
1952 * BufferView_pimpl.C: adjust
1954 2004-02-11 André Pönitz <poenitz@gmx.net>
1958 * BufferView_pimpl.C: shift undo/redo handling
1960 * cursor.[Ch]: fix mathed crash
1963 * lyxtext.h: move selectionAsText to LCursor
1971 * rowpainter.C: fix excessive drawing
1973 2004-02-06 André Pönitz <poenitz@gmx.net>
1976 * BufferView_pimpl.[Ch]:
1977 * text3.C: move some text specific LFUN handling
1979 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1981 * text3.C (checkInsetHit): adjust coords
1982 * text2.C (getColumnNearX): adjust coords
1983 (edit): adjust coords
1984 * text.C (getRowNearY): add two asserts
1986 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1989 * format.C: add using std::distance to compile on gcc 2.95/stlport
1991 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1993 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1995 2004-02-04 André Pönitz <poenitz@gmx.net>
1997 * BufferView.[Ch] (insertInset):
1998 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2003 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2005 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2006 on the default clause of the switch
2007 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2008 wasn't catched by LCursor::dispatch
2010 2004-02-03 André Pönitz <poenitz@gmx.net>
2013 * cursor.[Ch]: some additional asserts
2015 * undo.[Ch]: remove LyXText dependency in interface
2019 * lyxtext.h (firstPar, lastPar): remove dead functions
2024 * paragraph.[Ch]: adjust
2026 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2028 * lyxfind.C (find): fix argument order in call to ::find
2030 2004-02-02 André Pönitz <poenitz@gmx.net>
2032 * cursor.[Ch]: remove direct access to anchor
2034 * text.C: remove findText() hack
2036 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2038 * iterators.[Ch] (lockPath): remove in favour of...
2039 * BufferView.[Ch] (setCursor): this addition
2040 * BufferView.C (putSelectionAt): adjust
2041 * undo.C (performUndoOrRedo): adjust
2042 * lyxfunc.C (dispatch): adjust
2044 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2046 * iterators.C (lockPath): add a missing slice
2047 * undo.C (performUndoOrRedo): remove redundant positioning code
2049 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2051 * vc-backend.C (scanMaster): ";" -> ';'
2053 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2055 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2056 std::binary_function
2058 * lyxtextclass.C (compare_name): rename to...
2059 (LayoutNamesEqual): ...this
2061 * lyxlex_pimpl.C (compare_tags): inherit from
2062 std::binary_function, put back into anon namespace
2064 * lyxfind.C (MatchString): inherig from std::binary_function
2065 (findChange): use empty() istead of !size()
2067 * format.C (FormatNamesEqual): new functor
2074 * converter.C (compare_Converter): rename to...
2075 (ConverterEqual): ...this, and fixup a bit.
2076 (getConverter): use it, and make function const
2077 (getNumber): use it, and make function const
2081 * bufferlist.C: add using boost::bind
2083 * MenuBackend.C (MenuNamesEqual): new functor
2084 (hasMenu): use it, and make function const
2085 (hasSubmenu): use nested bind to get rid of compare_memfun.
2087 2004-01-30 André Pönitz <poenitz@gmx.net>
2089 * BufferView_pimpl.C:
2092 * cursor_slice.[Ch]:
2095 * paragraph_funcs.C:
2096 * paragraph_funcs.h:
2100 * text3.C: move some of the edit(x,y) handling to the insets
2101 some coordinate changes.
2103 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2105 * text.C: add using statements for std::advance and std::distance
2107 * paragraph.C: add using statement for std::distance
2109 * lyxfind.C: add using statement for std::advance
2111 * cursor.C (region): remove std:: from swap
2112 (openable): use nucleus in stead of operator->
2114 * BufferView.C: add using statements for std::distance and std::swap
2116 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2118 * iterators.C: Remove the pimple, move the needed structures to
2119 the header file. Create accessor for the positions stack.
2120 (asPosIterator): remove function
2122 * PosIterator.C (PosIterator): move constructors to top of file
2123 (PosIterator): reimplement the constructor taking a ParIterator in
2125 (setFrom): new function
2126 (operator!=): inline it
2128 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2130 * lyxfind.C (replaceAll): use std::advance
2132 * iterators.h: inherit from std::iterator.
2134 * PosIterator.C (advance, distance): remove
2135 * PosIterator.h: interit from std::iterator.
2137 2004-01-26 André Pönitz <poenitz@gmx.net>
2140 * BufferView_pimpl.[Ch]:
2144 * bufferview_funcs.C:
2154 * output_linuxdoc.C:
2155 * output_plaintext.C:
2157 * paragraph_funcs.[Ch]:
2158 * paragraph_pimpl.[Ch]:
2164 * text3.C: more IU: dumps most of the rest of the mathcursor
2165 implementation into cursor.[Ch]; "globalize" a bit of it.
2167 2004-01-25 Angus Leeming <leeming@lyx.org>
2169 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2171 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2173 * LaTeXFeatures.h: add nice_ and nice() const
2174 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2176 2004-01-20 André Pönitz <poenitz@gmx.net>
2179 * BufferView_pimpl.C:
2181 * bufferview_funcs.C:
2183 * cursor_slice.[Ch]:
2194 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2195 LCursor and mathcursor parts to LCursor and InsetBase.
2197 2004-01-15 André Pönitz <poenitz@gmx.net>
2199 * cursor_slice.[Ch]: add a few covienience functions
2201 * funcrequest.[Ch]: remove BufferView * member
2203 * BufferView_pimpl.C:
2210 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2212 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2214 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2215 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2217 2004-01-13 André Pönitz <poenitz@gmx.net>
2220 * lyxtext.h: hide cursor and selection anchor behind accessor function
2223 * BufferView_pimpl.[Ch]:
2225 * bufferview_funcs.C:
2235 * cursor_slice.[Ch]: some integer type changes for inset unification
2237 * lyxcursor.[hC]: remove, it's CursorSlice now.
2240 * BufferView_pimpl.[Ch]:
2241 * bufferview_funcs.C:
2247 * textcursor.[Ch]: adjust
2249 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2251 * text2.C (undoSpan): add and use
2252 * text.C (breakParagraph): use undoSpan (fix bug 578)
2255 2004-01-08 Angus Leeming <leeming@lyx.org>
2257 * BufferView_pimpl.C (MenuInsertLyXFile):
2258 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2259 * lyxfunc.C (menuNew, open, doImport):
2260 FileFilterList change to the FileDialog open and save functions.
2262 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2264 * ShareContainer.h: make isEqual and isUnique adaptable
2266 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2268 2004-01-07 Angus Leeming <leeming@lyx.org>
2271 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2273 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2275 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2276 functions replacing find, replace and replaceAll.
2278 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2279 LFUN_WORDFIND(FORWARD|BACKWARD).
2281 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2283 * text.C (breakParagraph): remove an outdated #warning
2285 2004-01-07 André Pönitz <poenitz@gmx.net>
2287 * lyxfind.C: somewhat clearer logic
2289 * text.C: prevent crash in cursorX on unitialized row cache
2291 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2293 * lyxcursor.[Ch] (operator>): add
2294 * textcursor.C (selStart, selEnd): use std::min and std::max
2296 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2298 * Chktex.C: include boost/format.hpp
2300 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2302 * InsetList.C: replace functor MathcIt with adaptable functor
2304 (insetIterator): modify accordingly
2306 * BranchList.h: move the BranchNamesEqual functor here from...
2307 * BranchList.C: ... to here
2309 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2311 (add): replace a finding loop with std::find_if.
2313 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2315 * output_docbook.C: moving LatexParam functionality into
2318 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2320 * buffer.C: increment format to 229.
2322 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2325 * lyx_sty.[Ch]: remove minipageindent_def
2331 * text3.C: remove LFUN_INSET_MINIPAGE
2333 2003-12-28 Angus Leeming <leeming@lyx.org>
2335 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2337 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2339 * text2.C (setParagraph): fix off-by-one crash
2341 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2343 * output_docbook.C: header stuff for AGU
2345 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2347 * text2.C (redoCursor): remove
2350 * BufferView_pimpl.C: remove calls to redoCursor and
2351 setCursor(cursor.par(), cursor.pos()) all around
2353 2003-12-15 Angus Leeming <leeming@lyx.org>
2355 * buffer.C: up the format to 228.
2357 2003-12-15 André Pönitz <poenitz@gmx.net>
2359 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2364 * BufferView_pimpl.C:
2373 2003-12-15 Angus Leeming <leeming@lyx.org>
2375 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2376 than getFromGUIName to manipulate the color.
2378 2003-12-14 Angus Leeming <leeming@lyx.org>
2380 * BranchList.[Ch]: minimize the API.
2381 (Branch::getBranch, getColor): now return a 'const &'.
2382 (Branch::setSelected) now returns a bool set to true if the
2383 selection status changes.
2384 (BranchList::clear, size, getColor, setColor, setSelected,
2385 allBranches, allSelected, separator): removed.
2386 (BranchList::find): new functions, returning the Branch with
2388 (BranchList::add, remove): return a bool indicating that
2389 the operation was successful.
2391 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2392 new InsetBranch::isBranchSlected member function.
2394 * LColor.[Ch]: mimimize the API.
2395 (fill): renamed as addColor and made private.
2396 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2397 versions of these functions taking a string arg have been removed.
2399 * bufferparams.C (readToken):
2400 * lyxfunc.C (dispatch):
2401 * lyxrc.C (read): changes due to the altered BranchList and
2404 * factory.C (createInset, readInset): changes due to altered
2407 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2410 * lyxfunc.C: remove insetminipage. "minipage-insert"
2411 now produces a frameless minipage box inset.
2413 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2415 * textcursor.[Ch] (selStart,selEnd): add new methods
2416 remove selection::start, end, use LyXCursor::operator<
2417 * lyxcursor.[Ch] (operator<): add
2418 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2419 * BufferView.[Ch] (unsetXSel): add
2420 * text2.C (clearSelection): use unsetXSel,adjust
2423 * rowpainter.C: adjust
2424 * bufferview_funcs.C (put_selection_at): adjust
2426 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2428 * BufferView_pimpl.C: small coord. correction
2430 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2432 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2433 dragging over the splash screen.
2435 2003-12-11 Angus Leeming <leeming@lyx.org>
2437 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2438 as it is now handled in LyXText::dispatch.
2440 * text3.C (doInsertInset): remove a level of nesting.
2442 2003-12-11 Angus Leeming <leeming@lyx.org>
2444 * factory.C (createInset): changes due to the changed interface to
2445 InsetCommandMailer::string2params.
2447 2003-12-10 Angus Leeming <leeming@lyx.org>
2449 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2450 'dialog-show-new-inset <inset name>'
2452 2003-12-10 Angus Leeming <leeming@lyx.org>
2454 * buffer.C: up the format to 227.
2456 * factory.C: the box inset is now identified simply by 'Box'.
2458 2003-12-10 Angus Leeming <leeming@lyx.org>
2460 * buffer.C: up the format to 226.
2462 * factory.C: the note inset is now identified simply by 'Note'.
2464 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2466 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2467 when a pit is enough. Standarize a couple of loops.
2469 2003-12-05 Angus Leeming <leeming@lyx.org>
2471 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2472 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2473 data to the re-worked "log" dialog.
2475 2003-12-03 André Pönitz <poenitz@gmx.net>
2481 * paragraph_funcs.C:
2483 * text2.C: use Inset::getText instead of Inset::getParagraph
2485 2003-12-03 André Pönitz <poenitz@gmx.net>
2489 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2490 InsetText::read() as LyXText::read()
2492 2003-12-02 Angus Leeming <leeming@lyx.org>
2494 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2495 type. Add a comment in the implementation that the function uses
2496 the stream's bad() function rather than fail() as the std::streams
2499 2003-12-02 André Pönitz <poenitz@gmx.net>
2501 * lyxlex.[Ch]: make interface more similar to std::stream
2503 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2505 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2507 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2509 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2511 * vspace.[Ch]: remove VSpace::NONE
2513 2003-12-01 André Pönitz <poenitz@gmx.net>
2516 * lyxtext.h: move ParagraphList member to LyXText
2517 rename LyXText::ownerParagraphs to LyXText::paragraph
2520 * bufferview_funcs.C:
2530 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2532 * undo.C: fix cursor positioning
2534 2003-12-01 John Levon <levon@movementarian.org>
2536 * BufferView_pimpl.C: fix a crash on exit with
2539 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2541 * BranchList.C: fix setSelected() method.
2543 2003-11-28 André Pönitz <poenitz@gmx.net>
2545 * ParagraphParameters.[Ch]:
2546 * ParameterStruct.h: remove space above/below from Paragraph to
2549 * BufferView_pimpl.C:
2555 * paragraph_funcs.C:
2561 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2563 * factory.C: Syntax change for CharStyles
2565 2003-11-28 André Pönitz <poenitz@gmx.net>
2570 * buffer.[Ch]: move LyXText member
2572 2003-11-28 André Pönitz <poenitz@gmx.net>
2574 * BufferView.[Ch]: make LyXText * text a private member
2576 * BufferView_pimpl.C:
2587 * output_plaintext.C: cleanup
2589 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2592 * lyxtextclass.[Ch]: parametrize SGML document header
2594 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2597 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2600 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2602 * text2.C (setFont): rework using PosIterator (no more recursive)
2603 (setCharFont): no more needed
2604 (setLayout): no more selection cursors fiddling (done by redoCursor)
2605 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2606 destroy remaining ones)
2608 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2610 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2612 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2615 * text3.C: adjust + re-allow multi par depth changes
2616 * textcursor.C: simplify a bit
2618 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2624 * src/output_docbook.C:
2625 * src/output_latex.C:
2630 * src/text2.C: Introducing a number of tags parametrizing various
2631 XML formats that we may want to support
2633 2003-11-25 André Pönitz <poenitz@gmx.net>
2635 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2637 * lyxtext.h (leftMargin/rightMargin): simplify interface
2644 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2646 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2647 master file to any child files. Fixes bug 546.
2649 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2651 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2653 2003-11-24 André Pönitz <poenitz@gmx.net>
2655 * rowpainter.C: simplification
2657 * text2.C (updateCounters): remove call to redoParagraph on
2658 changed labels as this is far too expensive.
2660 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2662 * converter.C (convert): fix a crash: this function gets
2663 called with buffer == 0 from importer code.
2665 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2667 * text3.C (cursorPrevious): make sure that we do not compare
2668 iterators form different containers.
2671 * rowpainter.C (paintSelection): make sure that we do not compare
2672 iterators from different containers.
2674 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2675 iterators from different ParagraphList containers.
2678 * text2.C (LyXText): change order of initialization slightly
2679 (operator=): new function. copy all variables except cache_par_
2680 (moveUp): make sure that we do not compare iterators from
2681 different ParagraphList constainers.
2684 * text.C (firstPar): new function
2685 (lastPar): new function
2686 (endPar): new function
2688 * lyxtext.h: move things around and group public functions, public
2689 variables, private functions, private variables
2691 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2693 * factory.C: change call to InsetERT constructor to avoid
2694 additional invocation of method status
2695 * text2.C (toggleInset): remove redundant update() call
2696 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2697 instead of a Bufferview pointer
2699 2003-11-21 André Pönitz <poenitz@gmx.net>
2701 * rowpainter.C: simplification
2703 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2705 * text3.C (dispatch): make possible to extend a word/row selection
2708 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2710 * lyxtext.h: x0_,y0_ -> xo_,yo_
2711 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2712 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2713 * rowpainter.C (paintRows): paint full paragraphs
2715 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2717 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2720 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2722 * lyxtext.h: add x0_, y0_
2723 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2724 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2726 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2728 * text2.C (setCursorIntern): move the x_target update here *
2729 * text3.C: change some bv() to true/false in calls to
2730 cursorUp/Down/Right/Left
2731 * cursor.C: use helper function.
2733 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2735 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2736 * paragraph_funcs.[Ch]: correct comment
2737 * rowpainter.C: do not paint selections away from bv->cursor()
2738 Fix a long standing selection painting bug.
2739 * text3.C: generalize mouse-selection code to LyXTexts other that
2741 * textcursor.C: do not use y coords if we can use par offsets
2743 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2745 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2746 cursor position after e.g. inset insert)
2748 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2750 * lyxfind.C (replace): adjust to locking removal + some
2753 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2755 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2758 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2761 * output_docbook.C: XML sanitation: new layout
2762 parameters InnerTag and CommandDepth
2764 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2766 * BufferView_pimpl.C:
2768 * text3.C: Fix the insertion and modification of button-style
2771 2003-11-13 André Pönitz <poenitz@gmx.net>
2773 * InsetList.[Ch]: remove deleteLyXText
2775 * paragraph.[Ch]: cache beginOfBody position
2780 * text3.C: remove superfluous update() calls
2784 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2786 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2787 * BufferView.C (fitLockedInsetCursor): remove
2788 * cursor.[Ch] (getDim): add
2789 * text.C (getRowNearY): add faster version
2790 * text3.C: remove some update calls
2792 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2804 * text3.C: The Character Style /XML short element patch.
2806 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2809 * factory.C: Small step to solving 'unable to insert some insets'
2812 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2814 * cursor.[Ch] (updatePos): new function for updating the y
2815 position of the tip inset
2816 * bufferview_funcs.C (put_selection_at):
2817 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2819 2003-11-11 André Pönitz <poenitz@gmx.net>
2821 * text.C: remove big comment on invalid Paragraph pointers as it is
2824 2003-11-11 André Pönitz <poenitz@gmx.net>
2826 * text_funcs.[Ch]: merge with ...
2834 * Makefile.am: remove text_funcs.[Ch]
2836 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2838 * cursor.C (getPos): return absolute cached y coord
2840 * BufferView_pimpl.C (fitCursor): new simplistic code
2841 (workAreaDispatch): add a fitCursor call
2843 2003-11-10 André Pönitz <poenitz@gmx.net>
2846 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2848 2003-11-10 André Pönitz <poenitz@gmx.net>
2850 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2851 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2852 indicate that the cursor needs to leave an inset
2854 * lyxtext.h: remove inset locking
2856 * cursor.[Ch]: re-implement functionality provided by inset locking
2859 * BufferView_pimpl.[Ch]:
2861 * bufferview_funcs.[Ch]:
2873 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2875 * PosIterator.[Ch]: replace the stack with a vector, add inset
2877 * iterators.[C]: adjust
2879 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2881 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2883 * paragraph_funcs.C (readParToken): put the correct id in the
2884 error item, not the id of the top paragraph
2886 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2888 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2889 * bufferview_funcs.C (put_selection_at): use the above
2891 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2893 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2895 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2897 * output_linuxdoc.h:
2898 * output_plaintext.h:
2900 * output_docbook.h: add #include statements
2902 2003-11-05 José Matos <jamatos@lyx.org>
2904 * output_docbook.[Ch]:
2905 * output_latex.[Ch]:
2906 * output_linuxdoc.[Ch]:
2907 * output_plaintext.[Ch]: New files for output formats.
2908 * output.[Ch]: New file for helper functions.
2911 * paragraph_funcs.[Ch]: output functions moved to new files.
2913 * outputparams.h: rename of latexrunparams.h
2921 * paragraph_funcs.[Ch]:
2922 * paragraph_pimpl.[Ch]:
2923 * tabular.[Ch]: rename ascii to plaintext
2924 and LatexRunParams to OutputParams.
2926 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2928 * iterators.[Ch] (text): require bv argument
2929 * undo.C (recordUndo):
2930 * lyxfunc.C (dispatch):
2931 * bufferview_funcs.C (put_selection_at): adjust
2933 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2935 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2937 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2939 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2942 2003-11-04 André Pönitz <poenitz@gmx.net>
2944 * cursor.[Ch]: restructure
2947 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2949 * iterators.[Ch] (asCursor): remove
2951 * lfuns.h: remove LFUN_INSET_EDIT
2957 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2959 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2961 * lyxfind.[Ch]: complete overhaul
2962 * BufferView_pimpl.C:
2964 * paragraph.[Ch] (insert): add
2966 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2970 * text.C: remove dead spellcheck code
2972 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2974 * dispatchresult.h: add a val setter
2976 * cursor.C (dispatch): use a tempvar for data_[i]
2978 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2980 * PosIterator.[Ch]: compile fix
2982 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2984 * text.C (cursorPar): deactivate the cursor cache
2986 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2988 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2990 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2992 * text3.C (dispatch): adjust for new DisptchResult semantics.
2994 * lyxfunc.C (dispatch): handle update when return from
2995 Cursor::dispatch, adjust for new DispatchResult semantics.
2997 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2998 DispatchResult(true) mean to not update. Add class functions for
2999 setting dispatched and update, as well as reading.
3001 * cursor.C (dispatch): don't handle update here
3003 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3005 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3006 * trans_mgr.C: adjust
3008 * paragraph_funcs.C (readParToken): exception safety
3010 * lyxvc.h: store the vcs pointer in a scoped_ptr
3013 * lyxsocket.C (serverCallback): exception safety
3015 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3017 * ispell.C (clone): make it return a auto_ptr
3019 * factory.C (createInset): exception safety
3020 (readInset): exception safety
3022 * bufferlist.C (newBuffer): exception safety
3024 * Thesaurus.C (Thesaurus): use initialization for aik_
3026 * MenuBackend.C (expandToc): exception safety.
3028 2003-11-03 André Pönitz <poenitz@gmx.net>
3032 * bufferview_funcs.C: remove getInsetFromId()
3035 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3041 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3043 * PosIterator.C (distance, advance): new
3044 * bufferview_funcs.[Ch] (put_selection_at): new
3045 * iterators.[Ch] (lockPath): new
3047 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3049 * iterators.[Ch] (asPosIterator): added
3050 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3051 * PosIterator.[Ch]: added
3053 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3057 * cursor.C (dispatch):
3058 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3060 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3061 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3062 contructor, add a class function dispatched. Remove operator>=
3064 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3066 * debug.C: only use the default constructor for debugstream
3069 * main.C (main): include debug.h and setup the lyxerr streambuf
3072 2003-10-31 José Matos <jamatos@lyx.org>
3074 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3076 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3077 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3078 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3079 * paragraph_pimpl.C (simpleTeXSpecialC):
3080 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3081 add LatexRunParams argument.
3083 * exporter.C (Export): change call accordingly.
3085 * latexrunparams.h: add new member to take care of the other backends.
3086 2003-10-30 José Matos <jamatos@lyx.org>
3088 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3089 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3090 factorise code for paragraph output.
3092 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3095 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3097 * text3.C (dispatch):
3098 * lyxfunc.C (dispatch):
3099 * cursor.C (dispatch):
3100 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3102 * dispatchresult.h: make the dispatch_result_t ctor explicit
3104 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3107 * buffer.C: small refactoring of docbook stuff
3109 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3111 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3114 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3116 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3117 operator dispatch_result_t, and operators for == != and >=
3119 * cursor.C (dispatch): adjust for operator dispatch_result_t
3120 removal. comment out call to update
3122 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3124 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3132 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3135 * dispatchresult.h: new file, DispatchResult broken out of
3138 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3140 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3142 * text.C (rowBreakPoint): put a hack inside #if 0
3144 2003-10-28 André Pönitz <poenitz@gmx.net>
3148 * paragraph_funcs.C:
3151 * text2.C: general cleanup (lots of small stuff)
3153 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3155 * text2.C (cursorEnd): simple fix to the "end key goes to one
3156 before the end on last row" bug
3158 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3160 * text.C (backspace): fix the "zombie characters"
3162 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3164 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3166 2003-10-27 André Pönitz <poenitz@gmx.net>
3168 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3170 * factory.C: handle new InsetPagebreak, InsetLine
3172 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3173 and move handling into new InsetPagebreak, InsetLine
3175 * BufferView_pimpl.C:
3177 * ParagraphParameters.C:
3178 * ParameterStruct.h:
3183 * paragraph_funcs.C:
3184 * paragraph_pimpl.C:
3190 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3193 * lyxrow_funcs.[Ch]:
3199 * text3.C: remove lastPos uses in favour of Row::endpos
3201 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3203 * undo.C (performUndoOrRedo): fix two crashes by setting a
3204 cursor by hand and reordering some calls. Use bv->lockInset instead
3205 of inset->edit because the latter loses cursor information
3207 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3209 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3211 (rowBreakPoint): fix width. change point to point + 1.
3212 Add a missing check.
3214 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3217 * lyxfunc.C: fix (at least partly) the problems
3218 with the Nav menu and headers inside branch insets
3221 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3223 * paragraph.C (getChar): add strong asserts
3225 * lyxrow_funcs.C (lastPos): remove hideous hack
3227 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3228 (fill): adjust to that (avoid an infinite loop)
3230 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3232 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3234 2003-10-23 André Pönitz <poenitz@gmx.net>
3236 * RowList_fwd.h: change list<> to vector<> to gain speed
3237 after suggestion from Alfredo
3239 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3241 * lyxtext.h: move the bidi stuff from here...
3244 * Bidi.[Ch]: ... to here
3246 2003-10-23 André Pönitz <poenitz@gmx.net>
3249 * text.C (isLastRow, isFirstRow): new functions
3251 * paragraph.h: new width cache member
3253 * rowpainter.C: replace RowList::iterator with Row & where possible
3255 * lyxfunc.C: replace several view()->text with a single call
3257 * toc.C: fix 'unused' warning
3259 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3261 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3262 when woring with stream::pos_type
3263 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3265 2003-10-22 André Pönitz <poenitz@gmx.net>
3268 * text.C: use Row & instead of RowList::iterator
3270 * lyxrow.h: rename end() to endpos()
3276 2003-10-22 Angus Leeming <leeming@lyx.org>
3278 * buffer.[Ch] (fully_loaded): new member function, returning true
3279 only when the file has been loaded fully.
3280 Used to prevent the premature generation of previews and by the
3281 citation inset to prevent computation of the natbib-style label.
3283 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3284 templates are all set up.
3286 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3288 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3290 * text.C: fixed an "oops" in the "is a bit silly"
3293 2003-10-21 André Pönitz <poenitz@gmx.net>
3295 * FuncStatus.[Ch]: small stuff, whitespace
3297 * lyxfont.[Ch]: operator<<() for debug reasons
3301 * lyxtext.h: whitespace, spelling
3303 * paragraph.C: naming of variables
3306 * text2.C: small stuff
3309 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3311 * text.C: (1) finish off the inset display() work;
3312 (2) fix the "is a bit silly" bug (accessing char
3315 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3317 * text.C: re-introduce display() for insets, fixing the
3318 various bugs (stretch of line above, math inset
3321 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3323 * text.C (rightMargin): remove spurious semicolon
3325 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3328 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3330 * text3.C: fix one crash due to wrong cursor def
3332 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3334 * vc-backend.C (scanMaster): make the regex static
3336 * LaTeX.C (scanAuxFile): make the regexs static
3338 * text3.C (doInsertInset, dispatch, dispatch):
3339 * text2.C (cursorUp, cursorDown):
3340 * text.C (selectNextWordToSpellcheck):
3341 * BufferView_pimpl.C (dispatch):
3342 * lyxfunc.C (dispatch): localDispatch -> dispatch
3344 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3346 * lyxsocket.C: include <cerrno>
3348 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3350 * lyxfunc.C (dispatch): remove textcache stuff
3352 * bufferlist.C (release): remove textcache stuff
3355 * TextCache.C: delete file
3356 * TextCache.h: delete file
3358 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3360 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3361 delete of the bv_->text.
3362 (resizeCurrentBuffer): remove texcache stuff
3363 (workAreaResize): ditto
3365 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3367 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3370 2003-10-16 André Pönitz <poenitz@gmx.net>
3377 * text3.C: speed up by storing y positions per paragraph plus per-row
3378 offset instead of having a 'full' y position in the row.
3380 2003-10-15 André Pönitz <poenitz@gmx.net>
3384 * undo.[Ch]: make undo aware of inner insets
3386 2003-10-14 Angus Leeming <leeming@lyx.org>
3388 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3389 static member functions LyX::ref() and LyX::cref.
3390 (lastfiles): new accessor functions for the new lastfiles_ member var.
3391 (addLyXView, views_): add a new LyXView to the list of views_.
3392 (updateInset): loop over all LyXViews to call their own updateInset
3393 member function, returning a pointer to the Buffer owning the inset.
3395 * BufferView_pimpl.C (loadLyXFile):
3396 * MenuBackend.C (expandLastfiles):
3397 * bufferlist.C (MenuWrite, QuitLyX):
3398 lastfiles is no longer a global variable.
3399 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3401 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3402 static function. Access through LyX::cref().emergencyCleanup().
3404 2003-10-14 André Pönitz <poenitz@gmx.net>
3406 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3408 * undo.[Ch]: restoring part of 'undo in insets'
3411 * undo_funcs.[Ch]: merge with undo.[Ch]
3413 * tabular.C: small cleansing stuff
3415 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3417 * paragraph_funcs.C (readParToken): report unknown insets as error
3418 boxes. Use the outer paragraph as location (also for unknown
3421 * factory.C (readInset): do not abort on reading an unknown inset.
3422 Eat it and return 0.
3424 2003-10-13 Angus Leeming <leeming@lyx.org>
3426 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3428 * lyxrc.C: displayTranslator is now a function,
3429 declared in GraphicsTypes.h.
3431 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3433 * format.C: new placeholder $$a to pass the socket address.
3435 * bufferlist.[Ch]: new function getBufferFromTmp.
3437 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3438 files in the temporary dir.
3440 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3442 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3444 * Makefile.am: add lyxsocket.[Ch].
3446 * lyx_main.C (error_handler): handle SIGPIPE.
3448 2003-10-13 André Pönitz <poenitz@gmx.net>
3450 * BufferView_pimpl.C:
3455 * undo_funcs.[Ch]: use paroffset_type instead of
3456 ParagraphList::iterators to prevent multiple conversion
3457 (and get a more robust interface)
3459 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3461 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3463 * text3.C (dispatch): ditto
3465 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3467 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3468 move the onlyfile, use onlyfile instead of foundfile in a couple
3471 * DepTable.C (update): flush the error stream a bit more
3473 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3475 * lyxserver.C (callback): adjust
3477 * lyxfunc.C (getStatus): add a missing brace in commented code
3478 (ensureBufferClean): reindent
3479 (dispatch): delete version taking a string
3481 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3483 * LaTeX.C (deplog): move found file handlig from here...
3484 (handleFoundFile): .. to new function here.
3485 (deplog): make sure to discover several files mentioned on the
3488 2003-10-10 André Pönitz <poenitz@gmx.net>
3495 * text3.C: fix some of the tabular crashes
3497 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3499 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3501 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3503 2003-10-09 André Pönitz <poenitz@gmx.net>
3505 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3508 * BufferView_pimpl.C:
3509 * bufferview_funcs.C:
3520 * undo_funcs.C: adjust
3522 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3524 * text2.C (incrementItemDepth): new function, use a backtracking
3525 algorithm to discover the correct item depth.
3526 (resetEnumCounterIfNeeded): new function, use a backtracking
3527 algorithm to discover if counter reset is needed.
3528 (setCounter): use them. Simplify a bit. Add different labels for
3529 different item depths for itemize.
3531 * paragraph.C (Paragraph): remove initialization of enumdepth
3534 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3535 enumerate and itemize. Change the type of itemdepth to signed char.
3537 2003-10-08 André Pönitz <poenitz@gmx.net>
3539 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3544 * tabular.[Ch]: fix crash after 'row-insert'
3546 2003-10-08 Angus Leeming <leeming@lyx.org>
3548 Fix doxygen warnings.
3550 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3551 Remove CutAndPaste:: prefix from header file declaration.
3553 * LColor.h (fill): remove LColor:: prefix from declaration.
3555 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3556 use lyx::depth_type rather than Paragraph::depth_type so that
3557 header file and .C file match.
3559 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3561 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3562 * aspell.C: \file aspell_local.C -> \file aspell.C
3563 * gettext.C: \file gettext.C -> \file src/gettext.C
3564 * gettext.h: \file gettext.h -> \file src/gettext.h
3565 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3566 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3567 * text.C: \file text.C -> \file src/text.C
3569 * toc.C: move comment so that doxygen is not confused.
3571 2003-10-07 Angus Leeming <leeming@lyx.org>
3573 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3575 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3578 * aspell_local.h: add forgotten std::string's.
3580 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3587 * text3.C: The Box patch. Fancybox support, minipage, parbox
3589 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3595 * ParagraphParameters.h:
3605 * lyxtextclasslist.h:
3608 * paragraph_pimpl.C:
3609 * textcursor.h: add <string> and other small fixes to make Lars'
3610 std::string patch compile with STLport.
3612 2003-10-06 Angus Leeming <leeming@lyx.org>
3614 * LColor.h: Add missing #include <string>.
3616 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3618 * All most all file in all subdirs: Make <string> be the prefered
3619 way of getting to std::string, add using declarations.
3621 2003-10-06 André Pönitz <poenitz@gmx.net>
3623 * metricsinfo.C: initialize LyXFont before changing attribute.
3624 (fixes the 'math in \emph is upright' bug)
3626 2003-10-06 André Pönitz <poenitz@gmx.net>
3628 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3630 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3633 * paragraph_pimpl.C: Small fixes to build using STLport
3635 2003-10-02 André Pönitz <poenitz@gmx.net>
3638 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3640 2003-10-01 André Pönitz <poenitz@gmx.net>
3642 * factory.C: assert early
3644 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3646 * lyx_main.C: remove the global debug object
3648 * debug.h: adjust for new debugstream
3650 * debug.C: adjust for new debugstream and keep the global debug
3653 2003-09-22 Angus Leeming <leeming@lyx.org>
3655 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3656 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3657 an incomplete class LyXFont.
3659 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3661 * factory.C: bug fix in branches
3663 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3665 * lyxfunc.C (processKeySym): adjust
3667 (dispatch): change arg name from ev to func, adjust
3668 (sendDispatchMessage): ditto
3670 * lyx_main.C (defaultKeyBindings): adjust keybindings
3671 (deadKeyBindings): ditto
3673 * kbsequence.C (addkey): return a FuncRequest
3675 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3677 * kbmap.C (bind): take a FuncRequest as arg, adjust
3680 (defkey): change to take a FuncRequest as arg, adjust
3681 (findbinding): take a FuncRequest as arg, adjust.
3683 * funcrequest.h (operator=): added
3685 * funcrequest.C (FuncRequest): default kb_action changed from
3686 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3688 * buffer.C (dispatch): simplify
3689 (dispatch): adjust to take a FuncRequest as arg, adjust
3691 * boost.C (assertion_failed): change assertion message slightly
3693 * ToolbarBackend.C (read): simplify
3695 * MenuBackend.C (binding): adjust call to findbinding, add a
3696 message if no binding is found.
3698 (expandToc): correct by adding a empty FuncRequest
3700 * LyXAction.C: include <boost/assert.hpp>
3701 (isPseudoAction): delete function
3702 (LookupFunc): change name to...
3703 (lookupFunc): this. change return type to FuncRequest.
3704 (getActionName): take kb_action as arg, simplify
3705 (funcHasFlag): add an assert, simplify.
3707 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3709 * toc.C (action): return a FuncRequest, simplify
3711 * lyxfunc.C (processKeySym): adjust
3712 (getStatus): delete version that takes an int.
3714 (dispatch): delete version that takes action as int
3716 (sendDispatchMessage): simplify and adjust
3718 * funcrequest.C (getArg): take unsigned int as arg
3720 * ToolbarBackend.C (read): adjust
3721 (add): delete version that takes func as a string.
3722 (getIton): take a FuncRequest as arg
3724 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3727 * MenuBackend.C (MenuItem): add a new construct that only takes a
3728 Kind, simplify the constructor use for submenus.
3730 (expandLastfiles): adjust
3731 (expandDocuments): adjust
3732 (expandFormats): adjust
3733 (expandFloatListInsert): adjust
3734 (expandFloatInsert): adjust
3735 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3737 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3738 Remove class variables lyx_pseudo_map and lyx_arg_map
3740 * LyXAction.C (searchActionArg): delete function
3741 (getPseudoAction): delete function
3742 (retrieveActionArg): delete function
3743 (LookupFunc): make it return kb_action, simplify.
3744 (getActionName): simplify
3746 * factory.C (createInset): fix new bug
3748 2003-09-19 Angus Leeming <leeming@lyx.org>
3750 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3751 masterFilename_ parameter in the include inset.
3753 * factory.C (createInset): changes due to the changes to InsetInclude.
3755 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3757 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3759 2003-09-18 Angus Leeming <leeming@lyx.org>
3762 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3763 Inset::fillWithBibKeys.
3764 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3766 2003-09-18 Angus Leeming <leeming@lyx.org>
3768 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3770 (ctor): pass and store a 'Buffer const &'
3771 (buffer): new member function.
3773 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3774 '*this' to the LaTeXFeatures ctor.
3776 2003-09-18 Angus Leeming <leeming@lyx.org>
3782 * text.C: rename EnumLColor as LColor_color.
3784 2003-09-18 Angus Leeming <leeming@lyx.org>
3786 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3787 remove #include "insets/insetbase.h" from cursor.h.
3789 2003-09-18 Angus Leeming <leeming@lyx.org>
3791 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3792 InsetOld_code to remove #include "inset.h".
3794 * iterators.C: add #include "insets/inset.h"
3796 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3798 * BufferView.C: remove more locking stuff that apparently doesn't
3799 do anything sensible.
3801 2003-09-16 André Pönitz <poenitz@gmx.net>
3804 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3807 2003-09-16 Angus Leeming <leeming@lyx.org>
3809 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3811 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3814 * paragraph.h: remove #include "lyxfont.h". Forward declare
3817 2003-09-16 Angus Leeming <leeming@lyx.org>
3819 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3820 of support/textutils.h.
3821 (isWord): move the contents of support/textutils.h's IsWordChar here.
3827 * text2.C: add #include "paragraph.h".
3830 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3832 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3838 * LaTeX.C: use namespace alias for lyx::support::os
3840 2003-09-16 Angus Leeming <leeming@lyx.org>
3843 * bufferview_funcs.C:
3846 * paragraph_pimpl.C:
3848 * text.C: add #include "LColor.h".
3850 2003-09-16 Angus Leeming <leeming@lyx.org>
3852 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3853 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3855 Store the FontBits::color variable as an int rather than as an
3856 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3859 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3860 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3861 string calls together.
3863 * lyxrc.C: add #include "LColor.h".
3865 2003-09-15 Angus Leeming <leeming@lyx.org>
3867 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3870 2003-09-15 Angus Leeming <leeming@lyx.org>
3872 * LColor.h: add an EnumLColor wrapper for LColor::color.
3874 * lyxfont.[Ch] (color, setColor, realColor):
3875 * lyxtext.h, text.C (backgroundColor):
3876 pass EnumLColor args to/from the functions, rather than LColor::color
3880 * lyxtext.h: forward declare EnumLColor.
3882 * lyx_main.C: add #include "LColor.h".
3884 2003-09-15 Angus Leeming <leeming@lyx.org>
3886 * .cvsignore: add lyx-gtk.
3888 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3893 * ParagraphParameters.C
3897 * bufferview_funcs.C
3907 * vc-backend.C: remove usage of STRCONV
3909 2003-09-15 Angus Leeming <leeming@lyx.org>
3911 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3912 explicitly define the color passed to the painter.
3914 2003-09-15 Angus Leeming <leeming@lyx.org>
3916 * bufferparams.C (BufferParams): reorder member initializers to avoid
3919 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3921 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3922 * text.C (updateRowPositions): remove an unusual nop
3924 2003-09-12 André Pönitz <poenitz@gmx.net>
3926 * BufferView_pimpl.C:
3935 * Counters.[Ch]: finish the 'automatic counters' job
3937 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3939 * aspell.C: include <boost/assert.cpp> (compile fix)
3941 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3943 * boost.C (assertion_failed): use lyx::support::abort instead of
3946 2003-09-10 Angus Leeming <leeming@lyx.org>
3948 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3949 with their _fwd progeny.
3951 2003-09-09 Angus Leeming <leeming@lyx.org>
3953 134 files throughtout the source tree: replace 'using namespace abc;'
3954 directives with the appropriate 'using abc::xyz;' declarations.
3956 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3958 * boost.C (emergencyCleanup): moved here from LAssert.c
3959 (assertion_failed): new function, called by BOOST_ASSERT
3961 * several files: change Assert to BOOST_ASSERT
3963 2003-09-09 Angus Leeming <leeming@lyx.org>
3965 * buffer.[Ch]: Add an Impl class and move Buffer's member
3966 variables into it. As a result move several header files out of
3969 Add header files to lots of .C files all over the tree as a result.
3971 2003-09-09 Angus Leeming <leeming@lyx.org>
3973 * buffer.[Ch]: make Buffer's member variables private. Add
3976 Lots of changes all over the tree as a result.
3978 2003-09-08 Angus Leeming <leeming@lyx.org>
3980 * graph.C: #include <config.h>.
3982 2003-09-08 Angus Leeming <leeming@lyx.org>
3986 * BufferView_pimpl.C:
4015 * toc.C: remove redundant using directives.
4017 2003-09-07 Angus Leeming <leeming@lyx.org>
4019 * LaTeXFeatures.h: remove #include "support/types.h".
4020 * ToolbarBackend.h: remove #include <algorithm>.
4021 * changes.h: remove #include <ctime>.
4022 * debug.h: remove #include <iosfwd>.
4023 * graph.h: remove #include "support/std_string.h".
4024 * lyx_main.h: remove #include <csignal>.
4025 * lyxlex_pimpl.h: remove #include <fstream>.
4026 * sgml.h: remove #include <algorithm>, <utility>.
4027 * toc.h: remove #include "support/std_ostream.h".
4028 Add #include <iosfwd>.
4030 2003-09-07 Angus Leeming <leeming@lyx.org>
4032 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4034 * converter.h: forward declare LatexRunParams.
4035 * encoding.h: remove #include "lyxrc.h".
4036 * lyxtext.h: remove #include "LColor.h".
4037 * lyxtextclass.h: remove #include "support/types.h".
4038 * trans.h: remove #include "tex-accent.h".
4039 * trans_mgr.h: remove #include "tex-accent.h".
4040 * insets/inset.h: remove #include "support/types.h", <vector>.
4041 * insets/insetcollapsable.h: remove #include "LColor.h".
4042 * insets/insetinclude.h: remove #include "dimension.h".
4043 * insets/insetlatexaccent.h: remove #include "dimension.h".
4044 * insets/insetoptarg.h:: remove #include "insettext.h".
4045 * insets/insettext.h: remove #include "dimension.h",
4046 <boost/shared_ptr.hpp>
4048 * insets/renderers.h: add #include "dimension.h".
4049 * insets/updatableinset.h: add #include "support/types.h".
4051 * many .C files: Associated changes.
4053 2003-09-06 Angus Leeming <leeming@lyx.org>
4055 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4056 one, inside testInvariant.
4058 * PrinterParams.C: new file.
4059 * PrinterParams.[Ch]: move the function bodies out of line.
4061 2003-09-06 Angus Leeming <leeming@lyx.org>
4063 * ParagraphParameters.h: forward declare ParameterStruct rather than
4064 including its header file.
4065 (depth): moved out-of-line.
4067 2003-09-06 Angus Leeming <leeming@lyx.org>
4069 * BufferView_pimpl.h:
4072 * lyxfunc.h: forward declare LyXKeySym rather than
4073 #include "frontends/LyXKeySym.h".
4075 * BufferView_pimpl.C:
4078 * lyxfunc.C: associated changes.
4080 2003-09-06 Angus Leeming <leeming@lyx.org>
4082 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4083 As a result, can remove the #include "insets/inset.h" from BufferView.h
4085 2003-09-06 Angus Leeming <leeming@lyx.org>
4087 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4088 As a result, can remove the #include "insets/inset.h" from BufferView.h
4090 2003-09-06 Angus Leeming <leeming@lyx.org>
4096 * bufferview_funcs.C:
4097 * BufferView_pimpl.C:
4102 * ParagraphParameters.C:
4107 * frontends/controllers/ControlDocument.C:
4108 * insets/insetcaption.C: rearrange the #includes into some sort of
4111 * buffer.h: remove #includes ErrorList.h, undo.h
4113 2003-09-06 Angus Leeming <leeming@lyx.org>
4115 * support/types.h: add a 'depth_type' typedef, used to store the
4116 nesting depth of a paragraph.
4119 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4120 defining explicitly.
4123 * paragraph_funcs.h:
4124 * ParagraphParameters.h:
4125 * sgml.h: use lyx::depth_type rather than Paragraph or
4126 ParameterStruct's depth_type.
4129 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4132 * BufferView_pimpl.C:
4134 * ParagraphParameters.C:
4137 * bufferview_funcs.C:
4144 * frontends/LyXView.C:
4145 * frontends/controllers/ControlDocument.C:
4146 * frontends/controllers/ControlErrorList.C:
4147 * insets/insetbibitem.C:
4148 * insets/insetbranch.C:
4149 * insets/insetcaption.C:
4150 * insets/insetcollapsable.C:
4151 * insets/insetenv.C:
4152 * insets/insetert.C:
4153 * insets/insetfloat.C:
4154 * insets/insetfoot.C:
4155 * insets/insetfootlike.C:
4156 * insets/insetnewline.C:
4157 * insets/insetquotes.C:
4158 * insets/insettabular.C:
4159 * insets/insettext.C:
4160 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4162 * frontends/controllers/ControlChanges.C: #include "changes.h".
4164 2003-09-06 Angus Leeming <leeming@lyx.org>
4166 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4167 than #including paragraph.h.
4170 * RowList.h: deleted. Superfluous.
4180 * insets/insettext.h: use ParagraphList_fwd.h rather than
4183 * paragraph.h: don't forward declare ParagraphList.
4186 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4187 rather than ParagraphList.h. paragraph.h is still needed for the
4188 Paragraph::depth_type parameters.
4190 * textcursor.h: enable it to compile stand-alone in light of the
4193 * bufferview_funcs.C:
4205 * frontends/controllers/ControlParagraph.C:
4206 * frontends/controllers/ControlTabular.C:
4207 * insets/insetmarginal.C:
4208 * insets/insetminipage.C:
4209 * insets/insetnote.C:
4210 * insets/insetoptarg.C: add header files needed to compile again.
4212 2003-09-06 Angus Leeming <leeming@lyx.org>
4214 * RowList_fwd.h: new file, forward-declaring Row rather than
4215 #including lyxrow.h.
4220 * insets/insettext.h: use it instead of RowList.h
4222 * bufferview_funcs.C:
4229 * text3.C: #include "RowList.h".
4231 2003-09-05 Angus Leeming <leeming@lyx.org>
4233 * factory.C (createInset):
4234 * vspace.C (c-tor): replace sscanf call with an istringstream.
4235 * ispell.C: re-add missing HP/UX headers.
4236 * lyxserver.C: re-add missing os2 headers.
4238 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4247 * text3.C: re-add missing system headers, needed for 2.95.2.
4249 2003-09-05 Angus Leeming <leeming@lyx.org>
4251 Changes most place everywhere due to the removal of using directives
4252 from support/std_sstream.h.
4254 2003-09-05 Angus Leeming <leeming@lyx.org>
4256 Replace LString.h with support/std_string.h,
4257 Lsstream.h with support/std_sstream.h,
4258 support/LIstream.h with support/std_istream.h,
4259 support/LOstream.h with support/std_ostream.h.
4261 Changes resulting throughout the tree.
4263 2003-09-05 Angus Leeming <leeming@lyx.org>
4265 * sgml.h: ensure that the header file can be compiled stand-alone.
4266 * *.C: strip out redundant #includes. (320 in total.)
4268 2003-09-04 Angus Leeming <leeming@lyx.org>
4270 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4271 here (from getPackages).
4273 * debug.[Ch]: add a new EXTERNAL tag.
4275 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4277 * text2.C (cursorEnd): simplify
4279 (getColumnNearX): adjust
4281 * text.C (computeBidiTables): adjust
4284 * rowpainter.C (paintChars): adjust
4285 (paintSelection): adjust
4286 (paintChangeBar): adjust
4289 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4291 (numberOfSeparators): adjust
4293 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4299 * text3.C: Restricts the mouse click functionality
4300 of insets like bibtex, include, toc and floatlist to the visible
4301 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4302 up the dialogs. Cursor has to be in front of the inset (i.e.
4303 start of row) for this to function.
4305 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4307 * bufferview_funcs.C (currentState): output row information
4309 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4311 * bufferview_funcs.C (currentState): output paragraph position
4313 2003-09-04 Angus Leeming <leeming@lyx.org>
4315 * FloatList.h: move out #include "Floating.h".
4316 * LaTeX.h: move out #include "DepTable.h".
4317 * LyXAction.h: move out #include "funcrequest.h".
4318 * buffer.h: move out #include "author.h", "iterators.h".
4319 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4320 * lyx_main.h: move out #include "errorlist.h".
4321 * lyxfunc.h: move out #include "FuncStatus.h".
4322 * lyxtext: move out #include "lyxcursor.h".
4323 * paragraph_pimpl.h: move out #include "counters.h".
4325 2003-09-03 Angus Leeming <leeming@lyx.org>
4327 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4328 preamble_snippets list, enabling us to add snippets to the preamble
4329 only if the snippet was not there already.
4331 2003-09-04 Angus Leeming <leeming@lyx.org>
4333 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4335 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4340 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4342 * BranchList.C: point fix, earlier forgotten
4344 2003-09-02 Angus Leeming <leeming@lyx.org>
4346 * box.C (contains): renamed from 'contained' after a fantastic
4349 2003-09-02 John Levon <levon@movementarian.org>
4355 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4357 2003-09-02 John Levon <levon@movementarian.org>
4359 * text2.C: simplification of cursorEnd(), including partial
4362 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4364 * buffer.C (readFile): add a space
4366 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4368 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4370 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4372 * buffer.C (readFile): new function, take a filename and a
4373 ParagraphList::iterator
4375 (readFile): adjust, make it private. don't use setStream, make
4376 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4377 always contain the filename.
4379 * BufferView.C (insertLyXFile): simplify and make it work for
4382 2003-08-30 John Levon <levon@movementarian.org>
4384 * Makefile.am: fix dist (from Kayvan)
4386 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4388 * most files: change to use const Buffer refs
4390 2003-08-27 André Pönitz <poenitz@gmx.net>
4392 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4393 on top of ownerPar().
4395 2003-08-27 John Levon <levon@movementarian.org>
4397 * funcrequest.C: properly initialise POD members
4399 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4401 * lyxtext.h (top_y): move top_y from here
4406 * BufferView_pimpl.[Ch]: to here
4407 * frontends/screen.C:
4408 * insets/insettabular.C:
4409 * insets/insettext.C: adjust
4410 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4412 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4415 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4417 2003-08-26 André Pönitz <poenitz@gmx.net>
4419 * paragraph_func.[Ch] (outerPar): new function
4422 * paragraph_funcs.C:
4423 * paragraph_funcs.h:
4424 * paragraph_pimpl.C:
4425 * text2.C: remove Inset::par_owner
4427 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4432 * text2.C: eliminates the needFullRow/display() stuff
4433 altogether, putting the logic in metrics/draw in the insets.
4435 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4437 * text2.C (redoParagraphInternal, redoParagraphs):
4438 * text.C (redoParagraph): add a call to updateRowPositions at the
4439 end of each 'metrics-like' call. Remove all others.
4440 (getRow): remove the 'y-computing' version.
4441 (getRowNearY): do not compute nor return the real y. Solve the
4442 'y < 0' problem and simplify.
4444 2003-08-22 Angus Leeming <leeming@lyx.org>
4446 * *.[Ch]: clean-up of licence and author blurbs.
4447 Also move config.h out of a few .h files and into a few .C files.
4449 2003-08-22 André Pönitz <poenitz@gmx.net>
4451 * lyxrow.[Ch]: add x_ and *fill_ members
4456 * text2.C: adjust/remove prepareToPrint() calls
4458 2003-08-22 André Pönitz <poenitz@gmx.net>
4460 * lyxrow.[Ch]: add end_ member
4462 * lyxrow_funcs.C: use LyXRow::end_
4464 * lyxtext.h (singleWidth): add LyXFont parameter
4467 * text2.C: adjust LyXText::singleWidth() calls
4469 * text.C (redoParagraph): simplify row breaking logic
4472 2003-08-19 André Pönitz <poenitz@gmx.net>
4474 * funcrequest.C: initialize button_ member
4477 * rowpainter.[Ch]: interface consolidation
4479 2003-08-18 André Pönitz <poenitz@gmx.net>
4482 * BufferView_pimpl.C:
4484 * paragraph_funcs.C:
4486 * text3.C: remove LyXScreen::draw() and fitCursor calls
4488 * BranchList.h: remove spurious semicolons
4490 * MenuBackend.C: fix branchlist related crash
4492 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4500 * bufferparams.[Ch]:
4504 * text3.C: implements the 'branch inset'
4505 idea. This allows the output of various versions of a document
4506 from a single source version, selectively outputing or suppressing
4507 output of parts of the text.
4508 This implementation contains a 'branch list editor' in a separate
4509 tab of the document settings dialog. Branches are user definable
4510 and have a "display colour" to distinguish them on-screen.
4512 ColorHandler was somewhat cleaned up.
4513 (1) make possible a dynamically growing LColor list by allowing
4514 the graphic context cache to grow along (vector);
4515 (2) eliminate an IMHO unnecessary step in colour allocation.
4517 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4519 * BufferView_pimpl.C: compile fix
4521 2003-08-15 André Pönitz <poenitz@gmx.net>
4523 * rowpainter.C: remove extra metrics calls
4525 * lyxtext.h: merge the two constructors into a single one,
4526 pass reference to owner's par list
4528 * BufferView_pimpl.C:
4532 2003-08-15 André Pönitz <poenitz@gmx.net>
4534 * lyxrow_funcs.[Ch]:
4537 * paragraph_funcs.C:
4542 * text_funcs.C: split LyXText::rowlist_ into individual
4543 Paragraph::rows_ chunks
4546 * BufferView_pimpl.[Ch]:
4549 * text3.C: remove toggleSelection()
4551 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4553 * bufferlist.C: beautify two alerts (shorter text of buttons)
4554 * buffer.C: Remove redundant ' ' from message
4556 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4557 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4558 rename VALIGN_CENTER to VALIGN_MIDDLE
4560 2003-08-11 André Pönitz <poenitz@gmx.net>
4562 * lyxtext.h (getPar):
4563 * text.C: new function
4565 2003-08-11 André Pönitz <poenitz@gmx.net>
4568 * tracer.[Ch]: remove unneeded files
4570 * InsetList.[Ch]: remove resizeInsetsLyXText()
4575 * text3.C: merge insertParagraphs() and appendParagraph()
4576 remove breakAgain(), update()
4578 * BufferView_pimpl.[Ch]:
4579 * bufferview_funcs.[Ch]:
4583 * tabular.C: adjust after text & InsetList changes.
4585 2003-08-08 André Pönitz <poenitz@gmx.net>
4587 * text.C (insertChar, backspace): replace rowlist fiddling
4588 with rebreak of full par
4591 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4592 checkParagraph, updateInset): removed
4594 2003-08-07 André Pönitz <poenitz@gmx.net>
4597 * text3.C: merge some LFUN handlers, remove dead code
4599 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4601 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4603 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4605 * text2.C (DEPM): fix part of bug 1255 and 1256
4607 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4609 * BufferView_pimpl.C (workAreaDispatch): change to use
4610 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4611 that are no mouse related.
4613 2003-08-05 André Pönitz <poenitz@gmx.net>
4616 * BufferView_pimpl.[Ch]:
4617 * bufferview_funcs.C:
4619 * text3.C: rip out "deep update"
4621 * textcursor.[Ch] (last_sel_cursor): remove unused member
4623 2003-08-04 André Pönitz <poenitz@gmx.net>
4626 * BufferView_pimpl.[Ch]:
4627 * ParagraphParameters.C:
4628 * bufferview_funcs.C:
4634 * text3.C: replace "complicated" BufferView::update(...) calls with
4637 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4639 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4641 * Makefile.am (lyx_SOURCES): add paper.h
4643 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4645 * Makefile.am: move things around so that both lyx-qt and
4646 lyx-xforms can be built (according to --with-frontend). Then lyx
4647 is a symbolic link to lyx-[firstfrontend]
4649 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4651 * Always use std::endl with lyxerr
4653 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4655 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4657 2003-08-01 André Pönitz <poenitz@gmx.net>
4660 * BufferView_pimpl.[Ch]:
4662 * text3.C: merge BufferView::repaint() and BufferView::update()
4664 2003-08-01 José Matos <jamatos@lyx.org>
4666 * buffer.[Ch]: file_format is no longer a buffer data element.
4668 2003-08-01 André Pönitz <poenitz@gmx.net>
4673 * text2.C: make redoParagraph more independent of current cursor
4675 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4677 * text2.C: remove unneeded members
4679 2003-07-30 André Pönitz <poenitz@gmx.net>
4681 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4683 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4684 create a single function...
4686 * paragraph_funcs.C (moveItem): ... here.
4689 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4691 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4693 * LColor.[Ch]: Add comment and greyedout logical colors.
4695 2003-07-30 André Pönitz <poenitz@gmx.net>
4697 * tabular.C: don't use Assert too heavily. This crashes where it
4700 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4702 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4703 is disabled (bug 1232)
4705 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4707 * factory.C: limited 'arg' scope
4709 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4711 * factory.C: fixed Note submenu issues
4713 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4715 * factory.C: submenu for Note/Comment/Greyedout
4717 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4720 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4722 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4725 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4726 greyedout. Patch provided by Jürgen Spitzmüller.
4728 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4730 * kbmap.C (read): fix error message when reading bind files
4732 2003-07-29 Angus Leeming <leeming@lyx.org>
4734 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4735 certainly does not do what it purports to do. I am doing it, and
4736 us, a favour by killing it.
4738 2003-07-28 José Matos <jamatos@lyx.org>
4740 * buffer.C (readBody, do_writeFile):
4741 * paragraph.C(readParagraph): \end_document replaces \the_end.
4743 2003-07-29 André Pönitz <poenitz@gmx.net>
4746 * BufferView_pimpl.[Ch]:
4750 * textcursor.[Ch]: remove toggleToggle & Co
4752 2003-07-28 José Matos <jamatos@fep.up.pt>
4754 * buffer.C (readParagraph):
4755 * params_func (readParToken, readParagraph):
4756 * paragraph.C (write): \layout -> \begin_layout.
4758 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4760 * lyxlex_pimpl.C (setFile): clean up slightly.
4762 * bufferparams.h: add compressed var
4764 * buffer_funcs.C (readFile): adjust for LyXLex change
4765 (newFile): ditto + simplify
4767 * buffer.C (writeFile): handle writing of compressed files
4769 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4770 Check if the file is compressed and set a bufferparm if so.
4772 * Makefile.am (lyx_LDADD): remove explicit -lz
4774 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4776 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4777 makeDocBookFile): put the real LyX version in the first line of
4781 * version.C.in: remove lyx_docversion
4783 * tabular.C (write_attribute): add a template-based version to
4784 write enums properly
4786 2003-07-28 André Pönitz <poenitz@gmx.net>
4791 * text3.C: use doubles again for x-coordinates. They are needed.
4793 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4795 * messages.C (getLocaleDir): use lyx_localedir()
4797 * lyxlex_pimpl.C (setFile): compress stuff
4799 * buffer.C (writeFile): add some compression stuff
4800 (do_writeFile): new func, dont call expliti close... will this
4803 * Makefile.am (lyx_LDADD): add -lz
4805 2003-07-28 José Matos <jamatos@fep.up.pt>
4807 * buffer.C: increment file format.
4808 * paragraph_funcs (readParagraph, readParToken):
4809 * paragraph.C (readParagraph): add \end_layout.
4811 2003-07-27 Angus Leeming <leeming@lyx.org>
4813 * Makefile.am: remove special casing for configure-time setting of
4814 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4816 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4817 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4819 2003-07-26 André Pönitz <poenitz@gmx.net>
4821 * paragraph_func.[Ch]:
4822 * paragraph.C (realizeFont): inline it whereever it is used
4827 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4830 2003-07-26 André Pönitz <poenitz@gmx.net>
4834 * text2.C: get rid of LyXText::need_break_row
4836 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4838 * toc.[Ch]: put namespace toc inside namespace lyx
4840 * MenuBackend.C (expandToc2): adjust for lyx::toc
4843 * lyxfunc.C (dispatch): adjust for lyx::find
4845 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4846 lyx::find instead. Reorganize a bit.
4847 (LyXReplace): rename to replace
4848 (LyXFind): rename to find
4850 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4853 2003-07-26 André Pönitz <poenitz@gmx.net>
4855 * text.C (setHeightOfRow): restrict scope of temporary variable
4857 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4858 code (never has been used?)
4860 2003-07-27 Asger Alstrup <alstrup@local>
4862 * text.C (fill): Optimise algorithm to exploit that we can reuse
4863 the LyXFont for many characters.
4864 (setHeightOfRow): Same thing.
4865 (rowBreakPoint): Same thing.
4867 2003-07-26 Asger Alstrup <alstrup@local>
4869 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4871 * text.C (singleWidth): Spurious font copying in hot-spot
4872 singleWidth avoided. Reorder tests for arabic for efficiency.
4874 * text.C (fill): handle empty paragraphs better.
4876 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4879 * encoding.h: add includes
4881 * lyxrc.C: remove reading of bind files
4883 * lyx_main.C (init): setup bindings and menus only if we have a
4886 * kbmap.C (read): new method. Do the actual reading of bind
4889 * converter.C (dvipdfm_options):
4892 (output): adapt PAPER_* enums.
4894 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4896 * bufferparams.h: remove paper-related enums from there
4898 * paper.h: New file. A trivial header file to hold paper-related
4899 enums. It should later expand to contain many paper-related
4902 * lyxrc.C: declare extern displayTranslator
4904 2003-07-27 José Matos <jamatos@fep.up.pt>
4906 * tabular.[Ch] (linuxdoc): add support for tables and figures
4909 2003-07-27 José Matos <jamatos@fep.up.pt>
4911 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4912 consistency in both functions.
4913 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4915 2003-07-26 Asger Alstrup <alstrup@local>
4917 * rowpainter.C (paintRows): Change algorithm to work directly on
4918 the insets rather than asking every character in the document
4919 whether its an inset.
4921 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4923 * buffer.C (openFileWrite): factorize some code
4925 2003-07-26 Angus Leeming <leeming@lyx.org>
4928 * lyx_main.[Ch]: replace occurances of system_tempdir with
4931 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4933 * rename Inset to InsetOld
4935 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4937 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4938 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4939 which I think is a bit clearer. EDIT is gone, since it was
4940 premature optimisation, and broken for mathed anyway.
4941 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4942 with cursor positioning in insets as well (math insets still do not
4943 work, but that's a different story anyway.) It mysteriously
4944 crashes sometimes with undo in the first paragraph, but I'm fairly
4945 confident that this is a compiler bug.
4947 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * paragraph.C (Paragraph): adjust for new clone return type
4951 (copyIntoMinibuffer): ditto
4953 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4955 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4956 by not having a special case, and always doing a full rebreak of
4957 the document after undo.
4959 2003-07-23 Angus Leeming <leeming@lyx.org>
4961 * factory.C (createInset): InsetExternal::setParams now takes a
4964 2003-07-23 Angus Leeming <leeming@lyx.org>
4966 * factory.C (createInset): changed interface to the external and
4967 graphics mailers' string2params functions.
4969 2003-07-23 Angus Leeming <leeming@lyx.org>
4971 * factory.C (createInset): pass a
4972 Buffer const * parameter to InsetExternalMailer's string2params.
4974 2003-07-22 John Levon <levon@movementarian.org>
4976 * Thesaurus.h: include the right aiksaurus header
4978 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4980 * MenuBackend.C (expand): check menu shortcuts unconditionally
4982 2003-07-21 Angus Leeming <leeming@lyx.org>
4984 * factory.C (createInset): pass a
4985 buffer_path parameter to InsetGraphicsMailer's string2params.
4987 2003-07-21 Angus Leeming <leeming@lyx.org>
4989 * BufferView_pimpl.C (buffer):
4992 * lyxfunc.C (dispatch):
4993 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4994 rather than the grfx shortcut.
4996 2003-07-21 André Pönitz <poenitz@gmx.net>
4998 * rowpainter.C: remove unused variables
5001 * tabular_funcs.h: move to tabular.C
5002 * Makefile.am: adjust
5004 * tabular.[Ch]: basic optical cleaning
5006 * author.h: pass references, not values
5008 2003-07-18 André Pönitz <poenitz@gmx.net>
5016 * text3.C: two-phase drawing for InsetText and InsetTabular
5017 some float -> int changes.
5019 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5021 * lyx_main.C: fix the fix
5023 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5025 * lyx_main.C: fix a crash in batch mode if no files specified
5028 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5030 * format.[Ch] (papersize): moved to BufferParams
5031 * converter.[Ch] (dvips_options): moved to BufferParams
5032 (dvipdfm_options): moved to anon namespace
5033 * bufferparams.[Ch]: added above functions.
5035 2003-07-17 André Pönitz <poenitz@gmx.net>
5039 * text2.C: don't call inset->update() anymore
5041 * metricsinfo.[Ch]: add convenience constructor
5043 2003-07-16 André Pönitz <poenitz@gmx.net>
5048 * text2.C: replace the LyXCursor::irow_ member with
5049 on-demand computation of the value
5051 2003-07-16 John Levon <levon@movementarian.org>
5053 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5055 2003-07-15 André Pönitz <poenitz@gmx.net>
5058 * text2.C: remove no more needed refresh_row
5060 2003-07-15 André Pönitz <poenitz@gmx.net>
5065 * text3.C: refresh_status tristate -> need_update bool
5067 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5069 * lyxtext.h (init): remove reinit argument (act as if always true)
5070 * text2.C: adjust to that
5072 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5074 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5075 * text3.C: use it to delete selections in some cases
5076 (bugs 441, 673, 702, 954).
5078 2003-07-14 André Pönitz <poenitz@gmx.net>
5080 * rowpainter.[Ch]: reduce interface
5082 2003-07-14 André Pönitz <poenitz@gmx.net>
5084 * BufferView_pimpl.C:
5085 * text2.C: adjust after removing unused BufferView * argument
5087 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5089 * text2.C (init): fix a crash fired on resize
5091 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5093 * buffer.[Ch]: added new closing signal
5094 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5095 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5096 BufferView::Pimpl via the closing the signal
5098 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5100 * buffer.[Ch]: take out all bv-related from buffer
5102 * BufferView_pimpl.[Ch]: connect to new signals
5103 * CutAndPaste.C: removed useless asserts
5104 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5107 * lyxfunc.C: moved view-related funciontality from vc here
5108 * paragraph.C: removed outdated comments
5111 2003-07-10 André Pönitz <poenitz@gmx.net>
5113 * BufferView_pimpl.C:
5117 * text2.C: remove InsetText::InnerCache, clean up consequences
5119 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5121 * ispell.C: fix two typos in error messages
5123 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5125 * Extend Note inset to other forms of annotation like Comment
5126 and Greyedout. Right button click gives dialog.
5128 Files modified or added (+):
5132 * ControlNote.[Ch] +
5134 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5135 frontends/controllers
5139 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5141 * aspell.C: add missing namespace lyx::support
5143 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5145 * BufferView.[Ch] (newFile): Add
5146 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5147 * LaTeX.[Ch] (message): added this signal and use it
5148 * buffer.[Ch] (busy, message): added these signals and use them
5149 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5153 * importer.C: use buffer signals instead of direct bv calling
5154 * lyx_cb.[Ch] (ShowMessage): removed
5157 * paragraph_funcs.C:
5158 * text2.C: use buffer signals
5160 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5162 * introduce namespace lyx::graphics
5164 2003-07-02 André Pönitz <poenitz@gmx.net>
5166 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5168 2003-07-01 André Pönitz <poenitz@gmx.net>
5175 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5176 text*.C to text_func.C
5178 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5180 * introduce namespace lyx::support
5182 2003-06-30 André Pönitz <poenitz@gmx.net>
5187 * text.C: re-enable --with-included-string
5189 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5191 * textcursor.C: add <config.h>
5193 * text.C (getWord): remove const from word_location arg
5195 * lyxvc.C (getLogFile): fix const type order
5197 * lyxtext.h: remove const from word_location arg, add arg name
5199 * lyxlayout.h: currect type on labeltype.
5201 * importer.C: correct \file
5203 * converter.C (intToFormat): use std:: on ret val, ws changes
5205 * bufferlist.h: correct \file
5207 * buffer.C (makeLinuxDocFile): fix const type order
5208 (makeDocBookFile): ditto
5209 (fillWithBibKeys): use std:: on stdlib args.
5211 * CutAndPaste.C: fix authors.
5212 (availableSelections): use std:: on return vector
5214 2003-06-27 André Pönitz <poenitz@gmx.net>
5216 * BufferView_pimpl.C:
5217 * bufferview_funcs.C:
5225 * text3.C: remove LyXCursor::row_ member
5228 * text.C: rename fullRebreak() to partialRebreak() and implement
5229 a fullRebreak() that really bereks fully
5231 * textcursor.h: new struct for cursor-related data
5233 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5235 * lyx_main.C (LyX): get full path of document loaded on the
5238 2003-06-26 André Pönitz <poenitz@gmx.net>
5240 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5241 remove unused/broken operator>,<,>=.
5243 * text.C: remove only use of broken operator<= in an Assert().
5245 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5247 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5248 moved errorlist_.clear to showErrorList
5250 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5252 * converter.C (scanLog, runLaTeX):
5253 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5254 move the bv->showErrorList call to the callers
5255 * lyxfunc.C: i.e. here...
5257 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5258 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5259 namespace, the second to...
5260 * buffer_funcs (BufferFormat, parseErrors): added
5261 * errorlist.C (ErrorList(TeXErrors const &)): removed
5263 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5265 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5267 2003-06-24 "Garst R. Reese" <reese@isn.net>
5271 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5273 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5275 * version.C.in: change docversion to 1.4
5277 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5279 * buffer.C: fix a bug just introduced
5281 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5283 * buffer.[Ch]: added the parseError signal and use it, removed
5285 * BufferView.[Ch] (addError): moved to ...
5286 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5287 to the Buffer::parseError signal to catch (guess what) parse errors
5288 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5290 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5292 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5293 ability to create a buffer and to return an existing one from
5294 the list. Moved these functions to...
5295 * buffer_funcs.[Ch]: added
5296 * BufferView.[Ch] (loadLyXFile): added
5297 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5298 job removed from bufferlist::loadLyXFile.
5299 * buffer.C (setReadOnly): make it work without view
5300 (i.e added an if (users))
5302 2003-06-19 Angus Leeming <leeming@lyx.org>
5305 * LyXAction.C (init):
5306 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5307 with LFUN_DIALOG_SHOW <name> <data>.
5309 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5311 * CutAndPaste.C (availableSelections): small compilation fix for
5312 ancient (gcc 2.9x) compilers
5314 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5316 * text3.C (cursorNext): add tmp var
5318 * text2.C (updateCounters): for function calling out of for clause
5319 (replaceSelectionWithString): ditto
5320 (insertStringAsParagraphs): ditto
5321 (getColumnNearX): add tmp var
5322 (setCursorFromCoordinates): add tmp var
5323 (cursorDownParagraph): add tmp var
5324 (deleteEmptyParagraphMechanism): add tmp var
5326 * text.C (insertChar): add tmp var
5328 * rowpainter.C (paintDepthBar): add tmp var
5330 * CutAndPaste.C (availableSelections): potentially check all
5331 paragraphs in a cut to fill the shown strings.
5333 2003-06-18 André Pönitz <poenitz@gmx.net>
5335 * kbmap.[Ch]: use vector<> instead of list<>
5337 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5339 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5340 pasteSelection with index
5342 * text2.C (pasteSelection): modify, call pasteSelection with index
5344 * paragraph.C (asString): reimplement version with no interval to
5345 call the one with interval.
5347 * lyxtext.h: add index arg to pasteSelection
5349 * MenuBackend.C (MenuItem): handle PasteRecent
5350 (Menu::read::Menutags): add md_pasterecent
5352 (expandPasteRecent): new function
5355 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5357 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5359 (availableSelections): new function
5361 2003-06-17 Angus Leeming <leeming@lyx.org>
5363 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5365 2003-06-17 Angus Leeming <leeming@lyx.org>
5368 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5370 * lyxfunc.C (dispatch): invoke it.
5372 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5374 * iterators.C (operator++, ParPosition): reintroduce some
5375 const_cast for the benefit of older compilers.
5377 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5379 * text3.C (dispatch): do not modify clipboard when doing
5380 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5381 LFUN_DELETE_SKIP on a selection selection
5383 2003-06-16 André Pönitz <poenitz@gmx.net>
5389 * tabular.[Ch]: IU of clone() and getLabelList();
5391 2003-06-13 André Pönitz <poenitz@gmx.net>
5393 * tabular.h: compactification
5395 2003-06-12 André Pönitz <poenitz@gmx.net>
5399 * tabular_funcs.h: some renaming plus whitespace
5401 2003-06-12 André Pönitz <poenitz@gmx.net>
5404 * BufferView_pimpl.C:
5410 * toc.C: Return a Paragraph & for ParIterator::operator*()
5412 2003-06-11 John Levon <levon@movementarian.org>
5416 * ToolbarBackend.C: add "Toolbars" section and
5419 2003-06-10 Angus Leeming <leeming@lyx.org>
5422 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5424 * lyxfunc.C (dispatch): invoke it.
5426 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5428 * main.C: protect <ios> with HAVE_IOS
5429 (main): protect sync_with_stdio with HAVE_IOS
5431 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5433 * text2.C (cutSelection): adjust
5434 (pasteSelection): adjust
5436 * messages.C: handle get of empty string
5438 * main.C (main): use sync_with_stdio(false)
5440 * lyxfunc.C (dispatch): adjust
5442 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5443 (WriteAs): remove unneeded BufferView arg.
5445 * bufferparams.h: use correct types on papersize, papersize2 and
5448 * bufferparams.C (readToken): adjust for type
5449 (writeLaTeX): add missing cases to switch.
5451 * bufferlist.C (quitWriteBuffer): adjust
5454 * buffer.C (asciiParagraph): remove some commented code.
5456 * CutAndPaste.C: remove current_view extern variable.
5457 (cutSelection): add BufferParams arg.
5458 (eraseSelection): add BufferParams arg.
5459 (pasteSelection): add Buffer const & arg
5461 2003-06-07 John Levon <levon@movementarian.org>
5464 * paragraph_funcs.C:
5465 * paragraph_pimpl.C:
5469 * paragraph.C: allow InsetERT to freely space lines,
5470 and some consolidation of code
5472 2003-06-06 José Matos <jamatos@fep.up.pt>
5474 * buffer.C (makeDocBookFile): fix bug #821
5476 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5478 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5480 2003-06-04 Angus Leeming <leeming@lyx.org>
5482 * buffer.C: bump format to 224.
5484 2003-06-05 André Pönitz <poenitz@gmx.net>
5486 * text2.C (redoParagraphs): remove two const_cast<>
5488 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5490 * ParagraphList.h: remove last remnants of NO_STD_LIST
5492 2003-06-03 Angus Leeming <leeming@lyx.org>
5494 * factory.C (createInset): small change to the way InsetExternal's params
5497 2003-06-04 André Pönitz <poenitz@gmx.net>
5499 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5501 * paragraph_pimpl.h:
5502 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5504 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5506 * undo_funcs.C: make some simple cases of undo work again
5508 2003-06-03 John Levon <levon@movementarian.org>
5510 * ispell.C: HPUX doesn't have sys/select.h
5513 2003-06-03 John Levon <levon@movementarian.org>
5515 * CutAndPaste.C: update tabular and include inset
5520 * paragraph.C: remove owningBuffer(), don't pass Buffer
5523 * factory.C: insetGraphicsParams changed
5525 2003-06-02 John Levon <levon@movementarian.org>
5531 * text3.C: remove insetparent
5533 2003-06-02 John Levon <levon@movementarian.org>
5536 * buffer.C: fix inset_iterator.end(), move out of line
5539 2003-06-01 John Levon <levon@movementarian.org>
5541 * text3.C: use a proper cut/paste when doing inset
5542 insert (from Jürgen Spitzmüller)
5544 2003-06-01 John Levon <levon@movementarian.org>
5546 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5548 2003-05-30 André Pönitz <poenitz@gmx.net>
5550 * rowpainter.C: unify second drawing phase
5552 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5554 * trans_mgr.C: remove one case of current_view
5556 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5558 * paragraph_funcs.h: remove paragraph.h include
5560 * paragraph.h: delete NO_STD_LIST stuff
5562 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5564 * buffer.h: remove paragraph.h include
5566 * ParagraphList.C: delete file
5568 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5570 * toc.C (getTocList): adjust
5572 * paragraph_pimpl.C (validate): adjust
5574 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5576 * paragraph.C (Paragraph): adjust
5577 (getPositionOfInset): use const_iterator, adjust
5578 (bibitem): use const_iterator, adjust
5579 (setInsetOwner): adjust
5581 * iterators.C (operator++): adjust
5583 * InsetList.[Ch]: Replace selfmade iterator with standard
5584 vector::iterator also introduce const_iterator. Remove getPos,
5585 getInset and setInset from InsetTable. Adjust accordingly.
5587 * BufferView.C (lockInset): adjust
5588 (ChangeInsets): adjust
5590 * tabular.[Ch]: delete commented same_id functions
5592 2003-05-28 John Levon <levon@movementarian.org>
5594 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5596 2003-05-28 André Pönitz <poenitz@gmx.net>
5598 * metricsinfo.[Ch]: remove 'fullredraw' member
5600 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5602 * lyxtextclass.C (operator): remove caching.
5604 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5608 * text2.C (cursorBottom): adjust
5609 (setCounter): use ParagraphList::find, adjust
5611 * text.C (workWidth): use ParagraphList::find, adjust
5613 * lyxcursor.C (LyXCursor): adjust
5615 * buffer.C (inset_iterator): adjust
5617 * ParagraphList.h: make iterator(value_type) private, make
5618 ParagraphList a friend of iterator.
5620 * ParagraphList.C (find): new function
5622 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5624 2003-05-27 André Pönitz <poenitz@gmx.net>
5626 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5628 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5630 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5632 2003-05-26 John Levon <levon@movementarian.org>
5634 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5636 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5638 * remove same_id from function signatures, adjust.
5640 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5642 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5644 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5646 * paragraph.C (Paragraph): get rid of same_ids parameter
5648 * ParagraphList.C (insert): adjust
5651 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5653 * paragraph_funcs.C (breakParagraph): adjust
5654 (breakParagraphConservative): adjust
5656 * buffer.C (readParagraph): adjust
5658 * ParagraphList.C (insert): take a reference instead of a pointer
5661 * paragraph.[Ch] (id): new function
5663 * bufferlist.C (newFile): adjust
5665 * ParagraphList.C (ParagraphList): adjust
5667 (push_back): take a reference instead of a pointer.
5669 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5671 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5674 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5675 set else use old code.
5677 * ParagraphList.C: remove all NO_NEXT code and only compile this
5678 code of NO_STD_LIST is set.
5680 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5682 * BufferView_pimpl.C:
5692 * graphics/GraphicsConverter.C:
5693 * graphics/PreviewLoader.C: header adjustment
5695 2003-05-23 Angus Leeming <leeming@lyx.org>
5697 * LaTeXFeatures.[Ch] (useBabel): new method.
5698 * bufferparams.C (writeLaTeX): use it.
5700 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5702 * ParagraphList.h (set): remove unused function.
5704 2003-05-23 André Pönitz <poenitz@gmx.net>
5707 * BufferView_pimpl.C:
5711 * undo_funcs.C: setUndo reworked
5713 * iterators.[Ch]: add access to topmost ParagraphList
5715 * lyxtext.[Ch] (workWidth): add a const
5717 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5719 * texrow.[Ch] (increasePos): remove function
5720 * exporter.C (export): removed unused var and outdated comment
5722 2003-05-23 Angus Leeming <leeming@lyx.org>
5724 * latexrunparams.h: rename fragile as moving_arg.
5725 * paragraph.C (simpleTeXOnePar): ditto.
5726 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5728 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5730 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5732 (textUndoOrRedo): comment out a currently unused var.
5734 * paragraph.h (NO_NEXT): enable NO_NEXT
5736 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5738 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5740 * exporter.C (Export): adjust for removeAutoInsets removal.
5742 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5744 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5746 * BufferView.[Ch] (removeAutoInsets): delete function
5748 2003-05-22 Angus Leeming <leeming@lyx.org>
5750 * latexrunparams.h: add a free_spacing variable.
5752 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5753 to pass moving_arg, as the data is stored in runparams.fragile.
5755 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5756 to Inset::latexOptional or to simpleTeXOnePar.
5758 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5759 free_spacing arg to Inset::latexOptional.
5761 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5764 2003-05-22 Angus Leeming <leeming@lyx.org>
5766 * latexrunparams.h: add fragile and use_babel variables.
5768 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5769 * buffer.C (makeLaTeXFile): store this returned value in
5770 runparams.use_babel, thus passing it to the inset::latex methods.
5772 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5773 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5775 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5776 longer has a fragile arg, as it is stored in runparams.fragile.
5778 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5779 moving_arg parameter as the data is stored in runparams.fragile.
5781 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5782 a fragile parameter as the data is stored in runparams.fragile.
5784 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5786 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5788 2003-05-22 Angus Leeming <leeming@lyx.org>
5790 * latexrunparams.h: add a 'bool nice' which defaults to false.
5792 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5793 now encapsulated within runparams.
5795 * bufferlist.C (updateIncludedTeXfiles):
5796 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5798 2003-05-22 Angus Leeming <leeming@lyx.org>
5800 * latexrunparams.h: new file containing struct LatexRunParams.
5801 * Makefile.am: add new file.
5803 * LaTeX.[Ch] (c-tor, run):
5804 * buffer.[Ch] (makeLaTeXFile):
5805 * bufferlist.[Ch] (updateIncludedTeXfiles):
5806 * converter.C (convert, scanLog):
5807 * converter.[Ch] (runLaTeX):
5808 * exporter.C (Export):
5809 * paragraph.[Ch] (simpleTeXOnePar):
5810 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5811 * paragraph_funcs.[Ch] (latexParagraphs):
5812 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5813 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5814 pass around a LatexRunParams parameter.
5816 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5818 * paragraph.[Ch]: remove unused constructor
5820 * ParagraphList.C (erase): new function, taking two iterators
5822 2003-05-22 André Pönitz <poenitz@gmx.net>
5824 * undo_funcs.C: remove duplicated code
5826 * iterator.[Ch]: operator=
5828 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5830 * tabular.C (SetMultiColumn): ws changes
5832 * rowpainter.C (paintFirst): get rid of a ->previous
5834 * lyx_cb.C (getPossibleLabel): parlist simplification
5836 * BufferView.C (ChangeInsets): simplify slightly.
5838 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5840 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5841 * lfuns.h: new LFUN_SPACE
5842 * lyxfunc.C: protected space has a new lfun
5843 * paragraph_funcs.C: read new space insets
5845 * factory.C: handle new space insets
5847 2003-05-22 André Pönitz <poenitz@gmx.net>
5850 * BufferView_pimpl.C:
5853 * undo_funcs.C: return a ParIterator from getParFromID.
5855 * iterators.[Ch]: add two const's
5857 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5859 * toc.C (getTocList): adjust
5861 * iterators.[Ch]: rework for parlist
5863 * buffer.C (par_iterator_begin): adjust
5864 (par_iterator_end): adjust
5866 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5868 * BufferView.C (removeAutoInsets): adjust
5869 (ChangeInsets): adjust
5871 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5873 * text.C (top_y): fix bug 1110
5875 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5877 * errorlist.[Ch]: added
5880 * BufferView_pimpl.C:
5881 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5884 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5886 * Makefile.am: ensure that lyx is relinked upon changes to the
5887 various "convenience" libs.
5889 2003-05-20 Angus Leeming <leeming@lyx.org>
5891 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5892 files are compiled in alphabetical order again.
5894 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5896 2003-05-19 Angus Leeming <leeming@lyx.org>
5898 * gettext.[Ch]: remove "char const * _(char const *)".
5900 2003-05-19 André Pönitz <poenitz@gmx.net>
5902 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5911 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5913 2003-05-19 André Pönitz <poenitz@gmx.net>
5917 * lyxtextclass.[Ch]:
5919 * paragraph_funcs.[Ch]:
5921 * text3.C: more insetenv work
5923 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5925 * ParagraphParameters.C (params2string): small bug fixed
5927 2003-05-16 André Pönitz <poenitz@gmx.net>
5930 * bufferview_funcs.C: patch from Kornel Benko to prevent
5931 crash when _(...) is called twice in a statement
5933 2003-05-16 André Pönitz <poenitz@gmx.net>
5940 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5942 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5944 * lyx_main.C (init): remove spurious static_cast
5946 2003-05-14 André Pönitz <poenitz@gmx.net>
5948 * BufferView.C: fix format string
5950 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5952 * BufferView.[Ch] (insertErrors): removed
5953 * BufferView.[Ch] (showErrorList): added
5954 * buffer.C (runChkTeX):
5955 * converter.C (scanLog): call showErrorList instead of inserterrors
5957 2003-05-13 André Pönitz <poenitz@gmx.net>
5959 * BufferView_pimpl.C:
5961 * bufferview_func.C:
5968 * tabular_funcs.h: tostr() from its own header
5970 * ParagraphParameters.C:
5975 * text3.C: STRCONV()
5977 2003-05-12 André Pönitz <poenitz@gmx.net>
5980 * BufferView_pimpl.C:
5984 * ParagraphParameters.C:
5988 * bufferview_funcs.C:
6001 * paragraph_funcs.C:
6005 * text3.C: boost::format -> bformat all over the place
6008 2003-05-09 André Pönitz <poenitz@gmx.net>
6010 * LColor.[Ch]: Pimpl the #include <map> away
6012 2003-05-09 John Levon <levon@movementarian.org>
6014 * bufferlist.C: never remove emergency saves
6016 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6018 * Makefile.am: better lib building
6020 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6022 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6024 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6025 (simpleTeXSpecialChars): adjust
6026 (simpleTeXSpecialChars): adjust
6027 * paragraph.C (simpleTeXOnePar): adjust
6028 * buffer.C (makeLaTeXFile): adjust
6030 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6032 * text2.C (changeDepth): parlist cleanup
6033 (getColumnNearX): ditto
6035 * rowpainter.C (getLabelFont): parlist cleanup
6037 * bufferlist.C (newFile): parlist cleanup
6039 * CutAndPaste.C (eraseSelection): parlist cleanup
6041 * BufferView_pimpl.C (trackChanges): parlist cleanup
6044 * BufferView.C (lockInset): parlist cleanup.
6045 (ChangeInsets): ditto
6047 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6049 * CutAndPaste.h: Update file header.
6051 * CutAndPaste.C: Update file header.
6052 Store the parts cut out of the Document in a limited_stack.
6053 (copySelection): adjust
6054 (pasteSelection): new function, takes the index in the limited stack.
6055 (nrOfParagraphs): adjust
6056 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6057 simplify error inset insertion.
6058 (checkPastePossible): adjust
6060 2003-05-06 John Levon <levon@movementarian.org>
6062 * text2.C: don't cast wrap inset to float
6064 2003-05-05 André Pönitz <poenitz@gmx.net>
6067 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6069 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6070 few naked Paragraph *.
6072 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6074 * bufferparams.C: Output warning if a document with missing
6075 TeX document class is loaded
6076 * exporter.C: Disable TeX exports if the document class is missing
6079 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6080 isTeXClassAvailable()
6082 2003-05-03 John Levon <levon@movementarian.org>
6085 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6086 explicit cursor show/hide
6088 * BufferView_pimpl.h:
6089 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6090 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6092 * lyxfunc.C: hide cursor before dispatching.
6097 * text3.C: remove explicit cursor hides
6099 2003-05-02 André Pönitz <poenitz@gmx.net>
6101 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6104 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6107 * text2.C: tiny whitespace
6109 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6111 * undo_funcs.C: almost only ws changes.
6113 * ParagraphList.C (splice): just return if pl is empty.
6115 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6117 * ParagraphList.C (splice): new function.
6119 * CutAndPaste.C (pasteSelection): use it
6121 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6123 * CutAndPaste.C (pasteSelection): remove the last next and
6124 previous from this file.
6126 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6128 * CutAndPaste.C (pasteSelection): more clean up, user proper
6129 ParagraphList functions for pasteing.
6131 * ParagraphList.C (insert): new function, three arg insert
6133 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6135 * ParagraphList.C (insert): new function, three arg insert
6137 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6140 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6142 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6144 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6146 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6148 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6150 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6151 (copySelection): clean up a bit.
6152 (pasteSelection): use make_pair
6154 * ParagraphList.C (ParagraphList): implement copy constructor
6155 (operator=): implement, base on copy constructor.
6158 * paragraph.C (erase): return a bool
6160 * paragraph_pimpl.C (erasePos): remove function, move contents...
6161 (erase): ... here. Return a bool.
6162 (erase): call erase instead of erasePos.
6164 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6166 * ParagraphList.h: define PitPosPair
6167 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6168 ParagraphList, fix a bug on pasting multiple pars
6169 * text2.C: change interface to C&P
6171 2003-04-30 André Pönitz <poenitz@gmx.net>
6173 * undo_func.C: revert part of yesterday's patch 2
6175 2003-04-30 John Levon <levon@movementarian.org>
6177 * LColor.C: s/tabular/table/
6179 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6181 * text3.C (dispatch): do not convert iterator -> pointer
6182 * undo_funcs.C (setCursorParUndo): ditto
6183 * text_funcs.C (transposeChars): ditto
6185 * text2.C (setLayout): ws changes only
6187 * text.C (breakParagraph): do not convert iterator -> pointer
6189 (acceptChange): ditto
6190 (rejectChange): ditto
6195 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6198 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6200 * text3.C (gotoInset): YABG (yet another bad getChar)
6202 2003-04-29 André Pönitz <poenitz@gmx.net>
6204 * paragraph.h: make operator= private unimplemented as long as
6207 * ParagraphList.C: whitespace
6210 * paragraph_pimpl.[Ch]:
6211 * paragraph_funcs.C:
6213 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6216 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6218 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6220 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6221 * paragraph.[Ch] (erase):
6222 * paragraph_pimpl.[Ch] (erase): change return type and value
6223 * text2.C (cutSelection): some rework
6225 2003-04-28 John Levon <levon@movementarian.org>
6227 * bufferlist.C: changes for unsaved changes dialog
6229 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6231 * bufferlist.C (newFile): set language (messages_) for new
6234 * buffer.C (readFile): ws changes only.
6236 2003-04-28 André Pönitz <poenitz@gmx.net>
6241 * BufferView_pimpl.C:
6242 * BufferView.C: getParFromID related ParagraphList::iterator changes
6244 2003-04-28 André Pönitz <poenitz@gmx.net>
6246 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6249 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6251 * messages.C: remove one more localedir class variable.
6253 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6255 * messages.C (getLocaleDir): singleton generation function
6257 (Messages): add a default constructor.
6259 * main.C (main): do not setup localedir here, do not call
6262 * gettext.C (_): use it.
6263 (gettext_init): delete funciton
6265 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6267 * gettext.C (getLyXMessages): new singleton generating function.
6269 * buffer.C (updateDocLang): adjust
6271 * Makefile.am (messages.o): add target
6272 (main.o): remove target
6274 2003-04-27 John Levon <levon@movementarian.org>
6279 * lyxvc.C: specify cancel button in Alert::prompt
6281 2003-04-26 John Levon <levon@movementarian.org>
6286 * LyXAction.C: add LFUN_INSET_SETTINGS
6288 * lyxfunc.C: don't enable tabular-feature when there's
6289 just any locking inset
6291 2003-04-26 John Levon <levon@movementarian.org>
6293 * bufferlist.C: re-add Cancel to buffer close question
6295 * lyxfunc.C: fix import UI a bit
6297 2003-04-25 John Levon <levon@movementarian.org>
6299 * gettext.C: remove the broken asserts for now
6301 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6303 * messages.C: make case where setlocale cannot comply work better.
6305 * buffer.C (updateDocLang): new function
6306 (changeLanguage): use it
6309 * text2.C (setCounter): use B_ a bit.
6311 * lyxlayout.C (Read): be sure to trim the label strings.
6313 * messages.C (Messages): fix typo in comment
6315 * buffer.C (readFile): set message_ after file is loaded.
6316 (makeDocBookFile): remove double return
6317 (changeLanguage): reset message_ upon language change.
6318 (B_): new func, use this to get translated buffer strings.
6320 * main.C: add myself and Jean Marc as authors.
6322 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6324 * messages.[hC]: pimplify Messages, and three different pimpls to be
6325 used in different circumstances.
6327 * gettext.[Ch]: change for use with new message code.
6329 2003-04-24 André Pönitz <poenitz@gmx.net>
6331 * factory.C: support for eqref
6333 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6335 * messages.[Ch]: add missing char
6337 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6339 * messages.[Ch]: New files
6341 2003-04-18 John Levon <levon@movementarian.org>
6345 * BufferView_pimpl.C:
6349 * text2.C: remove layout-copy/paste (bug 778)
6351 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6353 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6355 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6357 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6358 if they succeed. Act accordingly.
6360 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6362 * text2.C (setCharFont): adjust
6363 (setCounter): adjust
6364 (insertStringAsLines): adjust
6366 * text.C (leftMargin): adjust
6367 (setHeightOfRow): adjust
6369 * rowpainter.C (paintFirst): adjust
6372 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6374 (isFirstInSequence): ditto
6375 (getEndLabel): ditto
6378 * paragraph.C (getParLanguage): comment out some hard stuff.
6380 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6382 (simpleDocBookOnePar): ditto
6383 (makeDocBookFile): use ParagraphList::iterator
6385 * CutAndPaste.C (pasteSelection): adjust
6387 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6389 * text2.C (getFont): adjust
6390 (getLayoutFont): adjust
6391 (getLabelFont): adjust
6393 * paragraph_funcs.C (TeXOnePar): adjust
6395 * buffer.C (simpleLinuxDocOnePar): adjust
6396 (simpleDocBookOnePar): adjust
6398 * CutAndPaste.C (pasteSelection): adjust
6400 * BufferView.C (getEncoding): adjust
6402 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6404 2003-04-16 John Levon <levon@movementarian.org>
6406 * lyxfind.C: use parlist stuff for search/changes
6408 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6410 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6412 * text2.C (deleteEmptyParagraphMechanism): adjust
6414 * text2.[Ch] (ownerParagraph): delete func (both of them
6416 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6418 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6420 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6422 * ParagraphList.C: prepare for NO_NEXT
6424 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6426 * text2.C (getFont): adjust
6427 (getLayoutFont): adjust
6428 (getLabelFont): adjust
6430 * paragraph.C (getFont): adjust
6431 (getLabelFont): adjust
6432 (getLayoutFont): adjust
6434 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6436 2003-04-15 John Levon <levon@movementarian.org>
6440 * lyx_main.C: handle Include in .ui files
6442 2003-04-15 John Levon <levon@movementarian.org>
6444 * MenuBackend.C: make the doc files length shorter
6447 * ToolbarBackend.C: handle toolbar placement flags,
6450 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6452 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6455 * paragraph_funcs.C (TeXOnePar): adjust
6457 * paragraph.C (getLabelFont): add outerfont arg, adjust
6458 (getLayoutFont): ditto
6459 (simpleTeXOnePar): adjust
6461 * paragraph_pimpl.C (realizeFont): delete func
6463 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6465 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6466 row argument, constify cur argument.
6468 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6470 * text2.C (getFont): adjust
6471 (getLayoutFont): adjust
6472 (getLabelFont): adjust
6474 * paragraph_funcs.C (TeXOnePar): adjust
6475 (outerFont): new func...
6476 (realizeFont): ...moved out from here, changed this to facilitate
6479 * paragraph.C (getFont): take outerfont as arg, adjust
6480 (simpleTeXOnePar): add outerfont arg, adjust
6482 * buffer.C (simpleLinuxDocOnePar): adjust
6483 (simpleDocBookOnePar): adjust
6485 * CutAndPaste.C (pasteSelection): adjust
6487 * BufferView.C (getEncoding): adjust
6489 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6491 * text2.C (setCharFont): adjust
6492 (setCounter): adjust
6494 * text.C (leftMargin): adjust
6495 (setHeightOfRow): adjust
6497 * rowpainter.C (paintFirst): adjust
6500 * paragraph_pimpl.C (realizeFont): adjust
6502 * paragraph.C (isFirstInSequence): move from here...
6503 * paragraph_funcs.C (isFirstInSequence): ...to here
6505 * paragraph.C (outerHook): move from here...
6506 * paragraph_funcs.C (outerHook): ...to here
6508 * paragraph.C (depthHook): move from here...
6509 * paragraph_funcs.C (depthHook): ...to here
6511 * paragraph.C (getEndLabel): move from here...
6512 * paragraph_funcs.C (getEndLabel): ...to here
6514 * text2.C (realizeFont): move from here...
6515 * paragraph_funcs.C (realizeFont): ...to here
6517 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6519 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6521 2003-04-14 Angus Leeming <leeming@lyx.org>
6523 * LColor.[Ch]: scrap LColor mathcursor.
6525 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6527 * lyxlex.[Ch] (text): delete function
6528 * trans.C (Load): adjust
6529 * paragraph_funcs.C (readParToken): adjust
6531 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6533 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6534 vector<char> instead of a char[].
6536 * lyxlex_pimpl.C (getString): adjust
6538 (lex): use getString
6542 * lyxlex.C (text): use pimpl_->getString()
6546 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6548 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6549 (makeFontEntriesLayoutSpecific): temp var for par.size()
6550 (setLayout): temp var for ownerParagraphs().end()
6551 (fullRebreak): temp var for rows().end()
6552 (selectionAsString): temp var for boost::next(startpit), realize
6553 that the while really is a regular for loop.
6554 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6555 setCursor in one place.
6556 (setParagraph): temp vr for ownerParagraphs().end()
6557 (updateCounters): make the while loop a for loop
6558 (cutSelection): temp var for ownerParagraphs().end()
6559 (updateInset): make the do {} while() a regular for loop
6560 (getCursorX): use temp vars
6561 (setCurrentFont): use temp vars
6562 (getColumnNearX): use temp vars
6564 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6566 * text.C (transformChar): use temp var for getChar
6567 (computeBidiTables): use temp var for row->par()
6568 (fill): move temp vars for row->par() and pit->layout() earlier in
6570 (labelFill): use temp var for row->par()
6571 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6572 asc and desc, realize that pit never changes and that firstpit is
6573 just a duplicate and not needed. Exchange rit->par() with pit in a
6575 (breakAgain): use a temp var for boost::next(rit)
6576 (breakAgainOneRow): ditto
6577 (breakParagraph): use a temp var for rows().begin()
6578 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6579 (cursorRightOneWord): use temp var for cursor.par() and
6580 cursor.pos(), remove usage of tmpcursor.
6581 (cursorLeftOneWord): use temp var for cursor.par() and
6582 cursor.pos() only set cur at end of function.
6584 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6586 * text.C, text2.C: exchange all usage of Paragraph::next with
6587 boost::next(ParagraphList::iterator)
6589 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6591 * text2.C (cursorTop): simplify implementation
6592 (cursorBottom): ditto
6593 (setParagraph): use ParagraphList::iterator
6594 (setCurrentFont): adjust
6595 (getColumnNearX): adjust
6596 (cursorRight): adjust
6597 (cursorLeft): remove usage of Paragraph::previous
6598 (cursorUpParagraph): ditto
6599 (deleteEmptyParagraphMechanism): slight cleanup
6601 * text.C (isBoundary): take a Paragraph const & instead of a
6603 (addressBreakPoint): ditto
6604 (leftMargin): remove usage of Paragraph::previous.
6605 (setHeightOfRow): ditto
6606 (cursorLeftOneWord): ditto
6607 (selectNextWordToSpellcheck): ditto
6610 (breakParagraph): remove one usage of Paragraph::next
6611 (redoParagraph): ditto
6612 (acceptChange): ditto
6613 (insertChar): adjust
6614 (rowBreakPoint): adjust
6616 * bufferview_funcs.C (toggleAndShow): adjust
6618 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6620 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6621 methods to access it.
6623 * text.C: Added updateRowPositions to compute all row positions.
6624 Make top_y and getRowNearY() to use the cached y position
6626 2003-04-11 John Levon <levon@movementarian.org>
6628 * text.C (rowBreakPoint): reintroduce the labelEnd
6629 checks, code copied from the row fill stuff. Deep voodoo.
6631 * text.C (fill): add a comment and debugging for the
6634 2003-04-11 John Levon <levon@movementarian.org>
6636 * text.C: make sure fullrow insets get wrapped to the next line,
6637 even when they're in a manual label
6639 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6641 * text2.C (insertParagraph): make it take ParagraphList::iterator
6643 (setLayout): make it return ParagraphList::iterator
6644 (redoParagraphs): ditto
6646 (checkParagraph): ditto
6648 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6650 * text2.C: adjust several funcs.
6651 (realizeFont): take a ParagraphList::iterator as arg.
6652 (getLayoutFont): ditto
6653 (getLabelFont): ditto
6654 (setCharFont): ditto
6656 * text.C: adjust several funcs.
6658 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6660 * text.C (selectNextWordToSpellcheck): don't accidentally
6663 2003-04-10 John Levon <levon@movementarian.org>
6665 * ToolbarBackend.C (getIcon): special handling for
6668 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6670 * text2.C (cursorRight): a getChar assert fixed
6672 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6674 * text2.C (getFont): change to take a ParagraphList::iterator
6675 instead of Paragraph*
6676 Adjust several functions.
6678 * text.C (transformChar): change to take a ParagraphList::iterator
6679 instead of Paragraph*
6680 (singleWidth): ditto
6681 Adjust several functions.
6683 * rowpainter.C: adjust several functions
6684 * rowpainter.h:store a ParagraphList::iterator and not a
6688 2003-04-09 John Levon <levon@movementarian.org>
6693 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6694 and the "help" bits as well
6696 2003-04-09 John Levon <levon@movementarian.org>
6699 * ToolbarBackend.C: allow multiple toolbars
6701 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6703 * undo_funcs.C (setCursorParUndo): adjust
6705 * text_funcs.C (transposeChars): adjust
6707 * text3.C (gotoNextInset): adjust
6710 * text2.C (setLayout): adjust
6711 (changeDepth): adjust
6713 (redoParagraphs): adjust
6714 (selectionAsString): adjust
6715 (setParagraph): adjust
6716 (insertInset): adjust
6717 (cutSelection): adjust
6718 (copySelection): adjust
6719 (pasteSelection): adjust
6720 (insertStringAsLines): adjust
6721 (updateInset): adjust
6722 (setCursor): change to take a ParagraphList::iterator parameter
6723 (setCursorIntern): change to take a ParagraphList::iterator parameter
6724 (setCurrentFont): adjust
6725 (cursorLeft): adjust
6726 (cursorRight): adjust
6727 (deleteEmptyParagraphMechanism): adjust
6729 * text.C (breakParagraph): adjust
6730 (insertChar): adjust
6731 (acceptChange): adjust
6732 (rejectChange): adjust
6733 (selectNextWordToSpellcheck): adjust
6734 (changeCase): adjust
6738 * lyxfind.C (SearchForward): adjust
6739 (SearchBackward): adjust
6740 (nextChange): adjust
6742 * lyxcursor.C (par): adjust
6744 * lyxcursor.h: store a ParagraphList::iterator instead of a
6747 * lyx_cb.C (getPossibleLabel): adjust
6749 * bufferview_funcs.C (toggleAndShow): adjust
6751 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6754 * BufferView.C (removeAutoInsets): adjust
6755 (lockedInsetStoreUndo): adjust
6757 2003-04-09 John Levon <levon@movementarian.org>
6759 * ToolbarBackend.C: try icon without argument
6760 if with argument fails
6762 2003-04-08 John Levon <levon@movementarian.org>
6765 * ToolbarBackend.C: add getIcon(), handle tooltip,
6766 and change from "Icon" to "Item".
6768 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6770 * BufferView.C (lockInset): another bad getchar crunched
6772 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6774 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6777 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6779 * lyxfind.C (searchForward, searchBackwards): bug 782
6781 2003-04-07 John Levon <levon@movementarian.org>
6783 * paragraph.C: remove dead comment
6785 * text.C: remove troublesome depth-fiddling code
6786 in leftMargin() and rightMargin() (bug 1017)
6788 * text.C: fix breaking of rows in nested lists
6791 * text2.C (updateCounters): fix up depth values
6794 2003-04-07 John Levon <levon@movementarian.org>
6796 * BufferView_pimpl.C: clear message when doc finishes resizing,
6797 and after a mouse event
6799 * lyxfunc.C: clear message after exiting inset
6801 2003-04-07 John Levon <levon@movementarian.org>
6803 * bufferview_funcs.C: show math status not outside
6804 status in the statusbar
6806 2003-04-07 John Levon <levon@movementarian.org>
6808 * lyxfunc.C: note status changed after a depth change
6810 2003-04-04 Angus Leeming <leeming@lyx.org>
6812 * LaTeX.h: move AuxInfo operator==, != out of line.
6813 Remove LaTeX virtual destructor; nothing derives from it.
6814 Move operator()() out of public area and rename it startscript().
6815 Change protected for private.
6817 2003-04-04 Angus Leeming <leeming@lyx.org>
6820 * text2.C: remove unneeded #includes.
6822 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6824 * text2.C (dEPM): fix the heigth of the next row
6826 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6828 * text.C: squashed an invalid getChar requester + some ws changes
6830 2003-04-03 John Levon <levon@movementarian.org>
6832 * bufferview_funcs.h:
6833 * bufferview_funcs.C:
6836 * text2.C: make getStatus work for the env depth lfuns
6838 2003-04-03 John Levon <levon@movementarian.org>
6840 * bufferview_funcs.h:
6841 * bufferview_funcs.C:
6844 * text2.C: parlistize decDepth(), by merging it with incDepth()
6846 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6848 * lyxrow.h: store a ParagraphList::iterator instead of a
6849 Paragraph* and adjust other class functions to suit.
6851 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6854 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6856 * text2.C (setCursor): do not anchor to cursor row for the time being
6858 2003-04-02 John Levon <levon@movementarian.org>
6865 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6867 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6869 * paragraph.h: make ParagraphList and ParagraphList::iterator
6870 friends of Paragraph.
6872 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6874 * ParagraphList.C: Use the private next_ and previous_ from
6877 2003-04-01 John Levon <levon@movementarian.org>
6881 * Makefile.am: rename, remove defaults gunk
6884 * MenuBackend.C: remove defaults gunk
6887 * Languages.C: remove defaults gunk
6890 * lyx_main.C: error out if files couldn't be found.
6892 2003-04-02 John Levon <levon@movementarian.org>
6894 * text2.C: make incDepth() use parlist
6896 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6898 * undo_funcs.C (firstUndoParagraph): adjust
6900 * text3.C (gotoInset): adjust
6901 (dispatch): adjust, and rewrite loop.
6903 * text2.C (init): adjust, and rewrite loop.
6904 (redoParagraphs): adjust
6905 (updateInset): adjust, and rewrite loop.
6906 (deleteEmptyParagraphMechanism): adjust
6908 * tabular.C (LyXTabular): adjust
6909 (SetMultiColumn): adjust
6912 * lyxtext.[Ch] (ownerParagraph): delete function
6913 (ownerParagraphs): new function returns a ParagraphList.
6915 * BufferView.C (removeAutoInsets): adjust
6916 (insertErrors): adjust
6917 (setCursorFromRow): adjust
6919 2003-04-01 Angus Leeming <leeming@lyx.org>
6921 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6924 2003-04-02 John Levon <levon@movementarian.org>
6930 * text_funcs.C: make transposeChars a free function
6932 * lyxrow_funcs.C: remove wrong comment
6934 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6937 * rowpainter.C: adjust
6942 * lyxrow_funcs. [Ch]: new files
6944 * lyxrow.[Ch]: remove next and previous pointers
6945 (next,previous): remove accessor functions
6946 (isParEnd): move to lyxrow_funcs
6947 (lastPos): move to lyxrow_funcs
6948 (nextRowIsAllInset): move to lyxrow_funcs
6949 (lastPrintablePos): move to lyxrow_funcs
6950 (numberOfSeparators): move to lyxrow_funcs
6951 (numberOfHfills): move to lyxrow_funcs
6952 (numberOfLabelHfills): move to lyxrow_funcs
6953 (hfillExpansion): move to lyxrow_funcs
6957 * bufferview_funcs.C (toggleAndShow): adjust
6959 * RowList.h: Remove class RowList from file leave just a
6962 * RowList.C: delete file
6964 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6967 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6969 * text3.C (cursorPrevious): adjust
6970 (cursorNext): adjust
6973 * text2.C (redoHeightOfParagraph): adjust
6974 (redoDrawingOfParagraph): adjust
6977 * text.C (breakParagraph): adjust
6978 (insertChar): adjust
6981 * rowpainter.C (RowPainter): adjust
6982 (leftMargin): simplify and adjust
6983 (most rowpainter functions): adjust.
6985 * rowpainter.h: store the row as RowList::iterator not as Row*
6987 * lyxcursor.C (row): taka RowList::iterator as arg
6990 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6993 2003-04-01 Angus Leeming <leeming@lyx.org>
6995 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6996 stuff like bool Bool.
6998 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7000 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7003 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7005 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7008 * lyxtext.h (rows): drop one version and leve a const variant that
7009 returns a RowList::iterator.
7011 2003-03-31 Angus Leeming <leeming@lyx.org>
7013 * text.C (fill): ensure that the signature is the same as that in the
7016 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7018 * text2.C (redoParagraphs): adjust
7019 (updateCounters): adjust
7020 (checkParagraph): adjust
7021 (getColumnNearX): adjust and reformat a bit.
7023 * text.C (top_y): adjust
7025 (leftMargin): adjust
7026 (prepareToPrint): adjust
7028 (getRowNearY): adjust
7030 * lyxtext.h: make rowlist_ mutable.
7032 * RowList.h: add const_iterator
7033 * RowList.C: adjust for RowList::const_iterator.
7035 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7038 2003-03-31 John Levon <levon@movementarian.org>
7041 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7043 * lyx_main.C: set default fonts from using lyx_gui funcs
7045 * exporter.C: pdf_mode moved from lyxrc
7048 * lyxfunc.C: changes from above
7050 2003-03-31 John Levon <levon@movementarian.org>
7052 * lyx_main.C: fix to the last fix
7054 2003-03-31 John Levon <levon@movementarian.org>
7056 * bufferlist.C: "Load original" -> "Load Original"
7062 * format.C: more Alert cleanups
7064 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7066 * text2.C (removeParagraph): make it take a RowList::iterator as
7068 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7069 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7071 * text.C (anchor_row): make it take a RowList::iterator as arg,
7073 (computeBidiTables): make it take a const reference to Row instead
7074 of Row pointer, adjust.
7075 (leftMargin): make it take a RowList::iterator as arg, adjust.
7076 (rowBreakPoint): adjust
7077 (breakAgainOneRow): make it take a RowList::iterator as arg,
7079 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7081 * bufferview_funcs.C (toggleAndShow): adjust
7083 2003-03-30 John Levon <levon@movementarian.org>
7087 * boost-inst.C: moved to support
7089 * several files: changes as a result
7091 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7093 * text2.C (LyXText): adjust.
7095 (removeRow): make it take a RowList::iterator as arg, adjust.
7096 (fullRebreak): adjust
7097 (deleteEmptyParagraphMechanism): adjust
7098 (clearPaint): adjust
7101 * text.C (top_y): adjust
7102 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7103 (breakAgain): make it take a RowList::iterator as arg, adjust.
7104 (breakParagraph): adjust
7105 (insertChar): adjust
7108 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7109 need_break_row, and refresh_row.
7111 * text3.C (dispatch): adjust
7113 * text2.C (checkParagraph): adjust
7115 (setCursorFromCoordinates): adjust
7117 * text.C (top_y): adjust
7119 (getRow): make it return a RowList::iterator, adjust
7120 (getRowNearY): make it return a RowList::iterator, adjust
7122 * text2.C (init): adjust
7123 (insertRow): remove function
7124 (insertParagraph): adjust
7125 (redoParagraphs): adjust
7126 (fullRebreak): adjust
7127 (updateCounters): adjust
7129 * text.C (top_y): rewrite to use RowList iterators.
7131 (setHeightOfRow): rewrite to sue RowList iterators.
7132 (appendParagraph): adjust
7133 (breakAgain): adjust
7134 (breakAgainOneRow): adjust
7135 (breakParagraph): adjust
7137 (getRowNearY): adjust, and remove commented code.
7139 * lyxtext.h (firstRow): delete function
7140 (lastRow): delete function
7141 (rows): new function (const and non-const versions.)
7142 (insertRow): delete function
7144 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7146 2003-03-29 John Levon <levon@movementarian.org>
7148 * BufferView_pimpl.C: always update scrollbar top
7149 because pasting text when we're anchored could mean we
7150 miss an update altogether
7152 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7154 * text2.C (init): use rowlist_.end() and not 0.
7155 (insertRow): change to take a RowList::iterator as arg, adjust
7157 (insertParagraph): change to take a RowList::iterator as arg,
7159 (redoParagraphs): remove some debug msgs.
7161 * text.C (appendParagraph): change to take a RowList::iterator
7162 arg, adjust for this.
7163 (breakAgain): add an assert
7164 (breakAgainOneRow): ditto
7166 2003-03-29 John Levon <levon@movementarian.org>
7168 * text2.C: do not clear selection after inc/decDepth
7171 2003-03-29 John Levon <levon@movementarian.org>
7174 * buffer.C: fix broken strerrors according to Lars
7176 2003-03-29 John Levon <levon@movementarian.org>
7178 * converters.C: more Alert cleanups
7180 2003-03-29 John Levon <levon@movementarian.org>
7182 * bufferview_funcs.C: remove pointless Alert
7184 * buffer.C: fix confusing error message when
7185 a template is chmoded 000
7187 2003-03-29 John Levon <levon@movementarian.org>
7191 * BufferView_pimpl.C: Alert fixes
7195 * tabular-old.C: remove unused table compat reading
7197 2003-03-29 John Levon <levon@movementarian.org>
7202 * lyx_cb.C: more Alert cleanups
7204 * lyxfunc.C: don't allow chktex if not latex document
7206 2003-03-29 John Levon <levon@movementarian.org>
7210 * buffer.C: warnings pushed down from support/,
7213 2003-03-29 John Levon <levon@movementarian.org>
7215 * lyxfunc.C: safety check for C-r (revert)
7217 2003-03-29 John Levon <levon@movementarian.org>
7220 * bufferlist.C: several UI fixes using Alert::prompt.
7221 Fix the pointless looping quit code. Fix stupid revert
7226 * lyx_cb.C: use Alert::prompt
7228 * lyx_main.C: remove a silly question
7230 * lyxfunc.C: remove a couple of silly questions,
7233 2003-03-28 John Levon <levon@movementarian.org>
7235 * text2.C: fix bug 974 (End on empty par)
7237 2003-03-28 John Levon <levon@movementarian.org>
7239 * BufferView_pimpl.C:
7241 * lfuns.h: remove do-nothing math greek lfuns
7243 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7245 * lyxgluelength.h (isValidGlueLength): add default arg on
7246 parameter 2. Remove default arg from friend in class.
7248 * lyxlength.h (isValidLength): add default arg on parameter 2.
7249 Remove default arg from friend in class.
7251 * text2.C (LyXText): adjust, initialize refresh_row.
7255 (insertParagraph): adjst
7256 (redoParagraphs): adjust
7257 (fullRebreak): adjust
7258 (updateCounters): adjust
7259 (deleteEmptyParagraphMechanism): first attempt at fixing a
7262 * text.C (top_y): adjust
7263 (setHeightOfRow): adjust
7265 (getRowNearY): adjust
7267 * lyxtext.h: include RowList.h
7268 (~LyXText): not needed anymore, deleted.
7269 (firstRow): modify for RowList
7270 (lastRow): new function
7271 Delete firstrow and lastrow class variables, add a Rowlist
7272 rowlist_ class variable.
7274 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7277 * RowList.C (insert): fix case where it == begin().
7279 2003-03-26 Angus Leeming <leeming@lyx.org>
7281 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7282 the thesaurus dialog.
7284 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7286 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7288 * RowList.[Ch]: new files
7290 * ParagraphList.C (erase): handle the case where it == begin
7293 2003-03-25 John Levon <levon@movementarian.org>
7297 * aspell.C: add new aspell support
7300 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7303 2003-03-25 Angus Leeming <leeming@lyx.org>
7306 * LyXAction.C (init): new LFUN_INSET_INSERT.
7308 * BufferView_pimpl.C (dispatch): split out part of the
7309 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7311 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7314 2003-03-25 Angus Leeming <leeming@lyx.org>
7316 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7318 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7321 * text3.C: remove useless row->height(0)
7323 2003-03-25 John Levon <levon@movementarian.org>
7327 * text3.C: rename the refreshing stuff to better names
7329 2003-03-24 John Levon <levon@movementarian.org>
7331 * BufferView_pimpl.h:
7332 * BufferView_pimpl.C: update layout choice on a mouse
7335 2003-03-23 John Levon <levon@movementarian.org>
7337 * Makefile.am: fix commandtags.h reference
7339 2003-03-22 John Levon <levon@movementarian.org>
7341 * BufferView_pimpl.C:
7346 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7348 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7351 * text.C: take the rtl methods out of line
7353 2003-03-21 André Pönitz <poenitz@gmx.net>
7355 * metricsinfo.[Ch]: new files containing structures to be passed around
7356 during the two-phase-drawing...
7358 2003-03-21 André Pönitz <poenitz@gmx.net>
7360 * lyxtextclass.C: read 'environment' tag.
7362 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7364 * text2.C (removeRow): fix bug 964
7366 2003-03-20 John Levon <levon@movementarian.org>
7370 * text2.C: paint cleanups. Inset::update() dropped font
7373 2003-03-19 John Levon <levon@movementarian.org>
7375 * lyxfunc.C: only fitcursor/markDirty if available()
7377 2003-03-19 John Levon <levon@movementarian.org>
7379 * commandtags.h: rename to ...
7381 * lfuns.h: ... this, and renumber / cleanup
7383 2003-03-19 John Levon <levon@movementarian.org>
7385 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7386 fit the cursor after an lfun
7390 * BufferView_pimpl.h:
7391 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7393 * LyXAction.C: layout-character should have ReadOnly
7395 * ParagraphParameters.C:
7397 * bufferview_funcs.C:
7404 * undo_funcs.C: changes from above
7406 2003-03-18 John Levon <levon@movementarian.org>
7408 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7409 remove it from update()
7411 * lyxfunc.C: update layout choice after an lfun
7413 * text3.C: remove extra updateLayoutChoice()s
7415 2003-03-18 John Levon <levon@movementarian.org>
7417 * text.C: top_y change means full repaint, fix
7418 a drawing bug with cursor movement
7420 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7424 * text2.C: anchor row on setCursor
7426 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7428 * lyxtext.h: remove almost all mutable keywords
7431 * text3.C: remove const keywords accordingly
7433 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7435 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7437 (TeXEnvironment): ditto
7440 2003-03-17 John Levon <levon@movementarian.org>
7442 * text.C (rowBreakPoint): remove attempt to fix displayed
7443 math insets inside a manual label
7445 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7447 * lyxtext.h: remove BufferView* as first arg from almost all class
7449 * other files: adjust.
7451 2003-03-17 John Levon <levon@movementarian.org>
7455 * text2.C: more paint cleanups
7457 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7460 * rowpainter.C: remove "smart" background painting code
7462 2003-03-16 John Levon <levon@movementarian.org>
7467 * text3.C: add helper functions for setting refresh_row/y
7469 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7471 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7472 newline inset which *can* get inserted in the pass_thru layouts.
7473 This is primarily for literate documents.
7475 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7477 * buffer.C: increment LYX_FORMAT to 223
7479 2003-03-14 André Pönitz <poenitz@gmx.net>
7481 * textclass.h: prepare for environment handling, ws changes
7482 * lyxlayout.C: read latexheader and latexfooter tags
7484 2003-03-14 John Levon <levon@movementarian.org>
7486 * text2.C: rewrite ::status() a bit
7488 2003-03-13 John Levon <levon@movementarian.org>
7490 * lyxtext.h: add some docs
7492 2003-03-13 John Levon <levon@movementarian.org>
7497 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7499 2003-03-13 John Levon <levon@movementarian.org>
7501 * text3.C: fix appendix redrawing
7503 2003-03-13 John Levon <levon@movementarian.org>
7505 * text.C (setHeightOfRow):
7507 * rowpainter.C: make appendix mark have the text
7508 "Appendix" so the user knows what it is
7511 * LColor.C: s/appendixline/appendix/ from above
7513 2003-03-13 John Levon <levon@movementarian.org>
7515 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7517 * text.C: fix a getChar(pos) bug properly
7519 2003-03-13 Angus Leeming <leeming@lyx.org>
7522 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7523 Probably only temporary. Let's see how things pan out.
7525 * BufferView.C (unlockInset):
7526 * BufferView_pimpl.C (fitCursor):
7527 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7529 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7530 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7532 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7533 new functions that convert ParagraphParameters to and from a string.
7535 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7536 BufferView::Pimpl's dispatch.
7537 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7539 2003-03-13 André Pönitz <poenitz@gmx.net>
7543 * factory.C: make it aware of InsetEnv
7545 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7547 * text2.C (setCursor): never ask for one past last
7548 (setCursor): add some debugging messages.
7550 * text.C (singleWidth): never ask for one past last
7551 (singleWidth): ditto
7553 (rightMargin): ditto
7554 (rowBreakPoint): ditto
7555 (setHeightOfRow): ditto
7556 (prepareToPrint): ditto
7558 * rowpainter.C (paintBackground): never ask for one past last
7559 (paintText): never ask for one past last
7561 * paragraph_pimpl.C (getChar): make the assert stricter, never
7562 allow the one past last pos to be taken
7564 * paragraph.C (getChar): ws changes only
7566 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7567 (numberOfSeparators): ditto
7568 (numberOfHfills): ditto
7570 2003-03-12 John Levon <levon@movementarian.org>
7576 * paragraph_funcs.C: fix per-buffer authorlists
7578 2003-03-12 John Levon <levon@movementarian.org>
7580 * text.C: fix newline in right address
7582 2003-03-12 Angus Leeming <leeming@lyx.org>
7584 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7585 duplicate those in LyXFunc::dispatch.
7589 * ToolbarDefaults.C:
7590 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7591 Add LFUN_FONTFREE_UPDATE.
7593 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7594 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7596 * bufferview_func.[Ch]: several new functions to facilliate
7597 transfer of data to and from the character dialog.
7599 2003-03-12 John Levon <levon@movementarian.org>
7604 * paragraph_funcs.C:
7605 * paragraph_pimpl.C:
7609 * text3.C: remove META_NEWLINE in favour of an inset
7612 * rowpainter.C: remove paintNewline (done by inset)
7614 2003-03-12 John Levon <levon@movementarian.org>
7616 * paragraph_pimpl.C: complain about bad getChar()s
7617 for a while at least
7619 2003-03-12 John Levon <levon@movementarian.org>
7622 * buffer.C: move paragraph read into a separate function,
7623 a little renaming to reflect that.
7626 * bufferparams.C: remove the author_ids map, not necessary now
7629 * factory.C: moved Buffer::readInset to here
7631 * paragraph_funcs.h:
7632 * paragraph_funcs.C: readParagraph free function moved from
7635 * tabular.C: name change
7637 2003-03-12 John Levon <levon@movementarian.org>
7640 * ParagraphParameters.C: move par params input to
7643 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7644 behave like a normal read from the stream wrt reading
7645 a line vs. a \\token
7647 2003-03-12 John Levon <levon@movementarian.org>
7650 * ParagraphParameters.h:
7651 * ParagraphParameters.C: move output code to a
7654 2003-03-12 John Levon <levon@movementarian.org>
7656 * BufferView.C (insertLyXFile):
7659 * tabular.C: use a parlist iterator for creating the
7662 2003-03-12 John Levon <levon@movementarian.org>
7664 * buffer.C: make current_change static local not
7667 2003-03-12 John Levon <levon@movementarian.org>
7669 * buffer.C: fix insertStringAsLines for change tracking
7671 2003-03-12 John Levon <levon@movementarian.org>
7678 * bufferparams.C: move author list into params. Rename some
7679 functions. Move the header reading into a separate token
7680 loop. Move the header token reading into BufferParams.
7682 2003-03-12 John Levon <levon@movementarian.org>
7684 * changes.C: put debug inside lyxerr.debugging() checks
7686 2003-03-11 André Pönitz <poenitz@gmx.net>
7688 * factory.C: make it aware of InsetHFill
7690 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7692 * buffer.C (latexParagraphs): move function from here...
7693 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7696 2003-03-10 Angus Leeming <leeming@lyx.org>
7698 * LyXAction.C (init): fix bug in poplating array with multiple entries
7699 with the same LFUN (spotted by JMarc).
7701 2003-03-10 John Levon <levon@movementarian.org>
7704 * text2.C: move getColumnNearX() near its
7707 2003-03-10 John Levon <levon@movementarian.org>
7709 * text.C: fix break before a minipage
7711 2003-03-10 John Levon <levon@movementarian.org>
7713 * text.C: fix the last commit
7715 2003-03-09 John Levon <levon@movementarian.org>
7719 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7720 bug 365 (don't break before insets unless needed). Don't
7721 return a value > last under any circumstances.
7723 2003-03-09 Angus Leeming <leeming@lyx.org>
7725 * BufferView_pimpl.C (trackChanges, dispatch): call
7726 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7728 2003-03-09 Angus Leeming <leeming@lyx.org>
7730 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7731 than Dialogs::showAboutlyx().
7733 2003-03-09 Angus Leeming <leeming@lyx.org>
7735 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7736 than Dialogs::showTabularCreate().
7738 2003-03-09 John Levon <levon@movementarian.org>
7742 * text2.C: 3rd arg to nextBreakPoint was always the same.
7745 2003-03-08 John Levon <levon@movementarian.org>
7752 * text2.C: Remove the "main" bit from the "main body"
7755 2003-03-08 John Levon <levon@movementarian.org>
7757 * text.C (leftMargin): The left margin of an empty
7758 manual label paragraph should not include the label width
7761 * text.C (prepareToPrint): don't attempt to measure hfills
7762 for empty manual label paragraphs - the answer should be 0
7764 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7766 * CutAndPaste.C: remove commented code and reindent.
7768 2003-03-08 John Levon <levon@movementarian.org>
7771 * lyxfunc.C: move reloadBuffer()
7774 * BufferView.C: to here
7776 * lyxvc.C: add comment
7779 * vc-backend.C: call bv->reload() to avoid
7780 getStatus() check on MENURELOAD
7782 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7784 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7785 to an old format .dep file.
7787 2003-03-07 Angus Leeming <leeming@lyx.org>
7789 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7790 when the LFUN_MOUSE_RELEASE should have been handled by
7791 inset->localDispatch.
7793 2003-03-07 Angus Leeming <leeming@lyx.org>
7795 * BufferView_pimpl.C (dispatch):
7796 * LyXAction.C (init):
7797 * ToolbarDefaults.C (init):
7799 * lyxfunc.C (getStatus):
7800 remove LFUN_INSET_GRAPHICS.
7802 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7804 2003-03-07 Angus Leeming <leeming@lyx.org>
7807 * LyXAction.C (init):
7808 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7810 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7813 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7815 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7816 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7818 2003-03-07 Angus Leeming <leeming@lyx.org>
7820 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7823 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7825 * ParagraphList.C (front): new function
7828 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7830 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7831 and top_row_offset_. removed var first_y.
7833 * text2.C (LyXText, removeRow):
7835 * BufferView_pimpl.C:
7836 use these methods instead of using first_y
7838 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7840 * text2.C (pasteSelection): adjust for checkPastePossible
7842 * CutAndPaste.C: remove Paragraph * buf and replace with
7843 ParagraphList paragraphs.
7844 (DeleteBuffer): delete
7845 (cutSelection): change the tc type to textclass_type
7846 (copySelection): change the tc type to textclass_type
7847 (copySelection): adjust for ParagraphList
7848 (pasteSelection): change the tc type to textclass_type
7849 (pasteSelection): adjust for Paragraphlist
7850 (nrOfParagraphs): simplify for ParagraphList
7851 (checkPastePossible): simplify for ParagraphList
7852 (checkPastePossible): remove unused arg
7854 * ParagraphList.C (insert): handle the case where there are no
7857 * CutAndPaste.h: make CutAndPaste a namespace.
7859 * text3.C (dispatch): adjust
7861 * text.C (breakParagraph): add a ParagraphList as arg
7863 * paragraph_funcs.C (breakParagraph): change to take a
7864 BufferParams and a ParagraphList as args.
7865 (breakParagraphConservative): ditto
7866 (mergeParagraph): ditto
7867 (TeXDeeper): add a ParagraphList arg
7868 (TeXEnvironment): ditto
7871 * buffer.C (readLyXformat2): adjust
7872 (insertStringAsLines): adjust
7873 (latexParagraphs): adjust
7875 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7876 (cutSelection): adjust
7877 (pasteSelection): adjust
7879 * BufferView_pimpl.C (insertInset): adjust
7881 2003-03-05 Angus Leeming <leeming@lyx.org>
7884 * LyXAction.C (init):
7885 * BufferView_pimpl.C (dispatch):
7886 * lyxfunc.C (getStatus):
7887 remove LFUN_CHILD_INSERT.
7889 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7891 2003-03-05 Angus Leeming <leeming@lyx.org>
7894 * LyXAction.C (init):
7895 * src/factory.C (createInset):
7896 * lyxfunc.C (getStatus):
7897 * text3.C (dispatch):
7898 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7900 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7902 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7904 * ParagraphList.C (insert): handle insert right before end()
7905 (erase): fix cases where it can be first or last paragraph.
7907 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7909 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7910 Paragraph::next and Paragraph::previous
7913 * text.C (breakParagraph): adjust
7915 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7916 BufferParams& as arg.
7917 (breakParagraph): use ParagraphList::insert
7918 (breakParagraphConservative): take a Buffer* instead of a
7919 BufferParams& as arg.
7920 (breakParagraphConservative): use ParagraphList::insert.
7922 * buffer.C (insertStringAsLines): un-const it
7923 (insertStringAsLines): adjust
7925 * ParagraphList.C (insert): new function
7927 * CutAndPaste.C (pasteSelection): adjust
7929 * text.C (backspace): adjust
7931 * tabular.C (SetMultiColumn): adjust
7933 * CutAndPaste.C (cutSelection): adjust
7934 (pasteSelection): adjust
7936 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7937 Buffer const * as arg
7939 * ParagraphList.C (erase): new function
7940 * paragraph_funcs.C (mergeParagraph): use it
7941 (mergeParagraph): make it take a Buffer* instead of a
7942 BufferParams* as arg
7944 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7946 (breakParagraphConservative): ditto
7948 * paragraph.h: remove the breakParagraph friend
7950 * paragraph.C (eraseIntern): new function
7951 (setChange): new function
7953 * paragraph_funcs.C (mergeParagraph): make it take a
7954 ParagraphList::iterator instead of a Paragraph *, adjust
7957 * paragraph.h: move an #endif so that the change tracking stuff
7958 also works in the NO_NEXT case.
7960 2003-03-04 Angus Leeming <leeming@lyx.org>
7963 * LyXAction.C: new LFUN_INSET_MODIFY.
7965 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7966 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7968 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7970 * several files: ws changes only
7972 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7973 (TeXEnvironment): ditto
7976 * buffer.C (makeLaTeXFile): adjust
7977 (latexParagraphs): make it take ParagraphList::iterator as args
7979 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7981 * buffer.C (latexParagraphs): adjust
7983 * paragraph.C (TeXOnePar): move function...
7984 (optArgInset): move function...
7985 (TeXEnvironment): move function...
7986 * paragraph_pimpl.C (TeXDeeper): move function...
7987 * paragraph_funcs.C: ...here
7989 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7991 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7993 * buffer.C (readInset): remove compability code for old Figure and
7996 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7998 * buffer.C: ws changes
8001 * BufferView_pimpl.C: ditto
8004 * bufferlist.h: ditto
8008 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8010 * converter.[Ch]: split into itself +
8013 * Makefile.am: += graph.[Ch] + format.[Ch]
8020 * lyxrc.C: added #include "format.h"
8022 2003-02-27 Angus Leeming <leeming@lyx.org>
8024 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8027 * factory.C (createInset): add "label" to the factory.
8029 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8030 string and do no more.
8032 2003-02-27 Angus Leeming <leeming@lyx.org>
8035 * LyXAction.C (init):
8036 * factory.C (createInset):
8037 * BufferView_pimpl.C (dispatch):
8038 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8040 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8042 * lyxfunc.C (dispatch):
8043 * text3.C (dispatch): pass name to params2string.
8045 2003-02-26 Angus Leeming <leeming@lyx.org>
8047 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8049 Rearrange the ~includes. Strip out the unnecessary ones.
8051 * factory.C (createInset): reformat.
8052 create new insets for the various LFUN_XYZ_APPLY lfuns.
8054 2003-02-26 John Levon <levon@movementarian.org>
8057 * lyxrow.C: add isParStart,isParEnd helpers
8059 * paragraph.h: make isInserted/DeletedText take refs
8061 * paragraph_funcs.h:
8062 * paragraph_funcs.C: remove #if 0'd code
8067 * text.C: use lyxrow helpers above.
8068 Move draw and paint routines to RowPainter.
8069 Make several methods use refs not pointers.
8070 Make backgroundColor() const.
8071 Add markChangeInDraw(), isInInset().
8072 Merge changeRegionCase into changeCase.
8073 Make workWidth() shouldn't-happen code into an Assert.
8076 * rowpainter.C: new class for painting a row.
8079 * vspace.C: make inPixels take a ref
8081 2003-02-26 Angus Leeming <leeming@lyx.org>
8083 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8086 2003-02-25 John Levon <levon@movementarian.org>
8088 * ispell.C: give the forked command a more accurate name
8090 2003-02-22 John Levon <levon@movementarian.org>
8093 * toc.C: make TocItem store an id not a Paragraph *
8096 2003-02-21 Angus Leeming <leeming@lyx.org>
8098 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8099 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8100 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8101 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8102 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8103 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8105 * BufferView_pimpl.C (dispatch):
8106 * LyXAction.C (init):
8107 * factory.C (createInset):
8108 * lyxfunc.C (getStatus, dispatch):
8109 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8111 2003-02-21 Angus Leeming <leeming@lyx.org>
8113 * BufferView_pimpl.C (MenuInsertLyXFile):
8114 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8115 * lyxfunc.C (menuNew, open, doImport):
8116 no longer pass a LyXView & to fileDlg.
8118 2003-02-21 Angus Leeming <leeming@lyx.org>
8120 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8121 * LyXAction.C: change, BIBKEY to BIBITEM.
8122 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8123 Change InsetBibKey to InsetBibitem.
8124 Change BIBKEY_CODE to BIBITEM_CODE.
8125 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8126 * factory.C: replace insetbib.h with insetbibitem.h.
8127 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8128 * paragraph.C: replace insetbib.h with insetbibitem.h.
8129 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8130 Change bibkey() to bibitem().
8131 * text.C: remove insetbib.h.
8132 * text2.C: replace insetbib.h with insetbibitem.h.
8133 change bibkey() to bibitem().
8134 * text3.C: remove insetbib.h.
8135 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8137 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8139 * lyxrc.C (output): enclose user email in quotes (in case there are
8142 2003-02-18 John Levon <levon@movementarian.org>
8144 * buffer.h: add std::
8146 2003-02-17 John Levon <levon@movementarian.org>
8152 * pspell.C: reworking. Especially in ispell, a large
8153 number of clean ups and bug fixes.
8155 * lyxfunc.C: fix revert to behave sensibly
8157 2003-02-17 André Pönitz <poenitz@gmx.net>
8160 * commandtags.h: new LFUN_INSERT_BIBKEY
8170 * paragraph_func.C: remove special bibkey handling
8172 2003-02-17 John Levon <levon@movementarian.org>
8174 * text.C (Delete): fix case where delete at the end of
8175 the very first paragraph would not merge the pars
8177 2003-02-17 John Levon <levon@movementarian.org>
8179 * lyxrow.C: fix lastPrintablePos()
8181 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8183 * bufferparams.C (writeLaTeX): add a std:here
8185 * buffer.C: and remove a using directive there
8187 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8189 * buffer.C (makeLaTeXFile): move the code that generates the
8192 * bufferparams.C (writeLaTeX): ... in this new method
8194 * LaTeXFeatures.C (getEncodingSet): make const
8195 (getLanguages): make const
8197 * MenuBackend.C (binding): returns the binding associated to this
8199 (add): sets the status of each item by calling getStatus. Adds
8201 (read): add support for OptSubMenu
8202 (expand): remove extra separator at the end of expanded menu
8204 2003-02-15 John Levon <levon@movementarian.org>
8207 * BufferView_pimpl.C:
8209 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8210 inset code that had no actual effect. Remove unneeded status
8213 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8215 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8218 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8220 * text.C (drawLengthMarker): also draw an arrow marker for
8221 symbolic lengths (medskip...)
8223 2003-02-14 John Levon <levon@movementarian.org>
8226 * tabular.C: better method names
8228 2003-02-14 John Levon <levon@movementarian.org>
8230 * BufferView_pimpl.C:
8235 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8236 it's a more accurate name. Remove some pointless uses.
8238 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8240 * text2.C (LyXText): change order of initilizers to shut off
8243 2003-02-14 John Levon <levon@movementarian.org>
8245 * buffer.C: use ParIterator for getParFromID()
8249 * paragraph_pimpl.h:
8250 * paragraph_pimpl.C: remove unused getParFromID()
8252 2003-02-14 John Levon <levon@movementarian.org>
8254 * buffer.C: remove some very old #if 0'd parse code
8256 2003-02-13 John Levon <levon@movementarian.org>
8260 * text2.C: move hfillExpansion(), numberOfSeparators(),
8261 rowLast(), rowLastPrintable(), numberofHfills(),
8262 numberOfLabelHfills() ...
8265 * lyxrow.C: ... to member functions here.
8270 * text.C: remove LyXText::beginningOfMainBody(), and call
8271 p->beginningOfMainBody() directly. Move the check for
8272 LABEL_MANUAL into the latter.
8279 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8285 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8286 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8288 2003-02-13 John Levon <levon@movementarian.org>
8290 * CutAndPaste.C: remove debug
8292 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8294 * paragraph.C (asString): remove two unused variables
8296 * lyxtextclass.C (readTitleType):
8298 (LyXTextClass): handle new members titletype_ and titlename_
8300 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8302 2003-02-09 John Levon <levon@movementarian.org>
8305 * buffer.C: replace hand-coded list with a map for the dep clean
8307 2003-02-08 John Levon <levon@movementarian.org>
8309 * LaTeX.C: consolidate code into showRunMessage() helper
8311 2003-02-08 John Levon <levon@movementarian.org>
8316 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8317 and pass the size in explicitly
8319 * BufferView_pimpl.h:
8320 * BufferView_pimpl.C:
8322 * BufferView.C: add getCurrentChange()
8324 * BufferView_pimpl.h:
8325 * BufferView_pimpl.C: handle change lfuns
8327 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8328 for changes. Mark pasted paragraphs as new.
8330 * support/lyxtime.h:
8331 * support/lyxtime.C:
8332 * DepTable.C: abstract time_t as lyx::time_type
8335 * LColor.C: add colours for new text, deleted text, changebars
8337 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8338 package use "usenames" option.
8342 * LyXAction.C: add change lfuns
8346 * author.C: author handling
8349 * buffer.C: add a per-buffer author list, with first entry as
8350 current author. Handle new .lyx tokens for change tracking. Output
8351 author list to .lyx file. Output dvipost stuff to .tex preamble.
8352 Bump lyx format to 222.
8355 * bufferlist.C: add setCurrentAuthor() to reset current author details
8359 * bufferparams.C: add param for tracking
8361 * bufferview_funcs.C: output change info in minibuffer
8365 * changes.C: add change-tracking structure
8368 * debug.C: add CHANGES debug flag
8371 * lyxfind.C: add code for finding the next change piece
8374 * lyxrc.C: add user_name and user_email
8377 * lyxrow.C: add a metric for the top of the text line
8380 * text.C: implement accept/rejectChange()
8383 * text.C: paint changebars. Paint new/deleted text in the chosen
8384 colours. Strike through deleted text.
8388 * paragraph_pimpl.h:
8389 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8390 in the current change to the insert functions. Rework erase to
8391 mark text as deleted, adding an eraseIntern() and a range-based
8392 erase(). Implement per-paragraph change lookup and
8395 * paragraph_funcs.C: Fixup paste for change tracking.
8397 * tabular.C: mark added row/columns as new.
8399 * text.C: fix rowLast() to never return -1. Don't allow
8400 spellchecking of deleted text. Track transpose changes. Don't
8401 allow paragraph break or merge where appropriate.
8403 * text2.C: leave cursor at end of selection after a cut.
8405 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8407 * text.C (getLengthMarkerHeight):
8408 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8409 visible on screen too.
8411 2003-02-07 John Levon <levon@movementarian.org>
8413 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8415 2003-02-05 Angus Leeming <leeming@lyx.org>
8417 * lyxserver.C (read_ready): revert my patch of 11 September last year
8418 as it sends PC cpu through the roof. Presumably this means that
8419 the lyxserver will no longer run on an Alpha...
8421 2003-01-30 Angus Leeming <leeming@lyx.org>
8423 * factory.C (createInset): create an InsetCommandParam of type "index"
8424 and use it to 'do the right thing'.
8426 * text2.C (getStringToIndex): ensure that cursor position is always
8427 reset to the reset_cursor position.
8429 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8431 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8434 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8438 * lyxfunc.C: Output messages with identical spelling, punctuation,
8441 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8443 * MenuBackend.C (expandFormats): List only viewable export formats
8446 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8449 * lyxfunc.C (getStatus): Make sure that formats other than
8450 "fax" can also be disabled
8452 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8454 * text3.C (dispatch): put the lfuns that insert insets in 3
8455 groups, and call doInsertInset with appropriate arguments.
8456 (doInsertInset): new function, that creates an inset and inserts
8457 it according to some boolean parameters.
8459 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8461 * buffer.C (readFile): remember to pass on 'par' when calling
8462 readFile recursively.
8464 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8466 * MenuBackend.C (expandFormats): add "..." to import formats.
8468 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8470 * paragraph.C (asString): Remove XForms RTL hacks.
8472 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8473 * buffer.C: fix typo
8475 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8477 * Makefile.am (LIBS): delete var
8478 (lyx_LDADD): add @LIBS@ here instead.
8480 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8482 * Clarify the meaning of "wheel mouse jump"
8484 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8486 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8489 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8491 * importer.C (Loaders): do not preallocate 3 elements in the
8492 vector, since one ends up with 6 elements otherwise
8494 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8496 * DepTable.C (write): write the file name as last element of the
8497 .dep file (because it may contain spaces)
8498 (read): read info in the right order
8500 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8502 * paragraph_pimpl.C (simpleTeXBlanks):
8503 (simpleTeXSpecialChars):
8504 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8506 * tabular.C (latex): add some missing case statements. Reindent.
8508 * MenuBackend.C (expandToc): remove unused variable.
8510 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8519 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8522 2003-01-05 John Levon <levon@movementarian.org>
8525 * BufferView.C: add getEncoding()
8528 * kbsequence.C: do not store last keypress
8531 * lyxfunc.C: store last keypress here instead. Pass encoding
8534 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8536 * lyx_main.C (init): remove annoying error message when following
8537 symbolic links (bug #780)
8539 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8541 * text.C (insertChar):
8542 * lyxrc.C (getDescription): remove extra spaces
8544 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8546 * lyxrc.C (getDescription): remove extra spaces
8548 2002-12-20 John Levon <levon@movementarian.org>
8550 * text3.C: hack fix for page up/down across tall rows
8552 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8554 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8557 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8559 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8560 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8561 thesaurus is not compiled in
8563 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8565 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8567 2002-12-16 Angus Leeming <leeming@lyx.org>
8570 * lyx_main.C (init): remove override_x_deadkeys stuff.
8572 2002-12-12 John Levon <levon@movementarian.org>
8574 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8575 insert. Only remove shift modifier under strict
8578 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8580 * MenuBackend.C (expandToc): fix crash.
8582 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8584 * MenuBackend.C (expandToc): gettext on float names.
8586 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8588 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8589 implement bool empty() [bug 490]
8591 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8593 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8595 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8597 * several files: ws changes
8599 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8601 * text2.C (setCounter): clean up a bit, use boost.format.
8602 (updateCounters): initialize par upon declaration.
8604 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8605 if the layout exists. We do not just store the layout any more.
8606 (SwitchLayoutsBetweenClasses): use boost.format
8608 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8610 * converter.C (convert): if from and to files are the same, use a
8611 temporary files as intermediary
8613 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8616 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8618 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8620 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8622 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8624 * tabular.C (asciiPrintCell): use string(size, char) instead of
8627 * sgml.C (openTag): fix order of arguments to string constructor
8630 * lyxfunc.C (dispatch): use boost.format
8632 * lots of files: change "c" -> 'c'
8634 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8636 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8638 2002-11-25 Angus Leeming <leeming@lyx.org>
8640 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8642 * lyx_main.C (init): compile fix.
8644 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8646 * lyx_cb.C (start): boost.formatify
8647 do not include <iostream>
8649 * lengthcommon.C: ws only
8651 * boost-inst.C,BoostFormat.h: add more explict instantations
8653 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8655 * lots of files: handle USE_BOOST_FORMAT
8657 2002-11-21 John Levon <levon@movementarian.org>
8659 * pspell.C: fix compile
8661 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8663 * lyxfunc.C (dispatch): use boost::format
8667 * lyxfont.C (stateText): use boost::format
8669 * lyx_main.C (LyX): use boost::format
8671 (queryUserLyXDir): ditto
8674 (typedef boost::function): use the recommened syntax.
8676 * importer.C (Import): use boost::format
8678 * debug.C (showLevel): use boost::format
8680 * converter.C (view): use boost::format
8685 * bufferview_funcs.C (currentState): use boost::format
8687 * bufferlist.C (emergencyWrite): use boost::format
8689 * buffer.C (readLyXformat2): use boost::format
8690 (parseSingleLyXformat2Token): ditto
8692 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8694 * LaTeX.C (run): use boost::format
8696 * Chktex.C (scanLogFile): use boost::format
8698 * BufferView_pimpl.C (savePosition): use boost::format
8699 (restorePosition): ditto
8700 (MenuInsertLyXFile): ditto
8702 * BoostFormat.h: help file for explicit instation.
8704 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8706 * tabular.C (latex): Support for block alignment in fixed width
8709 2002-11-17 John Levon <levon@movementarian.org>
8711 * BufferView_pimpl.C:
8713 * lyxfunc.C: split filedialog into open/save
8715 2002-11-08 Juergen Vigna <jug@sad.it>
8717 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8718 by my last patch (hopefully).
8720 2002-11-08 John Levon <levon@movementarian.org>
8729 * toc.C: ParConstIterator, and use it (from Lars)
8731 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8733 * lyxtextclass.[Ch]: revise and add doxygen comments
8735 2002-11-07 John Levon <levon@movementarian.org>
8737 * text.C: fix progress value for spellchecker
8739 * toc.C: fix navigate menu for insetwrap inside minipage
8741 * paragraph_funcs.C: added FIXME for suspect code
8743 2002-11-07 John Levon <levon@movementarian.org>
8745 * BufferView_pimpl.C: fix redrawing of insets
8748 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8750 * text2.C (updateCounters): fix bug 668
8752 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8754 * text3.C (dispatch): Do not make the buffer dirty when moving the
8757 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8759 * vc-backend.C: STRCONV
8762 * text2.C (setCounter): STRCONV
8764 * paragraph.C (asString): STRCONV
8766 * lyxlength.C (asString): STRCONV
8767 (asLatexString): ditto
8769 * lyxgluelength.C (asString): STRCONV
8770 (asLatexString): ditto
8772 * lyxfunc.C (dispatch): STRCONV
8775 * lyxfont.C (stateText): STRCONV
8777 * importer.C (Import): STRCONV
8779 * counters.C (labelItem): STRCONV
8780 (numberLabel): ditto
8781 (numberLabel): remove unused ostringstream o
8786 * bufferview_funcs.C (currentState): STRCONV
8788 * buffer.C (readFile): STRCONV
8789 (asciiParagraph): ditto
8790 (makeLaTeXFile): ditto
8792 * Spacing.C (writeEnvirBegin): STRCONV
8794 * LaTeXFeatures.C (getLanguages): STRCONV
8795 (getPackages): ditto
8797 (getBabelOptions): ditto
8798 (getTClassPreamble): ditto
8799 (getLyXSGMLEntities): ditto
8800 (getIncludedFiles): ditto
8804 (scanAuxFile): ditto
8807 * LString.h: add the STRCONV macros
8809 * BufferView_pimpl.C (savePosition): STRCONV
8810 (restorePosition): ditto
8811 (MenuInsertLyXFile): ditto
8813 * vc-backend.C (scanMaster): change from submatch[...] to
8816 * funcrequest.C: include config.h
8818 * factory.C: include config.h
8820 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8822 * box.C: include config.h
8824 * LaTeX.C (scanAuxFile): change from submatch[...] to
8828 2002-10-25 Angus Leeming <leeming@lyx.org>
8830 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8832 * ispell.[Ch] (setError): new method.
8833 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8834 Use setError() insetead of goto END.
8836 * lyx_cb.C (AutoSave): move out child process into new class
8839 2002-10-30 John Levon <levon@movementarian.org>
8841 * text3.C: make start appendix undoable
8843 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8845 * lyxlength.C (inPixels): Fix returned value.
8847 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8850 2002-10-24 Angus Leeming <leeming@lyx.org>
8852 * lyxgluelength.h: no need to forward declare BufferParams
8853 or BufferView, so don't.
8855 2002-10-21 John Levon <levon@movementarian.org>
8857 * BufferView.C: menuUndo ->undo, redo
8859 * BufferView.h: document, remove dead, make some methods private
8861 * paragraph_funcs.h:
8862 * paragraph_funcs.C:
8863 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8868 * sgml.C: move sgml open/close tag into sgml.C
8870 * bufferview_funcs.h: unused prototype
8873 * lyxfunc.C: remove unused
8876 * text.C: remove unused
8878 2002-10-21 John Levon <levon@movementarian.org>
8882 * BufferView_pimpl.h:
8883 * BufferView_pimpl.C: fix mouse wheel handling based on
8884 patch from Darren Freeman
8886 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8888 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8890 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8892 * lyxlength.C (inPixels): Fix hanfling of negative length.
8893 Fix LyXLength::MU case.
8895 2002-10-16 John Levon <levon@movementarian.org>
8897 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8899 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8901 * converter.C (view): add support for $$i (file name) and $$p
8902 (file path) for the viewer command. If $$i is not specified, then
8903 it is appended to the command (for compatibility with old syntax)
8905 2002-10-14 Juergen Vigna <jug@sad.it>
8907 * undo_funcs.C (textHandleUndo): alter the order in which the
8908 new undopar is added to the LyXText, as we have to set first
8909 the right prev/next and then add it as otherwise the rebuild of
8910 LyXText is not correct. Also reset the cursor to the right paragraph,
8911 with this IMO we could remove the hack in "redoParagraphs()".
8913 2002-10-09 Angus Leeming <leeming@lyx.org>
8915 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8916 to turn off an optimisation if a new inset is to be inserted.
8918 2002-10-11 André Pönitz <poenitz@gmx.net>
8920 * lyxtext.h: make some functions public to allow access
8921 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8923 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8925 * text3.C (dispatch): when changing layout, avoid an infinite loop
8928 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8930 * lyxrc.C (read): treat a viewer or converter command of "none" as
8933 * MenuBackend.C (expandFormats): for an update, also allow the
8934 formats that are not viewable
8936 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8937 script if it is newer than the lyxrc.defaults in user directory
8939 2002-10-07 André Pönitz <poenitz@gmx.net>
8941 * text.C: Vitaly Lipatov's small i18n fix
8943 2002-09-25 Angus Leeming <leeming@lyx.org>
8945 * ispell.h: doxygen fix.
8947 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8949 * buffer.h (readFile): Add a new argument to the method, to allow
8950 reading of old-format templates.
8952 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8954 * toc.C (getTocList): Get TOC from InsetWrap.
8956 2002-09-16 John Levon <levon@movementarian.org>
8958 * lyxfunc.C: check tabular for cut/copy too
8960 2002-09-12 John Levon <levon@movementarian.org>
8965 * factory.C: add header
8967 * paragraph_funcs.h:
8968 * paragraph_funcs.C: cleanup
8970 2002-09-11 John Levon <levon@movementarian.org>
8972 * PrinterParams.h: odd/even default to true
8974 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8976 * PrinterParams.h: update printer parameters for new xforms dialog
8978 2002-09-11 Angus Leeming <leeming@lyx.org>
8980 * lyxserver.C (read_ready): re-write to make it more transparent
8981 and to make it work in coherent fashion under Tru64 Unix.
8983 2002-09-11 André Pönitz <poenitz@gmx.net>
8987 * text3.C: implement LFUN_WORDSEL
8989 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8991 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8992 make floatlist_ a boost::shared_ptr<FloatList>
8994 * lyxtextclass.C: include FloatList.h
8995 (LyXTextClass): initialize floatlist_
8996 (TextClassTags): add TC_NOFLOAT
8997 (Read): match "nofloat" to TC_NOFLOAT and use it.
8998 (readFloat): modify call to floatlist_
9002 * FloatList.[Ch] (FloatList): remove commented out float
9004 (erase): new function
9006 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9008 * MenuBackend.C (expandToc): fix crash when there is no document
9011 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9013 * many files: Add insetwrap.
9015 2002-09-09 John Levon <levon@movementarian.org>
9017 * text2.C: remove confusing and awkward depth wraparound
9019 2002-09-09 John Levon <levon@movementarian.org>
9021 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9024 * buffer.C: remove getIncludeonlyList()
9027 * lyxfunc.C: remove headers
9029 2002-09-09 Juergen Vigna <jug@sad.it>
9031 * text.C (getColumnNearX): fix form Michael this is most
9032 probably a cut&paste bug.
9034 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9036 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9038 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9039 references, ws changes.
9041 * text2.C (init): update counters after init
9042 (insertParagraph): no need to set counter on idividual paragraphs.
9043 (setCounter): access the counters object in the textclass object
9044 on in the buffer object.
9045 (updateCounters): ditto
9047 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9048 shared_ptr<Counters> to avoid loading counters.h in all
9050 (LyXTextClass): initialize ctrs_
9051 (TextClassTags): add TC_COUNTER, and ...
9052 (Read): use it here.
9053 (CounterTags): new tags
9054 (readCounter): new function
9055 (counters): new funtion
9056 (defaultLayoutName): return a const reference
9058 * counters.C (Counters): remove contructor
9059 (newCounter): remove a couple of unneeded statements.
9060 (newCounter): simplify a bit.
9061 (numberLabel): some small formatting changes.
9063 * buffer.[Ch]: remove all traces of counters, move the Counters
9064 object to the LyXTextClass.
9066 2002-09-06 Alain Castera <castera@in2p3.fr>
9068 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9069 package to set the horizontal alignment on fixed width columns.
9072 * lyx_sty.h: added tabularnewline macro def.
9074 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9076 2002-09-06 John Levon <levon@movementarian.org>
9078 * LyXAction.C: tooltips for sub/superscript
9080 * MenuBackend.C: a bit more verbose
9082 * lyxfunc.C: tiny clean
9084 * undo_funcs.C: document undo_frozen
9086 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9088 * counters.C (Counters): add missing algorithm counter.
9090 * text2.C (setCounter): lookup the counter with layouts latexname
9091 instead of by section number.
9092 (setCounter): use a hackish way to lookup the correct enum
9094 a float name->type change
9095 reset enum couners with counter name directly instead of depth value.
9097 * counters.C (Counters): remove the push_backs, change to use the
9098 float type not the float name.
9099 (labelItem): remove unused string, float name->type change
9101 * counters.h: don't include vector, loose the enums and sects vectors
9103 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9105 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9106 (Read): add float->TC_FLOAT to textclassTags
9107 (Read): and handle it in the switch
9108 (readFloat): new function
9110 * FloatList.C (FloatList): comment out the hardcoded float
9113 * lyxlayout.h: ws change.
9115 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9117 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9119 2002-09-03 Angus Leeming <leeming@lyx.org>
9121 * BufferView_pimpl.h: qualified name is not allowed in member
9122 declaration: WorkArea & Pimpl::workarea() const;
9124 * factory.C: added using std::endl directive.
9126 * text3.C: added using std::find and std::vector directives.
9128 2002-08-29 André Pönitz <poenitz@gmx.net>
9131 * text2.C: remove unused member number_of_rows
9134 * BufferView2.C: remove file, move contents to...
9135 * BufferView.C: ... here
9137 * BufferView_pimpl.C:
9138 * factory.C: move more inset creation to factory
9140 * vspace.C: avoid direct usage of LyXText, ws changes
9143 don't provide direct access to WorkArea, use two simple
9144 acessors haveSelction() and workHeight() instead
9147 2002-08-29 John Levon <levon@movementarian.org>
9149 * BufferView_pimpl.C (dispatch): do not continue when
9152 2002-08-28 André Pönitz <poenitz@gmx.net>
9154 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9157 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9159 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9161 * buffer.C: increment LYX_FORMAT to 221
9163 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9164 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9166 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9168 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9170 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9172 * factory.C (createInset): use LyXTextClass::floats
9174 * MenuBackend.C (expandFloatListInsert):
9175 (expandFloatInsert):
9178 * text2.C (setCounter):
9180 * LaTeXFeatures.C (useFloat):
9181 (getFloatDefinitions):
9183 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9185 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9186 floatlist_, with accessor floats().
9188 * FloatList.h: remove global FloatList
9190 2002-08-26 André Pönitz <poenitz@gmx.net>
9192 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9196 * BufferView_pimpl.C:
9197 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9199 2002-08-25 John Levon <levon@movementarian.org>
9201 * LyXAction.C: fix margin note description
9203 2002-08-24 John Levon <levon@movementarian.org>
9207 * bufferview_funcs.C:
9209 * undo_funcs.C: cleanups
9211 * lyxfunc.C: disable CUT/COPY when no selection
9213 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9215 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9216 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9218 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9219 Add backward compatibility to "mono", "gray" and "no".
9221 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9223 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9224 (and file_format >= 200).
9226 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9228 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9230 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9232 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9234 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9236 * BufferView_pimpl.C:
9243 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9244 inset and code to make it work with the paragraph code. The inset
9245 can be anywhere in the paragraph, but will only do the expected
9246 thing in LaTeX if the layout file contains the parameter line
9248 (or more generally, a nonzero value) for that layout.
9250 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9252 * paragraph.h: remove the declaration of undefined counters class
9255 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9257 * text2.C (setCounter): fixed enumeration mis-count as reported by
9258 Dr. Richard Hawkins.
9260 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9262 * paragraph_funcs.h: remove some unneeded includes
9264 * text.C (backspace): pasteParagraph now in global scipe
9266 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9267 (pasteSelection): ditto
9269 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9270 * paragraph_funcs.C (pasteParagraph): ... here
9272 2002-08-20 André Pönitz <poenitz@gmx.net>
9274 * commandtags.h: new LFUNs for swapping/copying table row/colums
9277 * lyxfunc.C: support for new lfuns
9279 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9282 * buffer.[Ch]: remove NO_COMPABILITY stuff
9284 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9286 * boost.C (throw_exception): new file, with helper function for
9287 boost compiled without exceptions.
9292 * ParameterStruct.h:
9293 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9295 * bufferlist.C (emergencyWriteAll): use boost bind
9297 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9299 * text.C: include paragraph_funcs.h
9300 (breakParagraph): breakParagraph is now in global scope
9302 * paragraph_funcs.[Ch]: new files
9304 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9307 * buffer.C: include paragraph_funcs.h
9308 (insertStringAsLines): breakParagraph is now in global scope
9310 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9313 * CutAndPaste.C: include paragraph_funcs.h
9314 (cutSelection): breakParagraphConservative is now in global scope
9315 (pasteSelection): ditto
9317 * buffer.h: declare oprator== and operator!= for
9318 Buffer::inset_iterator
9320 * bufferlist.C (emergencyWrite): don't use fmt(...)
9322 * text3.C: add using std::endl
9324 * BufferView.C (moveCursorUpdate): remove default arg
9326 2002-08-20 André Pönitz <poenitz@gmx.net>
9328 * buffer.[Ch]: move inline functions to .C
9331 * BufferView_pimpl.C:
9333 * buffer.[Ch]: use improved inset_iterator
9336 * paragraph.[Ch]: write one paragraph at a time
9338 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9340 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9341 style if style is not specified.
9343 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9345 * text2.C (setCounter): when searching for right label for a
9346 caption, make sure to recurse to parent insets (so that a caption
9347 in a minipage in a figure float works) (bug #568)
9349 2002-08-20 André Pönitz <poenitz@gmx.net>
9351 * text3.C: new file for LyXText::dispatch() and helpers
9353 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9355 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9357 2002-08-19 André Pönitz <poenitz@gmx.net>
9360 * text.C: new LyXText::dispatch()
9362 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9364 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9366 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9368 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9371 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9373 * Makefile.am: use $(variables) instead of @substitutions@
9375 2002-08-15 André Pönitz <poenitz@gmx.net>
9378 * BufferView_pimpl.C: streamlining mathed <-> outer world
9382 * LyXAction.C: remove unused LFUN_MATH
9384 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9386 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9388 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9390 * paragraph.C (Paragraph): reformat a bit
9391 (cutIntoMinibuffer): use builtin InsetList function instad of
9395 * buffer.C: include boost/bind.hpp, add using std::for_each
9396 (writeFileAscii): use ParagraphList iterators
9397 (validate): use for_each for validate traversal of paragraphs
9398 (getBibkeyList): use ParagraphList iterators
9399 (resizeInsets): use for_each to resizeInsetsLyXText for all
9401 (getParFromID): use ParagraphList iterators
9403 * BufferView2.C (lockInset): use paragraph list and iterators
9405 2002-08-14 John Levon <levon@movementarian.org>
9407 * lyxserver.C: remove spurious xforms include
9409 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9411 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9413 2002-08-13 André Pönitz <poenitz@gmx.net>
9416 * lyxfunc.C: further cleaning
9418 2002-08-13 André Pönitz <poenitz@gmx.net>
9420 * funcrequest.h: new constructor
9422 * funcrequest.C: move stuff here from .h
9425 * BufferView_pimpl.C:
9428 * lyxfunc.C: subsequent changes
9430 * lyxfunc.h: new view() member function
9432 * lyxfunc.C: subsequent changes
9434 2002-08-13 Angus Leeming <leeming@lyx.org>
9437 * BufferView_pimpl.C:
9445 changes due to the changed LyXView interface that now returns references
9446 to member variables not pointers.
9448 2002-08-13 Angus Leeming <leeming@lyx.org>
9450 * WordLangTuple (word, lang_code): return references to strings,
9455 * lyxtext.h: forward-declare WordLangTuple.
9460 * text.C: #include "WordLangTuple.h".
9463 * text.C: (selectNextWordToSpellcheck): constify return type.
9465 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9471 * paragraph_pimpl.h:
9474 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9476 Made updateCounter always count from start of buffer, and removed
9477 second argument (par).
9478 Reverted floats number display to '#'. Perhaps I'll try again when the
9479 code base is sanitized a bit.
9481 2002-08-12 Angus Leeming <leeming@lyx.org>
9483 * buffer.[Ch] (getLabelList): constify.
9485 2002-08-07 André Pönitz <poenitz@gmx.net>
9487 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9489 * funcrequest.h: extension to keep mouse (x,y) position
9491 2002-08-12 Juergen Vigna <jug@sad.it>
9493 * BufferView2.C (insertErrors): forbid undo when inserting error
9496 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9498 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9500 * ParagraphList.[Ch]: new files
9502 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9504 * BufferView2.C (lockInset): ParagraphList changes
9507 * bufferlist.C: ditto
9511 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9513 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9514 unused class variable counter_,
9516 * paragraph.[Ch] (getFirstCounter): delete unused function
9518 * counters.C: include LAssert.h
9519 (reset): add a new function with no arg, change other version to
9520 not have def. arg and to not allow empty arg.
9522 * text2.C (setCounter): remove empty arg from call to Counters::reset
9524 2002-08-11 John Levon <levon@movementarian.org>
9526 * Makefile.am: add WordLangTuple.h
9528 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9530 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9531 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9533 * insets/insettext.C: InsetList changes
9535 * graphics/GraphicsSupport.C (operator()): InsetList changes
9537 * toc.C (getTocList): InsetList changes
9539 * paragraph_pimpl.[Ch]: InsetList changes
9541 * paragraph.[Ch]: InsetList changes
9543 * buffer.C (inset_iterator): InsetList changes
9544 (setParagraph): ditto
9545 * buffer.h (inset_iterator): ditto
9546 * iterators.C (operator++): ditto
9547 * iterators.h: ditto
9549 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9551 * InsetList.[Ch]: new files, most InsetList handling moved out of
9554 * BufferView2.C (removeAutoInsets): InsetList changes
9556 (ChangeInsets): ditto
9558 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9560 * paragraph_pimpl.h (empty): new function
9562 * paragraph.[Ch] (empty): new function
9564 * other files: use the new Paragraph::empty function
9566 2002-08-09 John Levon <levon@movementarian.org>
9568 * lyxtext.h: remove unused refresh_height
9570 2002-08-09 John Levon <levon@movementarian.org>
9577 * paragraph.C: move sgml char escaping out of paragraph
9580 * paragraph.C: remove id setter
9584 * paragraph_pimpl.C: remove dead tex_code_break_column
9586 * bufferview_funcs.C: small cleanup
9588 * lyxfunc.C: remove dead proto
9590 * lyxtext.h: make some stuff private. Remove some dead stuff.
9592 * lyxgluelength.C: make as[LyX]String() readable
9594 2002-08-08 John Levon <levon@movementarian.org>
9599 * ToolbarDefaults.C:
9602 * toc.C: lyxaction cleanup
9604 2002-08-08 John Levon <levon@movementarian.org>
9606 * BufferView2.C: small cleanup
9609 * lyxfind.C: move unnecessary header into the .C
9611 2002-08-08 John Levon <levon@movementarian.org>
9613 * funcrequest.h: just tedious nonsense
9616 * lyx_main.C: cleanups
9619 * vspace.C: remove dead header lyx_main.h
9621 2002-08-07 Angus Leeming <leeming@lyx.org>
9624 * paragraph_pimpl.h:
9625 Forward declare class Counters in paragraph.h by moving the ctrs member
9626 variable into Paragraph::Pimpl.
9627 (counters): new method, returning a reference to pimpl_->ctrs.
9629 * text2.C: ensuing changes.
9631 2002-08-07 John Levon <levon@movementarian.org>
9633 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9635 * BufferView_pimpl.C: announce X selection on double/triple
9638 * lyx_main.C: use correct bool in batch dispatch
9640 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9642 2002-08-07 André Pönitz <poenitz@gmx.net>
9644 * funcrequest.h: new class to wrap a kb_action and its argument
9647 * BufferView_pimpl[Ch]:
9651 * lyxrc.C: subsequent changes
9654 2002-08-07 John Levon <levon@movementarian.org>
9656 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9657 document options change.
9659 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9664 * makefile.am: move counters functionality over from
9665 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9667 2002-08-06 John Levon <levon@movementarian.org>
9669 * WordLangTuple.h: new file for word + language code tuple
9680 * BufferView2.C: use WordLangTuple
9683 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9685 2002-08-06 John Levon <levon@movementarian.org>
9687 * lyx_main.C: fix cmdline batch handling
9689 2002-08-06 André Pönitz <poenitz@gmx.net>
9691 * lyxrc.C: set default for show_banner to true
9693 2002-08-06 John Levon <levon@movementarian.org>
9695 * pspell.C: fix a crash, and allow new aspell to work
9697 2002-08-06 John Levon <levon@movementarian.org>
9700 * kbmap.C: small cleanup
9703 * vspace.C: add const
9705 2002-08-05 John Levon <levon@movementarian.org>
9707 * LyXAction.C: back to tabular-insert
9709 2002-08-04 John Levon <levon@movementarian.org>
9712 * BufferView.C: cosmetic change
9714 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9724 * BufferView2.C: purge all "Lyx" not "LyX" strings
9727 * lyxcursor.C: attempt to add some documentation
9732 * ToolbarDefaults.C:
9733 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9734 merge with LFUN_TABULAR_INSERT
9741 * pspell.C: split up i/pspell implementations into separate
9742 files, many cleanups
9744 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9746 * text2.C: some cleanup
9748 * lyxfunc.C: don't check for isp_command == "none" any more, it
9749 didn't make any sense
9751 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9756 * makefile.am: move counters functionality over
9757 from text2.C/paragraph.[Ch] to counters.[Ch], and
9759 2002-08-02 John Levon <levon@movementarian.org>
9761 * buffer.C: s/lyxconvert/lyx2lyx/
9763 2002-08-02 Angus Leeming <leeming@lyx.org>
9765 * lyxlex.C: revert John's change as it breaks reading of the user
9768 2002-08-02 Angus Leeming <leeming@lyx.org>
9770 * importer.C (Import):
9771 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9772 changes due to LyXView::view() now returning a boost::shared_ptr.
9774 2002-08-02 John Levon <levon@movementarian.org>
9776 * lyxlex.C: small cleanup
9778 2002-08-02 John Levon <levon@movementarian.org>
9780 * text2.C (status): small cleanup, no logic change
9782 2002-08-01 John Levon <levon@movementarian.org>
9785 * buffer.C (writeFile): don't output alerts, caller
9789 * lyx_cb.C: from above
9791 * lyxfunc.C: allow to open non-existent files
9793 2002-07-31 John Levon <levon@movementarian.org>
9795 * lyxserver.C: don't let incidental errors get
9798 2002-07-30 John Levon <levon@movementarian.org>
9800 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9802 2002-07-30 John Levon <levon@movementarian.org>
9805 * lyxserver.C: remove I/O callback too
9807 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9809 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9812 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9814 * many files: strip,frontStrip -> trim,ltrim,rtrim
9816 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9818 * PrinterParams.h: remove extern containsOnly, and include
9819 support/lstrings.h instead.
9821 * LaTeX.C (scanAuxFile): modify because of strip changes
9823 * buffer.C (makeLaTeXFile): ditto
9824 * bufferparams.C (writeFile): ditt
9825 * lyxfont.C (stateText): ditto
9826 * lyxserver.C (read_ready): ditto
9827 * vc-backend.C (scanMaster): ditto
9829 * BufferView_pimpl.h: ws changes
9831 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9833 2002-07-26 André Pönitz <poenitz@gmx.net>
9835 * kb_sequence.C: remove unnedred usings
9837 2002-07-26 Juergen Vigna <jug@sad.it>
9839 * lyxfind.C (LyXReplace): we have to check better if the returned
9840 text is not of theLockingInset()->getLockingInset().
9842 2002-07-25 Juergen Vigna <jug@sad.it>
9844 * lyxfind.C (LyXReplace): don't replace if we don't get the
9847 * undo_funcs.C (createUndo): remove debugging code.
9849 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9851 * buffer.C (parseSingleLyXformat2Token): Use default placement
9852 when reading old floats.
9854 * FloatList.C (FloatList): Change the default placement of figure
9855 and tables to "tbp".
9857 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9859 * MenuBackend.C: using std::max
9861 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9863 * MenuBackend.C (expandToc):
9864 (expandToc2): code moved from xforms menu frontend. It is now
9865 generic and TOCs are transparent to menu frontends.
9867 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9869 * toc.C (getTocList): protect against buf=0
9871 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9872 Menu as first parameter. Now, this calls itself recursively to
9873 expand a whole tree (this will be useful for TOC handling)
9874 (expandFloatInsert): remove 'wide' version of floats
9876 * MenuBackend.h (submenuname): returns the name of the submenu.
9877 (submenu): returns the submenu itself, provided it has been
9878 created by MenuBackend::expand
9880 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9882 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9883 insets which have noFontChange == true. (bug #172)
9885 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9887 * BufferView_pimpl.C: add connection objects and use them...
9890 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9892 * MenuBackend.C (expandLastfiles):
9895 (expandFloatListInsert):
9896 (expandFloatInsert):
9897 (expand): split expand in parts
9899 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9901 * lyx_gui.C: use lyx_gui::exit()
9903 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9905 * LyXAction.C: show the failing pseudo action
9907 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9909 * buffer.C (readFile): Run the lyxconvert script in order to read
9912 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9916 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9918 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9922 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9924 2002-07-22 Herbert Voss <voss@lyx.org>
9927 * lyxlength.[Ch]: add support for the vertical lengths
9929 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9931 * toc.[Ch]: std:: fixes
9933 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9935 * lyxrc.C: do not include lyx_main.h
9937 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9943 * BufferView2.C: include "lyxlex.h"
9946 * bufferparams.h: do not #include "lyxlex.h"
9948 * lyxtextclasslist.C (Add): remove method
9949 (classlist): renamed to classlist_
9951 * paragraph_pimpl.C:
9955 * bufferview_funcs.C:
9960 * toc.C (getTocList): use BufferParams::getLyXTextClass
9962 * toc.C (getTocList): use InsetFloat::addToToc
9964 * toc.[Ch]: new files, containing helper functions to handle table
9967 * lyxfunc.C (dispatch): no need to remove spaces around command
9969 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9970 first command of the sequence; it is not very clever, but I do not
9971 have a better idea, actually
9973 * LyXAction.C (LookupFunc): make sure to remove space at the
9974 beginning and end of the command
9976 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9978 * MenuBackend.C (getMenubar): new method: return the menubar of
9980 (read): treat differently reading of menu and menubar (in
9981 particular, the menubar has no name now)
9982 (Menu::menubar): remove
9984 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9987 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9989 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9990 a bibitem inset in a RTL paragraph.
9992 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9994 * paragraph_pimpl.C: constify
9996 * BufferView_pimpl.C:
9998 * lyxfunc.C: fix dispatch in a nicer way
10000 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10002 * lyxfunc.C (dispatch):
10003 * BufferView_pimpl.C:
10004 * BufferView_pimpl.h:
10006 * BufferView.h: rename Dispatch() to dispatch()
10008 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10010 * lyxlayout.C (Read): honor DependsOn tag
10012 * lyxlayout.[Ch] (depends_on): new method
10014 * version.C.in: update lyx_docversion
10016 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10018 * paragraph.C (validate): remove from here...
10019 * paragraph_pimpl.C (validate): ... and move here
10020 (isTextAt): make it const
10022 * buffer.C (getLists): ws cleanup
10024 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10026 * language.C (read): Use iso8859-1 encoding in latex_lang
10027 (this prevents LyX from crashing when using iso10646-1 encoding).
10029 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10031 * text2.C (toggleInset): if cursor is inside an inset, close the
10032 inset and leave cursor _after_ it
10034 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10036 * lyxfunc.C: move minibuffer completion handling out of here
10038 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10040 * BufferView_pimpl.C:
10041 * LaTeX.C: fix dispatch calls
10043 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10045 * text.C (drawChars): Fix Arabic text rendering.
10047 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10051 * lyxfunc.C: remove message-push/pop
10055 * lyxfunc.C: rationalise some code by removing verboseDispatch
10056 in favour of a bool argument to dispatch()
10058 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10060 * lyx_main.C (init): make sure to read symlinks as absolute paths
10062 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10065 * lyxfunc.C: no need for commandshortcut to be a member
10067 2002-07-15 André Pönitz <poenitz@gmx.net>
10069 * converter.C: add support for $$s (scripts from lib/scripts dir)
10070 * lyx_main.C: white space
10072 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10076 * lyxrc.C: remove second exit confirmation
10078 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10083 * BufferView_pimpl.h:
10084 * BufferView_pimpl.C:
10085 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10087 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10089 * MenuBackend.C (expand): add numeric shortcuts to document menu
10091 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10093 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10095 * lyxfont.C (setLyXFamily):
10102 * buffer.C (asciiParagraph): use ascii_lowercase
10104 2002-07-15 Mike Fabian <mfabian@suse.de>
10106 * lyxlex_pimpl.C (search_kw):
10107 * lyxlex.C (getLongString):
10108 * converter.h (operator<):
10109 * converter.C (operator<):
10110 * buffer.C (parseSingleLyXformat2Token):
10112 * ToolbarDefaults.C (read):
10113 * MenuBackend.C (checkShortcuts):
10115 * LColor.C (getFromGUIName):
10116 (getFromLyXName): use the compare_ascii_no_case instead of
10117 compare_no_case, because in turkish, 'i' is not the lowercase
10118 version of 'I', and thus turkish locale breaks parsing of tags.
10120 2002-07-16 Angus Leeming <leeming@lyx.org>
10122 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10123 now takes a Buffer const & argument.
10125 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10127 * BufferView.C (resize): check there's a buffer to resize
10129 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10131 * lyxfunc.C: remove dead code
10134 * lyxserver.C: use lyx_guii::set_read_callback
10136 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10138 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10139 an inset in a RTL paragraph.
10141 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10143 * lyxfunc.C: repaint after a font size update
10145 2002-07-15 André Pönitz <poenitz@gmx.net>
10147 * lyxlength.C: inBP should be able to return negative values
10149 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10151 * lyxfunc.C: use lyx_gui::update_fonts()
10153 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10155 * lyxfunc.C: use lyx_gui::update_color()
10157 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10163 * lyxrc.C: remove file->new asks for name option, and let
10164 buffer-new take an argument
10166 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10168 * BufferView_pimpl.C: remove unneeded extra repaint()
10170 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10172 * LyXAction.C: allow command-sequence with NoBuffer
10174 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10176 2002-07-10 Angus Leeming <leeming@lyx.org>
10178 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10180 2002-07-09 Angus Leeming <leeming@lyx.org>
10182 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10184 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10186 * lengthcommon.h: whitespace
10188 * lyxfunc.C: update scrollbar after goto paragraph
10190 * lyxtext.h: factor out page break drawing, and fix it so
10191 page break/added space paints as selected nicely
10193 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10195 * BufferView_pimpl.C: add FIXMEs, clean up a little
10197 2002-07-09 André Pönitz <poenitz@gmx.net>
10199 * lyxfont.[Ch]: support for wasy symbols
10201 2002-07-08 André Pönitz <poenitz@gmx.net>
10203 * BufferView_pimpl.C: apply John's patch for #93.
10205 2002-07-05 Angus Leeming <leeming@lyx.org>
10207 * BufferView_pimpl.C (buffer): generate previews if desired.
10209 * LColor.h: add "preview" to the color enum.
10211 * LColor.C (LColor): add a corresponding entry to the items array.
10213 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10216 2002-07-05 Angus Leeming <leeming@lyx.org>
10218 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10219 The body of the code is now in the method that is passed an ostream &
10220 rather than a file name.
10221 Pass an additional only_preamble parameter, useful for the forthcoming
10224 2002-07-03 André Pönitz <poenitz@gmx.net>
10226 * lyxfunc.C: simplify getStatus() a bit for math stuff
10228 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10230 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10232 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10234 * text.C (changeRegionCase): do not change case of all the
10235 document when region ends at paragraph end (bug #461)
10237 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10239 * paragraph.C (startTeXParParams):
10240 (endTeXParParams): add \protect when necessary
10242 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10244 * BufferView_pimpl.C (workAreaExpose): remove warning
10246 2002-06-27 Angus Leeming <leeming@lyx.org>
10248 * Makefile.am: add lyxlayout_ptr_fwd.h.
10250 2002-06-26 André Pönitz <poenitz@gmx.net>
10252 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10254 2002-06-25 Angus Leeming <leeming@lyx.org>
10256 * lyxfunc.C (dispatch): Comment out the call to
10257 grfx::GCache::changeDisplay. The method no longer exists now that the
10258 pixmap generation part of the graphics loader has been moved into
10261 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10263 * text2.C: layout as layout
10265 * text.C: layout as layout
10267 * tabular.C (OldFormatRead): layout as layout
10269 * paragraph_pimpl.C (TeXDeeper): layout as layout
10270 (realizeFont): layout as layout
10272 * paragraph.C (writeFile): layout as layout
10273 (validate): layout as layout
10274 (getFont): layout as layout
10275 (getLabelFont): layout as layout
10276 (getLayoutFont): layout as layout
10277 (breakParagraph): layout as layout
10278 (stripLeadingSpaces): layout as layout
10279 (getEndLabel): layout as layout
10280 (getMaxDepthAfter): layout as layout
10281 (applyLayout): layout as layout
10282 (TeXOnePar): layout as layout
10283 (simpleTeXOnePar): layout as layout
10284 (TeXEnvironment): layout as layout
10285 (layout): layout as layout
10286 (layout): layout as layout
10288 * lyxtextclass.C (compare_name): new functor to work with
10289 shared_ptr, layout as layout
10290 (Read): layout as layout
10291 (hasLayout): layout as layout
10292 (operator): layout as layout
10293 (delete_layout): layout as layout
10294 (defaultLayout): layout as layout
10296 * lyxlayout_ptr_fwd.h: new file
10298 * lyxlayout.C (Read): layout as layout
10300 * lyx_cb.C (MenuInsertLabel): layout as layout
10302 * bufferlist.C (newFile): layout as layout
10304 * buffer.C (readLyXformat2): layout as layout
10305 (parseSingleLyXformat2Token): layout as layout
10306 (insertStringAsLines): layout as layout
10307 (asciiParagraph): layout as layout
10308 (latexParagraphs): layout as layout
10309 (makeLinuxDocFile): layout as layout
10310 (simpleLinuxDocOnePar): layout as layout
10311 (makeDocBookFile): layout as layout
10312 (simpleDocBookOnePar): layout as layout
10313 (getLists): layout as layout
10315 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10317 * CutAndPaste.C (cutSelection): layout as layout
10318 (pasteSelection): layout as layout
10319 (SwitchLayoutsBetweenClasses): layout as layout
10321 * BufferView_pimpl.C (Dispatch): layout as layout
10322 (smartQuote): layout as layout
10324 * BufferView2.C (unlockInset): layout as layout
10326 2002-06-24 André Pönitz <poenitz@gmx.net>
10328 * lyxfunc.C: fix #487
10330 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10334 * lyxfunc.C: remove display_shortcuts, show_banner
10336 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10338 * Buffer_pimpl.C: oops, update on resize
10340 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10347 * BufferView.C: use repaint()
10349 * BufferView_pimpl.h:
10350 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10351 as it's a clearer description. Remove superfluous
10354 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10356 * text.C: fix bug 488. Not ideal, but getting
10357 getWord() to work properly for the insets that
10358 matter is more difficult ...
10360 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10362 * BufferView_pimpl.C:
10365 * lyxfunc.C: remove the six million index lyxfuncs to just
10366 one, and DTRT (bug 458)
10368 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10372 * BufferView_pimpl.h:
10373 * BufferView_pimpl.C: clean up resize() stuff,
10374 and unnecessary updateScreen()s
10376 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10380 * BufferView_pimpl.h:
10381 * BufferView_pimpl.C:
10384 * minibuffer.C: remove focus management of workarea,
10385 not needed. Use screen's greyOut()
10387 2002-06-17 Herbert Voss <voss@lyx.org>
10389 * converter.C: (convert) do not post a message, when converting
10390 fails, let the calling function decide what to do in this case
10392 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10394 * lyxfunc.C: tidy up a little
10396 2002-06-16 <alstrup@diku.dk>
10398 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10399 Got rid of FORMS_H_LOCATION include. Now we are
10402 2002-06-15 LyX Development team <lyx@rilke>
10404 * buffer.[Ch] (sgmlOpenTag):
10405 (sgmlCloseTag): Added support for avoiding pernicious mixed
10406 content. Return number of lines written.
10408 (makeLinuxDocFile):
10409 (makeDocBookFile): Fixed calls to sgml*Tag.
10410 Simple white space clean.
10412 (simpleDocBookOnePar): Simple white space clean.
10414 * tabular.[Ch] (docBook): Renamed to docbook and got another
10415 argument to related with the pernicious mixed content.
10417 (docbookRow): Fixed calls for docbook inset method.
10419 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10421 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10422 so it's X11 independent.
10426 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10428 2002-06-15 Lyx Development team <lyx@electronia>
10430 * intl.h: Renamed getTrans to getTransManager.
10432 2002-06-14 Angus Leeming <leeming@lyx.org>
10434 * Makefile.am: nuke forgotten stl_string_fwd.h.
10436 2002-06-12 Angus Leeming <leeming@lyx.org>
10438 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10440 2002-06-13 Angus Leeming <leeming@lyx.org>
10443 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10445 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10447 * kbmap.C (getiso): add support for cyrillic and greek
10449 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10453 * BufferView_pimpl.h:
10454 * BufferView_pimpl.C: move bogus scrolling logic
10457 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10460 * BufferView_pimpl.C: view->resize() change
10462 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10464 * BufferView_pimpl.C: topCursorVisible
10467 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10471 * lyx_gui.C: move to frontends/
10475 * lyx_main.C: changes from above
10477 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10484 * lyx_main.C: minor tidy
10486 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10488 * BufferView_pimpl.h:
10489 * BufferView_pimpl.C:
10491 * BufferView.C: make painter() const,
10494 * BufferView2.C: use screen() accessor
10497 * lyx_main.C: some minor cleanup
10499 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10501 * BufferView_pimpl.h:
10502 * BufferView_pimpl.C: remove enter/leaveView,
10505 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10510 * BufferView_pimpl.h:
10511 * BufferView_pimpl.C: only construct screen once,
10514 * lyxrc.C: remove pointless comment
10516 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10519 * BufferView.C: remove active() and belowMouse()
10521 * BufferView_pimpl.h:
10522 * BufferView_pimpl.C: use workarea() not workarea_,
10523 and make it use a scoped_ptr instead
10525 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10527 * lyx_gui.C: add debug message on BadWindow
10529 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10531 * sp_spell.C: fdopen is not part of the C++ standard.
10533 * paragraph.C (InsetIterator): use >= instead of ==
10535 2002-06-07 Angus Leeming <leeming@lyx.org>
10537 Fixes needed to compile with Compaq cxx 6.5.
10538 * BufferView_pimpl.C:
10545 * lyxtextclasslist.C:
10550 all c-library variables have been moved into namespace std. Wrap
10551 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10556 Add a using std::abs declaration.
10558 * kbmap.h (modifier_pair):
10559 * paragraph.h (InsetTable, InsetList):
10560 * lyxfont.h (FontBits):
10561 type definition made public.
10563 * bufferlist.C (emergencyWriteAll): the compiler complains that
10564 there is more than one possible lyx::class_fun template to choose from.
10565 I re-named the void specialisation as lyx::void_class_fun.
10567 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10569 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10570 the compiler is is unable to find tostr in write_attribute.
10572 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10574 * buffer.C (sgmlError): hide #warning
10576 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10578 * xtl/*: get rid of xtl, which is not in use anyway
10580 * LyXAction.C (init):
10581 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10582 were unimplemented xtl experimentation
10584 2002-06-04 André Pönitz <poenitz@gmx.net>
10586 * lyxfunc.C: disable array operation on simple formulae
10588 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10590 * converter.C: constify a bit
10592 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10594 * lyx_gui.C: check xforms version correctly
10596 2002-04-30 Herbert Voss <voss@lyx.org>
10598 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10601 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10603 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10604 attempt to register it with a VCS)
10606 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10608 * lyx_main.C (init): honor variables LYX_DIR_13x and
10611 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10615 * lyx_main.C: fix a crash on bad command line,
10616 and give a useful exit status on error
10618 * lyxfunc.C (doImport): allow -i lyx to work
10620 2002-03-30 André Pönitz <poenitz@gmx.net>
10622 * lyxfunc.C: mathed font changes
10624 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10639 * trans_mgr.h: srcdocs, and some minor cleanups
10641 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10643 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10644 call getFont all the time)
10646 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10648 * switch from SigC signals to boost::signals
10650 2002-05-29 André Pönitz <poenitz@gmx.net>
10652 * paragraph_pimpl.C (getChar): don't call size() too often...
10654 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10656 * paragraph_pimpl.C (insertChar): do not try to update tables when
10657 appending (pos == size())
10659 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10660 in order to reduce drastically the number of comparisons needed to
10661 parse a large document
10663 2002-05-29 André Pönitz <poenitz@gmx.net>
10669 * textclasslist.[Ch]:
10670 * sp_ispell.h: whitespace change
10672 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10674 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10675 lyxaction directly now.
10677 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10681 * lyxvc.C: remove unused headers
10683 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10690 * undo_funcs.C: some cleanups. Use shared_ptr
10691 and a template for the undo stacks.
10693 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10695 * BufferView_pimpl.h:
10696 * BufferView_pimpl.C:
10703 * text2.C: use key_state/mouse_state
10705 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10707 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10710 * chset.C: change include order
10711 (loadFile): use boost regex and get rid of LRegex and LSubstring
10713 * Makefile.am (BOOST_LIBS): new variable
10714 (lyx_LDADD): use it
10716 * LaTeX.C: change include order.
10717 (scanAuxFile): use boost regex and get rid of LRegex and
10721 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10726 * FontInfo.C: moved to frontends/xforms/
10729 * FontLoader.C: moved into frontends for GUIIzation
10734 * lyxfunc.C: changes from above
10736 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10738 * LColor.C: remove spurious X include
10740 * BufferView_pimpl.C:
10745 * text2.C: move font metrics to frontends/
10747 2002-05-24 Juergen Vigna <jug@sad.it>
10749 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10750 setting the undo_cursor.
10752 * ParagraphParameters.h: include local includes first.
10754 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10756 * BufferView_pimpl.C:
10757 * BufferView_pimpl.h:
10761 * screen.C: move WorkArea into frontends/
10767 * BufferView2.C: move LyXScreen into frontends/
10771 * lyx_gui.C: move lyxlookup into frontends/xforms/
10773 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10776 * BufferView_pimpl.C:
10786 * bufferview_funcs.C:
10799 * vc-backend.C: move LyX/XFormsView into frontends/
10801 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10813 * text2.C: move Painter to frontends/
10815 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10817 * buffer.C: comment out some some code that depend upon lyx_format
10820 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10821 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10823 * buffer.h (NO_COMPABILITY): turn off compability
10825 * ColorHandler.C: include scoped_array.hpp
10827 * font.C: Use more specific smart_ptr header.
10830 * ShareContainer.h: ditto
10831 * lyx_main.h: ditto
10833 * FontInfo.h: ditto
10834 * BufferView_pimpl.h: ditto
10835 * ColorHandler.h: ditto
10837 * kbmap.C (defkey): change call to shared_ptr::reset
10839 2002-05-21 Juergen Vigna <jug@sad.it>
10841 * buffer.C (insertErtContents): fix to insert ert asis if it is
10842 non empty. Skip it completely if it contains only whitespaces.
10844 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10846 * BufferView_pimpl.C:
10847 * BufferView2.C: clear selection on paste (bug 393)
10849 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10851 * DepTable.C: include ctime
10853 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10855 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10857 2002-05-14 Juergen Vigna <jug@sad.it>
10859 * text.C (breakParagraph): fixed function to honor the keepempty
10860 layout in the right maner and also to permit the right breaking
10861 algorithm on empty or non empyt keepempty paragraphs.
10863 * paragraph.C (breakParagraph): we have to check also if the par
10864 is really empty (!size()) for isempty otherwise we do the wrong
10867 2002-05-10 Juergen Vigna <jug@sad.it>
10869 * buffer.[Ch] : The following are only changes to the ert
10870 compatibility read reading old LaTeX layout and font stuff and
10871 convert it to ERTInsets.
10873 * buffer.h: added isErtInset().
10875 * buffer.C (struct ErtComp): add a fromlayout bool to check
10876 if we're inside a LaTeX layout.
10877 (isErtInset): new helper function.
10878 (insertErtContents): look for other ert insets before this one
10879 and insert the contents there, so that we don't have subsequent
10880 ERT insets with nothing between them. This way we create only one
10881 inset with multiple paragraphs. Also check if we don't insert only
10882 spaces ' ' as they are ignored anyway afterwards in the .tex file
10883 so if we have only spaces we will ignore this latex part in the
10885 (parseSingleLyXformat2Token \\layout): better compatibility when
10886 reading layout-latex stuff.
10887 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10889 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10890 stuff after reading the inset only get the information back from
10893 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10895 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10897 * LaTeXFeatures.C (getBabelOptions): New method.
10899 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10901 * BufferView_pimpl.C (Dispatch): work around missing argument for
10904 2002-05-08 Juergen Vigna <jug@sad.it>
10906 * text.C (leftMargin): handle paragraph leftindent.
10908 * paragraph.C (writeFile): write the new \\leftindent tag.
10909 (validate): handle leftindent code.
10910 (TeXEnvironment): handle paragraphleftindent code again.
10912 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10914 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10915 for paragrap_extra indent code and new token \\leftindent.
10916 (latexParagraphs): handle the leftindent as environment.
10918 * ParameterStruct.h: added leftindent support.
10920 * ParagraphParameters.C (leftIndent): added support functions for
10921 the paragraph left indent.
10923 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10926 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10928 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10931 * text.C (computeBidiTables): No bidi in insetERT.
10933 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10936 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10938 * version.C.in: pre 5
10940 2002-05-02 José Matos <jamatos@fep.up.pt>
10941 * buffer.C (makeDocBookFile): white space changes, add newline to
10943 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10945 * tabular.C (docBook): fix typo.
10947 2002-05-03 Juergen Vigna <jug@sad.it>
10949 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10950 change in LyXText as we can not be sure it was not freed.
10951 (drawOneRow): remove unused code.
10953 * text.C (drawInset): redo the calculation of the need_break_row as
10954 it could have a row which was already freed.
10955 (draw): look at the return value of drawInset and return false if
10956 it also returned false.
10957 (paintRowText): look at the return value of draw and return false if
10958 it also returned false.
10960 * lyxtext.h: added bool return type to drawInset() and draw() so that
10961 if we have a change in the row so that the rowbreak has to be redone
10962 we abort drawing as it will be called again.
10964 2002-05-02 Juergen Vigna <jug@sad.it>
10966 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10967 a change in the maintext also if we're inside an inset.
10968 (Dispatch): set the cursor again after a break line and after the
10969 screen has been updated as it could be we're in a different row.
10971 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10972 to set the cursor behind the pargraph with > size().
10973 (setCursor): check also for the same paragraph when checking where
10974 to put the cursor if we have a NFR inset.
10976 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10977 parts of layout read further up as it still was in the wrong
10980 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10982 * screen.C (drawFromTo): change sine fullRebreak always return
10985 * buffer.C (parseSingleLyXformat2Token): reindent some
10987 * BufferView_pimpl.C (update): change since fullRebreak always
10989 (Dispatch): git rid of the last hardcoded "Standard"s.
10991 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10993 * text2.[Ch] (fullRebreak): make it return void now that we always
10996 2002-04-30 Juergen Vigna <jug@sad.it>
10998 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10999 ert compatibility check for "latex" layout.
11001 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11003 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11004 minipages: use col% instead of p%, and also use the current font.
11005 (makeLaTeXFile): Fix use babel condition.
11006 (parseSingleLyXformat2Token): Correct font when reading old floats.
11008 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11010 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11011 inserting list of floats.
11013 2002-04-25 Herbert Voss <voss@lyx.org>
11015 * MenuBackend.C (expand): don't add the graphics extensions to the
11018 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11020 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11021 non-existing layout, do not complain if it was the default layout
11022 of the original class (bug #342)
11024 2002-04-24 Juergen Vigna <jug@sad.it>
11026 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11027 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11029 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11031 * buffer.C (getBibkeyList): If using \bibliography, return the
11032 option field with the reference itself. Enables us to provide natbib
11033 support when using \bibliography.
11035 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11037 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11039 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11040 natbib is provided by the LaTeX class.
11042 2002-04-23 Juergen Vigna <jug@sad.it>
11044 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11047 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11049 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11051 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11053 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11054 ensuremath around textordmasculine, textordfeminine and
11057 2002-04-19 Juergen Vigna <jug@sad.it>
11059 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11060 reinitializing the buffer otherwise row-dimensions may be wrong.
11061 (update): reset also the selection cursors if they do exits otherwise
11062 their x/y positions may be wrong.
11064 * text2.C (cursorDown): don't enter the inset if we came from a row
11065 above and are one row over the inset.
11067 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11068 really leaving an inset.
11070 2002-04-18 Juergen Vigna <jug@sad.it>
11072 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11073 of the selected paragraph does not have the selected layout also if
11076 * text2.C (setLayout): fixed bug which did not change last selected
11079 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11080 changed the read and substituted \\end_float with \\end_inset!
11082 * BufferView_pimpl.C (cursorPrevious):
11083 (cursorNext): fixed to make it work with rows heigher than the work
11084 area without moving the cursor only the draw of the row.
11085 (workAreaMotionNotify): fix jumping over high rows.
11087 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11089 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11092 2002-04-16 Juergen Vigna <jug@sad.it>
11094 * text2.C (setCursor): set also the irow().
11095 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11097 (cursorDown): support for locking an inset if the x_fix value goes
11098 inside it. That way I can transverse insets too with cursor up/down.
11100 * lyxrow.h: added irow helper function same as other (i) functions.
11102 * BufferView_pimpl.C (cursorPrevious):
11103 (cursorNext): fixed for insets!
11105 2002-04-15 Juergen Vigna <jug@sad.it>
11107 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11108 position otherwise it is wrong in some cases.
11110 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11111 inside the inset before the call.
11113 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11115 * buffer.[Ch] (getBibkeyList): make it const.
11117 2002-04-12 Juergen Vigna <jug@sad.it>
11119 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11121 * text2.C (getCursorX): new helper function
11122 (setCursor): compute also ix_
11123 (setCursorFromCoordinates): set also ix.
11125 * lyxcursor.h: added ix_ and helper functions.
11127 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11129 * buffer.C (insertStringAsLines): dont break paragraph if the this
11130 paragraph is inside an inset which does not permit it!
11132 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11133 also with no chars on this paragraph.
11134 (paintRowText): only paint stuff if it's inside the workarea!
11136 * paragraph.C (breakParagraph): honor keepempty flag and break the
11137 paragraph always below not above.
11139 * BufferView2.C (unlockInset): update the paragraph layout on inset
11140 unlock as we changed paragraph in such a case.
11142 * lyxfind.C (LyXFind): clear the former selection if not found!
11144 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11145 again called in insertChar().
11147 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11148 an inset which uses the whole row!
11149 (rightMargin): ditto.
11150 (insertChar): force a rebreak if we inserted an inset!
11152 2002-03-28 Herbert Voss <voss@lyx.org>
11154 * lyxlength.[Ch]: add inBP() to get the right PS-point
11155 units (BigPoint). With inPixels we have rounding errors
11157 2002-04-11 Juergen Vigna <jug@sad.it>
11159 * text2.C (setCursorFromCoordinates): set iy to the right value.
11160 (setCursor): add check if row->previous exists!
11162 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11163 an old float_type as this was the case in the old code!
11165 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11167 * BufferView2.C (showLockedInsetCursor): use iy
11168 (fitLockedInsetCursor): ditto
11170 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11171 locked insets as there we have the right value now.
11173 * lyxcursor.C: added iy_ variable and iy functions to set to the
11174 baseline of cursor-y of the locked inset.
11176 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11177 (setCursor): fixed for insets which need a full row.
11179 * text.C (rowLastPrintable): don't ignore the last space when before
11180 an inset which needs a full row.
11181 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11182 as last character of a row when before a inset which needs a full row.
11184 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11186 * version.C.in: update date
11188 * text2.C (fullRebreak): try to always return true and see what
11191 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11193 * MenuBackend.C (expand): use Floating::listName
11195 * FloatList.C (FloatList): add listName argument to the built-in
11198 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11199 text associated with the float.
11201 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11203 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11205 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11207 * ShareContainer.h: add a couple of missing typenames.
11209 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11211 * lyxrc.C (getDescription): use _() correctly rather than N_().
11213 2002-03-28 Herbert Voss <voss@lyx.org>
11215 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11216 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11218 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11220 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11221 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11223 2002-03-29 Juergen Vigna <jug@sad.it>
11225 * lyxfunc.C (dispatch): add a missing fitCursor call.
11227 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11228 it was scrolled by a cursor move, so return the bool status.
11230 * BufferView.C (fitCursor): return the bool flag also to the outside
11231 world as this is needed.
11233 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11235 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11236 call the edit() as it is not needed (and wrong) IMO.
11237 (workAreaButtonPress): set the screen_first variable before evt.
11238 unlock the inset as this may change screen_first and then we have
11239 a wrong y position for the click!
11241 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11243 * MenuBackend.C (expand): another translation that I missed
11245 2002-03-28 Juergen Vigna <jug@sad.it>
11247 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11249 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11251 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11253 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11255 * MenuBackend.C (expand): fix export/view/update when there is no
11258 2002-03-27 Herbert Voss <voss@lyx.org>
11260 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11263 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11265 * bufferview_funcs.C (currentState): only show paragraph number
11266 for is DEVEL_VERSION is set.
11268 * lyxfunc.C (dispatch): put warning in INFO channel
11270 * MenuBackend.C (expand): translate the name of floats
11272 * FloatList.C (FloatList): mark the float names for translation
11274 * converter.C (convert): use LibScriptSearch
11276 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11278 * MenuBackend.C (defaults): fix default menu (we might as well get
11281 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11283 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11286 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11288 * lyxvc.C: reorder includes.
11290 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11292 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11295 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11297 * CutAndPaste.C: change layouts earlier on paste
11298 to avoid crashing when calling getFont()
11300 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11302 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11305 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11307 * WorkArea.C: remove 'Pending' debug message.
11309 * most files: ws cleanup
11311 * buffer.[Ch]: ws changes
11313 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11315 2002-03-21 Juergen Vigna <jug@sad.it>
11317 * tabular.C (SetMultiColumn): collapse also the contents of the
11318 cells and set the last border right. Added a Buffer const * param.
11320 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11322 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11325 2002-03-19 Juergen Vigna <jug@sad.it>
11327 * text2.C (clearSelection): reset also xsel_cache.
11329 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11330 where it needs to be called (John tells us to do so too :)
11331 (selectionLost): reset sel_cache.
11333 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11335 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11337 * text2.C (setCursorIntern): put debuging code in INSETS channel
11339 2002-03-19 André Pönitz <poenitz@gmx.net>
11341 * lyxfunc.C: tiny whitespace change
11343 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11345 * ToolbarDefaults.C (init):
11346 * LyXAction.C (init):
11348 * BufferView_pimpl.C (Dispatch):
11349 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11351 2002-03-19 Allan Rae <rae@lyx.org>
11353 * exporter.C (Export): removeAutoInsets before doing anything else.
11354 While I've just introduced a dependency on BufferView this really is
11355 the best place to clean the buffer otherwise you need to cleanup in
11356 a dozen places before calling export or cleanup in a dozen functions
11359 * converter.C (runLaTeX):
11360 (scanLog): Better handling of removeAutoInsets and screen updates.
11362 * lyxfunc.C (dispatch): small whitespace changes
11364 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11366 * WorkArea.C (C_WorkAreaEvent): return a value.
11367 (event_cb): return 1 if we handled the event, 0 otherwise.
11369 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11371 2002-03-18 Juergen Vigna <jug@sad.it>
11373 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11374 (GetAdditionalWidth): ditto.
11375 (RightLine): ditto.
11378 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11379 inset if we're there actually (probably not used right now but this
11380 is the direction to go for unifying code).
11381 (paste): disable code to clear the selection.
11383 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11384 inside an InsetText and move the check further up as it is in the
11387 * text2.C (pasteSelection): set a selection over the pasted text.
11389 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11391 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11392 and libgraphics to build on Cygwin.
11394 2002-03-15 Juergen Vigna <jug@sad.it>
11396 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11397 inserting an Inset into the paragraph. I know this is not the best
11398 fix but we already use current_view in CutAndPaste so we will remove
11399 all of it's using at the same time.
11401 * buffer.C (sgmlError): deactivated function till it is rewritten in
11402 the right mode, now it can create problems.
11404 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11405 before accessing it.
11407 2002-03-14 Juergen Vigna <jug@sad.it>
11409 * undo_funcs.C (textHandleUndo): do the right thing when updating
11410 the inset after the undo/redo.
11412 * text2.C (setCursor): just some testcode for #44 not ready yet.
11414 * undo_funcs.C (textHandleUndo): set the next() and previous()
11415 pointers of the paragraph to 0 before deleting otherwise we have
11416 problems with the Paragraph::[destructor].
11418 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11419 on a paragraph insertion.
11421 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11423 * buffer.C (asciiParagraph): use += operator for char append to
11426 * paragraph.C (getFontSettings): compare >= not just >
11427 (highestFontInRange): ditto
11430 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11432 * paragraph.C: change several algorithm to be more appripriate for
11433 the problem domain. This is lookip in FontList and in the InsetList.
11435 2002-03-13 André Pönitz <poenitz@gmx.net>
11438 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11440 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11445 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11447 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11449 * Painter.C (display): anon helper function, adjust code for this
11451 (pixmap): remove function.
11453 * Painter.h: remove private display variable.
11455 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11457 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11459 * WorkArea.[Ch]: remove figinset_canvas cruft.
11461 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11463 * lyxtextclass.C (operator): add one item cache optimization.
11465 * bufferlist.h: doxy changes
11467 * bufferlist.C: ws changes
11469 * DepTable.[Ch] (ext_exist): place const in the right spot.
11471 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11473 (workAreaExpose): call resizeInsets when the with BufferView changes.
11474 (Dispatch): adjust for protectedBlank removal
11475 (specialChar): call updateInset if the insert went ok.
11477 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11478 specialChar instead.
11480 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11482 * BufferView.h: doxy change
11484 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11486 * lyxtextclass.C (operator[]): remove non-const version
11487 (defaultLayout): remove non-const version
11489 2002-03-12 Juergen Vigna <jug@sad.it>
11491 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11492 did resize the LyXText too.
11494 * buffer.C (readLyXformat2): set layout information on newly allocated
11497 * tabular.C (OldFormatRead): set layout information on the paragraph.
11499 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11501 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11503 2002-03-11 Juergen Vigna <jug@sad.it>
11505 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11507 (resizeCurrentBuffer): force also the insets to resize themselfes.
11508 (moveCursorUpdate): fixed up for InsetText.
11510 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11513 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11514 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11515 value of Dialogs::tooltipsEnabled().
11516 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11518 2002-03-08 Juergen Vigna <jug@sad.it>
11520 * BufferView_pimpl.C (updateInset): update inset inside inset also
11521 if it isn't inside theLockingInset().
11523 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11525 * buffer.C (asciiParagraph): redo some of the word and line length
11527 (getLists): look for Caption instead of caption.
11529 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11531 * buffer.C (Buffer): initialize niceFile to true
11533 (makeLinuxDocFile):
11534 (makeDocBookFile): make sure niceFile is true on exit
11536 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11538 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11540 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11542 * LyXSendto.C: remove.
11543 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11544 * lyx_gui.C: remove now-redundant comment.
11545 * ColorHandler.h: remove forward declaration of class WorkArea.
11546 * lyxfunc.C: remove #include "WorkArea.h".
11548 2002-03-07 Juergen Vigna <jug@sad.it>
11550 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11551 got moved away with the DEPM and also set the inset_owner always
11552 right which before could have been omitted.
11554 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11556 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11557 wanted layout is not found.
11559 2002-03-07 Juergen Vigna <jug@sad.it>
11561 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11563 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11565 * paragraph.C (breakParagraph): use default layout not layout of
11567 (Paragraph): clear ParagraphParameters.
11569 2002-03-06 Juergen Vigna <jug@sad.it>
11571 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11572 otherwise it would not be a valid lenght. Fixed a special case in
11573 the minipage compatibility read where we end the document with a
11576 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11577 was set as it could be 0 for InsetTexts first entry.
11579 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11581 * paragraph.C (writeFile): if layout is empty write out
11582 defaultLayoutName().
11584 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11585 file without named layout we set layout to defaultLayoutName().
11587 2002-03-06 Juergen Vigna <jug@sad.it>
11589 * CutAndPaste.C (copySelection): set layout for new paragraph.
11591 * text.C (prepareToPrint): leave ERT inset left aligned
11592 (leftMargin): don't indent paragraphs inside ERT insets
11594 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11596 * paragraph.C (breakParagraph): dont call clear do the work manually
11598 * paragraph.[Ch] (clear): remove function
11600 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11602 * paragraph.C (Paragraph): dont call clear, the work has already
11605 * lyxtextclass.C (operator): assert if n is empty
11607 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11608 work manually instead.
11610 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11612 * BufferView_pimpl.C: protect selectionLost against text == 0
11614 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11616 * text.C (breakParagraph): fix a setting layout to '0' problem.
11618 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11620 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11621 final location of file, for the included files, and graphics.
11623 2002-03-05 Juergen Vigna <jug@sad.it>
11625 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11627 2002-03-04 Juergen Vigna <jug@sad.it>
11629 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11631 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11632 last column of multicolumn cells.
11633 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11635 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11637 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11638 file if it doesn't go to a temporary file.
11640 * buffer.C (sgmlOpenTag):
11641 (sgmlCloseTag): remove extra newline insertion.
11643 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11645 * text.C (getRowNearY): comment out debug msg
11647 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11649 * text2.C: first -> first_y
11651 * text.C (getRowNearY): add some attemts at a possible
11652 optimization, not working.
11654 * tabular.[Ch]: add BufferParams to several function so that newly
11655 created paragraph can be initialized to he default layotu for the
11658 * tabular-old.C (ReadOld): add buf->params to call of Init
11660 * screen.C: rename text->first to text->first_y
11662 * paragraph.C (breakParagraph): always set layout in the broken
11665 * lyxtextclass.C (Read): remove lowercase
11668 (delete_layout): ditto
11670 * lyxtext.h: rename first -> first_y
11672 * lyxlayout.C (Read): remove lowercase
11675 (obsoleted_by): ditto
11677 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11679 * buffer.C (insertErtContents): add params are to InsetERT
11680 (parseSingleLyXformat2Token): add code to check if a paragraphs
11681 layout really exist.
11682 (parseSingleLyXformat2Token): add params to several inset
11684 (asciiParagraph): remove lowercase, do the layout comparisons with
11687 * BufferView_pimpl.C (cursorNext): first -> first_y
11688 (resizeCurrentBuffer): first -> first_y
11689 (updateScrollbar): first -> first_y
11690 (scrollCB): first -> first_y
11691 (workAreaMotionNotify): first -> first_y
11692 (workAreaButtonPress): first -> first_y
11693 (checkInsetHit): first -> first_y
11694 (cursorPrevious): first -> first_y
11695 (cursorNext): first -> first_y
11696 (Dispatch): add buffer_->params to severl inset contructors
11698 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11700 * lyxlayout.C (Read): remove some debug info that I forgot.
11702 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11703 clean up the code slightly.
11704 (makeLinuxDocFile): ditto
11705 (makeDocBookFile): ditto
11707 * text2.C: layout as string
11709 * text.C: layout as string
11711 * paragraph_pimpl.C: layout as string
11713 * paragraph.[Ch]: layout as string
11715 * lyxtextclasslist.[Ch]: layout as string
11717 * lyxtextclass.[Ch]: layout as string
11719 * lyxtext.h: layout as string
11721 * lyxlayout.[Ch]: layout as string
11723 * lyx_cb.C: layout as string
11725 * bufferview_funcs.C: layout as string
11727 * bufferparams.C: layout as string
11729 * buffer.C: layout as string
11731 * LyXView.[Ch]: layout as string
11733 * LaTeXFeatures.[Ch]: layout as string
11735 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11737 * BufferView_pimpl.C: change current_layout to string, remove
11742 (workAreaButtonRelease): layout as string
11744 * BufferView2.C (unlockInset): adjust
11746 * vspace.C (asLatexCommand): use an explict temp variable.
11748 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11750 * Makefile.am: use FRONTEND_*
11752 2002-03-01 Juergen Vigna <jug@sad.it>
11754 * tabular.C (SetWidthOfMulticolCell): changed to something better
11755 I hope but still work in progress.
11756 (recalculateMulticolumnsOfColumn): renamed function from
11757 recalculateMulticolCells as it is more appropriate now.
11758 (SetWidthOfCell): calculate multicols better.
11760 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11762 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11764 * lyxfunc.C (processKeySym): print sequence also if it is
11765 `deleted' (complete)
11767 * kbsequence.C (print): print sequence even if it is deleted
11768 (complete would be a better word, actually).
11770 * lyxfunc.C (dispatch): print complete options after a prefix key
11772 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11774 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11776 * text2.C (setCharFont): eliminate setCharFont code duplication.
11778 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11780 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11781 LFUN_TABULAR_FEATURE (bug #177)
11783 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11785 * Makefile.am: remove figure.h
11787 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11789 * Bufferview_pimpl.C:
11801 * text2.C: remove #include "lyx_gui_misc.h".
11803 * LaTeX.C: added #include <cstdio>
11805 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11807 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11808 that the paragraph following this one can have.
11810 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11812 * vspace.C (asLatexCommand): fix bogus gcc warning
11814 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11816 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11818 * text2.C (setLayout): get rid of redundant code
11820 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11822 * text2.C (incDepth): make sure depth cannot be increased beyond
11825 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11827 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11828 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11830 * PainterBase.h (image):
11831 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11832 a LyXImage const *.
11834 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11838 * BufferView_pimpl.C:
11839 * BufferView_pimpl.h:
11859 * sp_spell.C: remove fig inset, and the crap house of
11860 cards that follows it
11862 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11867 * os2_errortable.h:
11868 * nt_defines.h: move .h into support/
11870 * vms_defines.h: remove
11872 * WorkArea.C: add space in debug output
11876 * buffer.C: add WITH_WARNINGS
11880 * bufferlist.C: s/retrive/retrieve/, add docs
11889 * chset.C: add docs
11891 * lyxgui.C: add ID to X error handler
11893 * lyxtestclass.c: fix typo
11895 2002-02-26 Juergen Vigna <jug@sad.it>
11897 * tabular_funcs.C (write_attribute): changed so that some default
11898 attributes are not written at all.
11899 (getTokenValue): set default values before trying to read the
11900 value so we have the return value always set as default if we don't
11901 find the token we search for.
11903 * tabular.C (Write): write bools as bools not as strings!
11905 2002-02-22 Juergen Vigna <jug@sad.it>
11907 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11908 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11910 * text.C (leftMargin): don't add an indent for paragraphs inside
11911 tabular cells (fix #208).
11913 2002-02-21 José Matos <jamatos@fep.up.pt>
11915 * tabular.C (docBook): fixed support for long tables.
11917 2002-02-20 Juergen Vigna <jug@sad.it>
11919 * text2.C (getFont): get the drawing font of the Inset if this
11920 paragraph is inside an inset (only important for InsetERT for now).
11922 * buffer.C (insertErtContents): use new lanugage params in ERT
11925 * CutAndPaste.C: commenting out seemingly uneeded code.
11927 2002-02-19 Allan Rae <rae@lyx.org>
11929 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11930 Iterators might be simple to use but they also get invalidated.
11931 (removeAutoInsets): renamed saved cursor tracking variables and added
11932 some comments to clarify what everything does.
11934 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11941 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11942 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11945 * vc-backend.h: remove #include "support/syscall.h"
11949 * converter.C: rearrange #includes in Lars' approved fashion.
11951 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11952 forward declare class Timeout in the header file.
11954 * XFormsView.C: changes due to the above.
11956 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11957 similar to LyXView.
11959 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11960 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11962 2002-02-18 José Matos <jamatos@fep.up.pt>
11964 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11967 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11969 * a lot of small ws changes
11970 * add a lot of using std::XXX
11971 * use std construcs some places where approp.
11972 * use some exisint stuff from lyxfunctional where approp.
11973 * Make file changes to use partial linking (lets test this now...)
11975 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11979 remove #include "support/syscontr.h" as it's redundant. Always has been.
11987 change Systemcalls::System to Systemcalls::Wait and
11988 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11989 No change of functionality, just reflects the stripped down Systemcalls
11992 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11994 * debug.[Ch]: add a GRAPHICS type to the enum.
11996 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11998 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12000 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12003 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12005 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12006 match the changes below.
12008 * text2.C (toggleInset): if there is not editable inset at cursor
12009 position, try to see if cursor is _inside_ a collapsable inset
12012 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12014 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12015 document menu has a nice checkbox
12017 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12019 * lyxlength.C (asLatexString): change PW to output as percent of
12022 * lengthcommon.C: change '%' to 't%'
12024 * lyxfunc.C (dispatch): a few comments from Martin
12026 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12030 * BufferView_pimpl.h:
12031 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12034 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12036 * vspace.C (inPixels): fix compiler warning
12038 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12040 * lyxfunc.C (getStatus): fix status message for disabled commands.
12042 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12044 * BufferView_pimpl.C: fix crash on close buffer
12045 during selection (#227)
12047 2002-01-27 Herbert Voss <voss@lyx.org>
12049 * buffer.C: link old Figure to new graphic inset
12051 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12053 * FontLoader.C (getFontinfo): Change the latex font names in order
12054 to match the names of type1inst.
12056 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12058 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12060 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12061 (extchanged): ditto
12063 (remove_files_with_extension): ditto
12064 (remove_file): ditto
12067 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12068 document is smaller than the work area height. Do not initialize
12069 static variables to 0.
12071 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12073 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12075 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12076 LFUN_LAYOUT_PARAGRAPHS.
12078 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12079 tabular. It is possible to provide a possible cell, which will
12080 typically be the actcell from the corresponding insettabular
12082 * lyxfunc.C (getStatus): small cleanup; disable
12083 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12086 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12088 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12090 * paragraph.C (startTeXParParams):
12091 (endTeXParParams): new methods. The LaTeX code to
12092 start/end paragraph formatting
12093 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12094 empty (fixes bug #200)
12096 * vspace.C (inPixels): adapt to the change below
12097 (inPixels): [later] more cleanups (remove unused variables)
12099 * lyxlength.C (inPixels): change to use a width and a height as
12102 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12104 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12105 Replaced with \paperwidth
12107 * DepTable.C (insert): add std:: qualifier
12109 2002-01-18 Allan Rae <rae@lyx.org>
12111 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12114 * text.C (drawInset): Turned out I didn't know enough about how
12115 rebreaking worked. This fixes most of the redraw problems. I see
12116 an occasional cursor trail when a line is broken now and the cursor
12117 placement can seem out by a few pixels also after a rebreak.
12119 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12121 * buffer.C (parseSingleLyXformat2Token): update because minipage
12122 width is now a LyXLength
12124 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12126 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12129 2002-01-17 Juergen Vigna <jug@sad.it>
12131 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12133 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12134 is set correctly and the inset is updated correctly.
12136 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12138 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12139 the beginning of the loop.
12141 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12143 * lyxrc.C: improve help for use_scalable_fonts
12145 2002-01-17 Allan Rae <rae@lyx.org>
12147 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12149 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12151 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12152 make sure to set their inset_owner to the right value (bug #171)
12154 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12157 * DepTable.C: Implement mtime checking to reduce time spent doing
12160 2002-01-16 Juergen Vigna <jug@sad.it>
12162 * tabular.C (GetAdditionalHeight): one of error fixed.
12164 * lyxrc.C (output): small fix in writing use_pspell.
12166 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12168 * sp_base.h: #include LString.h
12170 2002-01-16 Allan Rae <rae@lyx.org>
12172 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12173 Can someone check this please?
12175 * text.C (drawInset): It was possible that p.row would be removed by
12176 breakAgainOneRow upsetting a few other settings. There may be another
12177 small tweak possible by setting need_break_row = 0 when p.row has been
12178 removed but I don't know enough about the logic here.
12180 2002-01-15 Allan Rae <rae@lyx.org>
12182 * text.C (insertChar): removed conditional truism.
12184 * BufferView2.C (removeAutoInsets): More tweaks.
12185 cur_par_prev could be a stray pointer. Check for trailing empty line
12186 in case last line was cur_par and only had an error inset on it.
12188 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12190 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12193 * vc-backend.C (most methods):
12194 * exporter.C (Export):
12195 * converter.C (convert):
12197 * LyXSendto.C (SendtoApplyCB):
12198 * lyxfunc.C (dispatch):
12202 * lyx_cb.C (AutoSave):
12204 * BufferView_pimpl.C (MenuInsertLyXFile):
12205 * buffer.C (runChktex): use Buffer::filePath().
12207 * buffer.h: rename filename to filename_; rename filepath to
12208 filepath_ and make it private
12209 (filePath): new method
12211 * buffer.C (writeFile): use fileName()
12214 * lyx_main.C (init): fix starting of LyX when the binary is a
12215 link from so,ewhere else.
12217 * minibuffer.C: include <cctype> for isprint
12219 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12221 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12222 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12223 name clash with InsetCollapsable's width function.
12225 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12227 * lastfiles.C: include <iterator>
12229 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12231 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12234 * buffer.C (makeLaTeXFile): ditto.
12235 Also make loop operation more transparent.
12237 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12239 * ToolbarDefaults.C: remove trailing comma closing namespace.
12241 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12243 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12246 * trans.C (Load): comment out unused variable, allowed.
12248 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12250 * minibuffer.[Ch] (append_char): new method to recieve input from the
12251 drop-down completion browser. If a key was pressed, then recieve this
12252 char and append it to the existing string.
12253 (peek_event): modify the positioning data passed to the completion
12254 browser so that it can be placed above the minibuffer rather than below.
12255 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12257 * LyXAction.C (init): alloe error-next for readonly documents.
12259 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12262 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12264 * bufferlist.C (readFile): create the buffer _after_ checking that
12267 * lyxfunc.C (verboseDispatch): fix handling of arguments
12269 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12271 * lyxrc.C: use string::erase() instead of initializing to "".
12274 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12276 * BufferView_pimpl.h:
12277 * BufferView_pimpl.C:
12280 * text2.C: tell X when we have made a selection for copying
12282 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12284 * BufferView_pimpl.C (MenuInsertLyXFile):
12285 * lyxfunc.C (menuNew):
12287 (doImport): add shortcuts to directory buttons
12289 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12292 * lyxfunc.C (setStatusMessage):
12293 (getStatusMessage): new methods
12294 (getStatus):use setStatusMessage instead of setErrorMessage
12295 (dispatch): when function is disabled, set error message here
12296 [instead of in getStatus previously]
12298 * BufferView_pimpl.C (workAreaButtonRelease): update
12299 toolbar/menubar here too.
12301 2002-01-13 Allan Rae <rae@lyx.org>
12303 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12304 Now seems indestructible. Remaining task is to audit all other
12305 code affected by deleteEmptyParagraphMechanism. One small quirk
12306 left is that an empty document with an error in the preamble can
12307 be made to report an error but no error box appears. I don't know
12309 (removeAutoInsets): Improved comments.
12311 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12314 * Thesaurus.C: update for Aiksaurus 0.14
12316 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12318 * text2.C (firstParagraph): removed member function, all uses
12319 replaces with ownerParagraph
12320 (redoParagraphs): here
12321 (updateInset): here
12322 (toggleAppendix): here
12323 * BufferView2.C (insertErrors): here
12324 (setCursorFromRow): here
12326 2002-01-13 Allan Rae <rae@lyx.org>
12328 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12329 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12330 There is still a way to segfault this although you may have to do this
12331 multiple times: Have an InsetERT with an unknown command in it.
12332 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12333 <down-arrow>, <Enter> again, View->DVI, BANG!
12335 * text2.C (setCursor):
12336 (deleteEmptyParagraphMechanism):
12337 * lyxtext.h (setCursor):
12338 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12339 Making use of the return value may help fix other bugs.
12341 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12343 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12345 * LyXView.C (updateMenubar): call MenuBar::update here
12346 (updateToolbar): but not here
12347 (showState): do not update toolbar/menubar
12349 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12350 should need to care about that.
12352 * lyxfunc.C (verboseDispatch): simplify a bit
12353 (getStatus): have a version which takes a pseudoaction, and
12354 another which requires a (kb_action,string).
12356 * LyXAction.C (retrieveActionArg): make it work also when action
12357 is not a pseudo-action.
12358 (getActionName): simplify a bit
12361 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12363 * lyxfunc.C (verboseDispatch): new families of methods with
12364 several ways to specify a command and a bool to indicate whether
12365 the command name and shortcut should be displayed in minibuffer
12366 (eventually, we could extend that to a finer bitmask like
12367 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12368 (dispatch): the pristine dispatch command which just, well,
12369 dispatchs! Note it still sets its result to minibuffer; I'm not
12372 * lyxfunc.h: remove setHintMessage
12374 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12376 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12378 * BufferView_pimpl.C (specialChar): delete new inset if we have
12379 not been able to insert it.
12381 * kbmap.C: revert to using int instead of kb_action, since all we
12382 are dealing with is pseudo-actions.
12384 * LyXAction.C (searchActionArg): change to return int instead of
12385 kb_action, since the result is a pseudoaction.
12387 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12389 * buffer.C (insertErtContents): Fix (partially) the font bug.
12391 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12393 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12394 as the other one is broken on my machine!
12396 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12399 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12401 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12403 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12404 reflect their actual use. Provide compatibility code for older lyxrc
12407 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12409 change names of popup font variables in line with the changes to lyxrc.C
12411 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12413 * buffer.C (asciiParagraph): avoid outputing a word twice after
12416 * lyxrc.C (getDescription): document that document_path and
12417 template_path can be empty.
12419 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12421 * LaTeXFeatures.C (getMacros):
12422 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12424 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12426 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12428 (getPackages): rename feature "floats" to "float". Use an array to
12429 iterate over 'simple' features (i.e. just a \usepackage). Add
12430 handling of "amsmath" (renamed from "amsstyle").
12432 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12434 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12437 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12439 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12440 FuncStaus::FuncStatus & FuncStaus::some_method().
12442 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12444 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12445 of the func_satus stuff. Edited and massaged in various ways by
12448 * lyxfunc.C (getStatus): use FuncStatus
12450 2002-01-08 Juergen Vigna <jug@sad.it>
12452 * text.C (nextBreakPoint): use function Inset::isChar().
12454 * paragraph.C (TeXOnePar): use function
12455 Inset::forceDefaultParagraphs.
12457 * buffer.C (latexParagraphs): use function
12458 Inset::forceDefaultParagraphs.
12460 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12462 * lyx_gui.C (init): set the style of the menu popups to
12463 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12465 2002-01-07 Juergen Vigna <jug@sad.it>
12467 * text.C (setHeightOfRow): small fix
12468 (prepareToPrint): don't look at alignment if we don't have the place
12471 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12473 * box.C: New file. Move the Box methods and functions out of box.h,
12474 following Lars' suggestion.
12476 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12478 * box.h: #include "support/LOstream.h", needed for inlined function.
12481 * lyxtextclasslist.C: added some using std declarations.
12483 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12485 * box.h: make signed dimensions to allow insets wider than
12486 the screen (bug #162)
12488 * BufferView_pimpl.C: add some insetHit debug
12490 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12492 * vc-backend.C: add FIXME
12494 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12496 * lyxfunc.C (getStatus): enable code for showing math font status
12499 2002-01-07 Juergen Vigna <jug@sad.it>
12501 * text.C (nextBreakPoint): removed debug output not needed anymore.
12503 2002-01-06 Juergen Vigna <jug@sad.it>
12505 * text.C (nextBreakPoint): fixed up this function we had this bug
12506 since ever but now hopefully we break row better.
12507 (insertChar): we have to check if an inset is the next char as it
12508 could now happen that a large inset is causing a break.
12510 2002-01-05 Juergen Vigna <jug@sad.it>
12512 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12513 if it doesn't like to be drawed.
12515 2002-01-04 Juergen Vigna <jug@sad.it>
12517 * BufferView2.C (lockInset): forgot to set a cursor.
12519 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12521 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12523 * FormMathsPanel.C:
12526 * form_maths_panel.C:
12527 * form_maths_panel.h:
12528 * form_maths_panel.fd: implemented sub- and super- buttons in math
12531 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12532 (or ^ space) to be used as in TeX (req'd by André).
12534 * lyxfunc.C: Allow ^ and _ again to be used both as
12535 super/subscript (mathed) and as themselves (in text).
12537 2002-01-03 Allan Rae <rae@lyx.org>
12539 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12540 "LyX" or the filename of the current buffer if it has one. This is a
12541 modified form of John Levon's patch.
12543 * XFormsView.C (setWindowTitle): also set icon title.
12545 * LyXView.h (setWindowTitle): signature changed.
12546 * XFormsView.h (setWindowTitle): ditto.
12548 2002-01-02 Juergen Vigna <jug@sad.it>
12550 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12552 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12554 * screen.C (topCursorVisible): introduce a temp var for
12555 text->cursor.row(), handle the case where this row is null. (kindo
12558 * text2.C (setCursor): add a couple of asserts.
12560 * paragraph.h (inset_iterator): add -> operator
12562 * paragraph.[Ch] (autoDeleteInsets): remove member function
12564 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12565 cursor pos correctly and handle inset deletion by itself.
12566 (insertErrors): move iterator declaration out of for expression
12568 * lyxtextclass.C: add <algorithm>
12570 * Makefile.am: added the new files to sources, removed layout.C
12572 * layout.C: removed file
12574 * layout.h: remove LYX_DUMMY_LAYOUT
12576 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12580 * lyxtextclass.[Ch]:
12581 * lyxtextclasslist.[Ch]: new files
12583 * include order changes to a lot of files, also changes because of
12586 2001-12-27 Juergen Vigna <jug@sad.it>
12588 * buffer.C (asciiParagraph): more fixes.
12590 * tabular.C (ascii): make ascii export support export of only the
12591 data separated by a column-delimiter.
12592 (ascii): better support for ascii export.
12594 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12596 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12598 * tabular_funcs.C: use a "using std::getline" instead of the
12599 previous fix from Angus (necessary for cxx + lyxstring)
12601 2001-12-24 Juergen Vigna <jug@sad.it>
12603 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12605 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12606 problems. First check a minipage also if we have some ert-contents
12607 (not only on par->size(), second set the right depth of the paragraph
12608 on the relink to the root-paragraph-list!
12610 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12611 which then did not anymore update the main paragraphs on undo/redo!
12613 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12615 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12616 code. Support all font-changing funcs (even those which are not in
12617 menu currently). Support for reporting font settings in
12618 mathed (disabled until Andre provides a function on mathed's side).
12620 * func_status.h (toggle): small helper function to set toggle
12623 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12625 * tabular_funcs.C: getline -> std::getline
12627 2001-12-21 Juergen Vigna <jug@sad.it>
12629 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12630 accessed and could be 0 (I couldn't generate this but it seems
12633 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12635 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12636 * tabular_funcs.h: here and include iosfwd
12638 2001-12-20 Juergen Vigna <jug@sad.it>
12640 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12641 inside inset but undo_par was.
12643 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12645 * Thesaurus.C: always include <config.h> in sources.
12649 * box.h: do not include <config.h> in header files
12651 * text.C (paintLastRow): remove unused variable
12653 * text.C (transformChar):
12655 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12657 * Painter.C (text):
12658 * font.C (width): rewrite to use uppercase() instead of
12661 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12663 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12665 * lyxfind.C: clean up of find failure position change
12667 2001-12-20 Juergen Vigna <jug@sad.it>
12669 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12671 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12672 (TeXRow): added to LaTeX a single tabular row.
12673 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12674 (Latex): simplified and finally good LT-h/f support.
12675 (various_functions): just small adaptions for LT-h/f support.
12677 * tabular_funcs.[hC]: added and moved here all not classfunctions
12680 2001-12-19 Juergen Vigna <jug@sad.it>
12682 * tabular.[Ch]: better support for longtabular options (not finished
12685 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12687 * text.C (paintLastRow): use the label font instead of the font of
12688 the last character to compute the size of *_BOX. This makes more
12689 sense and avoids a crash with empty paragraphs.
12690 Use Painter::rectangle to draw EMPTY_BOX.
12692 2001-12-19 Juergen Vigna <jug@sad.it>
12694 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12695 the paragraphs if the replaced paragraph is not the first one!
12696 Tried to delete not used paragraphs but does not work yet so for
12697 now it's inside #ifdef's and by default off!
12699 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12701 * MenuBackend.C: include "lyx_main.h" instead of declaring
12702 lastfiles (actually was declared as LastFiles* instead of a
12705 2001-12-17 Juergen Vigna <jug@sad.it>
12707 * tabular.C (AppendColumn): applied John's fix
12709 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12713 * BufferView_pimpl.h:
12714 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12717 * box.h: new start of class for above
12719 * lyxfunc.C: ignore space-only minibuffer dispatches.
12720 Show the command name when it doesn't exist
12722 * minibuffer.C: don't add empty lines to the history
12724 * minibuffer.C: add a space on dropdown completion
12726 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12728 * text.C: fix line above/below drawing in insets
12730 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12732 * lyxlength.C (LyXLength): Initialize private variables.
12734 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12736 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12737 when inserting error insets.
12739 2001-12-13 Juergen Vigna <jug@sad.it>
12741 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12742 actually sometimes the before-paragraph.
12743 (setUndo): don't clear the redostack if we're not actually undoing!
12745 2001-12-06 Juergen Vigna <jug@sad.it>
12747 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12748 and fixed redoing of main paragraph, so we can use it now ;)
12750 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12752 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12754 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12757 2001-12-13 André Pönitz <poenitz@gmx.net>
12760 * undo_func.C: minor cleanup
12762 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12764 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12765 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12766 font in urw-fonts package which is marked as -urw-fontspecific and
12767 does not work (incidentally, changing the encoding in the
12768 fonts.dir of this package to -adobe-fontspecific fixes the
12771 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12772 is a crash when undoing first paragraph (Juergen, please take a
12773 look). THis does not mean the undo fix is wrong, just that it
12776 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12777 the (Paragraph*) version when needed instead of duplicating the
12780 * text.C (workWidth): use Inset::parOwner to find out where the
12781 inset has been inserted. This is a huge performance gain for large
12782 documents with lots of insets. If Inset::parOwner is not set, fall
12783 back on the brute force method
12785 * paragraph_pimpl.C (insertInset):
12786 * paragraph.C (Paragraph):
12787 (cutIntoMinibuffer): set parOwner of insets when
12788 inserting/removing them
12790 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12792 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12798 * mathed/formulabase.C:
12799 * mathed/math_cursor.[Ch]:
12800 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12803 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * lyxlength.[Ch] (operator!=): new function
12807 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12809 * text.C (workWidth): use Inset::parOwner to find out where the
12810 inset has been inserted. This is a huge performance gain for large
12811 documents with lots of insets. If Inset::parOwner is not set, fall
12812 back on the brute force method
12814 * paragraph_pimpl.C (insertInset):
12815 * paragraph.C (Paragraph):
12816 (cutIntoMinibuffer): set parOwner of insets when
12817 inserting/removing them
12819 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12821 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12823 * tabular-old.C (getTokenValue):
12824 * tabular.C (getTokenValue):
12825 (write_attribute): new versions for LyXLength
12826 (everywhere): adjust the use of widths
12828 * tabular.h: change the type of widths from string to LyXLength
12830 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12832 * paragraph.C: fixed missing line number count when exporting
12833 Environments to LaTeX file
12835 * buffer.C: added informational message for checking line numbers.
12837 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12839 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12840 paragraph, do the 'double space' part, but not the 'empty
12843 * text.C (workWidth): small optimization
12844 (getLengthMarkerHeight): use minimal size for negative lengths.
12846 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12848 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12850 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12852 2001-12-11 André Pönitz <poenitz@gmx.net>
12855 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12857 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12859 * text2.C: keep selection on a setFont()
12861 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12863 * lyx_cb.C: another bv->text misuse, from insert label
12865 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12868 * kbsequence.C: re-instate nmodifier mask
12870 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12872 * lyx_main.h: make lyxGUI private.
12874 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12876 * lyxfind.C: place the cursor correctly on failed search
12878 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12880 * text.C (getLengthMarkerHeight): for small heights, the arrows
12881 are not always on top/bottom of the text
12882 (drawLengthMarker): smaller arrows; take the left margin in
12883 account; draw also vfills.
12885 (paintLastRow): remove special code for vfill and standard spaces,
12886 since everything is handled in drawLengthMarker now.
12888 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12890 * buffer.C (insertErtContents): try to handle font and language
12891 interaction a bit better.g
12893 * ColorHandler.C (updateColor): change the hash to cover the whole
12894 LColor enum, ws cleanup
12895 (getGCLinepars): ditto
12896 (getGCLinepars): only lookup in the linecache once.
12898 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12900 * iterators.C (operator++): Make the iterator more robust
12902 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12904 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12906 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12909 * text.C: better added space drawing
12911 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12914 * BufferView2.C: fix layout combo update on inset unlock
12916 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12918 * Makefile.am: don't compile unused files
12920 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12924 * LyXAction.C: remove old LFUN_LAYOUTNO
12926 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12928 * paragraph_pimpl.h:
12929 * paragraph_pimpl.C: isTextAt() doesn't need font param
12931 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12934 * lyxlex.C: little cleanup
12936 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12938 * BufferView_pimpl.C: fix insertAscii for insets
12940 2001-12-05 Juergen Vigna <jug@sad.it>
12942 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12943 set the right font on the "multi" paragraph paste!
12945 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12951 * lyxlength.C: remove out-commented code.
12953 * BufferView_pimpl:
12967 * vc-backend.C: change "while(" to "while ("
12969 * lyxlength.[Ch]: add zero function to check if length is zero or
12971 * lyxgluelength.C: use it
12973 2001-12-05 Allan Rae <rae@lyx.org>
12975 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12976 Works for 2.95.3, from what I understand of Garst's reports this should
12977 work for other g++ versions. We're screwed if the abs(int) definition
12978 changed between bugfix releases of gcc.
12980 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12982 * text.C: fix chapter label offset !
12984 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12987 * text.C: fix hfill at end of line, clean up
12989 2001-12-04 Juergen Vigna <jug@sad.it>
12991 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12992 that we force an update of the inset and it's owners if neccessary.
12994 2001-12-03 Juergen Vigna <jug@sad.it>
12996 * text.C (rowLast): simplified code
12998 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13000 * lyxfunc.C: fix show options on timeout
13002 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13004 * screen.C (topCursorVisible): scroll half a page when the cursor
13005 reached top of bottom of screen
13007 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13009 * minibuffer.C: deactivate on loss of focus
13011 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13013 * vspace.[Ch] (operator!=): add operator.
13015 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13017 * BufferView_pimpl.C: refuse to open an inset when
13018 there's a selection.
13020 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13022 * BufferView_pimpl.C: allow to click on RHS of full row insets
13024 2001-11-30 Juergen Vigna <jug@sad.it>
13026 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13027 insets for undo reasons.
13029 2001-11-28 André Pönitz <poenitz@gmx.net>
13031 * vspace.[Ch]: cosmetical changes
13033 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13043 * kbsequence.C: part re-write of old kb code
13046 * WorkArea.C: remove Lgb_bug_find_hack
13048 2001-11-30 José Matos <jamatos@fep.up.pt>
13050 * buffer.C (makeDocBookFile): add a comment to point a hack.
13051 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13052 Fixed a double write of labels.
13054 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13057 * LaTeX.h Fixed bug in LaTeX class where it would not
13058 re-run latex if no depfiles were changed, but the .dvi was removed.
13060 2001-11-28 André Pönitz <poenitz@gmx.net>
13062 * all the files from the change on 2001/11/26:
13063 use lyx::layout_type instead of LyXTextClass::size_type
13064 use lyx::textclass_type instead of LyXTextClassList::size_type
13066 2001-11-29 Juergen Vigna <jug@sad.it>
13068 * text.C: added support for paragraph::isFreeSpacing()
13070 * buffer.C: same as above
13072 * paragraph.h: inserted isFreeSpacing() function to enable
13073 FreeSpacing inside InsetERT.
13075 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13076 of the paragraph's in the cut/copy buffer to 0!
13078 * text2.C (removeRow): remove the assert as it can!
13080 * lyxtext.h: added helper function firstRow returning firstrow and
13081 made firstrow private again.
13083 * BufferView2.C (lockInset): don't relock if we're already locked!
13085 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13086 the only paragraph.
13087 (removeRow): added Assert::(firstrow)
13089 * debug.C: forgot to add INSETTEXT here.
13091 2001-11-28 Juergen Vigna <jug@sad.it>
13093 * sp_spell.C (initialize): changed error text to more general
13094 spellchecker command use (not only ispell!)
13096 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13098 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13100 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13102 * vspace.C: initialise lyxgluelength on failure
13104 2001-11-28 Allan Rae <rae@lyx.org>
13106 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13107 declaration & definition that looks like a function declaration.
13109 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13111 * BufferView2.C (copy):
13112 (copyEnvironment): do not clear the selection when doing a copy.
13114 * text.C (paintFirstRow): compilation fix
13116 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13118 * tabular.C (Latex): correct line count when writing latex.
13120 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13122 * paragraph_pimpl.h:
13123 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13126 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13130 * LColor.C: change vfillline->added_space
13132 * text.C: add markers and text for added space
13134 * vspace.C: fix comment
13136 2001-11-28 André Pönitz <poenitz@gmx.net>
13138 * paragraph.C: whitespace changes
13139 * all the other files from the change on 2001/11/26:
13140 change *::pos_type into lyx::pos_type
13142 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13144 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13145 language of the document when inserting error insets.
13147 2001-11-26 André Pönitz <poenitz@gmx.net>
13149 * BufferView_pimpl.[Ch]:
13157 * paragraph_pimpl.[Ch]:
13160 * text2.C: reduce header dependencies, introduce type for positions
13162 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13164 * <various>: change to use Alert.h
13166 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13168 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13169 when encountering an unknown token.
13170 (readLyXformat2): Show an error message if there were unknown tokens.
13172 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13175 * BufferView_pimpl.C:
13179 * text2.C: use par->isInset()
13181 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13183 * paragraph_pimpl.h:
13184 * paragraph_pimpl.C: cleanup
13186 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13188 * text2.C (removeRow):
13189 * text.C (setHeightOfRow): remove useless (and costly) call to
13192 2001-11-20 Allan Rae <rae@lyx.org>
13194 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13195 Now need Inset*::checkInsertChar() to return true for appropriate
13196 cases so that the characters in the minibuffer will actually be
13199 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13201 * text.C: change the order of the includes.
13202 (workWidth): initialize it at once.
13203 (workWidth): make maxw unsigned
13204 (setHeightOfRow): remove unused variable (inset)
13205 (selectSelectedWord): remove unused variable (inset)
13206 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13208 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13210 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13211 server is not running.
13213 (closeConnection): add debug info when server is disabled.
13215 * ColorHandler.C (getGCForeground): send debug message to GUI
13218 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13220 * kbmap.C (bind): modify because return conventions of
13221 kb_sequence::parse have changed.
13223 * kbsequence.C (parse): only ignore spaces and not any stupid
13224 control character. This avoids tests like s[i] <= ' ', which are
13225 guaranteed to fail with 8bit characters and signed chars.
13226 Change return code to string::npos when there have been no error
13227 (0 was a bad idea when error is at first character)
13229 2001-11-14 José Matos <jamatos@fep.up.pt>
13232 * buffer.C (simpleDocBookOnePar): removed unused argument.
13234 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13236 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13237 insets which are part of a word. Paragraph::isLetter takes care of
13238 that now. Use Paragraph::isInset to identify insets.
13239 (selectSelectedWord): do not test for hyphenation break.
13241 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13242 that protected spaces are considered as spaces.
13244 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13247 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13250 * lyxserver.C: fix it. and small cleanup.
13252 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13254 * BufferView_pimpl.C: use inline helpers
13257 * LaTeXFeatures.C: fix typos
13260 * Spacing.C: move spacing_string into class
13262 * ToolbarDefaults.C: move stuff into namespace anon
13264 * layout.h: update enum
13266 * lyxfunc.C: use better debug
13268 * minibuffer.h: fix typo
13272 * WorkArea.C: add and use Debug::WORKAREA
13276 * text2.C: code re-organisation, inline helpers
13278 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13280 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13281 std::vector.empty().
13283 2001-11-09 Allan Rae <rae@lyx.org>
13285 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13286 '\n's after tables. Tabular and ERT inset work now makes this no
13289 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13292 * minibuffer.C: fix crash, improve drop-down completion
13294 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13297 * lyxserver.C: invalidate fd's when doing endPipe()
13299 2001-11-08 José Matos <jamatos@fep.up.pt>
13301 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13302 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13305 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13307 2001-11-07 José Matos <jamatos@fep.up.pt>
13310 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13313 * buffer.C (sgmlOpenTag):
13314 * buffer.C (sgmlCloseTag): removed debug info.
13316 * buffer.h (sgmlOpenTag):
13317 * buffer.h (sgmlCloseTag): made public.
13319 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13321 * buffer.C (saveParamsAsDefaults):
13322 * lyx_cb.C (MenuLayoutSave): remove
13324 * LyXAction.C (init):
13326 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13328 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13330 * buffer.C (setPaperStuff): removed from here...
13332 * bufferparams.C (setPaperStuff): ... and moved there.
13334 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13338 * XFormsView.C: add support for drop-down completion
13340 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13342 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13345 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13347 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13350 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13352 * lyx_main.C: change ref to known bugs
13354 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13356 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13357 to work around older babel problems.
13359 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13361 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13363 2001-10-24 Juergen Vigna <jug@sad.it>
13365 * tabular-old.C (ReadOld): below variable changes reflected.
13367 * tabular.[Ch]: added ltType struct for longtable header/footer
13368 defines and changed all instances where they are used. Added
13369 future support for double top/bottom rows.
13371 2001-10-24 José Matos <jamatos@fep.up.pt>
13373 * buffer.h (docbookHandleCaption):
13374 * buffer.C (docbookHandleCaption): removed unused function.
13375 (makeDocBookFile): moved docbook supported version to v4.1.
13377 2001-10-24 José Matos <jamatos@fep.up.pt>
13380 * tabular.C (docbookRow): new function to export docbook code of a row.
13381 (DocBook): now honors the longtable flags.
13383 2001-10-23 José Matos <jamatos@fep.up.pt>
13386 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13387 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13389 * buffer.C (makeLinuxDocFile):
13390 (makeDocBookFile): reworked the preamble, more clean, and with
13391 support for lyx defined entities. Changed the document declaration
13392 to be more XML friendly.
13394 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13395 if we need to output XML that should be done with a filter.
13397 2001-10-22 Juergen Vigna <jug@sad.it>
13399 * sp_pspell.h (class PSpell): add alive function needed in the
13400 controller to see if the spellchecker could be started.
13402 2001-10-22 Juergen Vigna <jug@sad.it>
13404 * buffer.C (insertStringAsLines): modify the font for inserting
13405 chars in certain conditions by calling checkInsertChar(font).
13407 2001-10-19 Juergen Vigna <jug@sad.it>
13409 * text.C (workWidth): use getRow instead of wrong algorithm.
13410 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13412 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13417 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13419 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13421 * text.C (workWidth): do not search for the exact row when
13422 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13423 optimization for big documents.
13425 2001-10-18 Juergen Vigna <jug@sad.it>
13427 * text.C (workWidth): new function with added Inset * parameter.
13429 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13431 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13433 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13434 change return type of getColumnNearX.
13437 * text.C (changeRegionCase): use uppercase/lowercase instead of
13440 (rightMargin): simplify code by factoring out the uses of
13445 (appendParagraph): use Paragraph::size_type
13447 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13449 * vspace.C (asLatexString): add a missing break
13451 2001-10-15 Herbert Voss <voss@perce.de>
13453 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13455 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13457 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13460 2001-10-10 André Pönitz <poenitz@gmx.net>
13462 * lyxfunc.C: removed greek_kb_flag.
13464 2001-10-10 Herbert Voss <voss@perce.de>
13466 * lyx_main.C: delete global string help_lyxdir.
13468 2001-10-09 Herbert Voss <voss@perce.de>
13470 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13472 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13474 * lyx_main.C: added global string help_lyxdir.
13476 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13478 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13480 * lyxrc.C (set_font_norm_type): support iso8859-4
13482 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13484 * LaTeX.C (deplog): add another regex for MikTeX
13486 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13488 * lyxrc.C (set_font_norm_type): support iso8859-3
13490 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13492 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13494 * LaTeXFeatures.C: remove special case of french and index
13496 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13497 before \begin{document}). This solves several incompatibilities.
13499 2001-10-03 Garst Reese <reese@isn.net>
13501 * lyx_cb.C: change CheckTex error msg.
13503 2001-10-03 José Matos <jamatos@fep.up.pt>
13505 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13507 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13509 * .cvsignore: update
13511 * lyx_main.C (commandLineVersionInfo): use new style version info.
13513 * buffer.C (writeFile):
13515 (makeLinuxDocFile):
13516 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13518 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13520 * version.h: update to use stuff in version.C
13522 * version.C.in: new file. Contains version information determined
13523 at compile time. This is a merging of version.h and
13526 2001-10-03 Juergen Vigna <jug@sad.it>
13528 * BufferView_pimpl.C (update): don't change "dirty" status in
13531 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13533 * WorkArea.C (c-tor): re-position version string slightly.
13535 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13537 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13538 revert to previous code.
13540 WorkArea.[Ch]: (show, destroySplash): methods removed.
13542 WorkArea.C: rework code so that it's an amalgam of the codes before and
13543 after the splash screen was moved to WorkArea.
13545 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13548 * vspace.C (inPixels):
13551 * buffer.C (insertStringAsLines):
13552 (asciiParagraph): fix types to be large enough
13554 * lyxlex_pimpl.h: change member status from short to int
13556 * layout.h: fix type of endlabeltype
13559 * kbsequence.C (parse): change return type to string::size_type
13561 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13564 * Bullet.C (bulletSize):
13565 (bulletEntry): do not use short ints as parameters
13567 * BufferView2.C (insertLyXFile): change a char to an int.
13569 * WorkArea.C (WorkArea): remove unneeded floats in computation
13571 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13573 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13575 * paragraph.C (asString): Do not ignore newline/hfill chars when
13576 copying to the clipboard.
13578 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13580 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13581 after a multi-line inset.
13583 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13585 * paragraph.C (validate): Set NeedLyXFootnoteCode
13587 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13589 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13590 and decrease-error to decrease.
13592 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13594 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13595 it more readable (should be equivalent)
13597 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13599 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13601 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13603 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13604 of a cursor (row, etc.) after a character has been deleted
13605 (deleteEmptyParagraphMechanism): call the method above on _all_
13606 cursors held by the LyXText when a double space has been
13609 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13611 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13613 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13615 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13616 background. Use greyOut() and the new show() methods to toggle between
13617 the foreground and background. Add code to remove the splash after
13618 its initial showing.
13620 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13621 (create_forms): no longer call Dialogs::showSplash.
13623 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13625 * .cvsignore: add version_info.h
13627 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13629 * version_info.h.in: new file
13631 * Makefile.am: add version_info.h.in
13633 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13634 version_info.h instead of VERSION_INFO
13636 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13638 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13639 The ERT inset now returns string().
13641 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13643 * lyxtext.h, text.C (selectNextWord): renamed as
13644 selectNextWordToSpellcheck.
13646 * text.C (selectNextWordToSpellcheck): Modified to not select
13647 words inside an ERT inset.
13649 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13651 * lyx_cb.C (MenuLayoutSave): change a bit the question
13653 * sp_base.h: include <sys/types.h>
13655 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13657 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13659 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13661 * several files: fix typos in user-visible strings
13663 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13665 * text2.C (pasteSelection): do not set the selection, since it
13666 will be cleared later. Actually, the intent was to fix the way the
13667 selection was set, but I figured rmoving the code was just as good.
13669 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13671 * FontLoader.C (available): Check if font is available without
13674 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13676 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13678 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13680 * lyxrc.[Ch]: added display_graphics variable and associated code.
13682 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13684 * bufferparams.C (hasClassDefaults): new method. Returns true if
13685 the buffer parameters correspond to known class defaults
13687 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13689 * XFormsView.C (show): set minimum size to the main window.
13691 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13693 * text2.C (copySelection):
13695 * lyxfind.C (LyXReplace):
13696 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13697 LyXText::selectionAsString.
13699 * paragraph.C (asString): add "label" argument to the second form
13701 * text2.C (selectionAsString): add "label" argument and pass it to
13702 Paragraph::asString.
13704 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13706 * lyx_main.C (commandLineHelp): remove version information
13708 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13710 * lyx_main.C: add -version commandline option
13712 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13714 * paragraph.h: make the optional constructor arg required instead.
13715 some modifications to other files because of this.
13717 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13719 * lyxserver.C (C_LyXComm_callback): make it static
13721 * lyx_main.C (error_handler): make it static
13723 * lyx_gui.C (LyX_XErrHandler): make it static
13725 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13727 * WorkArea.C: make the extern "C" methods static.
13729 * Makefile.am (lyx_LDADD): simplify
13731 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13733 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13734 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13736 * LyXAction.C (init):
13737 * lyxfunc.C (dispatch): associated code removal.
13739 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13741 * lyxfont.h (isSymbolFont): shut off warning
13743 * text.C (setHeightOfRow):
13744 (getVisibleRow): fix crash with empty paragraphs which have a
13747 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13749 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13752 2001-09-04 José Matos <jamatos@fep.up.pt>
13755 * tabular.C (docbook): rename docBook method to docbook.
13757 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13759 * Makefile.am: add dependencies to main.o.
13761 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13763 * FontLoader.C (available): Return false if !lyxrc.use_gui
13765 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13767 * FontInfo.C (query):
13768 * converter.C (view):
13769 * importer.C (Import):
13770 * exporter.C (Export): Can not -> cannot.
13772 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13774 * BufferView_pimpl.C: allow to create index inset even if
13777 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13779 * buffer.C (getLists): replace boost::tie code with an explicit pair
13780 as boost::tie can break some compilers.
13782 * iterators.h: Added a std:: declaration to the return type of
13785 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13787 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13790 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13792 * iterators.[Ch]: New files. Provide paragraph iterators.
13794 * buffer.C (changeLanguage): Use paragraph iterators.
13795 (isMultiLingual): ditto
13797 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13799 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13801 * FontLoader.C: Support for cmr font.
13803 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13805 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13806 (available): New method.
13808 * FontInfo.C (getFontname): Use scalable fonts even when
13809 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13812 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13814 * converter.C (Formats::view): reverted! Incorrect fix.
13816 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13818 * converter.C (Formats::view): only output the -paper option
13819 if the dvi viewer is xdvi, thereby fixing bug #233429.
13821 2001-08-23 Herbert Voss <voss@perce>
13823 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13825 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13827 * Spacing.h (Spacing): Set space to Default on in the default
13830 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13832 * vc-backend.h (RCS::versionString): add RCS to version
13833 (CVS::versionString): add CVS to version
13835 * vc-backend.C (scanMaster): do not add CVS to version.
13836 (scanMaster): do not add RCS to version
13838 * lyxvc.C (versionString): new method
13840 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13842 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13844 * Spacing.C (set): initialize fval
13846 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13848 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13851 2001-08-16 Juergen Vigna <jug@sad.it>
13853 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13855 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13857 * BufferView_pimpl.C:
13860 * text2.C: setParagraph takes linespacing now
13862 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13864 * LyxAction.C: add internal LFUN_CITATION_INSERT
13866 * LyXView.C: actually apply fix
13868 * bufferlist.C: fix open non-existent file
13870 * lyxfind.C: fix indentation
13872 * lyxfunc.C: remove unneeded assert, fix typo
13874 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13876 * MenuBackend.C: use "Floatname List"
13878 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13880 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13881 when converting LaTeX layout to insetERT.
13882 Generate a non-collapsed float when reading old float
13884 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13886 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13889 2001-08-13 Juergen Vigna <jug@sad.it>
13891 * text.C (fill): return 0 instead of 20 as this seems to be the more
13894 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13896 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13899 2001-08-13 Juergen Vigna <jug@sad.it>
13901 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13903 (SearchBackward): comment out the unlocking of the inset_owner this
13904 should not be needed!
13906 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13908 * Many files: Remove inherit_language, and add latex_language
13910 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13911 collapsible insets.
13913 2001-08-10 Juergen Vigna <jug@sad.it>
13915 * text.C (prepareToPrint): fixed hfill-width in draw!
13917 * BufferView2.C (selectLastWord): save the selection cursor as this
13918 now is cleared in the function LyXText::clearSelection!
13920 2001-08-08 Juergen Vigna <jug@sad.it>
13922 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13923 BACKSPACE type functions.
13925 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13926 is only cutted from the document but not put in the cut-buffer, where
13927 still the old stuff should be.
13929 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13931 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13933 * tabular.C (SetWidthOfCell): fixed special case where the width
13935 (LeftLine): handle '|' in align_special.
13937 (LeftAlreadyDrawed): ditto
13938 (SetWidthOfCell): ditto
13940 2001-08-07 Juergen Vigna <jug@sad.it>
13942 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13944 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13946 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13947 * lyxlex.[hC]: ditto
13949 2001-08-06 Juergen Vigna <jug@sad.it>
13951 * text.C (getVisibleRow): fix up row clearing a bit.
13953 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13955 * minibuffer.C: make sure the X server sees the changes in the input.
13957 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13959 * paragraph.C (getFont): split into...
13960 (getLabelFont): this
13961 (getLayoutFont): and this
13962 * paragraph_pimpl.C (realizeFont): calling this
13964 * text2.C (getFont): split into...
13965 (getLayoutFont): this
13966 (getLabelFont): and this
13967 (realizeFont): all three calling this
13969 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13972 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13974 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13976 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13978 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13979 layouts from the Quote inset insertion.
13981 2001-08-03 Juergen Vigna <jug@sad.it>
13983 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13985 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13986 only if status not is already CHANGED_IN_DRAW (second level).
13988 * text.C (draw): don't set the need_break_row when inside an
13991 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13993 * buffer.C (parseSingleLyXformat2Token): handle more latex
13996 * bufferview_funcs.[hC]: change function names to
13997 begin with small char, adjust other files.
13999 2001-08-02 André Pönitz <poenitz@gmx.net>
14002 BufferView_pimpl.C: remove broken special code for math-greek
14004 2001-08-02 Juergen Vigna <jug@sad.it>
14006 * BufferView_pimpl.C (update): redone this function so that we
14007 update the text again if there was a CHANGE_IN_DRAW.
14009 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14010 (drawFromTo): added a new internal bool which is used by draw() and
14012 (general): some cursor drawing problems fixed.
14014 2001-08-01 Juergen Vigna <jug@sad.it>
14016 * lyxfind.C (LyXFind): fixed
14017 (SearchForward): ditto
14018 (SearchBackward): ditto
14020 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14021 spurius drawing of the cursor in the main area.
14023 * text2.C (status): small fix which could lead to a segfault!
14024 (clearSelection): remove unneeded BufferView param.
14026 2001-08-01 André Pönitz <poenitz@gmx.net>
14028 * lyxfunc.C: small change due to changed mathed interface
14030 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14032 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14034 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14036 * lyxfunc.c: fail gracefully if file doesn't exist
14041 * BufferView_pimpl.C: IsDirWriteable() proto changed
14043 * LyXView.C: fix updateWindowTitle() to store the last title
14045 2001-07-31 Juergen Vigna <jug@sad.it>
14047 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14048 the font (wrong since using of Paragraph::highestFontInRange).
14050 * paragraph.C (highestFontInRange): added a default_size parameter.
14052 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14053 (setHeightOfRow): reformat
14055 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14057 * converter.[hC] + affected files: move to (inital-char)lowercase
14060 * ParagraphParameters.C (ParagraphParameters): remove commented code
14062 * PainterBase.[Ch]: remove commented code
14064 * LaTeXFeatures.h: add "bool floats" for float.sty
14066 * LaTeXFeatures.C (LaTeXFeatures): init floats
14067 (require): handle float
14068 (getPackages): do it with floats
14070 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14072 * BufferView_pimpl.C (Dispatch): improve handling of
14073 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14075 * commandtags.h: #include lyxfont.h here temporarily to avoid
14078 * bufferlist.h: include LString.h here.
14080 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14082 * text2.C (getStringToIndex): new method.
14084 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14086 * *: Reduced header file dependencies all over.
14088 2001-07-30 Baruch Even <baruch@lyx.org>
14090 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14092 2001-07-29 Baruch Even <baruch@lyx.org>
14094 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14096 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14098 * ParameterStruct.h (endif): add a default constructor to make
14099 sure that all variables is initialized.
14101 * ParagraphParameters.C (ParagraphParameters): adjust
14103 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14105 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14106 index; also, check that there is something to index, and that it
14107 does not span over several paragraphs.
14108 (doubleClick): use WHOLE_WORD_STRICT for double click.
14110 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14112 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14115 2001-07-26 Baruch Even <baruch@lyx.org>
14117 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14118 an InsetFig figure, backwards compatible reading of old figure code.
14120 2001-07-27 Juergen Vigna <jug@sad.it>
14122 * text2.C: font.realize function adaption.
14124 * text.C (draw): add a warnings lyxerr text if needed.
14126 * layout.C: font.realize function adaption.
14128 * language.C: add inherit_language and implement it's handlings
14130 * bufferview_funcs.C (StyleReset): remove language parameter from
14131 font creation (should be language_inherit now).
14133 * bufferparams.C (writeFile): handle ignore_language.
14135 * paragraph.C (getFontSettings): the language has to be resolved
14136 otherwise we have problems in LyXFont!
14138 * lyxfont.C (lyxWriteChanges): added document_language parameter
14139 (update): removed unneeded language parameter
14141 * paragraph.C (validate): fixed wrong output of color-package when
14142 using interface colors for certain fonts in certain environments,
14143 which should not seen as that on the final output.
14145 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14147 * BufferView_pimpl.C:
14152 * LyXAction.C: add thesaurus support
14155 * lyxfind.C: add "once" parameter, for thesaurus, to not
14156 move to the next match
14158 2001-07-26 Juergen Vigna <jug@sad.it>
14160 * lyxfont.C (realize): honor ignore_language too!
14163 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14165 * text.C (draw): one place more for ignore_language to not draw
14168 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14170 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14172 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14174 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14175 the minipage conversion problem.
14177 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14179 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14182 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14184 * BufferView.h: don't forward declare WorkArea
14186 * BufferView.C: don't include WorkArea.h
14188 2001-07-25 André Pönitz <poenitz@gmx.net>
14192 * lyxfunc.C: new LFUN 'math-space'
14194 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14196 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14198 * text2.C (toggleInset): call open/close
14200 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14202 * lyxfunc.C (dispatch): add debug for the disabled case
14204 * font.C (buttonText): make similar to rectText
14206 * buffer.C (readInset): comment out parsing of insetlist and
14209 * PainterBase.C (rectText): small correction
14211 * BufferView_pimpl.C: comment out insettheorem and insetlist
14212 * LyXAction.C: ditto
14213 * commandtags.h: ditto
14215 2001-07-24 Juergen Vigna <jug@sad.it>
14217 * text.C (draw): honor the ignore_language.
14219 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14221 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14223 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14226 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14228 * lyxtext.h: remove unused (and unimplemented) methods
14230 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14232 * text.C (getVisibleRow): honor background color
14235 * Painter.h: remove default color argument for fillRectangle
14237 * text.C (backgroundColor): new method
14239 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14241 * text.C (getVisibleRow): adjust
14243 * font.[Ch] (rectText): new method, metrics
14244 (buttonText): new method, metrics
14246 * PainterBase.[hC]: make rectText and buttonText always draw and take
14249 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14251 * ToolbarDefaults.C (read):
14252 * MenuBackend.C (read): allow escaping in all strings
14254 * BufferView_pimpl.C (insertAndEditInset): new method.
14255 (Dispatch): use insertAndEditInset whenever appropriate.
14257 * BufferView_pimpl.C (insertNote): removed
14259 * BufferView_pimpl.C (smartQuote): new method, moved from
14260 BufferView; if an insetquote cannot be inserted, insert a '"'
14263 * BufferView2.C: remove insertCorrectQuote();
14265 * lyxfunc.C (getStatus): Add support for all remaingin
14266 inset-insert lfuns.
14268 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14270 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14271 command (necessary to pass " as parameter of self-insert.
14273 * text.C (selectWordWhenUnderCursor):
14274 (selectWord): add word_location parameter
14275 (selectWordWhenUnderCursor): same + remove special code for word
14277 (selectNextWord): use kind() to guess type of insetspecialchar,
14280 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14281 (insertErtContents): create ert insets as collapsed.
14282 (readInset): better compatibility code for Info inset.
14284 2001-07-20 Juergen Vigna <jug@sad.it>
14286 * lyxfunc.C (dispatch): use always LyXFind now!
14288 * text2.C (init): add a reinit flag so that the LyXText can be
14289 reinited instead of deleted and reallocated (used in InsetText).
14291 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14297 2001-07-18 Juergen Vigna <jug@sad.it>
14299 * text.C (selectNextWord): handle insets inside inset by calling
14300 always the bv->text functions so that we can go up the_locking_inset!
14302 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14303 in strange locations when inside an inset!
14305 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14306 handling to include insets.
14308 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14310 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14312 * LyXAction.C (init):
14314 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14315 LIGATURE_BREAK, since the name is so stupid.
14317 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14319 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14322 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14324 * sp_form.[Ch]: remove.
14326 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14328 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14331 * src/buffer.C (readInset): ditto.
14333 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14335 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14336 menuSeparator(), endOfSentenceDot(), ldots() and
14337 hyphenationPoint(), which are therefore removed.
14338 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14340 * LyXAction.C (init):
14341 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14343 * paragraph.C (getWord): removed.
14345 * BufferView_pimpl.C (Dispatch): use last word or selection for
14346 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14348 * lyx_main.C (queryUserLyXDir): do not ask before creating
14349 user_dir, except if it has been named explicitely.
14351 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14353 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14354 a document of zero size.
14356 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14358 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14359 approriately in the c-tor and in require().
14360 (getPackages): output the appropriate LaTeX for natbib support.
14362 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14363 variables "use_natbib" and "use_numerical_citations" when reading the
14365 (readInset): read the various natbib cite commands.
14366 (validate): white-space change.
14368 * bufferparams.[Ch]: new variables "bool use_natbib" and
14369 "bool use_numerical_citations".
14370 (writeFile): output them in the LyX file.
14372 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14374 * lyxfunc.C (getStatus): add support for all the inset insertion
14377 * text2.C (insertInset):
14378 * paragraph.C (insetAllowed):
14379 * BufferView_pimpl.C (insertInset): update to take in account the
14380 renaming of insertInsetAllowed
14382 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14384 * text2.C (getInset): new method. returns inset at cursor position.
14386 * BufferView_pimpl.C (Dispatch): changes because of this.
14388 * LyXAction.C (init): rename open-stuff to inset-toggle.
14390 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14392 * text2.C (toggleInset): renamed from openStuff; use
14395 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14397 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14399 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14401 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14403 * buffer.C (readLyXformat2): Add filename to the error dialog
14405 2001-07-18 Juergen Vigna <jug@sad.it>
14407 * tabular.C (GetCellNumber): put an assert here instead of the check!
14409 2001-07-17 Juergen Vigna <jug@sad.it>
14411 * BufferView_pimpl.C (toggleSelection): adapted too.
14413 * text.C (selectNextWord): adapted for use with insets.
14414 (selectSelectedWord): ditto
14416 2001-07-17 Juergen Vigna <jug@sad.it>
14418 * sp_spell.C (PSpell): fix initialitation order.
14420 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14422 * paragraph.C: spacing
14424 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14426 * sp_spell.C: repair language selection for pspell
14428 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14430 * lyxfunc.h: change more methods to begin with lower char.
14432 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14434 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14435 for unknown layouts.
14437 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14439 * buffer.C (readLyXformat2): Generate an error dialog if there are
14442 2001-07-16 Juergen Vigna <jug@sad.it>
14444 * sp_spell.C: always compile ISpell part.
14446 * lyxrc.C: added use_pspell entry and it's handling.
14448 2001-07-13 Juergen Vigna <jug@sad.it>
14450 * sp_spell.C: removed double includes.
14452 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14454 Consistent use of Lsstream.h:
14455 * Lsstream.h: added using std::stringstream for consistencies sake.
14457 * buffer.C: removed using std::stringstream
14459 * lyxfont.C (stateText):
14460 * paragraph.C (asString):
14461 * text.C (selectNextWord, selectSelectedWord):
14462 * text2.C (setCounter):
14463 * vspace.C (asString, asLatexString):
14464 std::ostringstream -> ostringstream.
14466 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14468 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14469 * commandtags.h: add LFUN_HELP_ABOUTLYX
14470 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14472 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14474 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14476 * lyx_gui_misc.C: remove spellchecker
14477 * lyxfunc.C: showSpellchecker
14479 * sp_ispell.h: added
14480 * sp_pspell.h: added
14481 * sp_spell.C: added
14482 * sp_form.[Ch]: removed
14483 * spellchecker.[Ch]: removed
14485 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14487 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14489 (simpleTeXSpecialChars): Simply print the input character without
14490 any special translation if pass_thru is set.
14492 * layout.h: Added bool pass_thru to layout class for being able to
14493 implement pass through of a paragraph for Literate Programming.
14495 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14496 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14497 * layout.C (Read): add "passthru" to list of layout tags and add
14498 code to set the pass_thru boolean when it is read.
14500 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14502 * trans_decl.h: remove allowed from KmodInfo
14504 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14505 remove allowed code
14508 * paragraph_pimpl.C (erase): use boost::prior
14510 * Painter.C (text): use data() instead of c_str() when length is
14512 * WorkArea.C (putClipboard): ditto
14513 * font.h (width): ditto
14515 * BufferView2.C: use it-> instead of (*it). for iterators
14517 * paragraph_pimpl.C: ditto
14518 * paragraph.C: ditto
14519 * minibuffer.C: ditto
14520 * language.C: ditto
14522 * encoding.C: ditto
14523 * counters.C: ditto
14524 * converter.C: ditto
14526 * Variables.C: ditto
14527 * TextCache.C: ditto
14528 * MenuBackend.C: ditto
14529 * LyXAction.C: ditto
14531 * FloatList.C: ditto
14532 * DepTable.C: ditto
14533 * ColorHandler.C (LyXColorHandler): ditto
14535 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14537 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14539 * text2.C (openStuff): reintroduce this method (which had been
14540 nuked in NEW_INSETS frenzy).
14542 * lyxfunc.C (Dispatch): when an action has not been handled, use
14543 its name in the error message, not its number.
14545 * paragraph.C (inInset): change method name to begin with lowercase.
14548 * text2.C: updates because of this.
14550 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14552 * ToolbarDefaults.C (add): add spaces in error message
14554 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14556 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14557 (readLyXformat2): rename return_par to first_par, use lyxlex's
14558 pushToken and remove the manual push handling.
14559 (parseSingleLyXformat2Token): add another ert comp. variable:
14560 in_tabular, rename return_par to first_par. handle newlines better
14562 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14564 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14566 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14568 * text2.C (getParFromID): removed
14570 * buffer.C (getParFromID): new method moved form lyxtext.
14571 * BufferView2.C (insertErrors): adjust
14572 (setCursorFromRow): adjust
14573 * BufferView_pimpl.C (restorePosition): adjust
14574 * lyxfunc.C (Dispatch): adjust
14575 * undo_funcs.C (textUndo): adjust
14577 (textHandleUndo): adjust
14578 (textHandleUndo): adjust
14580 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14582 * buffer.C: up' the LYX_FORMAT
14584 * lyxfont.h: turn NO_LATEX on as default
14586 * buffer.C (insertErtContents): new methods of tex style compability.
14587 (parseSingleLyXformat2Token): use it several places.
14588 * tabular.C (OldFormatRead): and here
14590 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14592 * text2.C: remove some commented code.
14595 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14596 * trans.C: changes because of the above.
14598 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14600 * text2.C (setCounter): Fix counters bug with bibliography layout.
14602 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14604 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14605 own member functions
14606 (simpleTeXSpecialChars): ditto
14608 2001-07-06 Juergen Vigna <jug@sad.it>
14610 * a lot of files: changed the access to LyXText::status and the
14611 call of undo-functions.
14613 * undo.[Ch]: added a inset_id to the undo informations.
14615 * undo_funcs.[Ch]: added and moved here all undo functions.
14617 * lyxtext.h: give the status enum a weight, made status_ a private
14618 variable and made accessor functions for it, removed the whole bunch
14619 of undo-functions as they are now in their own file, make some
14620 functions publically available. Added function ownerParagraph with
14623 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14624 made InInset() a const function, added getParFromID() function.
14626 * buffer.[Ch]: added const version for inset_iterator functions,
14627 added getInsetFromID() function.
14629 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14630 changed undo functions for new version.
14632 2001-07-05 Juergen Vigna <jug@sad.it>
14634 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14635 unknow mechanism does not call the proper constructor but only this
14636 one also if I request the other!?
14638 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14640 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14642 * text2.C (LyXText): use initialization lists.
14644 * lyxtext.h (Selection): initialize set_ and mark_
14645 (init): remove method
14647 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14649 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14651 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14653 * screen.[Ch]: change method names to begin with lowercase
14655 * BufferView_pimpl.C (updateScrollbar): simplify further and
14656 hopefully make it a bit faster.
14658 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14660 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14661 calling directly xforms functions.
14663 * Painter.C (Painter):
14664 * lyx_cb.C (MenuWrite):
14665 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14668 * lyx_gui.C: remove bogus guiruntime extern declaration.
14670 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14672 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14674 (redoDrawingOfParagraph): ditto
14675 (redoParagraphs): ditto
14676 (cutSelection): don't create a object for CutAndPaste use the
14677 static method directly
14678 (pasteSelection): ditto
14680 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14683 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14685 * modifications to some other files because of this.
14687 * Makefile.am (lyx_SOURCES): add XFormsView
14689 * XFormsView.[Ch]: new files
14691 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14692 the main window. Move the gui dependent stuff to XFormsView
14694 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14696 * tabular.C (GetCellInset): update cur_cell also in the row/col
14697 version of this function.
14699 * lyxfunc.C: no need to include figure_form.h here.
14705 * lyxvc.C: no need to include forms.h here.
14707 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14709 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14711 * lyxfunc.C (Dispatch):
14713 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14714 constructor argument.
14716 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14718 * paragraph.C (Paragraph): dont't clear, and just set layout.
14719 (makeSameLayout): use params's copy contructor.
14721 * ParagraphParameters.[Ch] (makeSame): delete method
14723 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14725 * Variables.[Ch]: fix indentation, rename set to isSet
14727 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14729 * lyxfunc.C (Dispatch): fix typo
14731 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14733 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14736 * bufferlist.C: include assert.h for emergencyWrite().
14738 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14740 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14741 give up at last (bug #425202) !
14743 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14749 * spellchecker.C: strip spellchecker options and bring up
14750 preferences tab instead
14752 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14754 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14755 the istringstream constructor
14757 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14759 * paragraph.C (getLayout): fix return value
14761 * paragraph.h: do not declare getLayout as inline.
14763 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14765 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14767 * lyxcursor.h (operator<): new func
14768 (operator>): new func
14769 (operator>=): new func
14770 (operator<=): new func
14772 * text.C (changeCase): use selection.start and selection.end
14773 (changeRegionCase): require from to be <= to. Require par to be a
14776 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14778 2001-06-27 Juergen Vigna <jug@sad.it>
14780 * text.C (cursorLeftOneWord): changed to return the cursor and added
14781 overlay with BufferView * parameter which calls this one.
14783 (selectWord): use new getWord function.
14784 (changeCase): renamed from changeWordCase as and extended to work
14785 also on selections.
14787 * lyxtext.h: added enum word_location
14789 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14790 changeCase as this operates now also on selections.
14792 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14794 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14796 * many files: send debug output to Debug::INFO instead of
14799 * converter.C (View):
14801 (Move): send debug output to Debug::FILES instead of console.
14803 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14805 * lyxfunc.C (getStatus): use func_status
14807 * func_status.h: new header, describing the results of
14808 LyXFunc::getStatus;
14810 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14813 2001-06-25 The LyX Project <jug@sad.it>
14815 * buffer.C (sgmlOpenTag):
14817 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14819 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14821 * text2.C: remove some dead code
14823 * tabular.C (GetCellInset): store the last cell checked (gotten)
14825 * tabular.h: add the helper for the speedup
14827 * lyxtext.h: remove some dead code
14829 2001-06-26 The LyX Project <Asger>
14831 * paragraph.C: Change export to LaTeX of alignment to
14832 \begin{center} and family for better roundtrip work with reLyX.
14834 * Tune the math drawing a bit.
14836 2001-06-25 The LyX Project <Asger>
14838 * LColor.C (LColor): New color for math background. New color
14841 2001-06-25 The LyX Project <jug@sad.it>
14843 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14845 * lyxfunc.C (Open):
14846 * bufferlist.C (newFile): do not restrict to files ending with
14849 * BufferView_pimpl.C (MenuInsertLyXFile):
14851 2001-06-24 The LyX Project <jug@sad.it>
14853 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14856 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14858 * lyxtext.h: rename most methods to begin with a small char.
14859 Lots of changes because of this.
14861 * paragraph.C (Paragraph): do not call fitToSize
14862 (erase): call Pimpl::erase
14863 (insertChar): call Pimpl::insertChar
14864 (insertInset): call Pipl::insertInset
14865 (breakParagraph): do not call fitToSize
14866 (breakParagraphConservative): do not call fitToSize
14867 (fitToSize): remove method
14869 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14871 2001-06-24 The LyX Project <Asger>
14873 * Fix Qt compilation^2
14875 2001-06-24 The LyX Project <jug@sad.it>
14877 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14878 depthHook(getDepth()-1).
14881 * ParagraphParameters.h:
14882 * ParameterStruct.h: change type of depth to unsigned int ==
14883 depth_type. Many adaptations to other files before of that.
14885 2001-06-24 The LyX Project <Asger>
14887 * Fix Qt compilation.
14889 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14891 * paragraph.h: renamed several methods to begin with small letter.
14892 several changes to many parts of the code because of this.
14894 2001-06-23 The LyX Project <jug@sad.it>
14896 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14897 rewritten to discard all double spaces when KeepEmpty is off
14898 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14899 to only handle newlines but not fiddle with spaces and friends.
14901 * lyxfunc.C (MenuNew): when doing 'new from template', use
14902 template_path as default directory
14904 2001-06-23 The LyX Project <Asger>
14906 * Clean-up of header file includes all over
14907 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14909 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14911 * paragraph.h: renamed from lyxparagraph.h
14913 2001-06-23 Asger <lyx@violet.home.sad.it>
14915 * Buffer.h: Removed Buffer::resize
14916 * BufferList.h: Removed BufferList::resize
14917 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14918 the document lazily when we change the width, or the font settings.
14920 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14922 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14924 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14926 * buffer.h: remove out of date comment
14928 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14931 * screen.C: fix "theoretical" GC leak
14933 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14935 * LaTeX.C (scanAuxFile):
14936 (deplog): remove trailing \r when reading stream (useful under
14939 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14941 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14942 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14943 and BufferView::theLockingInset(Inset*), so should use them and not
14944 access bv_->text->the_locking_inset directly.
14946 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14948 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14951 * tex-defs.h: remove old unused file
14953 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14955 * BufferView_pimpl.C: fix typo, remove minibuffer message
14956 when buffer has loaded
14958 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14960 * lyxfunc.C (Dispatch): use stringstream
14961 (MenuNew): use stringstream
14962 (Open): use stringstream
14964 * importer.C (Import): use stringstream
14966 * bufferview_funcs.C (CurrentState): use stringstream
14968 * LaTeX.C (run): use stringstream
14970 * BufferView_pimpl.C (savePosition): use stringstream
14971 (restorePosition): use stringstream
14972 (MenuInsertLyXFile): use stringstream
14974 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14987 * vspace.C: removed // -*- C++ -*- as first line.
14990 * version.h: added // -*- C++ -*- as first line.
14992 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14994 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14996 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14999 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15001 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15004 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15006 * gettext.C: include LString.h even when --disable-nls is on.
15008 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15010 * converter.h (Get): changed argument type from int to
15011 FormatList::size_type to avoid unnecessary conversion.
15013 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15016 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15018 * gettext.h: include LString.h even when --disable-nls is on.
15020 2001-06-07 Juergen Vigna <jug@sad.it>
15022 * text.C (BreakAgain): subst spaces with tabs.
15024 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15025 (resizeInsetsLyXText): set force on resizeLyXText.
15027 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15029 * gettext.h (gettext_init):
15030 (locale_init): use a real definition instead of a macro
15032 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15034 * Bufferview_pimpl.C:
15036 * LColor.C: further lcolor tidies
15038 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15040 * BufferView_pimpl.C (updateScrollbar): simplify.
15042 * BufferView2.C: don't include insets/insetinfo.h, change
15043 prototype for insertInset and call the Pimpl version. let
15044 updateInset call Pimpl version.
15046 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15047 gotoInset to BufferView::Pimpl
15049 2001-06-01 Juergen Vigna <jug@sad.it>
15051 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15052 inside a LockingInset (is the update needed at all?).
15054 2001-05-31 Juergen Vigna <jug@sad.it>
15056 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15057 here not the old one otherwise how should we compare it afterwards
15060 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15065 * FontInfo.C: bring C functions into global namespace when
15068 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15070 * LString.h: make sure config.h has been loaded before LString.h.
15072 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15073 (one for each char read by EatLine!).
15075 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15078 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15080 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15081 to the same as the par we break from
15083 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15085 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15087 * MenuBackend.C (expand): also create menu entries for wide
15088 versions of the floats.
15090 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15092 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15094 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15095 frontends/Makefile.am
15101 * tabular.C (getTokenValue): add std::
15103 * tabular-old.C (getTokenValue): add std::
15104 (getTokenValue): ditto
15105 (getTokenValue): ditto
15107 * screen.C (ToggleSelection): adjust
15109 * lyxtext.h: put selection cursors inside a Selection struct.
15111 * lyxfunc.C (moveCursorUpdate): adjust
15113 * lyxfont.C (latexWriteStartChanges): add std::
15115 * lyxfind.C: adjust
15117 * font.h: delete with(char const *, LyXFont const &)
15119 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15121 * FontInfo.C (getFontname): add std::
15123 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15124 (workAreaButtonPress): adjust
15125 (tripleClick): adjust
15127 (moveCursorUpdate): adjust
15130 * BufferView2.C (gotoInset): adjust
15132 2001-05-30 Juergen Vigna <jug@sad.it>
15134 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15135 to check pspell I add this as default as I now have new pspell
15136 libraries and they seem to use this.
15138 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15140 * text2.C (CutSelection): make the cursor valid before the call to
15143 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15145 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15146 relied on 0 terminated strings and other horrors. Bug found due to
15147 the new assert in lyxstring!
15149 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15152 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15154 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15157 * lyxfunc.C (processKeySym): change method of getting to the
15160 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15161 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15162 * BufferView_pimpl.[Ch]: here as private methods.
15164 2001-05-28 Juergen Vigna <jug@sad.it>
15166 * text.C (SetHeightOfRow): added the update() call again as it is
15167 needed to initialize inset dimensions!
15169 2001-05-16 Juergen Vigna <jug@sad.it>
15171 * text2.C (SetCharFont): Add new function with BufferView * and
15172 bool toggleall parameters for setting insets internal fonts.
15173 (SetFont): Freeze the undo as we may change fonts in Insets and
15174 all this change should be inside only one Undo!
15176 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15177 setting font's in insets as for them we have the SetFont function!
15179 2001-05-15 Juergen Vigna <jug@sad.it>
15181 * text2.C (ClearSelection): to be sure we REALLY don't have any
15184 * tabular.C (TeXCellPreamble): fixed the left border problem for
15187 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15189 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15192 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15194 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15195 LFUN_BREAKPARAGRAPH.
15197 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15198 help test to "internal only", similar for LFUN_INSERT_URL
15200 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15201 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15202 auto_region_delete and deadkeys.
15204 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15207 * LColor.C: remove some dead entries, tidy a little
15209 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15211 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15213 (Dispatch): implement LFUN_ESCAPE
15215 * commandtags.h: add LFUN_ESCAPE
15217 * LyXAction.C (init): add entry for LFUN_ESCAPE
15219 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15220 Remove commented code.
15221 (insertNote): moved here
15222 (open_new_inset): moved here
15224 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15227 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15229 * kbmap.C (findbinding): clean it up and make it work correctly.
15231 * lyx_main.C (init): do not pass argc and argv as parameters
15233 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15235 * buffer.C: fix path for OS/2 & Win32
15239 * lyx_main.C: Added os:: class.
15241 * os2_defines.h: update
15243 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15245 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15246 better by trying again with reduced state.
15248 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15250 * lyxrc.C (read): print error about invalid key sequence only when
15251 debugging (because not all latinX keysyms are known to some X
15254 * kbsequence.C (getiso): add a few std:: qualifiers
15255 (getiso): comment out extra return statement.
15257 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15259 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15261 (Dispatch): enhance the accent inset a bit. (not perfect)
15263 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15265 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15267 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15269 * bufferlist.C (emergencyWrite): fix assert() call
15271 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15273 * text.C (InsertChar): Added trivial patch to only send the "you
15274 can not do multiple spaces this way" message once during a
15277 2001-05-08 Baruch Even <baruch@lyx.org>
15279 * Makefile.am: Changed order of libraries to get LyX to link properly
15280 with the gnome frontend.
15282 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15284 * LaTeXFeatures.h: add a std:: qualifier
15286 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15288 * paragraph.C (String): use stringstream
15290 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15292 * paragraph.C (writeFile): remove footflag arg
15294 * buffer.C (makeLaTeXFile): use stringstream
15295 (latexParagraphs): remove footnot gurba
15297 * LaTeXFeatures.C (getPackages): use stringstream
15298 (getMacros): likewise
15299 (getTClassPreamble): likewise
15300 (getFloatDefinitions): new method
15302 * paragraph.C (writeFile): reindent
15305 * WorkArea.h: revert the xpos + etc changes.
15307 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15309 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15311 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15312 (pasteSelection): likewise
15313 * text2.C (CreateUndo): likewise
15315 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15317 * minibuffer.C (peek_event): temporarily reduce the functionality
15318 of the minibuffer (to allow args on lfuns)
15320 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15321 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15323 * buffer.C (readInset): add compability reading of old float
15324 lists, add reading of new style float list.
15325 (readInset): avoid reevaluation of inscmd.getCmdName()
15326 (getLists): reindent
15328 * MenuBackend.C (MenuItem): implement parsing of
15329 md_floatlistinsert and md_floatinsert.
15330 (expand::LastFiles): move initalizaton of iterators out of loop,
15331 avoid reevaluation.
15332 (expand::Documents): introduce typdedef vector<string> Strings,
15334 (expand::ExportFormats): introduce typedef vector<Format const *>
15335 Formats, and use it.
15336 (expand): implement FloatListInsert and FloatInsert.
15338 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15339 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15340 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15342 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15344 (Dispatch::LFUN_FLOAT_LIST): implement
15346 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15348 * LaTeX.C (run): Fix problem with --export code.
15350 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15352 * BufferView.[Ch] (workarea): removed.
15353 (getClipboard) new method; wrapper for workarea()->getClipboard()
15355 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15358 * WorkArea.h (width, height, xpos, ypos): These methods all
15359 returned the dimensions of the work_area sub-area of WorkArea,
15360 resulting in a position error if the WorkArea were resized. Now
15361 return the dimensions of the entire WorkArea.
15363 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15365 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15367 * LaTeX.C (deplog): correct the syntax of regex reg1
15369 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15371 * undo.C: remove !NEW_INSETS cruft
15373 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15375 * text2.C: remove !NEW_INSETS cruft
15377 * text.C: remove !NEW_INSETS cruft
15379 * tabular.C: remove !NEW_INSETS cruft
15381 * spellchecker.C: remove !NEW_INSETS cruft
15383 * lyxtext.h: remove !NEW_INSETS cruft
15385 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15387 * lyxfunc.C: remove !NEW_INSETS cruft
15389 * lyxfind.C: remove !NEW_INSETS cruft
15391 * lyx_cb.C: remove !NEW_INSETS cruft
15393 * figureForm.C: remove !NEW_INSETS cruft
15395 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15397 * buffer.[Ch]: remove !NEW_INSETS cruft
15399 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15401 * CutAndPaste.C: remove !NEW_INSETS cruft
15403 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15405 * BufferView2.C: remove !NEW_INSETS cruft
15407 * BufferView.h: remove !NEW_INSETS cruft
15409 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15411 * Lsstream.h: include LString.h before the sstream headers to
15412 fix problem with gcc 2.95.3 and lyxstring
15414 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15416 * lyx_main.C: add using directives when needed for C functions
15417 declared in std:: namespace.
15419 2001-04-27 Juergen Vigna <jug@sad.it>
15421 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15422 (SetHeightOfRow): comment out the update call should not be needed!
15424 2001-04-13 Juergen Vigna <jug@sad.it>
15426 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15427 (LyXTabular): tried to minimize operator= operations (and realized
15428 hopfully Lars wish).
15430 2001-04-27 Juergen Vigna <jug@sad.it>
15432 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15434 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15436 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15438 * buffer.C (readInset): hack to make listof algorithm work
15440 * BufferView_pimpl.C: hack to make listof algorithm work
15442 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15444 * LyXAction.C: removed all !NEW_INSETS cruft
15445 (init): moved lfun_item in method
15447 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15449 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15451 * BufferView2.C (theLockingInset): white space.
15453 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15455 * minibuffer.C: include <iostream>
15457 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15459 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15461 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15463 * text.[Ch] (TransposeChars): new method
15465 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15467 * call message directly through LyXView instead of through LyXFunc
15468 * BufferView2.C: adjust
15469 * BufferView_pimpl.C: adjust
15470 * FontLoader.C: adjust
15472 * bufferview_funcs.C: adjust
15473 * converter.C: adjust
15474 * figureForm.C: adjust
15475 * importer.C: adjust
15477 * lyx_gui_misc.C: adjust
15478 * lyxfunc.C: adjust
15481 + more files in subdirs
15483 * lyxparagraph.h (size): move up int file
15486 * adjust all uses of Assert to lyx::Assert.
15488 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15489 lyxfunctional in namespace lyx
15490 * layout.C (hasLayout): ditto
15493 (delete_layout): ditto
15494 (NumberOfClass): ditto
15495 * converter.C (GetFormat): ditto
15500 * bufferlist.C (getFileNames): ditto
15501 (emergencyWriteAll): ditto
15504 * MenuBackend.C (hasSubmenu): ditto
15507 * BufferView_pimpl.C (getInsetByCode): ditto
15509 2001-04-18 Juergen Vigna <jug@sad.it>
15511 * vspace.C (asLatexString): fixed the 100% problem.
15513 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15515 * lyxfunc.C (Dispatch):
15517 * minibuffer.h: add a few std:: qualifiers
15519 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15521 * minibuffer.[Ch]: reimplement so that commands is initiated and
15522 run from lyxfunc, simplified som handling, and made the completion
15523 and history code for complete. wip.
15525 * lyxfunc.C (processKeySym): call message
15526 (miniDispatch): new temporary method
15527 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15528 (LFUN_MESSAGE): implement
15529 (LFUN_MESSAGE_PUSH): implement
15530 (LFUN_MESSAGE_POP): implement
15531 (initMiniBuffer): the initial/defualt minibuffer message.
15533 * lyxfont.[Ch]: inline some more getters
15535 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15537 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15539 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15540 (AutoSave): use LFUN_MESSAGE
15541 (Reconfigure): ditto
15543 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15545 * figureForm.C: use LFUN_MESSAGE
15547 * converter.C (runLaTeX): use LFUN_MESSAGE
15549 * bufferview_funcs.C: use LFUN_MESSAGE
15551 (changeDepth): ditto
15553 * bufferparams.h: use boost::
15555 * bufferlist.h: inherit privately from noncopyable
15557 * bufferlist.C (loadLyXFile): remove some commented code.
15559 * buffer.C (runChktex): use LFUN_MESSAGE
15561 * ShareContainer.h: inherit privately from noncopyable
15563 * ParagraphParameters.[hC] (depth): inline it.
15565 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15567 (message): new method
15568 (messagePush): ditto
15569 (messagePop): ditto
15570 (show): init minibuffer
15571 (showState): direct call
15573 * LaTeX.[Ch]: inherit privately from noncopyable
15574 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15575 instead of WriteStatus.
15577 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15579 * BufferView_pimpl.C (buffer): don't init minibuffer
15580 (workAreaButtonPress): use LFUN_MESSAGE
15581 (workAreaButtonRelease): ditto
15582 (savePosition): ditto
15583 (restorePosition): ditto
15584 (MenuInsertLyXFile): ditto
15585 (workAreaExpose): don't init minibuffer
15586 (update): remove commented code, simplify
15588 * BufferView2.C (openStuff): use LFUN_MESSAGE
15589 (toggleFloat): ditto
15592 (copyEnvironment): ditto
15593 (pasteEnvironment): ditto
15598 (updateInset): remove some commented code
15600 * lastfiles.h: inherit privately from noncopyable
15603 * lyx_main.h: ditto
15605 * lyxlex_pimpl.h: ditto
15607 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15608 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15609 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15611 * LyXAction.h: inherit privately from noncopyable, add methods
15612 func_begin, func_end, returning iterators to the func map.
15614 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15615 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15616 (func_begin): new method
15617 (func_end): new method
15619 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15621 (copySelection): ditto
15622 (pasteSelection): ditto
15624 * BufferView.C: whitespace change
15625 * BufferView.h: inherit privately from noncopyable
15627 2001-04-16 Allan Rae <rae@lyx.org>
15629 * tabular-old.C (l_getline):
15630 * spellchecker.C (sc_check_word):
15631 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15632 an unrecognised preprocessor directive. So ensure they're wrapped.
15634 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15636 * src/exporter.C (Export): Give an error message when path to file
15639 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15641 * LaTeX.C (deplog): Always check that foundfile exists.
15643 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15646 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15648 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15650 * tabular.[Ch] (getLabelList): implement new method
15652 * minibuffer.h: comment ouf setTiimer
15654 * minibuffer.C (ExecutingCB): constify res
15655 (peek_event): constify s
15656 (Set): constify ntext
15657 (Init): constify nicename
15659 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15661 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15662 (savePosition): use two params to Minibuffer::Set
15663 (restorePosition): ditto
15665 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15667 * lyx_main.C: include language.h
15669 * Makefile.am (lyx_main.o): add language.h
15671 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15677 * CutAndPaste.C: include gettext.h
15679 * lyxfont.h: remove old hack with ON and OFF.
15682 * lyxfont.h: do not include language.h...
15687 * bufferview_funcs.C:
15693 * paragraph.C: ... but do it here instead
15695 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15697 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15699 * tabular.C: small reformat
15701 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15704 (BreakParagraph): ditto
15705 (SetOnlyLayout): ditto
15708 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15711 * lastfiles.C: removed most using decl, add std:: where needed
15713 * buffer.C: ws changes
15715 * MenuBackend.C (class compare_format): put into anon namespace
15716 (expand): constify label, names, action, action2
15719 * text.C (SingleWidth): constify font
15720 (IsBoundary): constify rtl2
15721 (GetVisibleRow): constify ww
15723 * LaTeX.C (deplog): constify logfile
15725 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15727 (workAreaExpose): constify widthChange, heightChange
15729 * lyxrow.C (par): moved
15732 * lyxrow.h: as inlines here
15734 * lyxfont.h (shape): moved from lyxfont.C
15735 (emph): moved from lyxfont.C
15737 * lyxfont.C (LyXFont): use initialization list for all
15739 (shape): move to lyxfont.h as inline
15740 (emph): move to lyxfont.h as inline
15743 2001-04-04 Juergen Vigna <jug@sad.it>
15745 * vspace.C: had to include stdio.h for use of sscanf
15747 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15750 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15751 independent of xforms.
15753 2001-04-02 Juergen Vigna <jug@sad.it>
15755 * spellchecker.C: fixed namespace placing!
15757 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15759 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15760 the LyXParagraph * is 0.
15762 2001-03-29 Juergen Vigna <jug@sad.it>
15764 * vspace.C: added support for %, c%, p%, l%.
15765 (stringFromUnit): added helper function.
15766 (asLatexString): changed to give right results for the %-values.
15768 * buffer.C: convert the widthp in a width%.
15770 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15772 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15775 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15776 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15778 * lyx_cb.[Ch]: see above.
15780 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15784 * lyx.[Ch]: replaced by figure_form.[Ch].
15788 * lyxfunc.C: changed headers associated with above changes.
15790 2001-03-27 Juergen Vigna <jug@sad.it>
15792 * BufferView_pimpl.C: set the temporary cursor right!
15794 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15796 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15798 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15800 * LString.h: removed "using std::getline"!
15802 * BufferView_pimpl.C (Dispatch): changes due to changes in
15803 InsetInclude::Params.
15805 * buffer.C (tag_name): removed redundant break statements as they were
15806 producing lots of warnings with my compiler.
15808 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15810 * LString.h: add "using std::getline" when using the real <string>.
15812 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15814 * buffer.C: removed bitset usage.
15815 PAR_TAG moved to an anonymous name space.
15816 (tag_name): new funtion, also in the anonymous namespace.
15817 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15818 (makeDocBookFile): clean code. Completed transition from string arrays
15820 (SimpleDocBookOnePar): code clean.
15822 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15824 * tabular.C: add some comments.
15826 2001-03-22 Juergen Vigna <jug@sad.it>
15828 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15829 compatibility read a bit and fixed bug with minipage in different
15832 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15834 * buffer.C (pop_tag): removed.
15835 (push_tag): removed.
15836 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15837 array replaced with vector. Added support for CDATA sections.
15838 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15840 (makeDocBookFile): XML conformant declaration of CDATA section,
15841 fixed bug related to <emphasis> in the first paragraph char.
15842 (sgmlOpenTag): exclude empty tags.
15843 (sgmlCloseTag): ditto.
15845 * buffer.h (pop_tag): removed.
15846 (push_tag): removed.
15848 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15850 * language.h (Languages): added size_type and size().
15852 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15854 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15855 response on compability reading of minipages. One probliem is that
15856 the old usage of minipages was «flertydig»
15858 * several files here and in subdirs: don't use static at file
15859 scope use anon namespaces instead.
15861 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15863 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15864 LaTeX output. This is necessary for Literate document
15867 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15869 * buffer.C: insert hfill when needed.
15871 * tabular.C (l_getline): use string::erase, small whitespace change.
15873 * BufferView_pimpl.C: try the anon namespace.
15874 * WorkArea.C: ditto
15876 2001-03-16 Juergen Vigna <jug@sad.it>
15878 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15879 otherwise it won't open options-dialogs.
15881 * buffer.C: honor pextraWidth(p) on converting minipages.
15883 * tabular.C (l_getline): changed the functions to strip trailing \r.
15885 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15887 * BufferView_pimpl.C:
15888 * minibuffer..C: added "using SigC::slot" declaration.
15890 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15892 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15898 * paragraph.C: ditto
15900 * lyxtext.h: NO_PEXTRA
15902 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15904 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15905 * ParameterStruct.h: ditto
15906 * ParagraphParameters.h: ditto
15907 * lyxparagraph.h: ditto
15909 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15911 * buffer.C: add compability for minipage alignment.
15912 (latexParagraphs): remove unwanted pextra check.
15914 * several files: remove CXX_WORKING_NAMESPACES
15916 * buffer.C (pop_tag): tie is in namespace boost
15918 * BufferView.h: noncopyable is in namespace boost
15920 * lyx_main.h: ditto
15923 * lastfiles.h: ditto
15924 * bufferlist.h: ditto
15925 * ShareContainer.h: ditto
15927 * LyXAction.h: ditto
15930 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15932 * Merging changes from BRANCH_MVC back into HEAD.
15934 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15936 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15938 * BufferView_pimpl.C: change from intl.C
15942 * Makefile.am: move combox.*
15948 * intl.C: remove dialog (covered by prefs)
15950 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15952 * lyxfunc.C (Dispatch): removed redundant break statement.
15954 2001-03-14 Juergen Vigna <jug@sad.it>
15956 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15958 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15960 * buffer.C: add hack to fix compability reading of minipages.
15962 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15964 * buffer.C (getLists): Cleanup.
15966 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15968 * lyxfont.C (update): don't honor toggleall on font size.
15970 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15974 * Makefile.am: moved to frontends/xforms/
15978 * BufferView_pimpl.C: changes for moved mathpanel
15980 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15982 * gettext.h: fix gettext_init() in --disable-nls
15984 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15986 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15988 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15991 * lyx.h: strip external form
15993 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15995 * BufferView_pimpl.C: add comment, destroySplash()
15997 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15999 * BufferView_pimpl.C:
16003 * lyxfunc.C: use re-worked insetinclude
16005 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16007 * buffer.C: add using std::stringstream.
16009 * lyx_cb.C: readd using std::ios.
16011 * buffer.C: add using std::map.
16013 * BufferView_pimpl.C: add using std::vector.
16015 * ShareContainer.h: add std:: to swap.
16017 * buffer.h: add some typedefs
16018 * buffer.C (getLists): use them
16019 (getLists): renamed from getTocList.
16020 add a counter for the different float types and use it in the
16022 (getLists): use the same counter for the NEW_INSETS and the "non"
16025 * lyx_cb.h: remove unused items, includes, using etc.
16027 * ShareContainer.h: remove some commented code, add more comments
16028 and "documentation".
16030 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16032 * buffer.C (getTocList): make the list also when NEW_INSETS is
16035 * buffer.h: remove TocType
16037 * buffer.C (getTocList): change to return a map<string,
16038 vector<TocItem> >, implement for dynamic number of list.
16040 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16041 * text2.C (PasteSelection): adjust
16042 * CutAndPaste.C (pasteSelection): adjust
16044 * FloatList.C (FloatList): update from the new_insets branch.
16045 * Floating.[Ch]: ditto
16046 * LaTeXFeatures.C: ditto
16048 * lyxlex_pimpl.C: ditto
16050 * paragraph.C (Last): remove when NEW_INSETS is defined.
16052 * other file: changes because of the above.
16054 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16056 * lyxparagraph.h: rename next to next_, previous to previous_,
16057 make them private for NEW_INSETS. Rename Next() to next(),
16058 Previous() to previous().
16060 * other files: changes because of the above.
16062 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16065 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16068 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16070 * main.C (main): pass lyx_localedir to gettext_init().
16072 * gettext.h: remove locale_init and gettext_init macros
16074 * gettext.C (locale_init): new function
16075 (gettext_init): new function
16077 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16080 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16082 * Moved credits to frontends:
16083 * credits.[Ch]: removed
16084 * credits_form.[Ch]: removed
16085 * lyx_gui_misc.C: remove credits stuff
16088 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16090 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16092 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16093 unneeded destructor.
16095 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16096 a standalone pointer again.
16098 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16100 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16106 * ToolbarDefaults.C:
16115 * BufferView_pimpl.C: use new file dialog in GUII
16118 * lyx_cb.C: remove LayoutsCB to Toolbar
16120 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16122 * ShareContainer.h (get): add std:: qualifier
16124 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16126 * ShareContainer.h: define a proper ShareContainer::value_type
16127 type (and use typename to please compaq cxx)
16129 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16131 * lyxparagraph.h: move serveral local vars to
16132 ParameterStruct/ParagraphParameters., use ShareContainer in
16133 FontTable., make vars in FontTable private and add getter and
16136 * paragraph.C: changes because of the above.
16138 * lyxfont.h: remove copy constructor and copy assignment. (the
16139 default ones is ok), move number inside FontBits. move inlines to
16142 * lyxfont.C: add number to initializaton of statics, move several
16143 inlines here. constify several local vars. some whitespace
16144 cleanup. Dont hide outerscope variables.
16146 * Spacing.h: add two new constructors to match the set methods.
16148 * ShareContainer.h: new file, will perhaps be moved to support
16150 * ParameterStruct.h: new file
16152 * ParagraphParameters.h: new file
16154 * ParagraphParameters.C: new file
16156 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16157 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16159 * BufferView_pimpl.C: ParagraphParameter changes.
16160 * buffer.C: Likewise.
16161 * bufferview_funcs.C: Likewise.
16162 * text.C: Likewise.
16163 * text2.C: Likewise.
16165 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16167 * lyxfind.C (LyXReplace): do not redefine default argument in
16169 (IsStringInText): ditto
16170 (SearchForward): ditto
16171 (SearchBackward): ditto
16173 2001-03-06 Juergen Vigna <jug@sad.it>
16175 * lyxfind.C (IsStringInText): put parentes around expressions.
16177 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16179 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16181 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16183 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16185 * stl_string_fwd.h: add comment
16187 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16190 * tabular.C: remove unused DocBook methods
16196 killed DO_USE_DEFAULT_LANGUAGE
16198 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16200 * lyx_gui.C: do not include language.h.
16202 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16203 arguments in function implementation.
16205 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16207 * BufferView_pimpl.C: add <ctime>
16209 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16211 * BufferView_pimpl.C: add using std::find_if
16213 2001-02-27 José Matos <jamatos@fep.up.pt>
16215 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16218 2001-02-11 José Matos <jamatos@fep.up.pt>
16220 * buffer.C (makeDocBookFile): command styles now have a parameter as
16221 "title" by default.
16223 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16225 * layout_forms.[Ch]: removed
16226 * lyx_cb.[Ch]: out character
16227 * lyx_gui.C: out character
16228 * lyx_gui_misc.C: out character
16229 * bufferview_funcs.C: : out character,
16230 added toggleall as parameter in ToggleAndShow
16232 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16234 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16236 * text2.C (SetCurrentFont): Disable number property at boundary.
16238 2001-02-26 Juergen Vigna <jug@sad.it>
16240 * lyxfunc.C (getStatus): added a string argument override function so
16241 that this is correctly called from LyXFunc::Dispatch if it contains a
16242 do_not_use_argument which is used!
16243 (Dispatch): added check for "custom" export and call appropriate func.
16245 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16247 * lyxrc.C: Add language_command_local, language_use_babel and
16248 language_global_options.
16250 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16252 * buffer.C (makeLaTeXFile): Use language_use_babel and
16253 language_global_options.
16255 2001-02-23 Juergen Vigna <jug@sad.it>
16257 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16258 which works with LyXText and putted it inside BufferView. Here now we
16259 only call for that part the BufferView::Dispatch() function.
16261 * BufferView.C (Dispatch): added.
16263 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16264 functions which needs to use a LyXText over from LyXFunc.
16265 (MenuInsertLyXFile): added
16266 (getInsetByCode): added
16267 (moveCursorUpdate): added
16268 (static TEXT): added
16270 2001-02-22 Juergen Vigna <jug@sad.it>
16272 * BufferView_pimpl.C (update): call a status update to see if LyXText
16275 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16277 * vc-backend.C (revert): implement for CVS
16278 (getLog): implement for CVS
16280 2001-02-20 Juergen Vigna <jug@sad.it>
16282 * text2.C (ClearSelection): added BufferView param for inset_owner call
16284 * lyxfunc.C (TEXT): added this function and use it instead of
16285 directly owner->view()-text of getLyXText().
16287 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16289 * src/layout_forms.C: out preamble
16290 * src/layout_forms.h: out preamble
16291 * src/lyx_cb.C: out preamble
16292 * src/lyx_cb.h: out preamble
16293 * src/lyx_gui.C: out preamble
16294 * src/lyx_gui_misc.C: out preamble
16295 * src/lyxfunc.C: connect with guii preamble
16297 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16299 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16301 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16303 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16304 whether to run bibtex.
16306 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16308 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16310 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16312 * Makefile.am (lyx_SOURCES): removed bibforms.h
16314 * vspace.h: doxygen
16316 * text.C (GetVisibleRow): make several local vars const
16318 * tabular.C: small cleanup.
16320 * lyxserver.C (callback): use compare instead of strncmp
16322 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16323 inlines to after class or to paragraph.C
16325 * lyxfont.h: remove friend operator!=
16327 * converter.h: move friend bool operator< to non friend and after
16330 * combox.h: small cleanup
16332 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16333 to inlines after class def.
16335 * buffer.C (pop_tag): use string operations instead of strcmp
16337 * bmtable.c: doxygen, small cleanup
16339 * LaTeX.h: remove friend operator==
16341 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16353 * BufferView_pimpl.C:
16354 * BufferView.[Ch]: remove cruft
16356 2001-02-14 Juergen Vigna <jug@sad.it>
16358 * lyxfunc.C: removed #if 0 unused code
16360 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16362 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16364 * text2.C (SetSelection): added a BufferView * parameter
16366 2001-02-13 Juergen Vigna <jug@sad.it>
16368 * lyxfunc.C (Dispatch): fixed protected blank problem.
16369 * BufferView2.C (protectedBlank): added LyxText * parameter.
16371 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16372 (AppendColumn): same as above for column_info.
16374 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16375 (moveCursorUpdate): use a LyXText param for support of InsetText.
16377 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16378 (tripleClick): ditto
16380 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16382 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16384 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16386 * text2.C (SetSelection): set correct update status if inset_owner
16387 (ToggleFree): ditto
16389 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16391 * tabular.C: remove some commented code.
16393 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16395 * BufferView_pimpl.C: call hideSplash()
16397 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16400 * bibforms.h: remove
16403 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16404 add LFUN_CHILD_CREATE
16406 * counters.h: fix tiny typo
16411 * lyx.C: move splash to frontends/xforms/
16413 * lyx_gui_misc.C: move Include and Bibform to frontends
16415 * lyxvc.h: clarify comment
16417 * vspace.C: tiny housekeeping
16419 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16421 * text.C (PrepareToPrint): RTL Fix.
16423 * paragraph.C (GetUChar): New method.
16424 (String): Use GetUChar.
16426 * buffer.C (asciiParagraph): Use GetUChar.
16428 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16430 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16432 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16435 * buffer.C: rename to getLogName(), handle
16436 build log / latex log nicely
16438 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16441 * MenuBackend.h: remove support for reference menuitem type.
16443 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16445 * BufferView_pimpl.C: housekeeping
16446 * BufferView_pimpl.h:
16451 * minibuffer.h: move Timeout GUI-I
16453 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16455 * lyxrc.C (read): Update converters data-structures.
16457 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16459 * LaTeX.h (operator!=): add operator != for Aux_Info
16461 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16463 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16465 * LaTeXLog.C: deleted, useful code moved to Buffer
16468 * buffer.C: new function getLatexLogName()
16474 * lyxfunc.C: use frontends for LaTeX and VC logs
16476 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16478 * LaTeX.h: yet another std:: that Allan forgot.
16480 * Variables.C (set): renamed from isset(), because this clashes
16481 with some HP-UX macros (grr).
16483 2001-02-06 Allan Rae <rae@lyx.org>
16485 * LaTeX.h: Another bug fix. Missing std:: this time.
16487 2001-02-04 Allan Rae <rae@lyx.org>
16489 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16490 floats problem. I've left it commented out because it's not quite
16491 correct. It should also test that the current object is a table or
16492 figure inset. But I haven't gotten around to figuring out how to do
16493 that. I *think* it'll be something like: "table" == inset.type()
16495 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16498 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16500 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16501 all the citation/databases/styles in the auxilary file.
16502 (run): Rerun latex if there was a babel language error.
16504 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16506 * text.C (Backspace): Preserve the font when changing newline char
16508 (BreakParagraph): If the cursor is before a space, delete the space.
16510 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16512 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16514 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16515 new argument (code).
16516 (ChangeCitationsIfUnique): New method.
16518 * paragraph.C (GetPositionOfInset): Handle bibkey.
16520 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16522 * BufferView_pimpl.h: change type of Position::par_pos to
16523 LyXParagraph::size_type.
16525 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16527 * BufferView_pimpl.C (savePosition, restorePosition): Write
16528 messages to minibuffer.
16530 2001-01-28 José Matos <jamatos@fep.up.pt>
16532 * buffer.C (makeDocBookFile): adds support for document language.
16533 A silly restriction on the name of LatexCommand types where removed.
16534 Added support for CDATA sections, allows to chars unescaped, used
16535 among others in code, to avoid escape < and >.
16537 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16539 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16540 saved positions instrad of a stack. Furthermore, a position is
16541 stored using paragraph id/paragraph position.
16543 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16544 Remove LFUN_REF_BACK.
16546 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16548 * converter.C (dvipdfm_options): New method.
16550 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16552 * vspace.C (isValidLength): Fix for empty input string.
16554 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16556 * LyXAction.C (init): change description of LFUN_FIGURE to
16559 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16561 * LaTeX.C: add using directive
16563 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16565 * MenuBackend.C (expand): Fix the sorting of the formats.
16567 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16569 * lyx_main.C: tiny error message fix
16571 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16573 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16574 calling fl_initialize(). This fixes the problem with ',' as
16575 decimal separator in text files.
16577 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16579 * trans.C (process): Fix the keymap bug.
16581 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16583 * LaTeX.C (scanAuxFiles): New method. Provides support for
16584 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16585 (scanLogFile) Scan for "run BibTeX" messages.
16587 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16588 OT1 font encoding. Also, load the aecompl package if the ae
16591 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16593 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16595 * texrow.C (increasePos): turn two error messages into debug
16598 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16600 * LaTeX.C (scanAux): Handle the \@input macro.
16601 (runBibTeX): Use scanAux().
16603 * language.C (latex_options_): New field.
16605 * LaTeXFeatures.C (getMacros): Add language macros.
16607 * buffer.C (makeLaTeXFile): Small fix.
16609 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16611 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16613 * text2.C: add a using directive.
16615 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16620 * lyxfunc.C: kill LyXBell.
16622 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16624 * text.C (IsBoundary): Remove the error message
16626 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16628 * lyxrc.C (setDefaults): Correct initialization value for
16631 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16633 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16636 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16637 and GotoNextNote().
16639 * src/LyXAction.C: Added reference-next.
16641 * text.C (InsertChar): Use contains instead of strchr.
16643 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16645 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16647 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16648 alignment commands (when needed).
16650 * text.C (InsertChar): Add ':' to number separator chars.