1 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * buffer_funcs.C (countWords): new function. Counts words between
6 * BufferView_pimpl.C (getStatus, dispatch): handle
10 * lfuns.h: add LFUN_WORDS_COUNT.
12 2004-12-19 Angus Leeming <leeming@lyx.org>
14 * buffer.C (save): s/slashify_path/internal_path/.
16 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
18 * lyxfind.C (findChange): do not search for end of pars, because
19 the change tracker cannot handle this (fixes bug 1719).
21 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
23 * paragraph.[Ch] (autoBreakRows): remove
25 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
27 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
28 avoid using the paragraph one
30 * text2.C (LyXText, insertStringAsLines): adjust
32 2004-12-16 Angus Leeming <leeming@lyx.org>
36 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
38 2004-12-14 Angus Leeming <leeming@lyx.org>
40 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
42 * bufferlist.C (emergencyWrite):
43 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
46 2004-12-14 Angus Leeming <leeming@lyx.org>
48 * main.C: (main): no longer pass pointers to os::init.
50 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
52 * undo.C (textUndoOrRedo): simplify logic, fix a crash
53 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
55 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
58 * text3.C: remove selection_possible global flag
60 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
62 * text2.C (getSelectionSpan): remove
63 (changeDepth, changeDepthAllowed): adjust
65 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
67 * Makefile.am (BOOST_LIBS): use boost variables
69 2004-12-03 José Matos <jamatos@lyx.org>
71 * buffer.C: format up to 238.
73 2004-12-03 José Matos <jamatos@lyx.org>
75 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
77 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
79 * cursor.C (goUpDown): remove call to idxUpDown2
81 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
83 * tabular.[Ch]: use size_t-like types for cell, row and column
86 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
88 * lyxfunc.C (getStatus): do not lose previous information when
89 calling BufferView::getStatus; do not set a default "Command
90 disabled" message at the beginning, but just before returning.
92 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
94 * cursor.h (getStatus): add better comment from src/cursor.C
96 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
98 * text3.C (getStatus): return false when the lfun is not handled
100 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
102 * broken_headers.h: remove
104 * Makefile.am (lyx_SOURCES): remove broken_headers.h
106 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
108 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
111 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
112 top_y_, merge fitcursor with update
113 (updateScrollbar, scrollDocView, fitCursor, center, update): new
116 (workAreaDispatch): adapt to new coord scheme
117 (redoCurrentBuffer): remove
119 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
121 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
124 * coordcache.[Ch]: add paragraph cache and helpers
126 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
129 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
130 (targetX, setTargetX): introduce
132 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
133 baseline -> ascent, as the rest of lyx
135 * lyxtext.h: remove redoParagraphs, updateParPositions,
136 fullRebreak, redoParagraphInternal. move dist to anon namespace in
137 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
138 have ascent/descent (ascent is ascent of first par)
140 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
143 * paragraph.[Ch]: unify dimension handling with the rest of lyx
145 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
147 * pariterator.C: fix infinite loop introduced in par->pit renaming
149 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
150 in insets and LyXText, draw two off-screen paragraphs using
151 NullPainter, and adapt to new coord scheme
155 * text3.C: adapt lfun handlers to the new coord scheme, which
156 means: there's only guaranteed coord information for onscreen pars
157 plus one above and one below. This implies that one can do search
158 from y coordinates in the range [-1,workHeight]
160 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
162 * rename a lot of InsetOld to InsetBase
164 2004-11-25 Angus Leeming <leeming@lyx.org>
166 * BufferView_pimpl.C:
168 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
170 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
172 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
173 call BufferView::getStatus if LCursor::getStatus did nothing
174 (setStatusMessage, getStatusMessage): removed.
176 * FuncStatus.C (message): new methods. Used to provide an error
177 message indicating why a command is disabled.
178 (clear, |=, FuncStatus): update for message.
180 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
182 * lyxfunc.C (dispatch): always call sendDispatchMessage
184 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
187 * BufferView_pimpl.C:
201 * undo.C: par->pit renaming
203 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
205 * tabular.C (cellstruct): use initialization, store a shared_ptr
206 to insettext instead of the insettext directly, adjust to fit.
207 (operator=): new function
209 (rowstruct): use initialization
210 (columnstruct): use initialization
211 (ltType): use initialization
214 * lyxlength.h (swap): new function
216 * LColor.[Ch] (operator=): use the common semantics
218 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
220 * lyxfind.C (findNextChange): update the bufferview after setting
223 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
225 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
226 number of InsetOptArgs has already been inserted.
228 * output_latex.C (latexOptArgInsets): new method. This outputs all
229 the optarg insets, up to the limit defined in the layout file.
230 (optArgInset): removed
231 (TeXOnePar): call latexOptArgInsets; correctly update texrow
233 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
235 * paragraph.C (isLetter): remove special spellchecker-related
236 code; return true also for digits
237 (isWord, isKomma): remove
239 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
240 * lyxfind.C (MatchString()): use isLetter instead of isWord
242 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
244 * pariterator.h (operatir=): comment out un-implemented member
247 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
250 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
252 * lyxfont.h: include LColor.h to satisfy concept checks.
254 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
256 * pariterator.h: add typdefs for value_type, difference_type,
257 pointer and reference to satisfy concept checks. Also add default
258 constructor for same reason.
260 * pariterator.C (operator++): add post-increment operator to
261 satisfy concept checks.
263 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
266 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
268 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
269 checks. Also rename base_type to BaseType to follow naming
272 * FloatList.h: include Floating.h to satisfy concept checks.
274 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * lyxfunc.C (getStatus): when the origin of the request is menu or
277 toolbar, and the LyXView does not have focus, do as if there was
280 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
281 FuncRequest to individual entries of LFUN_SEQUENCE
283 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
285 * output_latex.C (TeXOnePar): override runparams.moving_arg
286 according to the needprotect value of the current paragraph (bug
289 * paragraph.C (simpleTeXOnePar): no need to override
290 runparams.moving_args here
292 2004-11-14 John Spray <spray_john@users.sourceforge.net>
294 * vspace.C: fix off-by-one-error, related to fix #1682
296 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
298 * lengthcommon.C: a more general fix for bug 1682
300 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
302 * text.C (backspace): fix crash
304 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
306 * format.[Ch] (getFormatFromFile): new method
307 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
309 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
311 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
313 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
315 * lyxfunc.C (dispatch): remove the verbose argument
316 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
319 * kbmap.C (defkey): set the origin of func to KEYBOARD
321 * MenuBackend.C (MenuItem):
322 * ToolbarBackend.C (add): set the origin of func to UI
324 * funcrequest.[Ch]: add origin member, which indicates which part
325 of LyX requests an action
327 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
329 * converter.C (move): don't lie in the error message
330 * converter.h (isReachable, move): document
332 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
334 * buffer.C: remove unused using lyx::support::atoi
335 * paragraph_funcs.C: ditto
337 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
339 * bufferlist.C (exists): use bind and equal_to instead of
342 * lyxtextclasslist.C (NumberOfClass): ditto
344 * cursor.C (insert): use for_each instead of explicit for loop
346 * bufferlist.C (getFileNames): use std::transform and
347 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
349 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
352 * buffer.C (changeLanguage): use for_each instead of explicit for
354 (hasParWithID): implement using getParFromID
356 * LaTeXFeatures.C: ws change only
358 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
361 * BufferView_pimpl.C (trackChanges): use for_each instead of
364 2004-11-04 André Pönitz <poenitz@gmx.net>
367 * undo.C (textUndoOrRedo): fix crash when creating undo information.
369 * dociterator.C (asDocIterator): use hard assert again.
371 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
373 * lyxlength.C (asLatexString): rewrite so that it does not use
376 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
378 * text3.C (specialChar, dispatch): make sure cursor moves to the
379 right after inserting an inset
381 2004-11-02 José Matos <jamatos@lyx.org>
383 * output_docbook.C (docbook):
384 * paragraph.C (getID):
385 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
386 garantee that the output is always legal.
388 * tabular.C (docbook):
389 * outputprams.[Ch]: remove mixed contents.
391 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * text2.C (setCounter): prevent endless loop
395 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
397 * exporter.C (copyFile): use the mover instead of support::copy()
398 * exporter.C (Export): pass format and latex name to copyFile()
399 * exporter.h (addExternalFile): document
400 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
402 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
404 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
406 2004-10-30 José Matos <jamatos@lyx.org>
408 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
409 text and no inset or font change. This allows to use CDATA
410 sections just for the whole paragraph.
412 2004-10-30 José Matos <jamatos@lyx.org>
414 * paragraph.C (getFirstWord): remove unused variable.
416 2004-10-30 José Matos <jamatos@lyx.org>
418 * paragraph.C (getFirstWord): the content should always be escaped
420 (simpleDocBookOnePar):
421 * output_docbook.C (makeEnvironment): replace reference to CDATA
424 2004-10-30 José Matos <jamatos@lyx.org>
426 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
428 2004-10-30 José Matos <jamatos@lyx.org>
430 * output_docbook.C (makeParagraphs):
431 * paragraph.[Ch] (emptyTag): for docbook and company, if the
432 standard paragraph has only a given type of content drop the wrapper.
434 2004-10-29 José Matos <jamatos@lyx.org>
436 * output_docbook.C (makeEnvironment):
438 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
440 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
442 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
443 (cleanID): sanitize any id.
445 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
447 * buffer.C, lyxlex_pimpl.C:
448 * lyxlex_pimpl.C (setFile):
449 s/getExtFromContents/getFormatFromContents/
451 2004-10-28 José Matos <jamatos@lyx.org>
453 * output_docbook.C (makeEnvironment): move id to broadest possible
456 * sgml.C (openTag): apply substitution of <> for all attributes.
458 2004-10-28 José Matos <jamatos@lyx.org>
460 * buffer.C (makeLinuxDocFile, makeDocBookFile):
461 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
462 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
464 * sgml.[Ch]: new version for open and closeTag for paragraph and
465 for strings. Now they handle the ids of paragraphs.
467 2004-10-26 Angus Leeming <leeming@lyx.org>
469 * Makefile.am: add mover.[Ch].
471 * converter.C (convert, move): use the new Movers to move external
472 files to the temp directory.
474 * lyx_main.C (init): ensure that the global system_movers data
477 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
480 * mover.[Ch]: new files, defining a Mover as a utility to move an
481 external file between directories and, if necessary, manipulate this
482 file using a helper script.
484 2004-10-25 José Matos <jamatos@lyx.org>
486 * output_docbook.C (makeCommand): merge two if's that tested the
489 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
491 * sgml.C (escapeString): fix warning in a better way
493 2004-10-25 José Matos <jamatos@lyx.org>
495 * sgml.C (escapeString): import the require boosts header file for
496 tie, and avoid a signed unsigned comparison.
498 2004-10-25 José Matos <jamatos@lyx.org>
500 * sgml.h: add #include <string>
502 2004-10-25 José Matos <jamatos@lyx.org>
504 * sgml.[Ch] (escapeString): new function to escape all the string.
506 2004-10-24 José Matos <jamatos@lyx.org>
508 * paragraph.[Ch] (getFirstWord): new function to get the first
509 word. Useful for description.
510 (simpleDocBookOnePar): remove depth argument, add another that
511 says where to start the paragraph.
513 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
514 use the new functions to fix cleanly the support for descriptions.
516 2004-10-24 José Matos <jamatos@lyx.org>
518 * buffer.C (makeLinuxDocFile, makeDocBookFile):
519 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
520 * output_linuxdoc.C (linuxdocParagraphs):
521 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
522 add buffer as argument.
524 2004-10-24 José Matos <jamatos@lyx.org>
526 * output_docbook.C (makeEnvironment, searchEnvironment): place
527 CDATA inside paragraphs and fix scope for listitems.
529 2004-10-24 José Matos <jamatos@lyx.org>
531 * output_docbook.C: remove using statement for stack.
533 2004-10-23 José Matos <jamatos@lyx.org>
535 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
536 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
537 docbook. The new scheme is recursive and makes use of iterators, the
538 same as latex export works.
539 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
540 directly with the paragraph contents. This code was moved up to
541 output_docbook.C (docbookParagraphs).
542 * sgml.C (openTag, closeTag): removed unneeded newlines.
543 (closeEnvTags) removed.
545 2004-10-23 André Pönitz <poenitz@gmx.net>
547 * undo.C (textUndoOrRedo):
548 * dociterator.C (asDocIterator): work around crash
550 * cursor.C (getStatus): replace ASSERT by more verbose error message
551 and manual correction of the problem. Should increase stability
552 while providing more sensible information.
554 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
556 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
558 * bufferlist.C (previous, next): new methods
561 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
563 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
565 * buffer.C (makeDocBookFile): add dsssl stylesheet control
566 entities to preamble.
568 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
570 * messages.C (Pimpl): strip off translation context information
572 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
574 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
575 the cursor is correct (bug 1694)
577 2004-10-13 José Matos <jamatos@lyx.org>
579 * output_docbook.C (docbookParagraphs): fix closing tags in the
582 2004-10-09 José Matos <jamatos@lyx.org>
584 * buffer.C: format up to 237.
585 * bufferparams.C (write): use tostr to convert booleans to strings.
587 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
589 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
591 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
593 * LaTeX.C: implement use of babel language in xindy.
595 2004-10-05 José Matos <jamatos@lyx.org>
597 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
598 Add new translators to help reading and writing the lyx file.
600 2004-10-05 José Matos <jamatos@lyx.org>
602 * ParagraphParameters.C (read):
603 * text.C (readParToken): replace nexToken by more appropriate lex
606 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
608 * LaTeX.C (runMakeIndex):
609 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
610 (usually 'makeindex') configurable.
612 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
613 with a variable rather than with a number.
615 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
617 * output_latex.C (TeXOnePar): make sure font setting is the first
618 thing that gets output (and the last at the end). Should fix bug
621 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
623 * pch.h: use proper signal include
625 * LaTeX.h: Use preferred calling of Boost.Signal
628 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
630 * pch.h: dont include <boost/function/function0.hpp>
632 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
634 * paragraph_pimpl.h: remove usage of ShareContainer
636 * paragraph_pimpl.C: remove initialization of ShareContainer.
638 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
642 * BufferView.C (putSelectionAt): change the semantics when
643 backwards == true: now, this just swaps cursor and anchor wrt the
646 * BufferView.h (putSelectionAt): add some documentation
648 * lyxfind.C (findBackwards): rewrite using while(). In particular,
649 make sure backwardChar is done at least once (to avoid getting
651 (findNextChange): use putSelectionAt in the forward direction
652 (operator()): use Paragraph::isWord
654 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
656 * Spacing.C (set): c_str fix
658 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
660 * lyx_cb.C (Reconfigure): quote the name of configure script in
661 case it contains spaces
663 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
667 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
668 (BOOST_LIBS): use top_buildir when looking for the file
670 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
672 * pch.h: do not use include boost/format.hpp, multiple symbols
673 will result (gcc bug)
676 2004-08-23 José Matos <jamatos@lyx.org>
678 * bufferparams.C (readToken): fix reading of the author field.
680 2004-08-20 José Matos <jamatos@lyx.org>
682 * lyxrc.C: remove support/translator.h inclusion since it is not used.
684 2004-08-20 José Matos <jamatos@lyx.org>
686 * lyxlex.[Ch] (findToken): remove function.
688 * ParagraphParameters.C (findToken):
689 * bufferparams.C (findToken): replace call for previous function
690 with local copy. This local function has one more argument, the
691 read string argument.
693 2004-08-16 José Matos <jamatos@lyx.org>
695 * ParagraphParameters.C (write):
696 * Spacing.C (writeFile):
697 * bufferparams.C (writeLaTeX):
698 * lyx_cb.C (Reconfigure):
699 * paragraph.C (write):
700 * tabular.C (write): remove unnecessary space at end of line.
703 2004-08-16 José Matos <jamatos@lyx.org>
705 * text.C (readParagraph): remove debug message.
707 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
709 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
712 * output_plaintext.C (asciiParagraph): set depth correctly
714 * outputparams.h: add member depth
716 * paragraph_funcs.C (ownerPar): remove.
718 * text2.C (setCounter): remove first_pit; comment out some
719 non-working code that uses ownerPar
721 * BufferView.C (getParentLanguage): remove. Not used anymore, and
724 2004-08-16 José Matos <jamatos@lyx.org>
726 * text.C (readParToken, readParagraph, read): report all unknown tokens.
727 For the same level of importance use the same chanel to report problems.
728 (read): add code to deal with \begin_body and \end_body.
731 2004-08-15 José Matos <jamatos@lyx.org>
733 * lyxlex.C (getString): fix comment, buffer::readBody is now
736 * tex-strings.C (string_papersize): Default -> default,
737 Custom -> custom, for consistency with other options.
739 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
743 * Makefile.am: support pch
745 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
747 * text.C (readParToken): remove the static LyXFont variable and
748 pass it as a parameter instead. This fixes a nasty bug where an
749 inset will be inserted with a bad font in some situations
750 (readParagraph): adapt
752 * text2.C (setCounter): reduce number of calls to pars_[pit]
754 * text.C (singleWidth): add an assert, fix a test
756 * rowpainter.C (paintText): reduce number of calls to singleWidth
758 * paragraph.C (isHfill):
761 2004-08-14 André Pönitz <poenitz@gmx.net>
766 * lyxtext.h (several functions): use a Paragraph & argument
769 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
771 * metricsinfo.h: add a new field ltr_pos to PainterInfo
773 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
775 * text.C (singleWidth): remove useless test
777 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
779 * tabular.h: remove bogus comments
781 * tabular.C (getDescentOfRow):
782 (isPartOfMultiColumn): add assertions
784 * lyxlength.C (inPixels): remove #warning
786 2004-08-14 André Pönitz <poenitz@gmx.net>
788 * paragraph.h: inline getChar()
790 * BufferView.h: remove unused declarations
792 2004-08-14 José Matos <jamatos@lyx.org>
794 * Buffer.[Ch] (readDocument): new name for old readBody.
795 * Buffer.C: new file format, new keywords: \begin_document,
796 \begin_header, \begin_body, \end_body.
798 * bufferparams.C (readToken): replace all calls to lex.nextToken
799 by lex.next(). Do the same to eatLine except where really needed.
801 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
802 line when writing to the lyx file.
804 * output_plaintext.C (asciiParagraph): fix Bibliography style
807 * text.C (read): fix end of file handling.
809 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
811 * MenuBackend.C (Menu::operator[]): new method to access
812 individual menu items
813 (Menu::hasFunc): new method. search for an item that corresponds
815 (MenuBackend::specialMenu): new method
816 (MenuBackend::expand): if a special menu has been set, skip
817 entries whose func() appears in this menu
819 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
821 * text3.C: use Debug::DEBUG a bit more
823 * text.C (leftMargin): try to simplify a tiny bit change var x to
824 l_margin. Dont output the wide margins always.
825 (rightMargin): no margin in inner texts
827 * rowpainter.h (nestMargin): new func
828 (changebarMargin): new func
829 (rightMargin): new func
831 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
835 * factory.C (createInset): modify setDrawFrame
837 * cursor.C: use Debug::DEBUG a bit more
839 2004-08-14 André Pönitz <poenitz@gmx.net>
842 * Makefile.am: new files to accomodate an 'external' (x,y)-position
843 cache for all insets in (at least partially) visible (top-level)
846 * BufferView_pimpl.C: reset external coord cache before every update.
847 This means the coord cache only contains valid entries.
849 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
852 * BufferView_pimpl.C (getInsetByCode): move function out of class
853 and change in to a template in anon namespace. Also fix to do what
856 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
859 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
861 (breakParagraph): rename par to par_offset and use a local
862 reference. Add code to keep the language over a rebreak.
863 (breakParagraphConservative): rename par to par_offset, use a
865 (mergeParagraph): ditto
867 (isFirstInSequence): ditto
868 (outerFont): rename pit to par_offset
870 * paragraph.C: ws change
875 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
877 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
880 * paragraph.C (simpleTeXOnePar): when we have a \item with
881 optional argument, enclose the argument with curly brackets (in
882 case it contains a closing square bracket)
886 * text3.C (checkInsetHit): constify
888 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
890 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
893 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
895 Fix toggling of collapsable insets with the mouse (bug 1558)
897 * lyxfunc.C (dispatch): adapt to LCursor changes
899 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
900 make sure that dispatch is not invoked twice
902 * cursor.C (needsUpdate): new method
903 (dispatch): return void
904 (result): new method, to access the DispatchResult of the cursor.
906 2004-08-13 José Matos <jamatos@lyx.org>
908 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
910 2004-08-13 André Pönitz <poenitz@gmx.net>
912 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
914 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
917 2004-08-12 André Pönitz <poenitz@gmx.net>
919 * text3.C: take out the 'cursor right' form insertInset and only
920 do it in those places when it is really needed. Fixes crash on
923 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
925 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
927 * BufferView_pimpl.C (setBuffer): initialize the current font of
928 the underlying LyXText
930 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
932 * kbsequence.C (print): use UI native formatting for menu
935 * text.C (insertChar): call Paragraph::insertChar with a font
938 * paragraph.C (insertInset, insertChar): the version that takes a
939 LyXFont argument is now a wrapper around the other one (the
940 opposite used to be true).
942 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
943 argument. Font setting is done in Paragraph now.
945 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
947 * outputparams.h: add new members intitle and lang.
949 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
950 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
952 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
954 * text3.C (dispatch): remove special handling of button 4 and 5,
955 it is now taken care of in the frontend code.
957 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
959 * Spacing.h: add <string> (STLPort compile fix)
961 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
963 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
965 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
967 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
970 * converter.C (showMessage): inherit from unary_function, make
973 * buffer.C (writeFile): initialize retval
975 * InsetList.h: rename private variable list to list_
976 * InsetList.[Ch]: adjust accordingly.
978 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
980 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
981 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
982 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
983 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
984 * ParagraphParameters.C, LaTeXFeatures.C: replace
985 "support/std_sstream.h" with <sstream>
987 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
989 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
990 * lyxsocket.C (LyXServerSocket): ditto
991 (serverCallback): ditto
993 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
995 * LaTeXFeatures.C: check release date when loading jurabib.
997 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
999 * lyxserver.C (startPipe): call register_socket_callback
1000 (endPipe): call unregister_socket_callback
1002 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1004 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1005 (LyXServerSocket): register the callback
1006 (LyXServerSocket): unregister the callback
1007 (fd): delete function
1008 (serverCallback): improve error checking and setup the callbacks.
1009 (dataCallback): change arg to fd.
1010 (writeln): new func (copied fro the client socket) used for server
1012 (LyXDataSocket): simplify
1013 (~LyXDataSocket): close ann unregiser callback
1014 (server): delete function
1015 (fd): delete function
1016 (readln): small changes, improve some std::string usage
1017 (writeln): constify a bit
1019 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1021 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1024 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1026 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1027 after it has been populated
1029 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1031 * text2.C (insertInset): move cursor when inserting inset.
1033 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1035 * kbmap.C (findbindings): a couple of new methods. returns a
1036 container of kb_sequence objects. The real work is done by the
1037 private recursive version
1038 (printbindings): uses findbindings to print out a bracketed list
1039 of bindings (renamed from findbinding).
1041 * MenuBackend.C (binding): use kb_keymap::findbindings
1043 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1045 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1047 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1049 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1051 * paragraph.C (isWord): return true on insets that report
1054 * text.C (getWord): use Paragraph::isWord to decide what is in a
1055 word and what is not; fix bug 1609.
1057 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1059 * tex-strings.C: add "none" to string_paperpackages[], fixes
1060 off-by-one-error in the paperpackage selection.
1063 * tex-strings.[Ch]: char const * string[n]
1064 -> char const * const string[]
1066 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1068 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1069 command, return early.
1071 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1073 * debug.h: add DEBUG to enum and fix size of ANY.
1075 * debug.C: add support for Debug::DEBUG
1076 (showTags): cast errorTags.level to unsigned int
1078 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1079 (redoCurrentBuffer): ditto
1080 (updateScrollbar): ditto
1081 * cursor.C (dispatch): ditto
1082 * text2.C (setLayout): ditto
1084 (updateCounters): ditto
1086 (deleteEmptyParagraphMechanism): ditto
1088 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1090 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1091 annotations to cleanup the Makefile slightly.
1093 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1095 * lyxrc.C: do not set user_email to a default value but use empty
1096 instead. The entry used to be translated, which does not work
1097 since at the point where lyxrc is constructed there is no
1098 translation service available
1100 * messages.C (getLocaleDir): remove and use directly
1101 lyx_localedir() instead
1103 2004-06-02 Angus Leeming <leeming@lyx.org>
1105 Fix crash caused by dereferencing null pointer 'exportdata' in
1106 OutputParams by creating a new ExportData variable on the heap,
1107 storing it in a boost::shared_ptr.
1108 The crash was triggered when generating an Instant Preview
1109 of an external inset.
1111 * Makefile.am: add outputparams.C
1113 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1114 (c-tor): allocate memory to it.
1116 * exporter.C (c-tor): associated changes.
1118 2004-06-01 Angus Leeming <leeming@lyx.org>
1120 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1121 contains data before calling isInset(0). (Bug 1513.)
1123 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1125 * exporter.C (checkOverwrite): new method
1126 * exporter.C (copyFile): new method
1127 * exporter.C (Export): copy referenced files to the document dir
1128 * exporter.[Ch]: new class ExportedFile
1129 * exporter.[Ch]: new class ExportData. Contains currently the
1130 names of referenced external files
1131 * outputparams.h: add exportdata member.
1133 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1135 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1138 2004-05-19 Angus Leeming <leeming@lyx.org>
1143 * lyxfunc.C: small changes due to the introduction of namespace
1144 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1146 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1148 * text3.C (dispatch): supress update when only moving the cursor
1149 * cursor.C (selHandle): remove commented code
1151 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1153 * paragraph.C (startTeXParParams): correct column count
1154 * CutAndPaste.C (pasteSelection): remove const_cast
1155 * output_docbook.C (docbookParagraphs): remove const_cast
1156 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1157 const_cast and return ParagraphList::const_iterator
1158 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1159 * output_plaintext.C (writeFileAscii): remove const_cast
1160 * paragraph.[Ch] (simpleTeXOnePar): make const
1161 * paragraph_funcs.C (outerPar): use const iterators
1162 * paragraph_pimpl.C (validate): use const iterators
1163 * text.C (setHeightOfRow): use const iterators
1165 2004-05-17 Angus Leeming <leeming@lyx.org>
1168 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1170 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1171 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1172 if the citation engine has changed.
1174 2004-05-14 José Matos <jamatos@lyx.org>
1176 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1177 if the textclass does not provide it. Have it different for sgml and
1179 support the language of document.
1180 * output_docbook.C (docbookParagraphs):
1181 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1182 first anchor as the id of the paragraph, remove special case code.
1183 * sgml.C (escapeChar): escape only < & >.
1185 2004-05-14 Angus Leeming <leeming@lyx.org>
1187 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1188 dependencies on src/frontends/controllers/biblio.h. Define a
1189 CiteEngine_enum wrapper class to enable the enum to be forward
1192 2004-05-12 Angus Leeming <leeming@lyx.org>
1194 * buffer.C: up LYX_FORMAT to 234.
1195 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1196 use_numerical_citations with a single biblio::CiteEngine cite_engine
1198 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1200 2004-05-13 José Matos <jamatos@lyx.org>
1203 * converter.C (Converter, readFlags): add xml member.
1204 * outputparams.h: add XML flavor.
1205 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1207 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1209 * lyxfunc.C (dispatch):
1210 (getStatus): fix handling of LFUN_SEQUENCE
1212 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1214 * debug.C (showLevel): do not forget the end-of-line marker
1216 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1218 * kbmap.C (read): do not stop parsing a bind file when an error
1221 2004-04-29 Angus Leeming <leeming@lyx.org>
1226 * text2.C: wrap a bunch of #warning statements
1227 inside #ifdef WITH_WARNINGS blocks.
1229 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1231 * buffer.C: increment format to 233.
1233 2004-04-28 Angus Leeming <leeming@lyx.org>
1235 * BufferView_pimpl.C:
1238 s/updateToolbar()/updateToolbars()/
1239 s/Toolbar.h/Toolbars.h/
1241 2004-04-28 Angus Leeming <leeming@lyx.org>
1243 * BufferView.[Ch] (c-tor):
1244 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1245 No longer passes these data to the WorkArea generator.
1247 2004-04-28 Angus Leeming <leeming@lyx.org>
1249 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1251 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1253 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1255 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1257 * output_latex.C (TeXEnvironment): make sure that there is a line
1258 break before \end{foo} for the last paragraph of a document
1259 (TeXOnePar): if the paragraph is at the end of the document (or
1260 inset) and the language has to be reset, then make sure that the
1261 line break is _before_ the language command, not after (fixes bug
1262 1225); also make sure that the language reset command is the first
1263 thing after the paragraph (to ensure proper nesting of
1264 environments and thus fix bug 1404)
1266 2004-04-21 John Levon <levon@movementarian.org>
1269 * ToolbarBackend.C: make "name" be a programmatic name
1270 and a gui_name field.
1272 * lyxfunc.C: display the minibuffer on M-x
1274 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1276 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1279 2004-04-19 Angus Leeming <leeming@lyx.org>
1281 * BufferView_pimpl.C (setBuffer): changed preview interface.
1283 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1286 2004-04-19 John Levon <levon@movementarian.org>
1288 * BufferView_pimpl.C:
1289 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1291 2004-04-05 Angus Leeming <leeming@lyx.org>
1293 * text.C (redoParagraphs): add call to updateCounters(), thereby
1294 fixing the missing "Figure #:" label from the caption of a
1297 2004-04-13 Angus Leeming <leeming@lyx.org>
1299 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1300 cursor is clicked out of an inset.
1302 2004-04-13 Angus Leeming <leeming@lyx.org>
1304 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1305 than an InsetOld one.
1307 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1309 * format.[Ch]: add editor to Format
1310 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1311 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1313 2004-04-08 André Pönitz <poenitz@gmx.net>
1315 * metricsinfo.h: remove PainterInfo::width member
1317 2004-04-08 Angus Leeming <leeming@lyx.org>
1319 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1320 "\providecommand" rather than "\newcommand", thereby preventing
1321 clashes with packages that define "\boldsymbol" themselves.
1324 2004-04-08 Angus Leeming <leeming@lyx.org>
1326 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1327 thereby squashing an unnecessary warning.
1329 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1331 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1334 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1336 * BufferView.C (setCursor): call redoParagraph (some insets could
1338 (putSelectionAt): remove the 'double update' trick
1340 * BufferView_pimpl.C (fitCursor): call refreshPar
1341 (workAreaDispatch): remove an uneeded update call
1342 (dispatch): remove some manual update calls
1344 * cursor.[Ch]: remove cached_y_, updatePos
1345 (selHandle): set noUpdate when appropriate
1347 * lyxfunc.C (dispatch): track if we need an update
1349 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1351 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1352 (paintSelection): cheap optimization, do not call cursorX when not
1354 (paintPars): change signature
1357 (paintTextInset): adjust
1361 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1363 * lengthcommon.C: compilation fix: remove explicit array size from
1364 unit_name[] and friends
1366 2004-04-05 Angus Leeming <leeming@lyx.org>
1368 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1370 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1371 present only for the preferences dialog.
1372 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1374 2004-04-05 Angus Leeming <leeming@lyx.org>
1376 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1377 to enable the frontends to export changes to lyxrc correctly.
1379 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1381 2004-04-07 André Pönitz <poenitz@gmx.net>
1383 * cursor.[Ch] (selClear, adjust): remove math
1385 * cursor_slice.C: more agressive assert
1388 * BufferView_pimpl.C: rework mouse event dispatch
1395 2004-04-05 André Pönitz <poenitz@gmx.net>
1397 * cursor.[Ch] (valign, halign...): remove unneeded functions
1399 2004-04-05 Angus Leeming <leeming@lyx.org>
1401 * lyxlength.[Ch] (unit_name et al.): const-correct.
1403 2004-04-05 Angus Leeming <leeming@lyx.org>
1405 * BufferView_pimpl.C:
1414 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1416 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1418 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1420 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1422 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1423 * BufferView_pimpl.[Ch] (getStatus)
1424 * BufferView.[Ch] (getStatus): add
1425 * lyxfunc.C (getStatus): move lfuns handled in
1426 BufferView::dispatch to te function above
1427 * Cursor.C (setSelection): set selection() = true
1429 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1431 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1433 2004-03-31 Angus Leeming <leeming@lyx.org>
1435 * lyxfunc.C (dispatch): Fall through to the generic
1436 Dialogs::show("preamble").
1438 2004-03-31 Angus Leeming <leeming@lyx.org>
1440 * lyxfunc.C (dispatch): Fall through to the generic
1441 Dialogs::show("spellchecker").
1443 2004-03-31 Angus Leeming <leeming@lyx.org>
1445 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1448 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1453 * insetiterator.[Ch]:
1458 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1460 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1462 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1463 insets where we are putting the cursor.
1465 2004-03-31 Angus Leeming <leeming@lyx.org>
1468 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1470 * lyxrc.[Ch] (read, write): overloaded member functions taking
1471 a std::[io]stream arguments.
1473 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1475 2004-03-31 Angus Leeming <leeming@lyx.org>
1477 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1478 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1480 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1481 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1483 2004-03-31 Angus Leeming <leeming@lyx.org>
1485 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1486 the LFUN_ALL_INSETS_TOGGLE code.
1488 2004-03-30 Angus Leeming <leeming@lyx.org>
1490 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1491 has died. Fall through to the generic Dialogs::show("document").
1493 2004-03-30 Angus Leeming <leeming@lyx.org>
1496 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1497 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1499 * lyxfunc.C (getStatus, dispatch): define the actions for these
1500 lfuns. Little more than a cut and pste job from ControlDocument.C
1502 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1504 2004-03-30 Angus Leeming <leeming@lyx.org>
1507 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1508 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1510 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1511 open/closed state of ollapsable insets. Usage:
1513 all-inset-toggle <state> <name>, where
1514 <state> == "open" || "closed" || "toggle" and
1515 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1517 * lyxtext.h, text2.C (toggleInset): removed.
1519 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1520 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1521 now passes LFUN_INSET_TOGGLE to the found inset.
1523 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1524 is now invoked as "all-insets-toggle toggle branch".
1526 2004-03-30 Angus Leeming <leeming@lyx.org>
1530 * pariterator.[Ch]: added/corrected header blurb.
1532 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1534 * dociterator.[Ch]: add an inset_ member
1535 (backwardPos): implemented
1536 (backwardPos, forwardPos): use inset_ when the stack is empty.
1537 (doc_iterator_begin, doc_iterator_end): implemented
1538 * pariterator.[Ch]: adjust, add begin, end
1539 * insetiterator.[Ch]: adjust, add begin, end
1543 * BufferView_pimpl.C:
1544 * CutAndPaste.C: adjust
1546 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1548 * buffer.C: increment file format to 232.
1549 * LaTeXFeatures.C: add bibtopic package.
1550 * bufferparams.[Ch]: param \use_bibtopic.
1552 * lyxrc.[Ch]: add lyxrc bibtex_command
1553 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1555 * buffer.C: increment file format to 231.
1557 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1559 * dociterator.C: implement forwardPar
1560 * iterators.[Ch]: remove, replaced by
1561 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1563 * BufferView_pimpl.C:
1566 * bufferview_funcs.C:
1572 * Makefile.am: adjust
1574 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1576 * CutAndPaste.C (pasteSelection): fix 2 crashes
1577 (eraseSelection): fix a crash
1578 * paragraph_funcs.C: remove a warning
1580 2004-03-28 Angus Leeming <leeming@lyx.org>
1583 * LyXAction.C (init): new LFUN_PRINT.
1585 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1587 2004-03-27 Angus Leeming <leeming@lyx.org>
1590 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1592 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1594 2004-03-27 Angus Leeming <leeming@lyx.org>
1596 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1597 insetlist always contains non-null pointers to insets.
1599 2004-03-26 Angus Leeming <leeming@lyx.org>
1601 * src/BufferView_pimpl.C:
1602 * src/CutAndPaste.C:
1605 * src/output_plaintext.C:
1606 * src/outputparams.h:
1607 * src/paragraph_funcs.C:
1611 * src/frontends/controllers/ControlErrorList.C:
1612 * src/frontends/gtk/FileDialogPrivate.C:
1613 * src/frontends/gtk/GPainter.C:
1614 * src/frontends/gtk/GToolbar.C:
1615 * src/frontends/qt2/QRef.C:
1616 * src/mathed/math_scriptinset.C: squash compiler warnings.
1618 2004-03-26 Angus Leeming <leeming@lyx.org>
1620 * ispell.C (LaunchIspell::start):
1621 * lyx_cb.C (AutoSaveBuffer::start):
1622 invoke run(DontWait) rather than runNonBlocking().
1624 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1626 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1628 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1630 * kbsequence.C (print): adjust
1632 * kbmap.C (printKeySym): rename and change signature
1633 (printKey): use LyXKeySym::print()
1635 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1637 * undo.C: add using std::advance to compile for stlport
1639 2004-03-24 Angus Leeming <leeming@lyx.org>
1641 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1642 it leads to a crash when no buffer is present.
1644 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1645 Martin Vermeer <martin.vermeer@hut.fi>
1647 * lyxfunc.C (dispatch):
1648 * bufferparams.C (readToken): use the new LColor::setColor
1650 * LColor.[Ch] (setColor): new version that takes two strings as
1651 argument and creates a new color entry if necessary
1653 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1655 * buffer.C (makeLaTeXFile): if the main latex file that is
1656 processed is usually a subdocument of some master, then pretend
1657 for a while that it is actually the master
1659 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1661 * buffer.C (getLabelList):
1662 (getBibkeyList): use getMasterBuffer()
1663 (getMasterBuffer): new method. Returns the main document in the
1664 case where one is using included documents.
1666 2004-03-25 André Pönitz <poenitz@gmx.net>
1670 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1672 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1674 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1675 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1677 * ParameterStruct.h: merge with ParagraphParameters
1679 * lyxtext.h: remove LyXText::parOffset() and getPar()
1681 * text3.C: Remove all 'manual' update calls. We do now one per user
1682 interaction which is completely sufficient.
1686 * BufferView_pimpl.C:
1687 * FontIterator.[Ch]:
1689 * ParagraphParameters.[Ch]:
1694 * cursor_slice.[Ch]:
1701 * output_docbook.[Ch]:
1702 * output_latex.[Ch]:
1703 * output_linuxdoc.[Ch]:
1704 * output_plaintext.[Ch]:
1706 * paragraph_funcs.[Ch]:
1707 * paragraph_pimpl.[Ch]:
1715 * frontends/controllers/ControlDocument.C:
1716 * frontends/controllers/ControlErrorList.C:
1717 * frontends/controllers/ControlSpellchecker.C:
1720 * insets/insetbase.h:
1721 * insets/insetbibitem.C:
1722 * insets/insetbox.C:
1723 * insets/insetbranch.C:
1724 * insets/insetcaption.C:
1725 * insets/insetcharstyle.C:
1726 * insets/insetcharstyle.h:
1727 * insets/insetcollapsable.C:
1728 * insets/insetcollapsable.h:
1729 * insets/insetert.C:
1730 * insets/insetfloat.C:
1731 * insets/insetfoot.C:
1732 * insets/insetmarginal.C:
1733 * insets/insetnote.C:
1734 * insets/insetoptarg.C:
1735 * insets/insettabular.C:
1736 * insets/insettext.C:
1737 * insets/insettext.h:
1738 * insets/insetwrap.C:
1739 * mathed/math_mboxinset.C:
1740 * mathed/math_nestinset.C:
1741 * mathed/math_scriptinset.C:
1742 * mathed/math_scriptinset.h:
1745 2004-03-24 Angus Leeming <leeming@lyx.org>
1747 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1748 deal with any child processes that have finished but are waiting to
1749 communicate this fact to the rest of LyX.
1751 2004-03-24 Angus Leeming <leeming@lyx.org>
1753 64-bit compile fixes.
1755 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1756 (c-tor): pass lyx::pos_types rather than ints.
1758 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1761 * text.C (Delete): compile fix.
1762 (getPar): ensure that function declaration is the same as that in
1765 2004-03-23 Angus Leeming <leeming@lyx.org>
1767 * ispell.C (LaunchIspell):
1768 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1769 a boost::shred_ptr rather than a std::auto_ptr.
1771 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1773 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1774 handle LFUN_FILE_INSERT_*
1776 * lyxrc.C (setDefaults, getDescription, output, read):
1777 * lyxrc.h: remove ps_command
1779 2004-03-22 Angus Leeming <leeming@lyx.org>
1781 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1782 Ensure that error_handler is processed once only and that all data
1783 is saved before attempting to output any warning messages.
1785 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1787 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1789 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1791 2004-03-19 André Pönitz <poenitz@gmx.net>
1793 * cursor.[Ch] (reset): take main text inset as argument
1795 * BufferView: adjust
1796 * BufferView_pimpl.C: adjust
1798 * paragraph.[Ch]: fix completely broken operator=()
1800 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1802 * LColor.C (getFromLyXName): make sure that the color name is used
1805 2004-03-17 Angus Leeming <leeming@lyx.org>
1808 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1810 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1811 dialog and to kill a forked process.
1813 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1815 * text2.C (setCursorFromCoordinates): fix font problem
1817 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1819 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1820 bogus "rebuild cursor" code
1822 2004-03-11 André Pönitz <poenitz@gmx.net>
1824 * buffer.[Ch]: use InsetText instead of LyXText as container for
1827 * dociterator.[Ch]: drop the BufferView * member which is not needed
1828 anymore after the change to buffer.C
1830 * paragraph_funcs.C:
1834 * BufferView_pimpl.[Ch]:
1836 * cursor_slice.[Ch]: adjust
1838 * text3.C: fix bug in mathDispatch
1840 2004-03-08 André Pönitz <poenitz@gmx.net>
1842 * undo.[Ch]: use 'StableDocumentIterator' as base for
1845 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1848 * bufferparams.[Ch]: add jurabib support and param.
1850 * LaTeX.C: add FIXME/comment.
1852 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1854 * buffer.C: increment file format to 230.
1856 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1858 * cursor.C (dispatch): avoid infinite loops
1860 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1862 * rowpainter.C (paintSelection): fix x coordinates
1864 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1866 * text.C (rowBreakPoint): fix breaking before displayed insets
1868 2004-03-01 André Pönitz <poenitz@gmx.net>
1870 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1872 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1876 * BufferView_pimpl.C:
1884 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1890 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1891 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1893 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1895 * Bidi.[Ch] (computeTables): const correctness
1896 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1897 fill_hfill, fill_label_hfill and x from Row
1898 * lyxtext.h: prepareToPrint returns a RowMetrics
1899 * rowPainter.C: adjust
1900 * text.C (prepareToPrint): use width, not textWidth. adjust
1901 (redoParagraphInternal, cursorX): adjust
1902 * text2.C (getColumnNearX): adjust
1903 (init): put a default value to the top LyXText::width
1905 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1907 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1909 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1911 * lyxtext.h: add FontIterator class
1913 * text.C (FontIterator, operator*, operator->, operator++): add
1914 (rowBreakPoint, setRowWidth): adjust (fixing a
1917 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1919 * BufferView_pimpl.C (workAreaDispatch): allow also
1920 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1922 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1924 * text.C (rowBreakPoint): fix a bug showing with very large insets
1926 2004-02-25 André Pönitz <poenitz@gmx.net>
1929 * cursor.[Ch]: move some mathed specific code to mathed
1931 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1933 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1934 use_tempdir in preferences
1935 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1937 * lyx_main.C: ensure that tempdir is valid
1938 * lyxlex.h: correct typo
1939 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1940 * paragraph.[Ch] (isMultiLingual): make const
1941 * cursor.[Ch] (openable): make const
1943 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1945 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1947 2004-02-20 André Pönitz <poenitz@gmx.net>
1949 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1951 * cursor.[Ch]: prepare for localized getStatus()
1957 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1959 2004-02-20 André Pönitz <poenitz@gmx.net>
1961 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1963 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1965 * text2.C (setCursorFromCoordinates): switch to absolute coords
1967 (cursorDown): adjust
1968 * text3.C (dispatch): adjust
1970 2004-02-16 André Pönitz <poenitz@gmx.net>
1972 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1975 * cursor_slice.[Ch]: remove unneeded acessor function
1977 * lyxtext.h: rename rtl() to isRTL()
1985 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1987 * rowpainter.C (paintSelection): coord fix
1989 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1991 * Spacing.C: compile fix
1993 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1995 * cursor.C (dispatch): restore current_ before returning
1997 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1999 * text2.C (cursorUp, cursorDown): fix coords
2002 2004-02-12 André Pönitz <poenitz@gmx.net>
2007 * text3.C: add LCursor & parameter to most cursor movement functions
2008 remove usage of LyXText::cursorRow() and cursorPar()
2010 * cursor.[Ch]: add textRow() needed members
2013 * BufferView_pimpl.C:
2016 * BufferView_pimpl.C: adjust
2018 2004-02-11 André Pönitz <poenitz@gmx.net>
2022 * BufferView_pimpl.C: shift undo/redo handling
2024 * cursor.[Ch]: fix mathed crash
2027 * lyxtext.h: move selectionAsText to LCursor
2035 * rowpainter.C: fix excessive drawing
2037 2004-02-06 André Pönitz <poenitz@gmx.net>
2040 * BufferView_pimpl.[Ch]:
2041 * text3.C: move some text specific LFUN handling
2043 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2045 * text3.C (checkInsetHit): adjust coords
2046 * text2.C (getColumnNearX): adjust coords
2047 (edit): adjust coords
2048 * text.C (getRowNearY): add two asserts
2050 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2053 * format.C: add using std::distance to compile on gcc 2.95/stlport
2055 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2057 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2059 2004-02-04 André Pönitz <poenitz@gmx.net>
2061 * BufferView.[Ch] (insertInset):
2062 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2067 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2069 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2070 on the default clause of the switch
2071 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2072 wasn't catched by LCursor::dispatch
2074 2004-02-03 André Pönitz <poenitz@gmx.net>
2077 * cursor.[Ch]: some additional asserts
2079 * undo.[Ch]: remove LyXText dependency in interface
2083 * lyxtext.h (firstPar, lastPar): remove dead functions
2088 * paragraph.[Ch]: adjust
2090 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2092 * lyxfind.C (find): fix argument order in call to ::find
2094 2004-02-02 André Pönitz <poenitz@gmx.net>
2096 * cursor.[Ch]: remove direct access to anchor
2098 * text.C: remove findText() hack
2100 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2102 * iterators.[Ch] (lockPath): remove in favour of...
2103 * BufferView.[Ch] (setCursor): this addition
2104 * BufferView.C (putSelectionAt): adjust
2105 * undo.C (performUndoOrRedo): adjust
2106 * lyxfunc.C (dispatch): adjust
2108 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2110 * iterators.C (lockPath): add a missing slice
2111 * undo.C (performUndoOrRedo): remove redundant positioning code
2113 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2115 * vc-backend.C (scanMaster): ";" -> ';'
2117 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2119 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2120 std::binary_function
2122 * lyxtextclass.C (compare_name): rename to...
2123 (LayoutNamesEqual): ...this
2125 * lyxlex_pimpl.C (compare_tags): inherit from
2126 std::binary_function, put back into anon namespace
2128 * lyxfind.C (MatchString): inherig from std::binary_function
2129 (findChange): use empty() istead of !size()
2131 * format.C (FormatNamesEqual): new functor
2138 * converter.C (compare_Converter): rename to...
2139 (ConverterEqual): ...this, and fixup a bit.
2140 (getConverter): use it, and make function const
2141 (getNumber): use it, and make function const
2145 * bufferlist.C: add using boost::bind
2147 * MenuBackend.C (MenuNamesEqual): new functor
2148 (hasMenu): use it, and make function const
2149 (hasSubmenu): use nested bind to get rid of compare_memfun.
2151 2004-01-30 André Pönitz <poenitz@gmx.net>
2153 * BufferView_pimpl.C:
2156 * cursor_slice.[Ch]:
2159 * paragraph_funcs.C:
2160 * paragraph_funcs.h:
2164 * text3.C: move some of the edit(x,y) handling to the insets
2165 some coordinate changes.
2167 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2169 * text.C: add using statements for std::advance and std::distance
2171 * paragraph.C: add using statement for std::distance
2173 * lyxfind.C: add using statement for std::advance
2175 * cursor.C (region): remove std:: from swap
2176 (openable): use nucleus in stead of operator->
2178 * BufferView.C: add using statements for std::distance and std::swap
2180 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2182 * iterators.C: Remove the pimple, move the needed structures to
2183 the header file. Create accessor for the positions stack.
2184 (asPosIterator): remove function
2186 * PosIterator.C (PosIterator): move constructors to top of file
2187 (PosIterator): reimplement the constructor taking a ParIterator in
2189 (setFrom): new function
2190 (operator!=): inline it
2192 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2194 * lyxfind.C (replaceAll): use std::advance
2196 * iterators.h: inherit from std::iterator.
2198 * PosIterator.C (advance, distance): remove
2199 * PosIterator.h: interit from std::iterator.
2201 2004-01-26 André Pönitz <poenitz@gmx.net>
2204 * BufferView_pimpl.[Ch]:
2208 * bufferview_funcs.C:
2218 * output_linuxdoc.C:
2219 * output_plaintext.C:
2221 * paragraph_funcs.[Ch]:
2222 * paragraph_pimpl.[Ch]:
2228 * text3.C: more IU: dumps most of the rest of the mathcursor
2229 implementation into cursor.[Ch]; "globalize" a bit of it.
2231 2004-01-25 Angus Leeming <leeming@lyx.org>
2233 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2235 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2237 * LaTeXFeatures.h: add nice_ and nice() const
2238 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2240 2004-01-20 André Pönitz <poenitz@gmx.net>
2243 * BufferView_pimpl.C:
2245 * bufferview_funcs.C:
2247 * cursor_slice.[Ch]:
2258 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2259 LCursor and mathcursor parts to LCursor and InsetBase.
2261 2004-01-15 André Pönitz <poenitz@gmx.net>
2263 * cursor_slice.[Ch]: add a few covienience functions
2265 * funcrequest.[Ch]: remove BufferView * member
2267 * BufferView_pimpl.C:
2274 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2276 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2278 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2279 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2281 2004-01-13 André Pönitz <poenitz@gmx.net>
2284 * lyxtext.h: hide cursor and selection anchor behind accessor function
2287 * BufferView_pimpl.[Ch]:
2289 * bufferview_funcs.C:
2299 * cursor_slice.[Ch]: some integer type changes for inset unification
2301 * lyxcursor.[hC]: remove, it's CursorSlice now.
2304 * BufferView_pimpl.[Ch]:
2305 * bufferview_funcs.C:
2311 * textcursor.[Ch]: adjust
2313 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2315 * text2.C (undoSpan): add and use
2316 * text.C (breakParagraph): use undoSpan (fix bug 578)
2319 2004-01-08 Angus Leeming <leeming@lyx.org>
2321 * BufferView_pimpl.C (MenuInsertLyXFile):
2322 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2323 * lyxfunc.C (menuNew, open, doImport):
2324 FileFilterList change to the FileDialog open and save functions.
2326 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2328 * ShareContainer.h: make isEqual and isUnique adaptable
2330 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2332 2004-01-07 Angus Leeming <leeming@lyx.org>
2335 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2337 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2339 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2340 functions replacing find, replace and replaceAll.
2342 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2343 LFUN_WORDFIND(FORWARD|BACKWARD).
2345 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2347 * text.C (breakParagraph): remove an outdated #warning
2349 2004-01-07 André Pönitz <poenitz@gmx.net>
2351 * lyxfind.C: somewhat clearer logic
2353 * text.C: prevent crash in cursorX on unitialized row cache
2355 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2357 * lyxcursor.[Ch] (operator>): add
2358 * textcursor.C (selStart, selEnd): use std::min and std::max
2360 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2362 * Chktex.C: include boost/format.hpp
2364 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2366 * InsetList.C: replace functor MathcIt with adaptable functor
2368 (insetIterator): modify accordingly
2370 * BranchList.h: move the BranchNamesEqual functor here from...
2371 * BranchList.C: ... to here
2373 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2375 (add): replace a finding loop with std::find_if.
2377 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2379 * output_docbook.C: moving LatexParam functionality into
2382 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2384 * buffer.C: increment format to 229.
2386 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2389 * lyx_sty.[Ch]: remove minipageindent_def
2395 * text3.C: remove LFUN_INSET_MINIPAGE
2397 2003-12-28 Angus Leeming <leeming@lyx.org>
2399 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2401 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2403 * text2.C (setParagraph): fix off-by-one crash
2405 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2407 * output_docbook.C: header stuff for AGU
2409 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2411 * text2.C (redoCursor): remove
2414 * BufferView_pimpl.C: remove calls to redoCursor and
2415 setCursor(cursor.par(), cursor.pos()) all around
2417 2003-12-15 Angus Leeming <leeming@lyx.org>
2419 * buffer.C: up the format to 228.
2421 2003-12-15 André Pönitz <poenitz@gmx.net>
2423 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2428 * BufferView_pimpl.C:
2437 2003-12-15 Angus Leeming <leeming@lyx.org>
2439 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2440 than getFromGUIName to manipulate the color.
2442 2003-12-14 Angus Leeming <leeming@lyx.org>
2444 * BranchList.[Ch]: minimize the API.
2445 (Branch::getBranch, getColor): now return a 'const &'.
2446 (Branch::setSelected) now returns a bool set to true if the
2447 selection status changes.
2448 (BranchList::clear, size, getColor, setColor, setSelected,
2449 allBranches, allSelected, separator): removed.
2450 (BranchList::find): new functions, returning the Branch with
2452 (BranchList::add, remove): return a bool indicating that
2453 the operation was successful.
2455 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2456 new InsetBranch::isBranchSlected member function.
2458 * LColor.[Ch]: mimimize the API.
2459 (fill): renamed as addColor and made private.
2460 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2461 versions of these functions taking a string arg have been removed.
2463 * bufferparams.C (readToken):
2464 * lyxfunc.C (dispatch):
2465 * lyxrc.C (read): changes due to the altered BranchList and
2468 * factory.C (createInset, readInset): changes due to altered
2471 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2474 * lyxfunc.C: remove insetminipage. "minipage-insert"
2475 now produces a frameless minipage box inset.
2477 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2479 * textcursor.[Ch] (selStart,selEnd): add new methods
2480 remove selection::start, end, use LyXCursor::operator<
2481 * lyxcursor.[Ch] (operator<): add
2482 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2483 * BufferView.[Ch] (unsetXSel): add
2484 * text2.C (clearSelection): use unsetXSel,adjust
2487 * rowpainter.C: adjust
2488 * bufferview_funcs.C (put_selection_at): adjust
2490 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2492 * BufferView_pimpl.C: small coord. correction
2494 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2496 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2497 dragging over the splash screen.
2499 2003-12-11 Angus Leeming <leeming@lyx.org>
2501 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2502 as it is now handled in LyXText::dispatch.
2504 * text3.C (doInsertInset): remove a level of nesting.
2506 2003-12-11 Angus Leeming <leeming@lyx.org>
2508 * factory.C (createInset): changes due to the changed interface to
2509 InsetCommandMailer::string2params.
2511 2003-12-10 Angus Leeming <leeming@lyx.org>
2513 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2514 'dialog-show-new-inset <inset name>'
2516 2003-12-10 Angus Leeming <leeming@lyx.org>
2518 * buffer.C: up the format to 227.
2520 * factory.C: the box inset is now identified simply by 'Box'.
2522 2003-12-10 Angus Leeming <leeming@lyx.org>
2524 * buffer.C: up the format to 226.
2526 * factory.C: the note inset is now identified simply by 'Note'.
2528 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2530 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2531 when a pit is enough. Standarize a couple of loops.
2533 2003-12-05 Angus Leeming <leeming@lyx.org>
2535 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2536 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2537 data to the re-worked "log" dialog.
2539 2003-12-03 André Pönitz <poenitz@gmx.net>
2545 * paragraph_funcs.C:
2547 * text2.C: use Inset::getText instead of Inset::getParagraph
2549 2003-12-03 André Pönitz <poenitz@gmx.net>
2553 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2554 InsetText::read() as LyXText::read()
2556 2003-12-02 Angus Leeming <leeming@lyx.org>
2558 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2559 type. Add a comment in the implementation that the function uses
2560 the stream's bad() function rather than fail() as the std::streams
2563 2003-12-02 André Pönitz <poenitz@gmx.net>
2565 * lyxlex.[Ch]: make interface more similar to std::stream
2567 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2569 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2571 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2573 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2575 * vspace.[Ch]: remove VSpace::NONE
2577 2003-12-01 André Pönitz <poenitz@gmx.net>
2580 * lyxtext.h: move ParagraphList member to LyXText
2581 rename LyXText::ownerParagraphs to LyXText::paragraph
2584 * bufferview_funcs.C:
2594 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2596 * undo.C: fix cursor positioning
2598 2003-12-01 John Levon <levon@movementarian.org>
2600 * BufferView_pimpl.C: fix a crash on exit with
2603 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2605 * BranchList.C: fix setSelected() method.
2607 2003-11-28 André Pönitz <poenitz@gmx.net>
2609 * ParagraphParameters.[Ch]:
2610 * ParameterStruct.h: remove space above/below from Paragraph to
2613 * BufferView_pimpl.C:
2619 * paragraph_funcs.C:
2625 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2627 * factory.C: Syntax change for CharStyles
2629 2003-11-28 André Pönitz <poenitz@gmx.net>
2634 * buffer.[Ch]: move LyXText member
2636 2003-11-28 André Pönitz <poenitz@gmx.net>
2638 * BufferView.[Ch]: make LyXText * text a private member
2640 * BufferView_pimpl.C:
2651 * output_plaintext.C: cleanup
2653 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2656 * lyxtextclass.[Ch]: parametrize SGML document header
2658 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2661 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2664 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2666 * text2.C (setFont): rework using PosIterator (no more recursive)
2667 (setCharFont): no more needed
2668 (setLayout): no more selection cursors fiddling (done by redoCursor)
2669 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2670 destroy remaining ones)
2672 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2674 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2676 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2679 * text3.C: adjust + re-allow multi par depth changes
2680 * textcursor.C: simplify a bit
2682 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2688 * src/output_docbook.C:
2689 * src/output_latex.C:
2694 * src/text2.C: Introducing a number of tags parametrizing various
2695 XML formats that we may want to support
2697 2003-11-25 André Pönitz <poenitz@gmx.net>
2699 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2701 * lyxtext.h (leftMargin/rightMargin): simplify interface
2708 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2710 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2711 master file to any child files. Fixes bug 546.
2713 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2715 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2717 2003-11-24 André Pönitz <poenitz@gmx.net>
2719 * rowpainter.C: simplification
2721 * text2.C (updateCounters): remove call to redoParagraph on
2722 changed labels as this is far too expensive.
2724 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2726 * converter.C (convert): fix a crash: this function gets
2727 called with buffer == 0 from importer code.
2729 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2731 * text3.C (cursorPrevious): make sure that we do not compare
2732 iterators form different containers.
2735 * rowpainter.C (paintSelection): make sure that we do not compare
2736 iterators from different containers.
2738 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2739 iterators from different ParagraphList containers.
2742 * text2.C (LyXText): change order of initialization slightly
2743 (operator=): new function. copy all variables except cache_par_
2744 (moveUp): make sure that we do not compare iterators from
2745 different ParagraphList constainers.
2748 * text.C (firstPar): new function
2749 (lastPar): new function
2750 (endPar): new function
2752 * lyxtext.h: move things around and group public functions, public
2753 variables, private functions, private variables
2755 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2757 * factory.C: change call to InsetERT constructor to avoid
2758 additional invocation of method status
2759 * text2.C (toggleInset): remove redundant update() call
2760 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2761 instead of a Bufferview pointer
2763 2003-11-21 André Pönitz <poenitz@gmx.net>
2765 * rowpainter.C: simplification
2767 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2769 * text3.C (dispatch): make possible to extend a word/row selection
2772 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2774 * lyxtext.h: x0_,y0_ -> xo_,yo_
2775 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2776 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2777 * rowpainter.C (paintRows): paint full paragraphs
2779 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2781 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2784 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2786 * lyxtext.h: add x0_, y0_
2787 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2788 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2790 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2792 * text2.C (setCursorIntern): move the x_target update here *
2793 * text3.C: change some bv() to true/false in calls to
2794 cursorUp/Down/Right/Left
2795 * cursor.C: use helper function.
2797 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2799 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2800 * paragraph_funcs.[Ch]: correct comment
2801 * rowpainter.C: do not paint selections away from bv->cursor()
2802 Fix a long standing selection painting bug.
2803 * text3.C: generalize mouse-selection code to LyXTexts other that
2805 * textcursor.C: do not use y coords if we can use par offsets
2807 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2809 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2810 cursor position after e.g. inset insert)
2812 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2814 * lyxfind.C (replace): adjust to locking removal + some
2817 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2819 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2822 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2825 * output_docbook.C: XML sanitation: new layout
2826 parameters InnerTag and CommandDepth
2828 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2830 * BufferView_pimpl.C:
2832 * text3.C: Fix the insertion and modification of button-style
2835 2003-11-13 André Pönitz <poenitz@gmx.net>
2837 * InsetList.[Ch]: remove deleteLyXText
2839 * paragraph.[Ch]: cache beginOfBody position
2844 * text3.C: remove superfluous update() calls
2848 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2850 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2851 * BufferView.C (fitLockedInsetCursor): remove
2852 * cursor.[Ch] (getDim): add
2853 * text.C (getRowNearY): add faster version
2854 * text3.C: remove some update calls
2856 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2868 * text3.C: The Character Style /XML short element patch.
2870 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2873 * factory.C: Small step to solving 'unable to insert some insets'
2876 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2878 * cursor.[Ch] (updatePos): new function for updating the y
2879 position of the tip inset
2880 * bufferview_funcs.C (put_selection_at):
2881 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2883 2003-11-11 André Pönitz <poenitz@gmx.net>
2885 * text.C: remove big comment on invalid Paragraph pointers as it is
2888 2003-11-11 André Pönitz <poenitz@gmx.net>
2890 * text_funcs.[Ch]: merge with ...
2898 * Makefile.am: remove text_funcs.[Ch]
2900 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2902 * cursor.C (getPos): return absolute cached y coord
2904 * BufferView_pimpl.C (fitCursor): new simplistic code
2905 (workAreaDispatch): add a fitCursor call
2907 2003-11-10 André Pönitz <poenitz@gmx.net>
2910 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2912 2003-11-10 André Pönitz <poenitz@gmx.net>
2914 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2915 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2916 indicate that the cursor needs to leave an inset
2918 * lyxtext.h: remove inset locking
2920 * cursor.[Ch]: re-implement functionality provided by inset locking
2923 * BufferView_pimpl.[Ch]:
2925 * bufferview_funcs.[Ch]:
2937 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2939 * PosIterator.[Ch]: replace the stack with a vector, add inset
2941 * iterators.[C]: adjust
2943 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2945 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2947 * paragraph_funcs.C (readParToken): put the correct id in the
2948 error item, not the id of the top paragraph
2950 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2952 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2953 * bufferview_funcs.C (put_selection_at): use the above
2955 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2957 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2959 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2961 * output_linuxdoc.h:
2962 * output_plaintext.h:
2964 * output_docbook.h: add #include statements
2966 2003-11-05 José Matos <jamatos@lyx.org>
2968 * output_docbook.[Ch]:
2969 * output_latex.[Ch]:
2970 * output_linuxdoc.[Ch]:
2971 * output_plaintext.[Ch]: New files for output formats.
2972 * output.[Ch]: New file for helper functions.
2975 * paragraph_funcs.[Ch]: output functions moved to new files.
2977 * outputparams.h: rename of latexrunparams.h
2985 * paragraph_funcs.[Ch]:
2986 * paragraph_pimpl.[Ch]:
2987 * tabular.[Ch]: rename ascii to plaintext
2988 and LatexRunParams to OutputParams.
2990 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2992 * iterators.[Ch] (text): require bv argument
2993 * undo.C (recordUndo):
2994 * lyxfunc.C (dispatch):
2995 * bufferview_funcs.C (put_selection_at): adjust
2997 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2999 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3001 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3003 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3006 2003-11-04 André Pönitz <poenitz@gmx.net>
3008 * cursor.[Ch]: restructure
3011 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3013 * iterators.[Ch] (asCursor): remove
3015 * lfuns.h: remove LFUN_INSET_EDIT
3021 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3023 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3025 * lyxfind.[Ch]: complete overhaul
3026 * BufferView_pimpl.C:
3028 * paragraph.[Ch] (insert): add
3030 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3034 * text.C: remove dead spellcheck code
3036 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3038 * dispatchresult.h: add a val setter
3040 * cursor.C (dispatch): use a tempvar for data_[i]
3042 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3044 * PosIterator.[Ch]: compile fix
3046 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3048 * text.C (cursorPar): deactivate the cursor cache
3050 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3052 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3054 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3056 * text3.C (dispatch): adjust for new DisptchResult semantics.
3058 * lyxfunc.C (dispatch): handle update when return from
3059 Cursor::dispatch, adjust for new DispatchResult semantics.
3061 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3062 DispatchResult(true) mean to not update. Add class functions for
3063 setting dispatched and update, as well as reading.
3065 * cursor.C (dispatch): don't handle update here
3067 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3069 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3070 * trans_mgr.C: adjust
3072 * paragraph_funcs.C (readParToken): exception safety
3074 * lyxvc.h: store the vcs pointer in a scoped_ptr
3077 * lyxsocket.C (serverCallback): exception safety
3079 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3081 * ispell.C (clone): make it return a auto_ptr
3083 * factory.C (createInset): exception safety
3084 (readInset): exception safety
3086 * bufferlist.C (newBuffer): exception safety
3088 * Thesaurus.C (Thesaurus): use initialization for aik_
3090 * MenuBackend.C (expandToc): exception safety.
3092 2003-11-03 André Pönitz <poenitz@gmx.net>
3096 * bufferview_funcs.C: remove getInsetFromId()
3099 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3105 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3107 * PosIterator.C (distance, advance): new
3108 * bufferview_funcs.[Ch] (put_selection_at): new
3109 * iterators.[Ch] (lockPath): new
3111 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3113 * iterators.[Ch] (asPosIterator): added
3114 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3115 * PosIterator.[Ch]: added
3117 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3121 * cursor.C (dispatch):
3122 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3124 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3125 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3126 contructor, add a class function dispatched. Remove operator>=
3128 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3130 * debug.C: only use the default constructor for debugstream
3133 * main.C (main): include debug.h and setup the lyxerr streambuf
3136 2003-10-31 José Matos <jamatos@lyx.org>
3138 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3140 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3141 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3142 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3143 * paragraph_pimpl.C (simpleTeXSpecialC):
3144 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3145 add LatexRunParams argument.
3147 * exporter.C (Export): change call accordingly.
3149 * latexrunparams.h: add new member to take care of the other backends.
3150 2003-10-30 José Matos <jamatos@lyx.org>
3152 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3153 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3154 factorise code for paragraph output.
3156 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3159 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3161 * text3.C (dispatch):
3162 * lyxfunc.C (dispatch):
3163 * cursor.C (dispatch):
3164 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3166 * dispatchresult.h: make the dispatch_result_t ctor explicit
3168 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3171 * buffer.C: small refactoring of docbook stuff
3173 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3175 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3178 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3180 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3181 operator dispatch_result_t, and operators for == != and >=
3183 * cursor.C (dispatch): adjust for operator dispatch_result_t
3184 removal. comment out call to update
3186 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3188 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3196 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3199 * dispatchresult.h: new file, DispatchResult broken out of
3202 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3204 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3206 * text.C (rowBreakPoint): put a hack inside #if 0
3208 2003-10-28 André Pönitz <poenitz@gmx.net>
3212 * paragraph_funcs.C:
3215 * text2.C: general cleanup (lots of small stuff)
3217 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3219 * text2.C (cursorEnd): simple fix to the "end key goes to one
3220 before the end on last row" bug
3222 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3224 * text.C (backspace): fix the "zombie characters"
3226 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3228 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3230 2003-10-27 André Pönitz <poenitz@gmx.net>
3232 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3234 * factory.C: handle new InsetPagebreak, InsetLine
3236 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3237 and move handling into new InsetPagebreak, InsetLine
3239 * BufferView_pimpl.C:
3241 * ParagraphParameters.C:
3242 * ParameterStruct.h:
3247 * paragraph_funcs.C:
3248 * paragraph_pimpl.C:
3254 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3257 * lyxrow_funcs.[Ch]:
3263 * text3.C: remove lastPos uses in favour of Row::endpos
3265 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3267 * undo.C (performUndoOrRedo): fix two crashes by setting a
3268 cursor by hand and reordering some calls. Use bv->lockInset instead
3269 of inset->edit because the latter loses cursor information
3271 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3273 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3275 (rowBreakPoint): fix width. change point to point + 1.
3276 Add a missing check.
3278 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3281 * lyxfunc.C: fix (at least partly) the problems
3282 with the Nav menu and headers inside branch insets
3285 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3287 * paragraph.C (getChar): add strong asserts
3289 * lyxrow_funcs.C (lastPos): remove hideous hack
3291 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3292 (fill): adjust to that (avoid an infinite loop)
3294 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3296 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3298 2003-10-23 André Pönitz <poenitz@gmx.net>
3300 * RowList_fwd.h: change list<> to vector<> to gain speed
3301 after suggestion from Alfredo
3303 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3305 * lyxtext.h: move the bidi stuff from here...
3308 * Bidi.[Ch]: ... to here
3310 2003-10-23 André Pönitz <poenitz@gmx.net>
3313 * text.C (isLastRow, isFirstRow): new functions
3315 * paragraph.h: new width cache member
3317 * rowpainter.C: replace RowList::iterator with Row & where possible
3319 * lyxfunc.C: replace several view()->text with a single call
3321 * toc.C: fix 'unused' warning
3323 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3325 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3326 when woring with stream::pos_type
3327 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3329 2003-10-22 André Pönitz <poenitz@gmx.net>
3332 * text.C: use Row & instead of RowList::iterator
3334 * lyxrow.h: rename end() to endpos()
3340 2003-10-22 Angus Leeming <leeming@lyx.org>
3342 * buffer.[Ch] (fully_loaded): new member function, returning true
3343 only when the file has been loaded fully.
3344 Used to prevent the premature generation of previews and by the
3345 citation inset to prevent computation of the natbib-style label.
3347 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3348 templates are all set up.
3350 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3352 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3354 * text.C: fixed an "oops" in the "is a bit silly"
3357 2003-10-21 André Pönitz <poenitz@gmx.net>
3359 * FuncStatus.[Ch]: small stuff, whitespace
3361 * lyxfont.[Ch]: operator<<() for debug reasons
3365 * lyxtext.h: whitespace, spelling
3367 * paragraph.C: naming of variables
3370 * text2.C: small stuff
3373 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3375 * text.C: (1) finish off the inset display() work;
3376 (2) fix the "is a bit silly" bug (accessing char
3379 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3381 * text.C: re-introduce display() for insets, fixing the
3382 various bugs (stretch of line above, math inset
3385 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3387 * text.C (rightMargin): remove spurious semicolon
3389 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3392 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3394 * text3.C: fix one crash due to wrong cursor def
3396 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3398 * vc-backend.C (scanMaster): make the regex static
3400 * LaTeX.C (scanAuxFile): make the regexs static
3402 * text3.C (doInsertInset, dispatch, dispatch):
3403 * text2.C (cursorUp, cursorDown):
3404 * text.C (selectNextWordToSpellcheck):
3405 * BufferView_pimpl.C (dispatch):
3406 * lyxfunc.C (dispatch): localDispatch -> dispatch
3408 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3410 * lyxsocket.C: include <cerrno>
3412 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3414 * lyxfunc.C (dispatch): remove textcache stuff
3416 * bufferlist.C (release): remove textcache stuff
3419 * TextCache.C: delete file
3420 * TextCache.h: delete file
3422 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3424 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3425 delete of the bv_->text.
3426 (resizeCurrentBuffer): remove texcache stuff
3427 (workAreaResize): ditto
3429 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3431 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3434 2003-10-16 André Pönitz <poenitz@gmx.net>
3441 * text3.C: speed up by storing y positions per paragraph plus per-row
3442 offset instead of having a 'full' y position in the row.
3444 2003-10-15 André Pönitz <poenitz@gmx.net>
3448 * undo.[Ch]: make undo aware of inner insets
3450 2003-10-14 Angus Leeming <leeming@lyx.org>
3452 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3453 static member functions LyX::ref() and LyX::cref.
3454 (lastfiles): new accessor functions for the new lastfiles_ member var.
3455 (addLyXView, views_): add a new LyXView to the list of views_.
3456 (updateInset): loop over all LyXViews to call their own updateInset
3457 member function, returning a pointer to the Buffer owning the inset.
3459 * BufferView_pimpl.C (loadLyXFile):
3460 * MenuBackend.C (expandLastfiles):
3461 * bufferlist.C (MenuWrite, QuitLyX):
3462 lastfiles is no longer a global variable.
3463 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3465 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3466 static function. Access through LyX::cref().emergencyCleanup().
3468 2003-10-14 André Pönitz <poenitz@gmx.net>
3470 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3472 * undo.[Ch]: restoring part of 'undo in insets'
3475 * undo_funcs.[Ch]: merge with undo.[Ch]
3477 * tabular.C: small cleansing stuff
3479 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3481 * paragraph_funcs.C (readParToken): report unknown insets as error
3482 boxes. Use the outer paragraph as location (also for unknown
3485 * factory.C (readInset): do not abort on reading an unknown inset.
3486 Eat it and return 0.
3488 2003-10-13 Angus Leeming <leeming@lyx.org>
3490 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3492 * lyxrc.C: displayTranslator is now a function,
3493 declared in GraphicsTypes.h.
3495 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3497 * format.C: new placeholder $$a to pass the socket address.
3499 * bufferlist.[Ch]: new function getBufferFromTmp.
3501 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3502 files in the temporary dir.
3504 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3506 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3508 * Makefile.am: add lyxsocket.[Ch].
3510 * lyx_main.C (error_handler): handle SIGPIPE.
3512 2003-10-13 André Pönitz <poenitz@gmx.net>
3514 * BufferView_pimpl.C:
3519 * undo_funcs.[Ch]: use paroffset_type instead of
3520 ParagraphList::iterators to prevent multiple conversion
3521 (and get a more robust interface)
3523 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3525 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3527 * text3.C (dispatch): ditto
3529 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3531 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3532 move the onlyfile, use onlyfile instead of foundfile in a couple
3535 * DepTable.C (update): flush the error stream a bit more
3537 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3539 * lyxserver.C (callback): adjust
3541 * lyxfunc.C (getStatus): add a missing brace in commented code
3542 (ensureBufferClean): reindent
3543 (dispatch): delete version taking a string
3545 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3547 * LaTeX.C (deplog): move found file handlig from here...
3548 (handleFoundFile): .. to new function here.
3549 (deplog): make sure to discover several files mentioned on the
3552 2003-10-10 André Pönitz <poenitz@gmx.net>
3559 * text3.C: fix some of the tabular crashes
3561 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3563 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3565 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3567 2003-10-09 André Pönitz <poenitz@gmx.net>
3569 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3572 * BufferView_pimpl.C:
3573 * bufferview_funcs.C:
3584 * undo_funcs.C: adjust
3586 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3588 * text2.C (incrementItemDepth): new function, use a backtracking
3589 algorithm to discover the correct item depth.
3590 (resetEnumCounterIfNeeded): new function, use a backtracking
3591 algorithm to discover if counter reset is needed.
3592 (setCounter): use them. Simplify a bit. Add different labels for
3593 different item depths for itemize.
3595 * paragraph.C (Paragraph): remove initialization of enumdepth
3598 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3599 enumerate and itemize. Change the type of itemdepth to signed char.
3601 2003-10-08 André Pönitz <poenitz@gmx.net>
3603 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3608 * tabular.[Ch]: fix crash after 'row-insert'
3610 2003-10-08 Angus Leeming <leeming@lyx.org>
3612 Fix doxygen warnings.
3614 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3615 Remove CutAndPaste:: prefix from header file declaration.
3617 * LColor.h (fill): remove LColor:: prefix from declaration.
3619 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3620 use lyx::depth_type rather than Paragraph::depth_type so that
3621 header file and .C file match.
3623 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3625 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3626 * aspell.C: \file aspell_local.C -> \file aspell.C
3627 * gettext.C: \file gettext.C -> \file src/gettext.C
3628 * gettext.h: \file gettext.h -> \file src/gettext.h
3629 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3630 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3631 * text.C: \file text.C -> \file src/text.C
3633 * toc.C: move comment so that doxygen is not confused.
3635 2003-10-07 Angus Leeming <leeming@lyx.org>
3637 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3639 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3642 * aspell_local.h: add forgotten std::string's.
3644 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3651 * text3.C: The Box patch. Fancybox support, minipage, parbox
3653 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3659 * ParagraphParameters.h:
3669 * lyxtextclasslist.h:
3672 * paragraph_pimpl.C:
3673 * textcursor.h: add <string> and other small fixes to make Lars'
3674 std::string patch compile with STLport.
3676 2003-10-06 Angus Leeming <leeming@lyx.org>
3678 * LColor.h: Add missing #include <string>.
3680 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3682 * All most all file in all subdirs: Make <string> be the prefered
3683 way of getting to std::string, add using declarations.
3685 2003-10-06 André Pönitz <poenitz@gmx.net>
3687 * metricsinfo.C: initialize LyXFont before changing attribute.
3688 (fixes the 'math in \emph is upright' bug)
3690 2003-10-06 André Pönitz <poenitz@gmx.net>
3692 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3694 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3697 * paragraph_pimpl.C: Small fixes to build using STLport
3699 2003-10-02 André Pönitz <poenitz@gmx.net>
3702 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3704 2003-10-01 André Pönitz <poenitz@gmx.net>
3706 * factory.C: assert early
3708 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3710 * lyx_main.C: remove the global debug object
3712 * debug.h: adjust for new debugstream
3714 * debug.C: adjust for new debugstream and keep the global debug
3717 2003-09-22 Angus Leeming <leeming@lyx.org>
3719 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3720 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3721 an incomplete class LyXFont.
3723 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3725 * factory.C: bug fix in branches
3727 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3729 * lyxfunc.C (processKeySym): adjust
3731 (dispatch): change arg name from ev to func, adjust
3732 (sendDispatchMessage): ditto
3734 * lyx_main.C (defaultKeyBindings): adjust keybindings
3735 (deadKeyBindings): ditto
3737 * kbsequence.C (addkey): return a FuncRequest
3739 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3741 * kbmap.C (bind): take a FuncRequest as arg, adjust
3744 (defkey): change to take a FuncRequest as arg, adjust
3745 (findbinding): take a FuncRequest as arg, adjust.
3747 * funcrequest.h (operator=): added
3749 * funcrequest.C (FuncRequest): default kb_action changed from
3750 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3752 * buffer.C (dispatch): simplify
3753 (dispatch): adjust to take a FuncRequest as arg, adjust
3755 * boost.C (assertion_failed): change assertion message slightly
3757 * ToolbarBackend.C (read): simplify
3759 * MenuBackend.C (binding): adjust call to findbinding, add a
3760 message if no binding is found.
3762 (expandToc): correct by adding a empty FuncRequest
3764 * LyXAction.C: include <boost/assert.hpp>
3765 (isPseudoAction): delete function
3766 (LookupFunc): change name to...
3767 (lookupFunc): this. change return type to FuncRequest.
3768 (getActionName): take kb_action as arg, simplify
3769 (funcHasFlag): add an assert, simplify.
3771 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3773 * toc.C (action): return a FuncRequest, simplify
3775 * lyxfunc.C (processKeySym): adjust
3776 (getStatus): delete version that takes an int.
3778 (dispatch): delete version that takes action as int
3780 (sendDispatchMessage): simplify and adjust
3782 * funcrequest.C (getArg): take unsigned int as arg
3784 * ToolbarBackend.C (read): adjust
3785 (add): delete version that takes func as a string.
3786 (getIton): take a FuncRequest as arg
3788 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3791 * MenuBackend.C (MenuItem): add a new construct that only takes a
3792 Kind, simplify the constructor use for submenus.
3794 (expandLastfiles): adjust
3795 (expandDocuments): adjust
3796 (expandFormats): adjust
3797 (expandFloatListInsert): adjust
3798 (expandFloatInsert): adjust
3799 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3801 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3802 Remove class variables lyx_pseudo_map and lyx_arg_map
3804 * LyXAction.C (searchActionArg): delete function
3805 (getPseudoAction): delete function
3806 (retrieveActionArg): delete function
3807 (LookupFunc): make it return kb_action, simplify.
3808 (getActionName): simplify
3810 * factory.C (createInset): fix new bug
3812 2003-09-19 Angus Leeming <leeming@lyx.org>
3814 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3815 masterFilename_ parameter in the include inset.
3817 * factory.C (createInset): changes due to the changes to InsetInclude.
3819 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3821 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3823 2003-09-18 Angus Leeming <leeming@lyx.org>
3826 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3827 Inset::fillWithBibKeys.
3828 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3830 2003-09-18 Angus Leeming <leeming@lyx.org>
3832 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3834 (ctor): pass and store a 'Buffer const &'
3835 (buffer): new member function.
3837 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3838 '*this' to the LaTeXFeatures ctor.
3840 2003-09-18 Angus Leeming <leeming@lyx.org>
3846 * text.C: rename EnumLColor as LColor_color.
3848 2003-09-18 Angus Leeming <leeming@lyx.org>
3850 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3851 remove #include "insets/insetbase.h" from cursor.h.
3853 2003-09-18 Angus Leeming <leeming@lyx.org>
3855 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3856 InsetOld_code to remove #include "inset.h".
3858 * iterators.C: add #include "insets/inset.h"
3860 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3862 * BufferView.C: remove more locking stuff that apparently doesn't
3863 do anything sensible.
3865 2003-09-16 André Pönitz <poenitz@gmx.net>
3868 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3871 2003-09-16 Angus Leeming <leeming@lyx.org>
3873 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3875 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3878 * paragraph.h: remove #include "lyxfont.h". Forward declare
3881 2003-09-16 Angus Leeming <leeming@lyx.org>
3883 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3884 of support/textutils.h.
3885 (isWord): move the contents of support/textutils.h's IsWordChar here.
3891 * text2.C: add #include "paragraph.h".
3894 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3896 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3902 * LaTeX.C: use namespace alias for lyx::support::os
3904 2003-09-16 Angus Leeming <leeming@lyx.org>
3907 * bufferview_funcs.C:
3910 * paragraph_pimpl.C:
3912 * text.C: add #include "LColor.h".
3914 2003-09-16 Angus Leeming <leeming@lyx.org>
3916 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3917 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3919 Store the FontBits::color variable as an int rather than as an
3920 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3923 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3924 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3925 string calls together.
3927 * lyxrc.C: add #include "LColor.h".
3929 2003-09-15 Angus Leeming <leeming@lyx.org>
3931 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3934 2003-09-15 Angus Leeming <leeming@lyx.org>
3936 * LColor.h: add an EnumLColor wrapper for LColor::color.
3938 * lyxfont.[Ch] (color, setColor, realColor):
3939 * lyxtext.h, text.C (backgroundColor):
3940 pass EnumLColor args to/from the functions, rather than LColor::color
3944 * lyxtext.h: forward declare EnumLColor.
3946 * lyx_main.C: add #include "LColor.h".
3948 2003-09-15 Angus Leeming <leeming@lyx.org>
3950 * .cvsignore: add lyx-gtk.
3952 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3957 * ParagraphParameters.C
3961 * bufferview_funcs.C
3971 * vc-backend.C: remove usage of STRCONV
3973 2003-09-15 Angus Leeming <leeming@lyx.org>
3975 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3976 explicitly define the color passed to the painter.
3978 2003-09-15 Angus Leeming <leeming@lyx.org>
3980 * bufferparams.C (BufferParams): reorder member initializers to avoid
3983 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3985 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3986 * text.C (updateRowPositions): remove an unusual nop
3988 2003-09-12 André Pönitz <poenitz@gmx.net>
3990 * BufferView_pimpl.C:
3999 * Counters.[Ch]: finish the 'automatic counters' job
4001 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4003 * aspell.C: include <boost/assert.cpp> (compile fix)
4005 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4007 * boost.C (assertion_failed): use lyx::support::abort instead of
4010 2003-09-10 Angus Leeming <leeming@lyx.org>
4012 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4013 with their _fwd progeny.
4015 2003-09-09 Angus Leeming <leeming@lyx.org>
4017 134 files throughtout the source tree: replace 'using namespace abc;'
4018 directives with the appropriate 'using abc::xyz;' declarations.
4020 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4022 * boost.C (emergencyCleanup): moved here from LAssert.c
4023 (assertion_failed): new function, called by BOOST_ASSERT
4025 * several files: change Assert to BOOST_ASSERT
4027 2003-09-09 Angus Leeming <leeming@lyx.org>
4029 * buffer.[Ch]: Add an Impl class and move Buffer's member
4030 variables into it. As a result move several header files out of
4033 Add header files to lots of .C files all over the tree as a result.
4035 2003-09-09 Angus Leeming <leeming@lyx.org>
4037 * buffer.[Ch]: make Buffer's member variables private. Add
4040 Lots of changes all over the tree as a result.
4042 2003-09-08 Angus Leeming <leeming@lyx.org>
4044 * graph.C: #include <config.h>.
4046 2003-09-08 Angus Leeming <leeming@lyx.org>
4050 * BufferView_pimpl.C:
4079 * toc.C: remove redundant using directives.
4081 2003-09-07 Angus Leeming <leeming@lyx.org>
4083 * LaTeXFeatures.h: remove #include "support/types.h".
4084 * ToolbarBackend.h: remove #include <algorithm>.
4085 * changes.h: remove #include <ctime>.
4086 * debug.h: remove #include <iosfwd>.
4087 * graph.h: remove #include "support/std_string.h".
4088 * lyx_main.h: remove #include <csignal>.
4089 * lyxlex_pimpl.h: remove #include <fstream>.
4090 * sgml.h: remove #include <algorithm>, <utility>.
4091 * toc.h: remove #include "support/std_ostream.h".
4092 Add #include <iosfwd>.
4094 2003-09-07 Angus Leeming <leeming@lyx.org>
4096 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4098 * converter.h: forward declare LatexRunParams.
4099 * encoding.h: remove #include "lyxrc.h".
4100 * lyxtext.h: remove #include "LColor.h".
4101 * lyxtextclass.h: remove #include "support/types.h".
4102 * trans.h: remove #include "tex-accent.h".
4103 * trans_mgr.h: remove #include "tex-accent.h".
4104 * insets/inset.h: remove #include "support/types.h", <vector>.
4105 * insets/insetcollapsable.h: remove #include "LColor.h".
4106 * insets/insetinclude.h: remove #include "dimension.h".
4107 * insets/insetlatexaccent.h: remove #include "dimension.h".
4108 * insets/insetoptarg.h:: remove #include "insettext.h".
4109 * insets/insettext.h: remove #include "dimension.h",
4110 <boost/shared_ptr.hpp>
4112 * insets/renderers.h: add #include "dimension.h".
4113 * insets/updatableinset.h: add #include "support/types.h".
4115 * many .C files: Associated changes.
4117 2003-09-06 Angus Leeming <leeming@lyx.org>
4119 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4120 one, inside testInvariant.
4122 * PrinterParams.C: new file.
4123 * PrinterParams.[Ch]: move the function bodies out of line.
4125 2003-09-06 Angus Leeming <leeming@lyx.org>
4127 * ParagraphParameters.h: forward declare ParameterStruct rather than
4128 including its header file.
4129 (depth): moved out-of-line.
4131 2003-09-06 Angus Leeming <leeming@lyx.org>
4133 * BufferView_pimpl.h:
4136 * lyxfunc.h: forward declare LyXKeySym rather than
4137 #include "frontends/LyXKeySym.h".
4139 * BufferView_pimpl.C:
4142 * lyxfunc.C: associated changes.
4144 2003-09-06 Angus Leeming <leeming@lyx.org>
4146 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4147 As a result, can remove the #include "insets/inset.h" from BufferView.h
4149 2003-09-06 Angus Leeming <leeming@lyx.org>
4151 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4152 As a result, can remove the #include "insets/inset.h" from BufferView.h
4154 2003-09-06 Angus Leeming <leeming@lyx.org>
4160 * bufferview_funcs.C:
4161 * BufferView_pimpl.C:
4166 * ParagraphParameters.C:
4171 * frontends/controllers/ControlDocument.C:
4172 * insets/insetcaption.C: rearrange the #includes into some sort of
4175 * buffer.h: remove #includes ErrorList.h, undo.h
4177 2003-09-06 Angus Leeming <leeming@lyx.org>
4179 * support/types.h: add a 'depth_type' typedef, used to store the
4180 nesting depth of a paragraph.
4183 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4184 defining explicitly.
4187 * paragraph_funcs.h:
4188 * ParagraphParameters.h:
4189 * sgml.h: use lyx::depth_type rather than Paragraph or
4190 ParameterStruct's depth_type.
4193 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4196 * BufferView_pimpl.C:
4198 * ParagraphParameters.C:
4201 * bufferview_funcs.C:
4208 * frontends/LyXView.C:
4209 * frontends/controllers/ControlDocument.C:
4210 * frontends/controllers/ControlErrorList.C:
4211 * insets/insetbibitem.C:
4212 * insets/insetbranch.C:
4213 * insets/insetcaption.C:
4214 * insets/insetcollapsable.C:
4215 * insets/insetenv.C:
4216 * insets/insetert.C:
4217 * insets/insetfloat.C:
4218 * insets/insetfoot.C:
4219 * insets/insetfootlike.C:
4220 * insets/insetnewline.C:
4221 * insets/insetquotes.C:
4222 * insets/insettabular.C:
4223 * insets/insettext.C:
4224 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4226 * frontends/controllers/ControlChanges.C: #include "changes.h".
4228 2003-09-06 Angus Leeming <leeming@lyx.org>
4230 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4231 than #including paragraph.h.
4234 * RowList.h: deleted. Superfluous.
4244 * insets/insettext.h: use ParagraphList_fwd.h rather than
4247 * paragraph.h: don't forward declare ParagraphList.
4250 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4251 rather than ParagraphList.h. paragraph.h is still needed for the
4252 Paragraph::depth_type parameters.
4254 * textcursor.h: enable it to compile stand-alone in light of the
4257 * bufferview_funcs.C:
4269 * frontends/controllers/ControlParagraph.C:
4270 * frontends/controllers/ControlTabular.C:
4271 * insets/insetmarginal.C:
4272 * insets/insetminipage.C:
4273 * insets/insetnote.C:
4274 * insets/insetoptarg.C: add header files needed to compile again.
4276 2003-09-06 Angus Leeming <leeming@lyx.org>
4278 * RowList_fwd.h: new file, forward-declaring Row rather than
4279 #including lyxrow.h.
4284 * insets/insettext.h: use it instead of RowList.h
4286 * bufferview_funcs.C:
4293 * text3.C: #include "RowList.h".
4295 2003-09-05 Angus Leeming <leeming@lyx.org>
4297 * factory.C (createInset):
4298 * vspace.C (c-tor): replace sscanf call with an istringstream.
4299 * ispell.C: re-add missing HP/UX headers.
4300 * lyxserver.C: re-add missing os2 headers.
4302 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4311 * text3.C: re-add missing system headers, needed for 2.95.2.
4313 2003-09-05 Angus Leeming <leeming@lyx.org>
4315 Changes most place everywhere due to the removal of using directives
4316 from support/std_sstream.h.
4318 2003-09-05 Angus Leeming <leeming@lyx.org>
4320 Replace LString.h with support/std_string.h,
4321 Lsstream.h with support/std_sstream.h,
4322 support/LIstream.h with support/std_istream.h,
4323 support/LOstream.h with support/std_ostream.h.
4325 Changes resulting throughout the tree.
4327 2003-09-05 Angus Leeming <leeming@lyx.org>
4329 * sgml.h: ensure that the header file can be compiled stand-alone.
4330 * *.C: strip out redundant #includes. (320 in total.)
4332 2003-09-04 Angus Leeming <leeming@lyx.org>
4334 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4335 here (from getPackages).
4337 * debug.[Ch]: add a new EXTERNAL tag.
4339 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4341 * text2.C (cursorEnd): simplify
4343 (getColumnNearX): adjust
4345 * text.C (computeBidiTables): adjust
4348 * rowpainter.C (paintChars): adjust
4349 (paintSelection): adjust
4350 (paintChangeBar): adjust
4353 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4355 (numberOfSeparators): adjust
4357 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4363 * text3.C: Restricts the mouse click functionality
4364 of insets like bibtex, include, toc and floatlist to the visible
4365 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4366 up the dialogs. Cursor has to be in front of the inset (i.e.
4367 start of row) for this to function.
4369 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4371 * bufferview_funcs.C (currentState): output row information
4373 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4375 * bufferview_funcs.C (currentState): output paragraph position
4377 2003-09-04 Angus Leeming <leeming@lyx.org>
4379 * FloatList.h: move out #include "Floating.h".
4380 * LaTeX.h: move out #include "DepTable.h".
4381 * LyXAction.h: move out #include "funcrequest.h".
4382 * buffer.h: move out #include "author.h", "iterators.h".
4383 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4384 * lyx_main.h: move out #include "errorlist.h".
4385 * lyxfunc.h: move out #include "FuncStatus.h".
4386 * lyxtext: move out #include "lyxcursor.h".
4387 * paragraph_pimpl.h: move out #include "counters.h".
4389 2003-09-03 Angus Leeming <leeming@lyx.org>
4391 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4392 preamble_snippets list, enabling us to add snippets to the preamble
4393 only if the snippet was not there already.
4395 2003-09-04 Angus Leeming <leeming@lyx.org>
4397 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4399 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4401 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4404 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4406 * BranchList.C: point fix, earlier forgotten
4408 2003-09-02 Angus Leeming <leeming@lyx.org>
4410 * box.C (contains): renamed from 'contained' after a fantastic
4413 2003-09-02 John Levon <levon@movementarian.org>
4419 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4421 2003-09-02 John Levon <levon@movementarian.org>
4423 * text2.C: simplification of cursorEnd(), including partial
4426 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4428 * buffer.C (readFile): add a space
4430 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4432 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4434 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * buffer.C (readFile): new function, take a filename and a
4437 ParagraphList::iterator
4439 (readFile): adjust, make it private. don't use setStream, make
4440 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4441 always contain the filename.
4443 * BufferView.C (insertLyXFile): simplify and make it work for
4446 2003-08-30 John Levon <levon@movementarian.org>
4448 * Makefile.am: fix dist (from Kayvan)
4450 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4452 * most files: change to use const Buffer refs
4454 2003-08-27 André Pönitz <poenitz@gmx.net>
4456 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4457 on top of ownerPar().
4459 2003-08-27 John Levon <levon@movementarian.org>
4461 * funcrequest.C: properly initialise POD members
4463 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4465 * lyxtext.h (top_y): move top_y from here
4470 * BufferView_pimpl.[Ch]: to here
4471 * frontends/screen.C:
4472 * insets/insettabular.C:
4473 * insets/insettext.C: adjust
4474 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4476 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4479 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4481 2003-08-26 André Pönitz <poenitz@gmx.net>
4483 * paragraph_func.[Ch] (outerPar): new function
4486 * paragraph_funcs.C:
4487 * paragraph_funcs.h:
4488 * paragraph_pimpl.C:
4489 * text2.C: remove Inset::par_owner
4491 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4496 * text2.C: eliminates the needFullRow/display() stuff
4497 altogether, putting the logic in metrics/draw in the insets.
4499 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4501 * text2.C (redoParagraphInternal, redoParagraphs):
4502 * text.C (redoParagraph): add a call to updateRowPositions at the
4503 end of each 'metrics-like' call. Remove all others.
4504 (getRow): remove the 'y-computing' version.
4505 (getRowNearY): do not compute nor return the real y. Solve the
4506 'y < 0' problem and simplify.
4508 2003-08-22 Angus Leeming <leeming@lyx.org>
4510 * *.[Ch]: clean-up of licence and author blurbs.
4511 Also move config.h out of a few .h files and into a few .C files.
4513 2003-08-22 André Pönitz <poenitz@gmx.net>
4515 * lyxrow.[Ch]: add x_ and *fill_ members
4520 * text2.C: adjust/remove prepareToPrint() calls
4522 2003-08-22 André Pönitz <poenitz@gmx.net>
4524 * lyxrow.[Ch]: add end_ member
4526 * lyxrow_funcs.C: use LyXRow::end_
4528 * lyxtext.h (singleWidth): add LyXFont parameter
4531 * text2.C: adjust LyXText::singleWidth() calls
4533 * text.C (redoParagraph): simplify row breaking logic
4536 2003-08-19 André Pönitz <poenitz@gmx.net>
4538 * funcrequest.C: initialize button_ member
4541 * rowpainter.[Ch]: interface consolidation
4543 2003-08-18 André Pönitz <poenitz@gmx.net>
4546 * BufferView_pimpl.C:
4548 * paragraph_funcs.C:
4550 * text3.C: remove LyXScreen::draw() and fitCursor calls
4552 * BranchList.h: remove spurious semicolons
4554 * MenuBackend.C: fix branchlist related crash
4556 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4564 * bufferparams.[Ch]:
4568 * text3.C: implements the 'branch inset'
4569 idea. This allows the output of various versions of a document
4570 from a single source version, selectively outputing or suppressing
4571 output of parts of the text.
4572 This implementation contains a 'branch list editor' in a separate
4573 tab of the document settings dialog. Branches are user definable
4574 and have a "display colour" to distinguish them on-screen.
4576 ColorHandler was somewhat cleaned up.
4577 (1) make possible a dynamically growing LColor list by allowing
4578 the graphic context cache to grow along (vector);
4579 (2) eliminate an IMHO unnecessary step in colour allocation.
4581 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4583 * BufferView_pimpl.C: compile fix
4585 2003-08-15 André Pönitz <poenitz@gmx.net>
4587 * rowpainter.C: remove extra metrics calls
4589 * lyxtext.h: merge the two constructors into a single one,
4590 pass reference to owner's par list
4592 * BufferView_pimpl.C:
4596 2003-08-15 André Pönitz <poenitz@gmx.net>
4598 * lyxrow_funcs.[Ch]:
4601 * paragraph_funcs.C:
4606 * text_funcs.C: split LyXText::rowlist_ into individual
4607 Paragraph::rows_ chunks
4610 * BufferView_pimpl.[Ch]:
4613 * text3.C: remove toggleSelection()
4615 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4617 * bufferlist.C: beautify two alerts (shorter text of buttons)
4618 * buffer.C: Remove redundant ' ' from message
4620 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4621 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4622 rename VALIGN_CENTER to VALIGN_MIDDLE
4624 2003-08-11 André Pönitz <poenitz@gmx.net>
4626 * lyxtext.h (getPar):
4627 * text.C: new function
4629 2003-08-11 André Pönitz <poenitz@gmx.net>
4632 * tracer.[Ch]: remove unneeded files
4634 * InsetList.[Ch]: remove resizeInsetsLyXText()
4639 * text3.C: merge insertParagraphs() and appendParagraph()
4640 remove breakAgain(), update()
4642 * BufferView_pimpl.[Ch]:
4643 * bufferview_funcs.[Ch]:
4647 * tabular.C: adjust after text & InsetList changes.
4649 2003-08-08 André Pönitz <poenitz@gmx.net>
4651 * text.C (insertChar, backspace): replace rowlist fiddling
4652 with rebreak of full par
4655 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4656 checkParagraph, updateInset): removed
4658 2003-08-07 André Pönitz <poenitz@gmx.net>
4661 * text3.C: merge some LFUN handlers, remove dead code
4663 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4665 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4667 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4669 * text2.C (DEPM): fix part of bug 1255 and 1256
4671 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4673 * BufferView_pimpl.C (workAreaDispatch): change to use
4674 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4675 that are no mouse related.
4677 2003-08-05 André Pönitz <poenitz@gmx.net>
4680 * BufferView_pimpl.[Ch]:
4681 * bufferview_funcs.C:
4683 * text3.C: rip out "deep update"
4685 * textcursor.[Ch] (last_sel_cursor): remove unused member
4687 2003-08-04 André Pönitz <poenitz@gmx.net>
4690 * BufferView_pimpl.[Ch]:
4691 * ParagraphParameters.C:
4692 * bufferview_funcs.C:
4698 * text3.C: replace "complicated" BufferView::update(...) calls with
4701 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4703 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4705 * Makefile.am (lyx_SOURCES): add paper.h
4707 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4709 * Makefile.am: move things around so that both lyx-qt and
4710 lyx-xforms can be built (according to --with-frontend). Then lyx
4711 is a symbolic link to lyx-[firstfrontend]
4713 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4715 * Always use std::endl with lyxerr
4717 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4719 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4721 2003-08-01 André Pönitz <poenitz@gmx.net>
4724 * BufferView_pimpl.[Ch]:
4726 * text3.C: merge BufferView::repaint() and BufferView::update()
4728 2003-08-01 José Matos <jamatos@lyx.org>
4730 * buffer.[Ch]: file_format is no longer a buffer data element.
4732 2003-08-01 André Pönitz <poenitz@gmx.net>
4737 * text2.C: make redoParagraph more independent of current cursor
4739 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4741 * text2.C: remove unneeded members
4743 2003-07-30 André Pönitz <poenitz@gmx.net>
4745 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4747 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4748 create a single function...
4750 * paragraph_funcs.C (moveItem): ... here.
4753 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4755 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4757 * LColor.[Ch]: Add comment and greyedout logical colors.
4759 2003-07-30 André Pönitz <poenitz@gmx.net>
4761 * tabular.C: don't use Assert too heavily. This crashes where it
4764 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4766 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4767 is disabled (bug 1232)
4769 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4771 * factory.C: limited 'arg' scope
4773 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4775 * factory.C: fixed Note submenu issues
4777 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4779 * factory.C: submenu for Note/Comment/Greyedout
4781 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4784 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4786 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4789 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4790 greyedout. Patch provided by Jürgen Spitzmüller.
4792 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4794 * kbmap.C (read): fix error message when reading bind files
4796 2003-07-29 Angus Leeming <leeming@lyx.org>
4798 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4799 certainly does not do what it purports to do. I am doing it, and
4800 us, a favour by killing it.
4802 2003-07-28 José Matos <jamatos@lyx.org>
4804 * buffer.C (readBody, do_writeFile):
4805 * paragraph.C(readParagraph): \end_document replaces \the_end.
4807 2003-07-29 André Pönitz <poenitz@gmx.net>
4810 * BufferView_pimpl.[Ch]:
4814 * textcursor.[Ch]: remove toggleToggle & Co
4816 2003-07-28 José Matos <jamatos@fep.up.pt>
4818 * buffer.C (readParagraph):
4819 * params_func (readParToken, readParagraph):
4820 * paragraph.C (write): \layout -> \begin_layout.
4822 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4824 * lyxlex_pimpl.C (setFile): clean up slightly.
4826 * bufferparams.h: add compressed var
4828 * buffer_funcs.C (readFile): adjust for LyXLex change
4829 (newFile): ditto + simplify
4831 * buffer.C (writeFile): handle writing of compressed files
4833 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4834 Check if the file is compressed and set a bufferparm if so.
4836 * Makefile.am (lyx_LDADD): remove explicit -lz
4838 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4840 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4841 makeDocBookFile): put the real LyX version in the first line of
4845 * version.C.in: remove lyx_docversion
4847 * tabular.C (write_attribute): add a template-based version to
4848 write enums properly
4850 2003-07-28 André Pönitz <poenitz@gmx.net>
4855 * text3.C: use doubles again for x-coordinates. They are needed.
4857 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4859 * messages.C (getLocaleDir): use lyx_localedir()
4861 * lyxlex_pimpl.C (setFile): compress stuff
4863 * buffer.C (writeFile): add some compression stuff
4864 (do_writeFile): new func, dont call expliti close... will this
4867 * Makefile.am (lyx_LDADD): add -lz
4869 2003-07-28 José Matos <jamatos@fep.up.pt>
4871 * buffer.C: increment file format.
4872 * paragraph_funcs (readParagraph, readParToken):
4873 * paragraph.C (readParagraph): add \end_layout.
4875 2003-07-27 Angus Leeming <leeming@lyx.org>
4877 * Makefile.am: remove special casing for configure-time setting of
4878 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4880 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4881 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4883 2003-07-26 André Pönitz <poenitz@gmx.net>
4885 * paragraph_func.[Ch]:
4886 * paragraph.C (realizeFont): inline it whereever it is used
4891 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4894 2003-07-26 André Pönitz <poenitz@gmx.net>
4898 * text2.C: get rid of LyXText::need_break_row
4900 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4902 * toc.[Ch]: put namespace toc inside namespace lyx
4904 * MenuBackend.C (expandToc2): adjust for lyx::toc
4907 * lyxfunc.C (dispatch): adjust for lyx::find
4909 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4910 lyx::find instead. Reorganize a bit.
4911 (LyXReplace): rename to replace
4912 (LyXFind): rename to find
4914 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4917 2003-07-26 André Pönitz <poenitz@gmx.net>
4919 * text.C (setHeightOfRow): restrict scope of temporary variable
4921 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4922 code (never has been used?)
4924 2003-07-27 Asger Alstrup <alstrup@local>
4926 * text.C (fill): Optimise algorithm to exploit that we can reuse
4927 the LyXFont for many characters.
4928 (setHeightOfRow): Same thing.
4929 (rowBreakPoint): Same thing.
4931 2003-07-26 Asger Alstrup <alstrup@local>
4933 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4935 * text.C (singleWidth): Spurious font copying in hot-spot
4936 singleWidth avoided. Reorder tests for arabic for efficiency.
4938 * text.C (fill): handle empty paragraphs better.
4940 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4943 * encoding.h: add includes
4945 * lyxrc.C: remove reading of bind files
4947 * lyx_main.C (init): setup bindings and menus only if we have a
4950 * kbmap.C (read): new method. Do the actual reading of bind
4953 * converter.C (dvipdfm_options):
4956 (output): adapt PAPER_* enums.
4958 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4960 * bufferparams.h: remove paper-related enums from there
4962 * paper.h: New file. A trivial header file to hold paper-related
4963 enums. It should later expand to contain many paper-related
4966 * lyxrc.C: declare extern displayTranslator
4968 2003-07-27 José Matos <jamatos@fep.up.pt>
4970 * tabular.[Ch] (linuxdoc): add support for tables and figures
4973 2003-07-27 José Matos <jamatos@fep.up.pt>
4975 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4976 consistency in both functions.
4977 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4979 2003-07-26 Asger Alstrup <alstrup@local>
4981 * rowpainter.C (paintRows): Change algorithm to work directly on
4982 the insets rather than asking every character in the document
4983 whether its an inset.
4985 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4987 * buffer.C (openFileWrite): factorize some code
4989 2003-07-26 Angus Leeming <leeming@lyx.org>
4992 * lyx_main.[Ch]: replace occurances of system_tempdir with
4995 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4997 * rename Inset to InsetOld
4999 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5001 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5002 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5003 which I think is a bit clearer. EDIT is gone, since it was
5004 premature optimisation, and broken for mathed anyway.
5005 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5006 with cursor positioning in insets as well (math insets still do not
5007 work, but that's a different story anyway.) It mysteriously
5008 crashes sometimes with undo in the first paragraph, but I'm fairly
5009 confident that this is a compiler bug.
5011 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5013 * paragraph.C (Paragraph): adjust for new clone return type
5015 (copyIntoMinibuffer): ditto
5017 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5019 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5020 by not having a special case, and always doing a full rebreak of
5021 the document after undo.
5023 2003-07-23 Angus Leeming <leeming@lyx.org>
5025 * factory.C (createInset): InsetExternal::setParams now takes a
5028 2003-07-23 Angus Leeming <leeming@lyx.org>
5030 * factory.C (createInset): changed interface to the external and
5031 graphics mailers' string2params functions.
5033 2003-07-23 Angus Leeming <leeming@lyx.org>
5035 * factory.C (createInset): pass a
5036 Buffer const * parameter to InsetExternalMailer's string2params.
5038 2003-07-22 John Levon <levon@movementarian.org>
5040 * Thesaurus.h: include the right aiksaurus header
5042 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5044 * MenuBackend.C (expand): check menu shortcuts unconditionally
5046 2003-07-21 Angus Leeming <leeming@lyx.org>
5048 * factory.C (createInset): pass a
5049 buffer_path parameter to InsetGraphicsMailer's string2params.
5051 2003-07-21 Angus Leeming <leeming@lyx.org>
5053 * BufferView_pimpl.C (buffer):
5056 * lyxfunc.C (dispatch):
5057 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5058 rather than the grfx shortcut.
5060 2003-07-21 André Pönitz <poenitz@gmx.net>
5062 * rowpainter.C: remove unused variables
5065 * tabular_funcs.h: move to tabular.C
5066 * Makefile.am: adjust
5068 * tabular.[Ch]: basic optical cleaning
5070 * author.h: pass references, not values
5072 2003-07-18 André Pönitz <poenitz@gmx.net>
5080 * text3.C: two-phase drawing for InsetText and InsetTabular
5081 some float -> int changes.
5083 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5085 * lyx_main.C: fix the fix
5087 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5089 * lyx_main.C: fix a crash in batch mode if no files specified
5092 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5094 * format.[Ch] (papersize): moved to BufferParams
5095 * converter.[Ch] (dvips_options): moved to BufferParams
5096 (dvipdfm_options): moved to anon namespace
5097 * bufferparams.[Ch]: added above functions.
5099 2003-07-17 André Pönitz <poenitz@gmx.net>
5103 * text2.C: don't call inset->update() anymore
5105 * metricsinfo.[Ch]: add convenience constructor
5107 2003-07-16 André Pönitz <poenitz@gmx.net>
5112 * text2.C: replace the LyXCursor::irow_ member with
5113 on-demand computation of the value
5115 2003-07-16 John Levon <levon@movementarian.org>
5117 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5119 2003-07-15 André Pönitz <poenitz@gmx.net>
5122 * text2.C: remove no more needed refresh_row
5124 2003-07-15 André Pönitz <poenitz@gmx.net>
5129 * text3.C: refresh_status tristate -> need_update bool
5131 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5133 * lyxtext.h (init): remove reinit argument (act as if always true)
5134 * text2.C: adjust to that
5136 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5138 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5139 * text3.C: use it to delete selections in some cases
5140 (bugs 441, 673, 702, 954).
5142 2003-07-14 André Pönitz <poenitz@gmx.net>
5144 * rowpainter.[Ch]: reduce interface
5146 2003-07-14 André Pönitz <poenitz@gmx.net>
5148 * BufferView_pimpl.C:
5149 * text2.C: adjust after removing unused BufferView * argument
5151 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5153 * text2.C (init): fix a crash fired on resize
5155 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5157 * buffer.[Ch]: added new closing signal
5158 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5159 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5160 BufferView::Pimpl via the closing the signal
5162 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5164 * buffer.[Ch]: take out all bv-related from buffer
5166 * BufferView_pimpl.[Ch]: connect to new signals
5167 * CutAndPaste.C: removed useless asserts
5168 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5171 * lyxfunc.C: moved view-related funciontality from vc here
5172 * paragraph.C: removed outdated comments
5175 2003-07-10 André Pönitz <poenitz@gmx.net>
5177 * BufferView_pimpl.C:
5181 * text2.C: remove InsetText::InnerCache, clean up consequences
5183 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5185 * ispell.C: fix two typos in error messages
5187 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5189 * Extend Note inset to other forms of annotation like Comment
5190 and Greyedout. Right button click gives dialog.
5192 Files modified or added (+):
5196 * ControlNote.[Ch] +
5198 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5199 frontends/controllers
5203 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5205 * aspell.C: add missing namespace lyx::support
5207 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5209 * BufferView.[Ch] (newFile): Add
5210 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5211 * LaTeX.[Ch] (message): added this signal and use it
5212 * buffer.[Ch] (busy, message): added these signals and use them
5213 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5217 * importer.C: use buffer signals instead of direct bv calling
5218 * lyx_cb.[Ch] (ShowMessage): removed
5221 * paragraph_funcs.C:
5222 * text2.C: use buffer signals
5224 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5226 * introduce namespace lyx::graphics
5228 2003-07-02 André Pönitz <poenitz@gmx.net>
5230 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5232 2003-07-01 André Pönitz <poenitz@gmx.net>
5239 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5240 text*.C to text_func.C
5242 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5244 * introduce namespace lyx::support
5246 2003-06-30 André Pönitz <poenitz@gmx.net>
5251 * text.C: re-enable --with-included-string
5253 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5255 * textcursor.C: add <config.h>
5257 * text.C (getWord): remove const from word_location arg
5259 * lyxvc.C (getLogFile): fix const type order
5261 * lyxtext.h: remove const from word_location arg, add arg name
5263 * lyxlayout.h: currect type on labeltype.
5265 * importer.C: correct \file
5267 * converter.C (intToFormat): use std:: on ret val, ws changes
5269 * bufferlist.h: correct \file
5271 * buffer.C (makeLinuxDocFile): fix const type order
5272 (makeDocBookFile): ditto
5273 (fillWithBibKeys): use std:: on stdlib args.
5275 * CutAndPaste.C: fix authors.
5276 (availableSelections): use std:: on return vector
5278 2003-06-27 André Pönitz <poenitz@gmx.net>
5280 * BufferView_pimpl.C:
5281 * bufferview_funcs.C:
5289 * text3.C: remove LyXCursor::row_ member
5292 * text.C: rename fullRebreak() to partialRebreak() and implement
5293 a fullRebreak() that really bereks fully
5295 * textcursor.h: new struct for cursor-related data
5297 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5299 * lyx_main.C (LyX): get full path of document loaded on the
5302 2003-06-26 André Pönitz <poenitz@gmx.net>
5304 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5305 remove unused/broken operator>,<,>=.
5307 * text.C: remove only use of broken operator<= in an Assert().
5309 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5311 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5312 moved errorlist_.clear to showErrorList
5314 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5316 * converter.C (scanLog, runLaTeX):
5317 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5318 move the bv->showErrorList call to the callers
5319 * lyxfunc.C: i.e. here...
5321 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5322 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5323 namespace, the second to...
5324 * buffer_funcs (BufferFormat, parseErrors): added
5325 * errorlist.C (ErrorList(TeXErrors const &)): removed
5327 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5329 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5331 2003-06-24 "Garst R. Reese" <reese@isn.net>
5335 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5337 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5339 * version.C.in: change docversion to 1.4
5341 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5343 * buffer.C: fix a bug just introduced
5345 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5347 * buffer.[Ch]: added the parseError signal and use it, removed
5349 * BufferView.[Ch] (addError): moved to ...
5350 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5351 to the Buffer::parseError signal to catch (guess what) parse errors
5352 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5354 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5356 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5357 ability to create a buffer and to return an existing one from
5358 the list. Moved these functions to...
5359 * buffer_funcs.[Ch]: added
5360 * BufferView.[Ch] (loadLyXFile): added
5361 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5362 job removed from bufferlist::loadLyXFile.
5363 * buffer.C (setReadOnly): make it work without view
5364 (i.e added an if (users))
5366 2003-06-19 Angus Leeming <leeming@lyx.org>
5369 * LyXAction.C (init):
5370 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5371 with LFUN_DIALOG_SHOW <name> <data>.
5373 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5375 * CutAndPaste.C (availableSelections): small compilation fix for
5376 ancient (gcc 2.9x) compilers
5378 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * text3.C (cursorNext): add tmp var
5382 * text2.C (updateCounters): for function calling out of for clause
5383 (replaceSelectionWithString): ditto
5384 (insertStringAsParagraphs): ditto
5385 (getColumnNearX): add tmp var
5386 (setCursorFromCoordinates): add tmp var
5387 (cursorDownParagraph): add tmp var
5388 (deleteEmptyParagraphMechanism): add tmp var
5390 * text.C (insertChar): add tmp var
5392 * rowpainter.C (paintDepthBar): add tmp var
5394 * CutAndPaste.C (availableSelections): potentially check all
5395 paragraphs in a cut to fill the shown strings.
5397 2003-06-18 André Pönitz <poenitz@gmx.net>
5399 * kbmap.[Ch]: use vector<> instead of list<>
5401 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5403 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5404 pasteSelection with index
5406 * text2.C (pasteSelection): modify, call pasteSelection with index
5408 * paragraph.C (asString): reimplement version with no interval to
5409 call the one with interval.
5411 * lyxtext.h: add index arg to pasteSelection
5413 * MenuBackend.C (MenuItem): handle PasteRecent
5414 (Menu::read::Menutags): add md_pasterecent
5416 (expandPasteRecent): new function
5419 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5421 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5423 (availableSelections): new function
5425 2003-06-17 Angus Leeming <leeming@lyx.org>
5427 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5429 2003-06-17 Angus Leeming <leeming@lyx.org>
5432 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5434 * lyxfunc.C (dispatch): invoke it.
5436 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5438 * iterators.C (operator++, ParPosition): reintroduce some
5439 const_cast for the benefit of older compilers.
5441 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5443 * text3.C (dispatch): do not modify clipboard when doing
5444 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5445 LFUN_DELETE_SKIP on a selection selection
5447 2003-06-16 André Pönitz <poenitz@gmx.net>
5453 * tabular.[Ch]: IU of clone() and getLabelList();
5455 2003-06-13 André Pönitz <poenitz@gmx.net>
5457 * tabular.h: compactification
5459 2003-06-12 André Pönitz <poenitz@gmx.net>
5463 * tabular_funcs.h: some renaming plus whitespace
5465 2003-06-12 André Pönitz <poenitz@gmx.net>
5468 * BufferView_pimpl.C:
5474 * toc.C: Return a Paragraph & for ParIterator::operator*()
5476 2003-06-11 John Levon <levon@movementarian.org>
5480 * ToolbarBackend.C: add "Toolbars" section and
5483 2003-06-10 Angus Leeming <leeming@lyx.org>
5486 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5488 * lyxfunc.C (dispatch): invoke it.
5490 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5492 * main.C: protect <ios> with HAVE_IOS
5493 (main): protect sync_with_stdio with HAVE_IOS
5495 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5497 * text2.C (cutSelection): adjust
5498 (pasteSelection): adjust
5500 * messages.C: handle get of empty string
5502 * main.C (main): use sync_with_stdio(false)
5504 * lyxfunc.C (dispatch): adjust
5506 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5507 (WriteAs): remove unneeded BufferView arg.
5509 * bufferparams.h: use correct types on papersize, papersize2 and
5512 * bufferparams.C (readToken): adjust for type
5513 (writeLaTeX): add missing cases to switch.
5515 * bufferlist.C (quitWriteBuffer): adjust
5518 * buffer.C (asciiParagraph): remove some commented code.
5520 * CutAndPaste.C: remove current_view extern variable.
5521 (cutSelection): add BufferParams arg.
5522 (eraseSelection): add BufferParams arg.
5523 (pasteSelection): add Buffer const & arg
5525 2003-06-07 John Levon <levon@movementarian.org>
5528 * paragraph_funcs.C:
5529 * paragraph_pimpl.C:
5533 * paragraph.C: allow InsetERT to freely space lines,
5534 and some consolidation of code
5536 2003-06-06 José Matos <jamatos@fep.up.pt>
5538 * buffer.C (makeDocBookFile): fix bug #821
5540 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5542 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5544 2003-06-04 Angus Leeming <leeming@lyx.org>
5546 * buffer.C: bump format to 224.
5548 2003-06-05 André Pönitz <poenitz@gmx.net>
5550 * text2.C (redoParagraphs): remove two const_cast<>
5552 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5554 * ParagraphList.h: remove last remnants of NO_STD_LIST
5556 2003-06-03 Angus Leeming <leeming@lyx.org>
5558 * factory.C (createInset): small change to the way InsetExternal's params
5561 2003-06-04 André Pönitz <poenitz@gmx.net>
5563 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5565 * paragraph_pimpl.h:
5566 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5568 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5570 * undo_funcs.C: make some simple cases of undo work again
5572 2003-06-03 John Levon <levon@movementarian.org>
5574 * ispell.C: HPUX doesn't have sys/select.h
5577 2003-06-03 John Levon <levon@movementarian.org>
5579 * CutAndPaste.C: update tabular and include inset
5584 * paragraph.C: remove owningBuffer(), don't pass Buffer
5587 * factory.C: insetGraphicsParams changed
5589 2003-06-02 John Levon <levon@movementarian.org>
5595 * text3.C: remove insetparent
5597 2003-06-02 John Levon <levon@movementarian.org>
5600 * buffer.C: fix inset_iterator.end(), move out of line
5603 2003-06-01 John Levon <levon@movementarian.org>
5605 * text3.C: use a proper cut/paste when doing inset
5606 insert (from Jürgen Spitzmüller)
5608 2003-06-01 John Levon <levon@movementarian.org>
5610 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5612 2003-05-30 André Pönitz <poenitz@gmx.net>
5614 * rowpainter.C: unify second drawing phase
5616 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5618 * trans_mgr.C: remove one case of current_view
5620 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5622 * paragraph_funcs.h: remove paragraph.h include
5624 * paragraph.h: delete NO_STD_LIST stuff
5626 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5628 * buffer.h: remove paragraph.h include
5630 * ParagraphList.C: delete file
5632 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5634 * toc.C (getTocList): adjust
5636 * paragraph_pimpl.C (validate): adjust
5638 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5640 * paragraph.C (Paragraph): adjust
5641 (getPositionOfInset): use const_iterator, adjust
5642 (bibitem): use const_iterator, adjust
5643 (setInsetOwner): adjust
5645 * iterators.C (operator++): adjust
5647 * InsetList.[Ch]: Replace selfmade iterator with standard
5648 vector::iterator also introduce const_iterator. Remove getPos,
5649 getInset and setInset from InsetTable. Adjust accordingly.
5651 * BufferView.C (lockInset): adjust
5652 (ChangeInsets): adjust
5654 * tabular.[Ch]: delete commented same_id functions
5656 2003-05-28 John Levon <levon@movementarian.org>
5658 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5660 2003-05-28 André Pönitz <poenitz@gmx.net>
5662 * metricsinfo.[Ch]: remove 'fullredraw' member
5664 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5666 * lyxtextclass.C (operator): remove caching.
5668 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5672 * text2.C (cursorBottom): adjust
5673 (setCounter): use ParagraphList::find, adjust
5675 * text.C (workWidth): use ParagraphList::find, adjust
5677 * lyxcursor.C (LyXCursor): adjust
5679 * buffer.C (inset_iterator): adjust
5681 * ParagraphList.h: make iterator(value_type) private, make
5682 ParagraphList a friend of iterator.
5684 * ParagraphList.C (find): new function
5686 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5688 2003-05-27 André Pönitz <poenitz@gmx.net>
5690 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5692 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5694 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5696 2003-05-26 John Levon <levon@movementarian.org>
5698 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5700 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5702 * remove same_id from function signatures, adjust.
5704 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5706 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5708 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5710 * paragraph.C (Paragraph): get rid of same_ids parameter
5712 * ParagraphList.C (insert): adjust
5715 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5717 * paragraph_funcs.C (breakParagraph): adjust
5718 (breakParagraphConservative): adjust
5720 * buffer.C (readParagraph): adjust
5722 * ParagraphList.C (insert): take a reference instead of a pointer
5725 * paragraph.[Ch] (id): new function
5727 * bufferlist.C (newFile): adjust
5729 * ParagraphList.C (ParagraphList): adjust
5731 (push_back): take a reference instead of a pointer.
5733 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5735 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5738 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5739 set else use old code.
5741 * ParagraphList.C: remove all NO_NEXT code and only compile this
5742 code of NO_STD_LIST is set.
5744 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5746 * BufferView_pimpl.C:
5756 * graphics/GraphicsConverter.C:
5757 * graphics/PreviewLoader.C: header adjustment
5759 2003-05-23 Angus Leeming <leeming@lyx.org>
5761 * LaTeXFeatures.[Ch] (useBabel): new method.
5762 * bufferparams.C (writeLaTeX): use it.
5764 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5766 * ParagraphList.h (set): remove unused function.
5768 2003-05-23 André Pönitz <poenitz@gmx.net>
5771 * BufferView_pimpl.C:
5775 * undo_funcs.C: setUndo reworked
5777 * iterators.[Ch]: add access to topmost ParagraphList
5779 * lyxtext.[Ch] (workWidth): add a const
5781 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5783 * texrow.[Ch] (increasePos): remove function
5784 * exporter.C (export): removed unused var and outdated comment
5786 2003-05-23 Angus Leeming <leeming@lyx.org>
5788 * latexrunparams.h: rename fragile as moving_arg.
5789 * paragraph.C (simpleTeXOnePar): ditto.
5790 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5792 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5794 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5796 (textUndoOrRedo): comment out a currently unused var.
5798 * paragraph.h (NO_NEXT): enable NO_NEXT
5800 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5802 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5804 * exporter.C (Export): adjust for removeAutoInsets removal.
5806 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5808 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5810 * BufferView.[Ch] (removeAutoInsets): delete function
5812 2003-05-22 Angus Leeming <leeming@lyx.org>
5814 * latexrunparams.h: add a free_spacing variable.
5816 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5817 to pass moving_arg, as the data is stored in runparams.fragile.
5819 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5820 to Inset::latexOptional or to simpleTeXOnePar.
5822 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5823 free_spacing arg to Inset::latexOptional.
5825 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5828 2003-05-22 Angus Leeming <leeming@lyx.org>
5830 * latexrunparams.h: add fragile and use_babel variables.
5832 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5833 * buffer.C (makeLaTeXFile): store this returned value in
5834 runparams.use_babel, thus passing it to the inset::latex methods.
5836 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5837 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5839 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5840 longer has a fragile arg, as it is stored in runparams.fragile.
5842 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5843 moving_arg parameter as the data is stored in runparams.fragile.
5845 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5846 a fragile parameter as the data is stored in runparams.fragile.
5848 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5850 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5852 2003-05-22 Angus Leeming <leeming@lyx.org>
5854 * latexrunparams.h: add a 'bool nice' which defaults to false.
5856 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5857 now encapsulated within runparams.
5859 * bufferlist.C (updateIncludedTeXfiles):
5860 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5862 2003-05-22 Angus Leeming <leeming@lyx.org>
5864 * latexrunparams.h: new file containing struct LatexRunParams.
5865 * Makefile.am: add new file.
5867 * LaTeX.[Ch] (c-tor, run):
5868 * buffer.[Ch] (makeLaTeXFile):
5869 * bufferlist.[Ch] (updateIncludedTeXfiles):
5870 * converter.C (convert, scanLog):
5871 * converter.[Ch] (runLaTeX):
5872 * exporter.C (Export):
5873 * paragraph.[Ch] (simpleTeXOnePar):
5874 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5875 * paragraph_funcs.[Ch] (latexParagraphs):
5876 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5877 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5878 pass around a LatexRunParams parameter.
5880 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5882 * paragraph.[Ch]: remove unused constructor
5884 * ParagraphList.C (erase): new function, taking two iterators
5886 2003-05-22 André Pönitz <poenitz@gmx.net>
5888 * undo_funcs.C: remove duplicated code
5890 * iterator.[Ch]: operator=
5892 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5894 * tabular.C (SetMultiColumn): ws changes
5896 * rowpainter.C (paintFirst): get rid of a ->previous
5898 * lyx_cb.C (getPossibleLabel): parlist simplification
5900 * BufferView.C (ChangeInsets): simplify slightly.
5902 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5904 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5905 * lfuns.h: new LFUN_SPACE
5906 * lyxfunc.C: protected space has a new lfun
5907 * paragraph_funcs.C: read new space insets
5909 * factory.C: handle new space insets
5911 2003-05-22 André Pönitz <poenitz@gmx.net>
5914 * BufferView_pimpl.C:
5917 * undo_funcs.C: return a ParIterator from getParFromID.
5919 * iterators.[Ch]: add two const's
5921 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5923 * toc.C (getTocList): adjust
5925 * iterators.[Ch]: rework for parlist
5927 * buffer.C (par_iterator_begin): adjust
5928 (par_iterator_end): adjust
5930 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5932 * BufferView.C (removeAutoInsets): adjust
5933 (ChangeInsets): adjust
5935 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5937 * text.C (top_y): fix bug 1110
5939 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5941 * errorlist.[Ch]: added
5944 * BufferView_pimpl.C:
5945 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5948 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5950 * Makefile.am: ensure that lyx is relinked upon changes to the
5951 various "convenience" libs.
5953 2003-05-20 Angus Leeming <leeming@lyx.org>
5955 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5956 files are compiled in alphabetical order again.
5958 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5960 2003-05-19 Angus Leeming <leeming@lyx.org>
5962 * gettext.[Ch]: remove "char const * _(char const *)".
5964 2003-05-19 André Pönitz <poenitz@gmx.net>
5966 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5975 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5977 2003-05-19 André Pönitz <poenitz@gmx.net>
5981 * lyxtextclass.[Ch]:
5983 * paragraph_funcs.[Ch]:
5985 * text3.C: more insetenv work
5987 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5989 * ParagraphParameters.C (params2string): small bug fixed
5991 2003-05-16 André Pönitz <poenitz@gmx.net>
5994 * bufferview_funcs.C: patch from Kornel Benko to prevent
5995 crash when _(...) is called twice in a statement
5997 2003-05-16 André Pönitz <poenitz@gmx.net>
6004 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6006 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6008 * lyx_main.C (init): remove spurious static_cast
6010 2003-05-14 André Pönitz <poenitz@gmx.net>
6012 * BufferView.C: fix format string
6014 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6016 * BufferView.[Ch] (insertErrors): removed
6017 * BufferView.[Ch] (showErrorList): added
6018 * buffer.C (runChkTeX):
6019 * converter.C (scanLog): call showErrorList instead of inserterrors
6021 2003-05-13 André Pönitz <poenitz@gmx.net>
6023 * BufferView_pimpl.C:
6025 * bufferview_func.C:
6032 * tabular_funcs.h: tostr() from its own header
6034 * ParagraphParameters.C:
6039 * text3.C: STRCONV()
6041 2003-05-12 André Pönitz <poenitz@gmx.net>
6044 * BufferView_pimpl.C:
6048 * ParagraphParameters.C:
6052 * bufferview_funcs.C:
6065 * paragraph_funcs.C:
6069 * text3.C: boost::format -> bformat all over the place
6072 2003-05-09 André Pönitz <poenitz@gmx.net>
6074 * LColor.[Ch]: Pimpl the #include <map> away
6076 2003-05-09 John Levon <levon@movementarian.org>
6078 * bufferlist.C: never remove emergency saves
6080 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6082 * Makefile.am: better lib building
6084 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6086 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6088 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6089 (simpleTeXSpecialChars): adjust
6090 (simpleTeXSpecialChars): adjust
6091 * paragraph.C (simpleTeXOnePar): adjust
6092 * buffer.C (makeLaTeXFile): adjust
6094 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6096 * text2.C (changeDepth): parlist cleanup
6097 (getColumnNearX): ditto
6099 * rowpainter.C (getLabelFont): parlist cleanup
6101 * bufferlist.C (newFile): parlist cleanup
6103 * CutAndPaste.C (eraseSelection): parlist cleanup
6105 * BufferView_pimpl.C (trackChanges): parlist cleanup
6108 * BufferView.C (lockInset): parlist cleanup.
6109 (ChangeInsets): ditto
6111 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6113 * CutAndPaste.h: Update file header.
6115 * CutAndPaste.C: Update file header.
6116 Store the parts cut out of the Document in a limited_stack.
6117 (copySelection): adjust
6118 (pasteSelection): new function, takes the index in the limited stack.
6119 (nrOfParagraphs): adjust
6120 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6121 simplify error inset insertion.
6122 (checkPastePossible): adjust
6124 2003-05-06 John Levon <levon@movementarian.org>
6126 * text2.C: don't cast wrap inset to float
6128 2003-05-05 André Pönitz <poenitz@gmx.net>
6131 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6133 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6134 few naked Paragraph *.
6136 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6138 * bufferparams.C: Output warning if a document with missing
6139 TeX document class is loaded
6140 * exporter.C: Disable TeX exports if the document class is missing
6143 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6144 isTeXClassAvailable()
6146 2003-05-03 John Levon <levon@movementarian.org>
6149 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6150 explicit cursor show/hide
6152 * BufferView_pimpl.h:
6153 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6154 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6156 * lyxfunc.C: hide cursor before dispatching.
6161 * text3.C: remove explicit cursor hides
6163 2003-05-02 André Pönitz <poenitz@gmx.net>
6165 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6168 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6171 * text2.C: tiny whitespace
6173 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6175 * undo_funcs.C: almost only ws changes.
6177 * ParagraphList.C (splice): just return if pl is empty.
6179 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6181 * ParagraphList.C (splice): new function.
6183 * CutAndPaste.C (pasteSelection): use it
6185 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6187 * CutAndPaste.C (pasteSelection): remove the last next and
6188 previous from this file.
6190 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6192 * CutAndPaste.C (pasteSelection): more clean up, user proper
6193 ParagraphList functions for pasteing.
6195 * ParagraphList.C (insert): new function, three arg insert
6197 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6199 * ParagraphList.C (insert): new function, three arg insert
6201 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6204 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6206 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6208 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6210 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6212 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6214 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6215 (copySelection): clean up a bit.
6216 (pasteSelection): use make_pair
6218 * ParagraphList.C (ParagraphList): implement copy constructor
6219 (operator=): implement, base on copy constructor.
6222 * paragraph.C (erase): return a bool
6224 * paragraph_pimpl.C (erasePos): remove function, move contents...
6225 (erase): ... here. Return a bool.
6226 (erase): call erase instead of erasePos.
6228 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6230 * ParagraphList.h: define PitPosPair
6231 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6232 ParagraphList, fix a bug on pasting multiple pars
6233 * text2.C: change interface to C&P
6235 2003-04-30 André Pönitz <poenitz@gmx.net>
6237 * undo_func.C: revert part of yesterday's patch 2
6239 2003-04-30 John Levon <levon@movementarian.org>
6241 * LColor.C: s/tabular/table/
6243 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6245 * text3.C (dispatch): do not convert iterator -> pointer
6246 * undo_funcs.C (setCursorParUndo): ditto
6247 * text_funcs.C (transposeChars): ditto
6249 * text2.C (setLayout): ws changes only
6251 * text.C (breakParagraph): do not convert iterator -> pointer
6253 (acceptChange): ditto
6254 (rejectChange): ditto
6259 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6262 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6264 * text3.C (gotoInset): YABG (yet another bad getChar)
6266 2003-04-29 André Pönitz <poenitz@gmx.net>
6268 * paragraph.h: make operator= private unimplemented as long as
6271 * ParagraphList.C: whitespace
6274 * paragraph_pimpl.[Ch]:
6275 * paragraph_funcs.C:
6277 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6280 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6282 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6284 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6285 * paragraph.[Ch] (erase):
6286 * paragraph_pimpl.[Ch] (erase): change return type and value
6287 * text2.C (cutSelection): some rework
6289 2003-04-28 John Levon <levon@movementarian.org>
6291 * bufferlist.C: changes for unsaved changes dialog
6293 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6295 * bufferlist.C (newFile): set language (messages_) for new
6298 * buffer.C (readFile): ws changes only.
6300 2003-04-28 André Pönitz <poenitz@gmx.net>
6305 * BufferView_pimpl.C:
6306 * BufferView.C: getParFromID related ParagraphList::iterator changes
6308 2003-04-28 André Pönitz <poenitz@gmx.net>
6310 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6313 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6315 * messages.C: remove one more localedir class variable.
6317 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6319 * messages.C (getLocaleDir): singleton generation function
6321 (Messages): add a default constructor.
6323 * main.C (main): do not setup localedir here, do not call
6326 * gettext.C (_): use it.
6327 (gettext_init): delete funciton
6329 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6331 * gettext.C (getLyXMessages): new singleton generating function.
6333 * buffer.C (updateDocLang): adjust
6335 * Makefile.am (messages.o): add target
6336 (main.o): remove target
6338 2003-04-27 John Levon <levon@movementarian.org>
6343 * lyxvc.C: specify cancel button in Alert::prompt
6345 2003-04-26 John Levon <levon@movementarian.org>
6350 * LyXAction.C: add LFUN_INSET_SETTINGS
6352 * lyxfunc.C: don't enable tabular-feature when there's
6353 just any locking inset
6355 2003-04-26 John Levon <levon@movementarian.org>
6357 * bufferlist.C: re-add Cancel to buffer close question
6359 * lyxfunc.C: fix import UI a bit
6361 2003-04-25 John Levon <levon@movementarian.org>
6363 * gettext.C: remove the broken asserts for now
6365 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6367 * messages.C: make case where setlocale cannot comply work better.
6369 * buffer.C (updateDocLang): new function
6370 (changeLanguage): use it
6373 * text2.C (setCounter): use B_ a bit.
6375 * lyxlayout.C (Read): be sure to trim the label strings.
6377 * messages.C (Messages): fix typo in comment
6379 * buffer.C (readFile): set message_ after file is loaded.
6380 (makeDocBookFile): remove double return
6381 (changeLanguage): reset message_ upon language change.
6382 (B_): new func, use this to get translated buffer strings.
6384 * main.C: add myself and Jean Marc as authors.
6386 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6388 * messages.[hC]: pimplify Messages, and three different pimpls to be
6389 used in different circumstances.
6391 * gettext.[Ch]: change for use with new message code.
6393 2003-04-24 André Pönitz <poenitz@gmx.net>
6395 * factory.C: support for eqref
6397 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6399 * messages.[Ch]: add missing char
6401 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6403 * messages.[Ch]: New files
6405 2003-04-18 John Levon <levon@movementarian.org>
6409 * BufferView_pimpl.C:
6413 * text2.C: remove layout-copy/paste (bug 778)
6415 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6417 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6419 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6421 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6422 if they succeed. Act accordingly.
6424 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6426 * text2.C (setCharFont): adjust
6427 (setCounter): adjust
6428 (insertStringAsLines): adjust
6430 * text.C (leftMargin): adjust
6431 (setHeightOfRow): adjust
6433 * rowpainter.C (paintFirst): adjust
6436 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6438 (isFirstInSequence): ditto
6439 (getEndLabel): ditto
6442 * paragraph.C (getParLanguage): comment out some hard stuff.
6444 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6446 (simpleDocBookOnePar): ditto
6447 (makeDocBookFile): use ParagraphList::iterator
6449 * CutAndPaste.C (pasteSelection): adjust
6451 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6453 * text2.C (getFont): adjust
6454 (getLayoutFont): adjust
6455 (getLabelFont): adjust
6457 * paragraph_funcs.C (TeXOnePar): adjust
6459 * buffer.C (simpleLinuxDocOnePar): adjust
6460 (simpleDocBookOnePar): adjust
6462 * CutAndPaste.C (pasteSelection): adjust
6464 * BufferView.C (getEncoding): adjust
6466 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6468 2003-04-16 John Levon <levon@movementarian.org>
6470 * lyxfind.C: use parlist stuff for search/changes
6472 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6474 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6476 * text2.C (deleteEmptyParagraphMechanism): adjust
6478 * text2.[Ch] (ownerParagraph): delete func (both of them
6480 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6482 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6484 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6486 * ParagraphList.C: prepare for NO_NEXT
6488 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6490 * text2.C (getFont): adjust
6491 (getLayoutFont): adjust
6492 (getLabelFont): adjust
6494 * paragraph.C (getFont): adjust
6495 (getLabelFont): adjust
6496 (getLayoutFont): adjust
6498 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6500 2003-04-15 John Levon <levon@movementarian.org>
6504 * lyx_main.C: handle Include in .ui files
6506 2003-04-15 John Levon <levon@movementarian.org>
6508 * MenuBackend.C: make the doc files length shorter
6511 * ToolbarBackend.C: handle toolbar placement flags,
6514 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6516 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6519 * paragraph_funcs.C (TeXOnePar): adjust
6521 * paragraph.C (getLabelFont): add outerfont arg, adjust
6522 (getLayoutFont): ditto
6523 (simpleTeXOnePar): adjust
6525 * paragraph_pimpl.C (realizeFont): delete func
6527 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6529 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6530 row argument, constify cur argument.
6532 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6534 * text2.C (getFont): adjust
6535 (getLayoutFont): adjust
6536 (getLabelFont): adjust
6538 * paragraph_funcs.C (TeXOnePar): adjust
6539 (outerFont): new func...
6540 (realizeFont): ...moved out from here, changed this to facilitate
6543 * paragraph.C (getFont): take outerfont as arg, adjust
6544 (simpleTeXOnePar): add outerfont arg, adjust
6546 * buffer.C (simpleLinuxDocOnePar): adjust
6547 (simpleDocBookOnePar): adjust
6549 * CutAndPaste.C (pasteSelection): adjust
6551 * BufferView.C (getEncoding): adjust
6553 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6555 * text2.C (setCharFont): adjust
6556 (setCounter): adjust
6558 * text.C (leftMargin): adjust
6559 (setHeightOfRow): adjust
6561 * rowpainter.C (paintFirst): adjust
6564 * paragraph_pimpl.C (realizeFont): adjust
6566 * paragraph.C (isFirstInSequence): move from here...
6567 * paragraph_funcs.C (isFirstInSequence): ...to here
6569 * paragraph.C (outerHook): move from here...
6570 * paragraph_funcs.C (outerHook): ...to here
6572 * paragraph.C (depthHook): move from here...
6573 * paragraph_funcs.C (depthHook): ...to here
6575 * paragraph.C (getEndLabel): move from here...
6576 * paragraph_funcs.C (getEndLabel): ...to here
6578 * text2.C (realizeFont): move from here...
6579 * paragraph_funcs.C (realizeFont): ...to here
6581 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6583 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6585 2003-04-14 Angus Leeming <leeming@lyx.org>
6587 * LColor.[Ch]: scrap LColor mathcursor.
6589 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6591 * lyxlex.[Ch] (text): delete function
6592 * trans.C (Load): adjust
6593 * paragraph_funcs.C (readParToken): adjust
6595 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6597 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6598 vector<char> instead of a char[].
6600 * lyxlex_pimpl.C (getString): adjust
6602 (lex): use getString
6606 * lyxlex.C (text): use pimpl_->getString()
6610 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6612 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6613 (makeFontEntriesLayoutSpecific): temp var for par.size()
6614 (setLayout): temp var for ownerParagraphs().end()
6615 (fullRebreak): temp var for rows().end()
6616 (selectionAsString): temp var for boost::next(startpit), realize
6617 that the while really is a regular for loop.
6618 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6619 setCursor in one place.
6620 (setParagraph): temp vr for ownerParagraphs().end()
6621 (updateCounters): make the while loop a for loop
6622 (cutSelection): temp var for ownerParagraphs().end()
6623 (updateInset): make the do {} while() a regular for loop
6624 (getCursorX): use temp vars
6625 (setCurrentFont): use temp vars
6626 (getColumnNearX): use temp vars
6628 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6630 * text.C (transformChar): use temp var for getChar
6631 (computeBidiTables): use temp var for row->par()
6632 (fill): move temp vars for row->par() and pit->layout() earlier in
6634 (labelFill): use temp var for row->par()
6635 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6636 asc and desc, realize that pit never changes and that firstpit is
6637 just a duplicate and not needed. Exchange rit->par() with pit in a
6639 (breakAgain): use a temp var for boost::next(rit)
6640 (breakAgainOneRow): ditto
6641 (breakParagraph): use a temp var for rows().begin()
6642 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6643 (cursorRightOneWord): use temp var for cursor.par() and
6644 cursor.pos(), remove usage of tmpcursor.
6645 (cursorLeftOneWord): use temp var for cursor.par() and
6646 cursor.pos() only set cur at end of function.
6648 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6650 * text.C, text2.C: exchange all usage of Paragraph::next with
6651 boost::next(ParagraphList::iterator)
6653 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6655 * text2.C (cursorTop): simplify implementation
6656 (cursorBottom): ditto
6657 (setParagraph): use ParagraphList::iterator
6658 (setCurrentFont): adjust
6659 (getColumnNearX): adjust
6660 (cursorRight): adjust
6661 (cursorLeft): remove usage of Paragraph::previous
6662 (cursorUpParagraph): ditto
6663 (deleteEmptyParagraphMechanism): slight cleanup
6665 * text.C (isBoundary): take a Paragraph const & instead of a
6667 (addressBreakPoint): ditto
6668 (leftMargin): remove usage of Paragraph::previous.
6669 (setHeightOfRow): ditto
6670 (cursorLeftOneWord): ditto
6671 (selectNextWordToSpellcheck): ditto
6674 (breakParagraph): remove one usage of Paragraph::next
6675 (redoParagraph): ditto
6676 (acceptChange): ditto
6677 (insertChar): adjust
6678 (rowBreakPoint): adjust
6680 * bufferview_funcs.C (toggleAndShow): adjust
6682 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6684 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6685 methods to access it.
6687 * text.C: Added updateRowPositions to compute all row positions.
6688 Make top_y and getRowNearY() to use the cached y position
6690 2003-04-11 John Levon <levon@movementarian.org>
6692 * text.C (rowBreakPoint): reintroduce the labelEnd
6693 checks, code copied from the row fill stuff. Deep voodoo.
6695 * text.C (fill): add a comment and debugging for the
6698 2003-04-11 John Levon <levon@movementarian.org>
6700 * text.C: make sure fullrow insets get wrapped to the next line,
6701 even when they're in a manual label
6703 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6705 * text2.C (insertParagraph): make it take ParagraphList::iterator
6707 (setLayout): make it return ParagraphList::iterator
6708 (redoParagraphs): ditto
6710 (checkParagraph): ditto
6712 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6714 * text2.C: adjust several funcs.
6715 (realizeFont): take a ParagraphList::iterator as arg.
6716 (getLayoutFont): ditto
6717 (getLabelFont): ditto
6718 (setCharFont): ditto
6720 * text.C: adjust several funcs.
6722 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6724 * text.C (selectNextWordToSpellcheck): don't accidentally
6727 2003-04-10 John Levon <levon@movementarian.org>
6729 * ToolbarBackend.C (getIcon): special handling for
6732 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6734 * text2.C (cursorRight): a getChar assert fixed
6736 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6738 * text2.C (getFont): change to take a ParagraphList::iterator
6739 instead of Paragraph*
6740 Adjust several functions.
6742 * text.C (transformChar): change to take a ParagraphList::iterator
6743 instead of Paragraph*
6744 (singleWidth): ditto
6745 Adjust several functions.
6747 * rowpainter.C: adjust several functions
6748 * rowpainter.h:store a ParagraphList::iterator and not a
6752 2003-04-09 John Levon <levon@movementarian.org>
6757 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6758 and the "help" bits as well
6760 2003-04-09 John Levon <levon@movementarian.org>
6763 * ToolbarBackend.C: allow multiple toolbars
6765 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6767 * undo_funcs.C (setCursorParUndo): adjust
6769 * text_funcs.C (transposeChars): adjust
6771 * text3.C (gotoNextInset): adjust
6774 * text2.C (setLayout): adjust
6775 (changeDepth): adjust
6777 (redoParagraphs): adjust
6778 (selectionAsString): adjust
6779 (setParagraph): adjust
6780 (insertInset): adjust
6781 (cutSelection): adjust
6782 (copySelection): adjust
6783 (pasteSelection): adjust
6784 (insertStringAsLines): adjust
6785 (updateInset): adjust
6786 (setCursor): change to take a ParagraphList::iterator parameter
6787 (setCursorIntern): change to take a ParagraphList::iterator parameter
6788 (setCurrentFont): adjust
6789 (cursorLeft): adjust
6790 (cursorRight): adjust
6791 (deleteEmptyParagraphMechanism): adjust
6793 * text.C (breakParagraph): adjust
6794 (insertChar): adjust
6795 (acceptChange): adjust
6796 (rejectChange): adjust
6797 (selectNextWordToSpellcheck): adjust
6798 (changeCase): adjust
6802 * lyxfind.C (SearchForward): adjust
6803 (SearchBackward): adjust
6804 (nextChange): adjust
6806 * lyxcursor.C (par): adjust
6808 * lyxcursor.h: store a ParagraphList::iterator instead of a
6811 * lyx_cb.C (getPossibleLabel): adjust
6813 * bufferview_funcs.C (toggleAndShow): adjust
6815 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6818 * BufferView.C (removeAutoInsets): adjust
6819 (lockedInsetStoreUndo): adjust
6821 2003-04-09 John Levon <levon@movementarian.org>
6823 * ToolbarBackend.C: try icon without argument
6824 if with argument fails
6826 2003-04-08 John Levon <levon@movementarian.org>
6829 * ToolbarBackend.C: add getIcon(), handle tooltip,
6830 and change from "Icon" to "Item".
6832 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6834 * BufferView.C (lockInset): another bad getchar crunched
6836 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6838 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6841 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6843 * lyxfind.C (searchForward, searchBackwards): bug 782
6845 2003-04-07 John Levon <levon@movementarian.org>
6847 * paragraph.C: remove dead comment
6849 * text.C: remove troublesome depth-fiddling code
6850 in leftMargin() and rightMargin() (bug 1017)
6852 * text.C: fix breaking of rows in nested lists
6855 * text2.C (updateCounters): fix up depth values
6858 2003-04-07 John Levon <levon@movementarian.org>
6860 * BufferView_pimpl.C: clear message when doc finishes resizing,
6861 and after a mouse event
6863 * lyxfunc.C: clear message after exiting inset
6865 2003-04-07 John Levon <levon@movementarian.org>
6867 * bufferview_funcs.C: show math status not outside
6868 status in the statusbar
6870 2003-04-07 John Levon <levon@movementarian.org>
6872 * lyxfunc.C: note status changed after a depth change
6874 2003-04-04 Angus Leeming <leeming@lyx.org>
6876 * LaTeX.h: move AuxInfo operator==, != out of line.
6877 Remove LaTeX virtual destructor; nothing derives from it.
6878 Move operator()() out of public area and rename it startscript().
6879 Change protected for private.
6881 2003-04-04 Angus Leeming <leeming@lyx.org>
6884 * text2.C: remove unneeded #includes.
6886 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6888 * text2.C (dEPM): fix the heigth of the next row
6890 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6892 * text.C: squashed an invalid getChar requester + some ws changes
6894 2003-04-03 John Levon <levon@movementarian.org>
6896 * bufferview_funcs.h:
6897 * bufferview_funcs.C:
6900 * text2.C: make getStatus work for the env depth lfuns
6902 2003-04-03 John Levon <levon@movementarian.org>
6904 * bufferview_funcs.h:
6905 * bufferview_funcs.C:
6908 * text2.C: parlistize decDepth(), by merging it with incDepth()
6910 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6912 * lyxrow.h: store a ParagraphList::iterator instead of a
6913 Paragraph* and adjust other class functions to suit.
6915 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6918 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6920 * text2.C (setCursor): do not anchor to cursor row for the time being
6922 2003-04-02 John Levon <levon@movementarian.org>
6929 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6931 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6933 * paragraph.h: make ParagraphList and ParagraphList::iterator
6934 friends of Paragraph.
6936 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6938 * ParagraphList.C: Use the private next_ and previous_ from
6941 2003-04-01 John Levon <levon@movementarian.org>
6945 * Makefile.am: rename, remove defaults gunk
6948 * MenuBackend.C: remove defaults gunk
6951 * Languages.C: remove defaults gunk
6954 * lyx_main.C: error out if files couldn't be found.
6956 2003-04-02 John Levon <levon@movementarian.org>
6958 * text2.C: make incDepth() use parlist
6960 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6962 * undo_funcs.C (firstUndoParagraph): adjust
6964 * text3.C (gotoInset): adjust
6965 (dispatch): adjust, and rewrite loop.
6967 * text2.C (init): adjust, and rewrite loop.
6968 (redoParagraphs): adjust
6969 (updateInset): adjust, and rewrite loop.
6970 (deleteEmptyParagraphMechanism): adjust
6972 * tabular.C (LyXTabular): adjust
6973 (SetMultiColumn): adjust
6976 * lyxtext.[Ch] (ownerParagraph): delete function
6977 (ownerParagraphs): new function returns a ParagraphList.
6979 * BufferView.C (removeAutoInsets): adjust
6980 (insertErrors): adjust
6981 (setCursorFromRow): adjust
6983 2003-04-01 Angus Leeming <leeming@lyx.org>
6985 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6988 2003-04-02 John Levon <levon@movementarian.org>
6994 * text_funcs.C: make transposeChars a free function
6996 * lyxrow_funcs.C: remove wrong comment
6998 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7001 * rowpainter.C: adjust
7006 * lyxrow_funcs. [Ch]: new files
7008 * lyxrow.[Ch]: remove next and previous pointers
7009 (next,previous): remove accessor functions
7010 (isParEnd): move to lyxrow_funcs
7011 (lastPos): move to lyxrow_funcs
7012 (nextRowIsAllInset): move to lyxrow_funcs
7013 (lastPrintablePos): move to lyxrow_funcs
7014 (numberOfSeparators): move to lyxrow_funcs
7015 (numberOfHfills): move to lyxrow_funcs
7016 (numberOfLabelHfills): move to lyxrow_funcs
7017 (hfillExpansion): move to lyxrow_funcs
7021 * bufferview_funcs.C (toggleAndShow): adjust
7023 * RowList.h: Remove class RowList from file leave just a
7026 * RowList.C: delete file
7028 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7031 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7033 * text3.C (cursorPrevious): adjust
7034 (cursorNext): adjust
7037 * text2.C (redoHeightOfParagraph): adjust
7038 (redoDrawingOfParagraph): adjust
7041 * text.C (breakParagraph): adjust
7042 (insertChar): adjust
7045 * rowpainter.C (RowPainter): adjust
7046 (leftMargin): simplify and adjust
7047 (most rowpainter functions): adjust.
7049 * rowpainter.h: store the row as RowList::iterator not as Row*
7051 * lyxcursor.C (row): taka RowList::iterator as arg
7054 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7057 2003-04-01 Angus Leeming <leeming@lyx.org>
7059 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7060 stuff like bool Bool.
7062 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7064 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7067 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7069 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7072 * lyxtext.h (rows): drop one version and leve a const variant that
7073 returns a RowList::iterator.
7075 2003-03-31 Angus Leeming <leeming@lyx.org>
7077 * text.C (fill): ensure that the signature is the same as that in the
7080 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7082 * text2.C (redoParagraphs): adjust
7083 (updateCounters): adjust
7084 (checkParagraph): adjust
7085 (getColumnNearX): adjust and reformat a bit.
7087 * text.C (top_y): adjust
7089 (leftMargin): adjust
7090 (prepareToPrint): adjust
7092 (getRowNearY): adjust
7094 * lyxtext.h: make rowlist_ mutable.
7096 * RowList.h: add const_iterator
7097 * RowList.C: adjust for RowList::const_iterator.
7099 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7102 2003-03-31 John Levon <levon@movementarian.org>
7105 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7107 * lyx_main.C: set default fonts from using lyx_gui funcs
7109 * exporter.C: pdf_mode moved from lyxrc
7112 * lyxfunc.C: changes from above
7114 2003-03-31 John Levon <levon@movementarian.org>
7116 * lyx_main.C: fix to the last fix
7118 2003-03-31 John Levon <levon@movementarian.org>
7120 * bufferlist.C: "Load original" -> "Load Original"
7126 * format.C: more Alert cleanups
7128 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7130 * text2.C (removeParagraph): make it take a RowList::iterator as
7132 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7133 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7135 * text.C (anchor_row): make it take a RowList::iterator as arg,
7137 (computeBidiTables): make it take a const reference to Row instead
7138 of Row pointer, adjust.
7139 (leftMargin): make it take a RowList::iterator as arg, adjust.
7140 (rowBreakPoint): adjust
7141 (breakAgainOneRow): make it take a RowList::iterator as arg,
7143 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7145 * bufferview_funcs.C (toggleAndShow): adjust
7147 2003-03-30 John Levon <levon@movementarian.org>
7151 * boost-inst.C: moved to support
7153 * several files: changes as a result
7155 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7157 * text2.C (LyXText): adjust.
7159 (removeRow): make it take a RowList::iterator as arg, adjust.
7160 (fullRebreak): adjust
7161 (deleteEmptyParagraphMechanism): adjust
7162 (clearPaint): adjust
7165 * text.C (top_y): adjust
7166 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7167 (breakAgain): make it take a RowList::iterator as arg, adjust.
7168 (breakParagraph): adjust
7169 (insertChar): adjust
7172 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7173 need_break_row, and refresh_row.
7175 * text3.C (dispatch): adjust
7177 * text2.C (checkParagraph): adjust
7179 (setCursorFromCoordinates): adjust
7181 * text.C (top_y): adjust
7183 (getRow): make it return a RowList::iterator, adjust
7184 (getRowNearY): make it return a RowList::iterator, adjust
7186 * text2.C (init): adjust
7187 (insertRow): remove function
7188 (insertParagraph): adjust
7189 (redoParagraphs): adjust
7190 (fullRebreak): adjust
7191 (updateCounters): adjust
7193 * text.C (top_y): rewrite to use RowList iterators.
7195 (setHeightOfRow): rewrite to sue RowList iterators.
7196 (appendParagraph): adjust
7197 (breakAgain): adjust
7198 (breakAgainOneRow): adjust
7199 (breakParagraph): adjust
7201 (getRowNearY): adjust, and remove commented code.
7203 * lyxtext.h (firstRow): delete function
7204 (lastRow): delete function
7205 (rows): new function (const and non-const versions.)
7206 (insertRow): delete function
7208 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7210 2003-03-29 John Levon <levon@movementarian.org>
7212 * BufferView_pimpl.C: always update scrollbar top
7213 because pasting text when we're anchored could mean we
7214 miss an update altogether
7216 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7218 * text2.C (init): use rowlist_.end() and not 0.
7219 (insertRow): change to take a RowList::iterator as arg, adjust
7221 (insertParagraph): change to take a RowList::iterator as arg,
7223 (redoParagraphs): remove some debug msgs.
7225 * text.C (appendParagraph): change to take a RowList::iterator
7226 arg, adjust for this.
7227 (breakAgain): add an assert
7228 (breakAgainOneRow): ditto
7230 2003-03-29 John Levon <levon@movementarian.org>
7232 * text2.C: do not clear selection after inc/decDepth
7235 2003-03-29 John Levon <levon@movementarian.org>
7238 * buffer.C: fix broken strerrors according to Lars
7240 2003-03-29 John Levon <levon@movementarian.org>
7242 * converters.C: more Alert cleanups
7244 2003-03-29 John Levon <levon@movementarian.org>
7246 * bufferview_funcs.C: remove pointless Alert
7248 * buffer.C: fix confusing error message when
7249 a template is chmoded 000
7251 2003-03-29 John Levon <levon@movementarian.org>
7255 * BufferView_pimpl.C: Alert fixes
7259 * tabular-old.C: remove unused table compat reading
7261 2003-03-29 John Levon <levon@movementarian.org>
7266 * lyx_cb.C: more Alert cleanups
7268 * lyxfunc.C: don't allow chktex if not latex document
7270 2003-03-29 John Levon <levon@movementarian.org>
7274 * buffer.C: warnings pushed down from support/,
7277 2003-03-29 John Levon <levon@movementarian.org>
7279 * lyxfunc.C: safety check for C-r (revert)
7281 2003-03-29 John Levon <levon@movementarian.org>
7284 * bufferlist.C: several UI fixes using Alert::prompt.
7285 Fix the pointless looping quit code. Fix stupid revert
7290 * lyx_cb.C: use Alert::prompt
7292 * lyx_main.C: remove a silly question
7294 * lyxfunc.C: remove a couple of silly questions,
7297 2003-03-28 John Levon <levon@movementarian.org>
7299 * text2.C: fix bug 974 (End on empty par)
7301 2003-03-28 John Levon <levon@movementarian.org>
7303 * BufferView_pimpl.C:
7305 * lfuns.h: remove do-nothing math greek lfuns
7307 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7309 * lyxgluelength.h (isValidGlueLength): add default arg on
7310 parameter 2. Remove default arg from friend in class.
7312 * lyxlength.h (isValidLength): add default arg on parameter 2.
7313 Remove default arg from friend in class.
7315 * text2.C (LyXText): adjust, initialize refresh_row.
7319 (insertParagraph): adjst
7320 (redoParagraphs): adjust
7321 (fullRebreak): adjust
7322 (updateCounters): adjust
7323 (deleteEmptyParagraphMechanism): first attempt at fixing a
7326 * text.C (top_y): adjust
7327 (setHeightOfRow): adjust
7329 (getRowNearY): adjust
7331 * lyxtext.h: include RowList.h
7332 (~LyXText): not needed anymore, deleted.
7333 (firstRow): modify for RowList
7334 (lastRow): new function
7335 Delete firstrow and lastrow class variables, add a Rowlist
7336 rowlist_ class variable.
7338 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7341 * RowList.C (insert): fix case where it == begin().
7343 2003-03-26 Angus Leeming <leeming@lyx.org>
7345 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7346 the thesaurus dialog.
7348 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7350 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7352 * RowList.[Ch]: new files
7354 * ParagraphList.C (erase): handle the case where it == begin
7357 2003-03-25 John Levon <levon@movementarian.org>
7361 * aspell.C: add new aspell support
7364 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7367 2003-03-25 Angus Leeming <leeming@lyx.org>
7370 * LyXAction.C (init): new LFUN_INSET_INSERT.
7372 * BufferView_pimpl.C (dispatch): split out part of the
7373 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7375 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7378 2003-03-25 Angus Leeming <leeming@lyx.org>
7380 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7382 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7385 * text3.C: remove useless row->height(0)
7387 2003-03-25 John Levon <levon@movementarian.org>
7391 * text3.C: rename the refreshing stuff to better names
7393 2003-03-24 John Levon <levon@movementarian.org>
7395 * BufferView_pimpl.h:
7396 * BufferView_pimpl.C: update layout choice on a mouse
7399 2003-03-23 John Levon <levon@movementarian.org>
7401 * Makefile.am: fix commandtags.h reference
7403 2003-03-22 John Levon <levon@movementarian.org>
7405 * BufferView_pimpl.C:
7410 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7412 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7415 * text.C: take the rtl methods out of line
7417 2003-03-21 André Pönitz <poenitz@gmx.net>
7419 * metricsinfo.[Ch]: new files containing structures to be passed around
7420 during the two-phase-drawing...
7422 2003-03-21 André Pönitz <poenitz@gmx.net>
7424 * lyxtextclass.C: read 'environment' tag.
7426 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7428 * text2.C (removeRow): fix bug 964
7430 2003-03-20 John Levon <levon@movementarian.org>
7434 * text2.C: paint cleanups. Inset::update() dropped font
7437 2003-03-19 John Levon <levon@movementarian.org>
7439 * lyxfunc.C: only fitcursor/markDirty if available()
7441 2003-03-19 John Levon <levon@movementarian.org>
7443 * commandtags.h: rename to ...
7445 * lfuns.h: ... this, and renumber / cleanup
7447 2003-03-19 John Levon <levon@movementarian.org>
7449 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7450 fit the cursor after an lfun
7454 * BufferView_pimpl.h:
7455 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7457 * LyXAction.C: layout-character should have ReadOnly
7459 * ParagraphParameters.C:
7461 * bufferview_funcs.C:
7468 * undo_funcs.C: changes from above
7470 2003-03-18 John Levon <levon@movementarian.org>
7472 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7473 remove it from update()
7475 * lyxfunc.C: update layout choice after an lfun
7477 * text3.C: remove extra updateLayoutChoice()s
7479 2003-03-18 John Levon <levon@movementarian.org>
7481 * text.C: top_y change means full repaint, fix
7482 a drawing bug with cursor movement
7484 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7488 * text2.C: anchor row on setCursor
7490 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7492 * lyxtext.h: remove almost all mutable keywords
7495 * text3.C: remove const keywords accordingly
7497 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7499 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7501 (TeXEnvironment): ditto
7504 2003-03-17 John Levon <levon@movementarian.org>
7506 * text.C (rowBreakPoint): remove attempt to fix displayed
7507 math insets inside a manual label
7509 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7511 * lyxtext.h: remove BufferView* as first arg from almost all class
7513 * other files: adjust.
7515 2003-03-17 John Levon <levon@movementarian.org>
7519 * text2.C: more paint cleanups
7521 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7524 * rowpainter.C: remove "smart" background painting code
7526 2003-03-16 John Levon <levon@movementarian.org>
7531 * text3.C: add helper functions for setting refresh_row/y
7533 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7535 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7536 newline inset which *can* get inserted in the pass_thru layouts.
7537 This is primarily for literate documents.
7539 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7541 * buffer.C: increment LYX_FORMAT to 223
7543 2003-03-14 André Pönitz <poenitz@gmx.net>
7545 * textclass.h: prepare for environment handling, ws changes
7546 * lyxlayout.C: read latexheader and latexfooter tags
7548 2003-03-14 John Levon <levon@movementarian.org>
7550 * text2.C: rewrite ::status() a bit
7552 2003-03-13 John Levon <levon@movementarian.org>
7554 * lyxtext.h: add some docs
7556 2003-03-13 John Levon <levon@movementarian.org>
7561 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7563 2003-03-13 John Levon <levon@movementarian.org>
7565 * text3.C: fix appendix redrawing
7567 2003-03-13 John Levon <levon@movementarian.org>
7569 * text.C (setHeightOfRow):
7571 * rowpainter.C: make appendix mark have the text
7572 "Appendix" so the user knows what it is
7575 * LColor.C: s/appendixline/appendix/ from above
7577 2003-03-13 John Levon <levon@movementarian.org>
7579 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7581 * text.C: fix a getChar(pos) bug properly
7583 2003-03-13 Angus Leeming <leeming@lyx.org>
7586 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7587 Probably only temporary. Let's see how things pan out.
7589 * BufferView.C (unlockInset):
7590 * BufferView_pimpl.C (fitCursor):
7591 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7593 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7594 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7596 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7597 new functions that convert ParagraphParameters to and from a string.
7599 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7600 BufferView::Pimpl's dispatch.
7601 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7603 2003-03-13 André Pönitz <poenitz@gmx.net>
7607 * factory.C: make it aware of InsetEnv
7609 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7611 * text2.C (setCursor): never ask for one past last
7612 (setCursor): add some debugging messages.
7614 * text.C (singleWidth): never ask for one past last
7615 (singleWidth): ditto
7617 (rightMargin): ditto
7618 (rowBreakPoint): ditto
7619 (setHeightOfRow): ditto
7620 (prepareToPrint): ditto
7622 * rowpainter.C (paintBackground): never ask for one past last
7623 (paintText): never ask for one past last
7625 * paragraph_pimpl.C (getChar): make the assert stricter, never
7626 allow the one past last pos to be taken
7628 * paragraph.C (getChar): ws changes only
7630 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7631 (numberOfSeparators): ditto
7632 (numberOfHfills): ditto
7634 2003-03-12 John Levon <levon@movementarian.org>
7640 * paragraph_funcs.C: fix per-buffer authorlists
7642 2003-03-12 John Levon <levon@movementarian.org>
7644 * text.C: fix newline in right address
7646 2003-03-12 Angus Leeming <leeming@lyx.org>
7648 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7649 duplicate those in LyXFunc::dispatch.
7653 * ToolbarDefaults.C:
7654 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7655 Add LFUN_FONTFREE_UPDATE.
7657 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7658 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7660 * bufferview_func.[Ch]: several new functions to facilliate
7661 transfer of data to and from the character dialog.
7663 2003-03-12 John Levon <levon@movementarian.org>
7668 * paragraph_funcs.C:
7669 * paragraph_pimpl.C:
7673 * text3.C: remove META_NEWLINE in favour of an inset
7676 * rowpainter.C: remove paintNewline (done by inset)
7678 2003-03-12 John Levon <levon@movementarian.org>
7680 * paragraph_pimpl.C: complain about bad getChar()s
7681 for a while at least
7683 2003-03-12 John Levon <levon@movementarian.org>
7686 * buffer.C: move paragraph read into a separate function,
7687 a little renaming to reflect that.
7690 * bufferparams.C: remove the author_ids map, not necessary now
7693 * factory.C: moved Buffer::readInset to here
7695 * paragraph_funcs.h:
7696 * paragraph_funcs.C: readParagraph free function moved from
7699 * tabular.C: name change
7701 2003-03-12 John Levon <levon@movementarian.org>
7704 * ParagraphParameters.C: move par params input to
7707 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7708 behave like a normal read from the stream wrt reading
7709 a line vs. a \\token
7711 2003-03-12 John Levon <levon@movementarian.org>
7714 * ParagraphParameters.h:
7715 * ParagraphParameters.C: move output code to a
7718 2003-03-12 John Levon <levon@movementarian.org>
7720 * BufferView.C (insertLyXFile):
7723 * tabular.C: use a parlist iterator for creating the
7726 2003-03-12 John Levon <levon@movementarian.org>
7728 * buffer.C: make current_change static local not
7731 2003-03-12 John Levon <levon@movementarian.org>
7733 * buffer.C: fix insertStringAsLines for change tracking
7735 2003-03-12 John Levon <levon@movementarian.org>
7742 * bufferparams.C: move author list into params. Rename some
7743 functions. Move the header reading into a separate token
7744 loop. Move the header token reading into BufferParams.
7746 2003-03-12 John Levon <levon@movementarian.org>
7748 * changes.C: put debug inside lyxerr.debugging() checks
7750 2003-03-11 André Pönitz <poenitz@gmx.net>
7752 * factory.C: make it aware of InsetHFill
7754 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7756 * buffer.C (latexParagraphs): move function from here...
7757 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7760 2003-03-10 Angus Leeming <leeming@lyx.org>
7762 * LyXAction.C (init): fix bug in poplating array with multiple entries
7763 with the same LFUN (spotted by JMarc).
7765 2003-03-10 John Levon <levon@movementarian.org>
7768 * text2.C: move getColumnNearX() near its
7771 2003-03-10 John Levon <levon@movementarian.org>
7773 * text.C: fix break before a minipage
7775 2003-03-10 John Levon <levon@movementarian.org>
7777 * text.C: fix the last commit
7779 2003-03-09 John Levon <levon@movementarian.org>
7783 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7784 bug 365 (don't break before insets unless needed). Don't
7785 return a value > last under any circumstances.
7787 2003-03-09 Angus Leeming <leeming@lyx.org>
7789 * BufferView_pimpl.C (trackChanges, dispatch): call
7790 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7792 2003-03-09 Angus Leeming <leeming@lyx.org>
7794 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7795 than Dialogs::showAboutlyx().
7797 2003-03-09 Angus Leeming <leeming@lyx.org>
7799 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7800 than Dialogs::showTabularCreate().
7802 2003-03-09 John Levon <levon@movementarian.org>
7806 * text2.C: 3rd arg to nextBreakPoint was always the same.
7809 2003-03-08 John Levon <levon@movementarian.org>
7816 * text2.C: Remove the "main" bit from the "main body"
7819 2003-03-08 John Levon <levon@movementarian.org>
7821 * text.C (leftMargin): The left margin of an empty
7822 manual label paragraph should not include the label width
7825 * text.C (prepareToPrint): don't attempt to measure hfills
7826 for empty manual label paragraphs - the answer should be 0
7828 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7830 * CutAndPaste.C: remove commented code and reindent.
7832 2003-03-08 John Levon <levon@movementarian.org>
7835 * lyxfunc.C: move reloadBuffer()
7838 * BufferView.C: to here
7840 * lyxvc.C: add comment
7843 * vc-backend.C: call bv->reload() to avoid
7844 getStatus() check on MENURELOAD
7846 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7848 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7849 to an old format .dep file.
7851 2003-03-07 Angus Leeming <leeming@lyx.org>
7853 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7854 when the LFUN_MOUSE_RELEASE should have been handled by
7855 inset->localDispatch.
7857 2003-03-07 Angus Leeming <leeming@lyx.org>
7859 * BufferView_pimpl.C (dispatch):
7860 * LyXAction.C (init):
7861 * ToolbarDefaults.C (init):
7863 * lyxfunc.C (getStatus):
7864 remove LFUN_INSET_GRAPHICS.
7866 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7868 2003-03-07 Angus Leeming <leeming@lyx.org>
7871 * LyXAction.C (init):
7872 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7874 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7877 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7879 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7880 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7882 2003-03-07 Angus Leeming <leeming@lyx.org>
7884 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7887 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7889 * ParagraphList.C (front): new function
7892 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7894 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7895 and top_row_offset_. removed var first_y.
7897 * text2.C (LyXText, removeRow):
7899 * BufferView_pimpl.C:
7900 use these methods instead of using first_y
7902 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7904 * text2.C (pasteSelection): adjust for checkPastePossible
7906 * CutAndPaste.C: remove Paragraph * buf and replace with
7907 ParagraphList paragraphs.
7908 (DeleteBuffer): delete
7909 (cutSelection): change the tc type to textclass_type
7910 (copySelection): change the tc type to textclass_type
7911 (copySelection): adjust for ParagraphList
7912 (pasteSelection): change the tc type to textclass_type
7913 (pasteSelection): adjust for Paragraphlist
7914 (nrOfParagraphs): simplify for ParagraphList
7915 (checkPastePossible): simplify for ParagraphList
7916 (checkPastePossible): remove unused arg
7918 * ParagraphList.C (insert): handle the case where there are no
7921 * CutAndPaste.h: make CutAndPaste a namespace.
7923 * text3.C (dispatch): adjust
7925 * text.C (breakParagraph): add a ParagraphList as arg
7927 * paragraph_funcs.C (breakParagraph): change to take a
7928 BufferParams and a ParagraphList as args.
7929 (breakParagraphConservative): ditto
7930 (mergeParagraph): ditto
7931 (TeXDeeper): add a ParagraphList arg
7932 (TeXEnvironment): ditto
7935 * buffer.C (readLyXformat2): adjust
7936 (insertStringAsLines): adjust
7937 (latexParagraphs): adjust
7939 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7940 (cutSelection): adjust
7941 (pasteSelection): adjust
7943 * BufferView_pimpl.C (insertInset): adjust
7945 2003-03-05 Angus Leeming <leeming@lyx.org>
7948 * LyXAction.C (init):
7949 * BufferView_pimpl.C (dispatch):
7950 * lyxfunc.C (getStatus):
7951 remove LFUN_CHILD_INSERT.
7953 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7955 2003-03-05 Angus Leeming <leeming@lyx.org>
7958 * LyXAction.C (init):
7959 * src/factory.C (createInset):
7960 * lyxfunc.C (getStatus):
7961 * text3.C (dispatch):
7962 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7964 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7966 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7968 * ParagraphList.C (insert): handle insert right before end()
7969 (erase): fix cases where it can be first or last paragraph.
7971 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7973 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7974 Paragraph::next and Paragraph::previous
7977 * text.C (breakParagraph): adjust
7979 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7980 BufferParams& as arg.
7981 (breakParagraph): use ParagraphList::insert
7982 (breakParagraphConservative): take a Buffer* instead of a
7983 BufferParams& as arg.
7984 (breakParagraphConservative): use ParagraphList::insert.
7986 * buffer.C (insertStringAsLines): un-const it
7987 (insertStringAsLines): adjust
7989 * ParagraphList.C (insert): new function
7991 * CutAndPaste.C (pasteSelection): adjust
7993 * text.C (backspace): adjust
7995 * tabular.C (SetMultiColumn): adjust
7997 * CutAndPaste.C (cutSelection): adjust
7998 (pasteSelection): adjust
8000 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8001 Buffer const * as arg
8003 * ParagraphList.C (erase): new function
8004 * paragraph_funcs.C (mergeParagraph): use it
8005 (mergeParagraph): make it take a Buffer* instead of a
8006 BufferParams* as arg
8008 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8010 (breakParagraphConservative): ditto
8012 * paragraph.h: remove the breakParagraph friend
8014 * paragraph.C (eraseIntern): new function
8015 (setChange): new function
8017 * paragraph_funcs.C (mergeParagraph): make it take a
8018 ParagraphList::iterator instead of a Paragraph *, adjust
8021 * paragraph.h: move an #endif so that the change tracking stuff
8022 also works in the NO_NEXT case.
8024 2003-03-04 Angus Leeming <leeming@lyx.org>
8027 * LyXAction.C: new LFUN_INSET_MODIFY.
8029 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8030 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8032 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8034 * several files: ws changes only
8036 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8037 (TeXEnvironment): ditto
8040 * buffer.C (makeLaTeXFile): adjust
8041 (latexParagraphs): make it take ParagraphList::iterator as args
8043 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8045 * buffer.C (latexParagraphs): adjust
8047 * paragraph.C (TeXOnePar): move function...
8048 (optArgInset): move function...
8049 (TeXEnvironment): move function...
8050 * paragraph_pimpl.C (TeXDeeper): move function...
8051 * paragraph_funcs.C: ...here
8053 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8055 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8057 * buffer.C (readInset): remove compability code for old Figure and
8060 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8062 * buffer.C: ws changes
8065 * BufferView_pimpl.C: ditto
8068 * bufferlist.h: ditto
8072 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8074 * converter.[Ch]: split into itself +
8077 * Makefile.am: += graph.[Ch] + format.[Ch]
8084 * lyxrc.C: added #include "format.h"
8086 2003-02-27 Angus Leeming <leeming@lyx.org>
8088 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8091 * factory.C (createInset): add "label" to the factory.
8093 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8094 string and do no more.
8096 2003-02-27 Angus Leeming <leeming@lyx.org>
8099 * LyXAction.C (init):
8100 * factory.C (createInset):
8101 * BufferView_pimpl.C (dispatch):
8102 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8104 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8106 * lyxfunc.C (dispatch):
8107 * text3.C (dispatch): pass name to params2string.
8109 2003-02-26 Angus Leeming <leeming@lyx.org>
8111 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8113 Rearrange the ~includes. Strip out the unnecessary ones.
8115 * factory.C (createInset): reformat.
8116 create new insets for the various LFUN_XYZ_APPLY lfuns.
8118 2003-02-26 John Levon <levon@movementarian.org>
8121 * lyxrow.C: add isParStart,isParEnd helpers
8123 * paragraph.h: make isInserted/DeletedText take refs
8125 * paragraph_funcs.h:
8126 * paragraph_funcs.C: remove #if 0'd code
8131 * text.C: use lyxrow helpers above.
8132 Move draw and paint routines to RowPainter.
8133 Make several methods use refs not pointers.
8134 Make backgroundColor() const.
8135 Add markChangeInDraw(), isInInset().
8136 Merge changeRegionCase into changeCase.
8137 Make workWidth() shouldn't-happen code into an Assert.
8140 * rowpainter.C: new class for painting a row.
8143 * vspace.C: make inPixels take a ref
8145 2003-02-26 Angus Leeming <leeming@lyx.org>
8147 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8150 2003-02-25 John Levon <levon@movementarian.org>
8152 * ispell.C: give the forked command a more accurate name
8154 2003-02-22 John Levon <levon@movementarian.org>
8157 * toc.C: make TocItem store an id not a Paragraph *
8160 2003-02-21 Angus Leeming <leeming@lyx.org>
8162 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8163 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8164 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8165 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8166 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8167 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8169 * BufferView_pimpl.C (dispatch):
8170 * LyXAction.C (init):
8171 * factory.C (createInset):
8172 * lyxfunc.C (getStatus, dispatch):
8173 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8175 2003-02-21 Angus Leeming <leeming@lyx.org>
8177 * BufferView_pimpl.C (MenuInsertLyXFile):
8178 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8179 * lyxfunc.C (menuNew, open, doImport):
8180 no longer pass a LyXView & to fileDlg.
8182 2003-02-21 Angus Leeming <leeming@lyx.org>
8184 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8185 * LyXAction.C: change, BIBKEY to BIBITEM.
8186 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8187 Change InsetBibKey to InsetBibitem.
8188 Change BIBKEY_CODE to BIBITEM_CODE.
8189 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8190 * factory.C: replace insetbib.h with insetbibitem.h.
8191 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8192 * paragraph.C: replace insetbib.h with insetbibitem.h.
8193 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8194 Change bibkey() to bibitem().
8195 * text.C: remove insetbib.h.
8196 * text2.C: replace insetbib.h with insetbibitem.h.
8197 change bibkey() to bibitem().
8198 * text3.C: remove insetbib.h.
8199 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8201 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8203 * lyxrc.C (output): enclose user email in quotes (in case there are
8206 2003-02-18 John Levon <levon@movementarian.org>
8208 * buffer.h: add std::
8210 2003-02-17 John Levon <levon@movementarian.org>
8216 * pspell.C: reworking. Especially in ispell, a large
8217 number of clean ups and bug fixes.
8219 * lyxfunc.C: fix revert to behave sensibly
8221 2003-02-17 André Pönitz <poenitz@gmx.net>
8224 * commandtags.h: new LFUN_INSERT_BIBKEY
8234 * paragraph_func.C: remove special bibkey handling
8236 2003-02-17 John Levon <levon@movementarian.org>
8238 * text.C (Delete): fix case where delete at the end of
8239 the very first paragraph would not merge the pars
8241 2003-02-17 John Levon <levon@movementarian.org>
8243 * lyxrow.C: fix lastPrintablePos()
8245 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8247 * bufferparams.C (writeLaTeX): add a std:here
8249 * buffer.C: and remove a using directive there
8251 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8253 * buffer.C (makeLaTeXFile): move the code that generates the
8256 * bufferparams.C (writeLaTeX): ... in this new method
8258 * LaTeXFeatures.C (getEncodingSet): make const
8259 (getLanguages): make const
8261 * MenuBackend.C (binding): returns the binding associated to this
8263 (add): sets the status of each item by calling getStatus. Adds
8265 (read): add support for OptSubMenu
8266 (expand): remove extra separator at the end of expanded menu
8268 2003-02-15 John Levon <levon@movementarian.org>
8271 * BufferView_pimpl.C:
8273 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8274 inset code that had no actual effect. Remove unneeded status
8277 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8279 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8282 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8284 * text.C (drawLengthMarker): also draw an arrow marker for
8285 symbolic lengths (medskip...)
8287 2003-02-14 John Levon <levon@movementarian.org>
8290 * tabular.C: better method names
8292 2003-02-14 John Levon <levon@movementarian.org>
8294 * BufferView_pimpl.C:
8299 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8300 it's a more accurate name. Remove some pointless uses.
8302 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8304 * text2.C (LyXText): change order of initilizers to shut off
8307 2003-02-14 John Levon <levon@movementarian.org>
8309 * buffer.C: use ParIterator for getParFromID()
8313 * paragraph_pimpl.h:
8314 * paragraph_pimpl.C: remove unused getParFromID()
8316 2003-02-14 John Levon <levon@movementarian.org>
8318 * buffer.C: remove some very old #if 0'd parse code
8320 2003-02-13 John Levon <levon@movementarian.org>
8324 * text2.C: move hfillExpansion(), numberOfSeparators(),
8325 rowLast(), rowLastPrintable(), numberofHfills(),
8326 numberOfLabelHfills() ...
8329 * lyxrow.C: ... to member functions here.
8334 * text.C: remove LyXText::beginningOfMainBody(), and call
8335 p->beginningOfMainBody() directly. Move the check for
8336 LABEL_MANUAL into the latter.
8343 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8349 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8350 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8352 2003-02-13 John Levon <levon@movementarian.org>
8354 * CutAndPaste.C: remove debug
8356 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8358 * paragraph.C (asString): remove two unused variables
8360 * lyxtextclass.C (readTitleType):
8362 (LyXTextClass): handle new members titletype_ and titlename_
8364 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8366 2003-02-09 John Levon <levon@movementarian.org>
8369 * buffer.C: replace hand-coded list with a map for the dep clean
8371 2003-02-08 John Levon <levon@movementarian.org>
8373 * LaTeX.C: consolidate code into showRunMessage() helper
8375 2003-02-08 John Levon <levon@movementarian.org>
8380 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8381 and pass the size in explicitly
8383 * BufferView_pimpl.h:
8384 * BufferView_pimpl.C:
8386 * BufferView.C: add getCurrentChange()
8388 * BufferView_pimpl.h:
8389 * BufferView_pimpl.C: handle change lfuns
8391 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8392 for changes. Mark pasted paragraphs as new.
8394 * support/lyxtime.h:
8395 * support/lyxtime.C:
8396 * DepTable.C: abstract time_t as lyx::time_type
8399 * LColor.C: add colours for new text, deleted text, changebars
8401 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8402 package use "usenames" option.
8406 * LyXAction.C: add change lfuns
8410 * author.C: author handling
8413 * buffer.C: add a per-buffer author list, with first entry as
8414 current author. Handle new .lyx tokens for change tracking. Output
8415 author list to .lyx file. Output dvipost stuff to .tex preamble.
8416 Bump lyx format to 222.
8419 * bufferlist.C: add setCurrentAuthor() to reset current author details
8423 * bufferparams.C: add param for tracking
8425 * bufferview_funcs.C: output change info in minibuffer
8429 * changes.C: add change-tracking structure
8432 * debug.C: add CHANGES debug flag
8435 * lyxfind.C: add code for finding the next change piece
8438 * lyxrc.C: add user_name and user_email
8441 * lyxrow.C: add a metric for the top of the text line
8444 * text.C: implement accept/rejectChange()
8447 * text.C: paint changebars. Paint new/deleted text in the chosen
8448 colours. Strike through deleted text.
8452 * paragraph_pimpl.h:
8453 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8454 in the current change to the insert functions. Rework erase to
8455 mark text as deleted, adding an eraseIntern() and a range-based
8456 erase(). Implement per-paragraph change lookup and
8459 * paragraph_funcs.C: Fixup paste for change tracking.
8461 * tabular.C: mark added row/columns as new.
8463 * text.C: fix rowLast() to never return -1. Don't allow
8464 spellchecking of deleted text. Track transpose changes. Don't
8465 allow paragraph break or merge where appropriate.
8467 * text2.C: leave cursor at end of selection after a cut.
8469 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8471 * text.C (getLengthMarkerHeight):
8472 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8473 visible on screen too.
8475 2003-02-07 John Levon <levon@movementarian.org>
8477 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8479 2003-02-05 Angus Leeming <leeming@lyx.org>
8481 * lyxserver.C (read_ready): revert my patch of 11 September last year
8482 as it sends PC cpu through the roof. Presumably this means that
8483 the lyxserver will no longer run on an Alpha...
8485 2003-01-30 Angus Leeming <leeming@lyx.org>
8487 * factory.C (createInset): create an InsetCommandParam of type "index"
8488 and use it to 'do the right thing'.
8490 * text2.C (getStringToIndex): ensure that cursor position is always
8491 reset to the reset_cursor position.
8493 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8495 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8498 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8502 * lyxfunc.C: Output messages with identical spelling, punctuation,
8505 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8507 * MenuBackend.C (expandFormats): List only viewable export formats
8510 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8513 * lyxfunc.C (getStatus): Make sure that formats other than
8514 "fax" can also be disabled
8516 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8518 * text3.C (dispatch): put the lfuns that insert insets in 3
8519 groups, and call doInsertInset with appropriate arguments.
8520 (doInsertInset): new function, that creates an inset and inserts
8521 it according to some boolean parameters.
8523 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8525 * buffer.C (readFile): remember to pass on 'par' when calling
8526 readFile recursively.
8528 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8530 * MenuBackend.C (expandFormats): add "..." to import formats.
8532 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8534 * paragraph.C (asString): Remove XForms RTL hacks.
8536 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8537 * buffer.C: fix typo
8539 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8541 * Makefile.am (LIBS): delete var
8542 (lyx_LDADD): add @LIBS@ here instead.
8544 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8546 * Clarify the meaning of "wheel mouse jump"
8548 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8550 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8553 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8555 * importer.C (Loaders): do not preallocate 3 elements in the
8556 vector, since one ends up with 6 elements otherwise
8558 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8560 * DepTable.C (write): write the file name as last element of the
8561 .dep file (because it may contain spaces)
8562 (read): read info in the right order
8564 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8566 * paragraph_pimpl.C (simpleTeXBlanks):
8567 (simpleTeXSpecialChars):
8568 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8570 * tabular.C (latex): add some missing case statements. Reindent.
8572 * MenuBackend.C (expandToc): remove unused variable.
8574 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8583 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8586 2003-01-05 John Levon <levon@movementarian.org>
8589 * BufferView.C: add getEncoding()
8592 * kbsequence.C: do not store last keypress
8595 * lyxfunc.C: store last keypress here instead. Pass encoding
8598 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8600 * lyx_main.C (init): remove annoying error message when following
8601 symbolic links (bug #780)
8603 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8605 * text.C (insertChar):
8606 * lyxrc.C (getDescription): remove extra spaces
8608 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8610 * lyxrc.C (getDescription): remove extra spaces
8612 2002-12-20 John Levon <levon@movementarian.org>
8614 * text3.C: hack fix for page up/down across tall rows
8616 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8618 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8621 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8623 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8624 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8625 thesaurus is not compiled in
8627 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8629 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8631 2002-12-16 Angus Leeming <leeming@lyx.org>
8634 * lyx_main.C (init): remove override_x_deadkeys stuff.
8636 2002-12-12 John Levon <levon@movementarian.org>
8638 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8639 insert. Only remove shift modifier under strict
8642 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8644 * MenuBackend.C (expandToc): fix crash.
8646 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8648 * MenuBackend.C (expandToc): gettext on float names.
8650 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8652 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8653 implement bool empty() [bug 490]
8655 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8657 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8659 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8661 * several files: ws changes
8663 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8665 * text2.C (setCounter): clean up a bit, use boost.format.
8666 (updateCounters): initialize par upon declaration.
8668 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8669 if the layout exists. We do not just store the layout any more.
8670 (SwitchLayoutsBetweenClasses): use boost.format
8672 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8674 * converter.C (convert): if from and to files are the same, use a
8675 temporary files as intermediary
8677 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8680 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8682 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8684 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8686 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8688 * tabular.C (asciiPrintCell): use string(size, char) instead of
8691 * sgml.C (openTag): fix order of arguments to string constructor
8694 * lyxfunc.C (dispatch): use boost.format
8696 * lots of files: change "c" -> 'c'
8698 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8700 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8702 2002-11-25 Angus Leeming <leeming@lyx.org>
8704 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8706 * lyx_main.C (init): compile fix.
8708 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8710 * lyx_cb.C (start): boost.formatify
8711 do not include <iostream>
8713 * lengthcommon.C: ws only
8715 * boost-inst.C,BoostFormat.h: add more explict instantations
8717 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8719 * lots of files: handle USE_BOOST_FORMAT
8721 2002-11-21 John Levon <levon@movementarian.org>
8723 * pspell.C: fix compile
8725 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8727 * lyxfunc.C (dispatch): use boost::format
8731 * lyxfont.C (stateText): use boost::format
8733 * lyx_main.C (LyX): use boost::format
8735 (queryUserLyXDir): ditto
8738 (typedef boost::function): use the recommened syntax.
8740 * importer.C (Import): use boost::format
8742 * debug.C (showLevel): use boost::format
8744 * converter.C (view): use boost::format
8749 * bufferview_funcs.C (currentState): use boost::format
8751 * bufferlist.C (emergencyWrite): use boost::format
8753 * buffer.C (readLyXformat2): use boost::format
8754 (parseSingleLyXformat2Token): ditto
8756 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8758 * LaTeX.C (run): use boost::format
8760 * Chktex.C (scanLogFile): use boost::format
8762 * BufferView_pimpl.C (savePosition): use boost::format
8763 (restorePosition): ditto
8764 (MenuInsertLyXFile): ditto
8766 * BoostFormat.h: help file for explicit instation.
8768 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8770 * tabular.C (latex): Support for block alignment in fixed width
8773 2002-11-17 John Levon <levon@movementarian.org>
8775 * BufferView_pimpl.C:
8777 * lyxfunc.C: split filedialog into open/save
8779 2002-11-08 Juergen Vigna <jug@sad.it>
8781 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8782 by my last patch (hopefully).
8784 2002-11-08 John Levon <levon@movementarian.org>
8793 * toc.C: ParConstIterator, and use it (from Lars)
8795 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8797 * lyxtextclass.[Ch]: revise and add doxygen comments
8799 2002-11-07 John Levon <levon@movementarian.org>
8801 * text.C: fix progress value for spellchecker
8803 * toc.C: fix navigate menu for insetwrap inside minipage
8805 * paragraph_funcs.C: added FIXME for suspect code
8807 2002-11-07 John Levon <levon@movementarian.org>
8809 * BufferView_pimpl.C: fix redrawing of insets
8812 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8814 * text2.C (updateCounters): fix bug 668
8816 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8818 * text3.C (dispatch): Do not make the buffer dirty when moving the
8821 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8823 * vc-backend.C: STRCONV
8826 * text2.C (setCounter): STRCONV
8828 * paragraph.C (asString): STRCONV
8830 * lyxlength.C (asString): STRCONV
8831 (asLatexString): ditto
8833 * lyxgluelength.C (asString): STRCONV
8834 (asLatexString): ditto
8836 * lyxfunc.C (dispatch): STRCONV
8839 * lyxfont.C (stateText): STRCONV
8841 * importer.C (Import): STRCONV
8843 * counters.C (labelItem): STRCONV
8844 (numberLabel): ditto
8845 (numberLabel): remove unused ostringstream o
8850 * bufferview_funcs.C (currentState): STRCONV
8852 * buffer.C (readFile): STRCONV
8853 (asciiParagraph): ditto
8854 (makeLaTeXFile): ditto
8856 * Spacing.C (writeEnvirBegin): STRCONV
8858 * LaTeXFeatures.C (getLanguages): STRCONV
8859 (getPackages): ditto
8861 (getBabelOptions): ditto
8862 (getTClassPreamble): ditto
8863 (getLyXSGMLEntities): ditto
8864 (getIncludedFiles): ditto
8868 (scanAuxFile): ditto
8871 * LString.h: add the STRCONV macros
8873 * BufferView_pimpl.C (savePosition): STRCONV
8874 (restorePosition): ditto
8875 (MenuInsertLyXFile): ditto
8877 * vc-backend.C (scanMaster): change from submatch[...] to
8880 * funcrequest.C: include config.h
8882 * factory.C: include config.h
8884 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8886 * box.C: include config.h
8888 * LaTeX.C (scanAuxFile): change from submatch[...] to
8892 2002-10-25 Angus Leeming <leeming@lyx.org>
8894 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8896 * ispell.[Ch] (setError): new method.
8897 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8898 Use setError() insetead of goto END.
8900 * lyx_cb.C (AutoSave): move out child process into new class
8903 2002-10-30 John Levon <levon@movementarian.org>
8905 * text3.C: make start appendix undoable
8907 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8909 * lyxlength.C (inPixels): Fix returned value.
8911 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8914 2002-10-24 Angus Leeming <leeming@lyx.org>
8916 * lyxgluelength.h: no need to forward declare BufferParams
8917 or BufferView, so don't.
8919 2002-10-21 John Levon <levon@movementarian.org>
8921 * BufferView.C: menuUndo ->undo, redo
8923 * BufferView.h: document, remove dead, make some methods private
8925 * paragraph_funcs.h:
8926 * paragraph_funcs.C:
8927 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8932 * sgml.C: move sgml open/close tag into sgml.C
8934 * bufferview_funcs.h: unused prototype
8937 * lyxfunc.C: remove unused
8940 * text.C: remove unused
8942 2002-10-21 John Levon <levon@movementarian.org>
8946 * BufferView_pimpl.h:
8947 * BufferView_pimpl.C: fix mouse wheel handling based on
8948 patch from Darren Freeman
8950 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8952 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8954 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8956 * lyxlength.C (inPixels): Fix hanfling of negative length.
8957 Fix LyXLength::MU case.
8959 2002-10-16 John Levon <levon@movementarian.org>
8961 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8963 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8965 * converter.C (view): add support for $$i (file name) and $$p
8966 (file path) for the viewer command. If $$i is not specified, then
8967 it is appended to the command (for compatibility with old syntax)
8969 2002-10-14 Juergen Vigna <jug@sad.it>
8971 * undo_funcs.C (textHandleUndo): alter the order in which the
8972 new undopar is added to the LyXText, as we have to set first
8973 the right prev/next and then add it as otherwise the rebuild of
8974 LyXText is not correct. Also reset the cursor to the right paragraph,
8975 with this IMO we could remove the hack in "redoParagraphs()".
8977 2002-10-09 Angus Leeming <leeming@lyx.org>
8979 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8980 to turn off an optimisation if a new inset is to be inserted.
8982 2002-10-11 André Pönitz <poenitz@gmx.net>
8984 * lyxtext.h: make some functions public to allow access
8985 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8987 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8989 * text3.C (dispatch): when changing layout, avoid an infinite loop
8992 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8994 * lyxrc.C (read): treat a viewer or converter command of "none" as
8997 * MenuBackend.C (expandFormats): for an update, also allow the
8998 formats that are not viewable
9000 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9001 script if it is newer than the lyxrc.defaults in user directory
9003 2002-10-07 André Pönitz <poenitz@gmx.net>
9005 * text.C: Vitaly Lipatov's small i18n fix
9007 2002-09-25 Angus Leeming <leeming@lyx.org>
9009 * ispell.h: doxygen fix.
9011 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9013 * buffer.h (readFile): Add a new argument to the method, to allow
9014 reading of old-format templates.
9016 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9018 * toc.C (getTocList): Get TOC from InsetWrap.
9020 2002-09-16 John Levon <levon@movementarian.org>
9022 * lyxfunc.C: check tabular for cut/copy too
9024 2002-09-12 John Levon <levon@movementarian.org>
9029 * factory.C: add header
9031 * paragraph_funcs.h:
9032 * paragraph_funcs.C: cleanup
9034 2002-09-11 John Levon <levon@movementarian.org>
9036 * PrinterParams.h: odd/even default to true
9038 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9040 * PrinterParams.h: update printer parameters for new xforms dialog
9042 2002-09-11 Angus Leeming <leeming@lyx.org>
9044 * lyxserver.C (read_ready): re-write to make it more transparent
9045 and to make it work in coherent fashion under Tru64 Unix.
9047 2002-09-11 André Pönitz <poenitz@gmx.net>
9051 * text3.C: implement LFUN_WORDSEL
9053 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9055 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9056 make floatlist_ a boost::shared_ptr<FloatList>
9058 * lyxtextclass.C: include FloatList.h
9059 (LyXTextClass): initialize floatlist_
9060 (TextClassTags): add TC_NOFLOAT
9061 (Read): match "nofloat" to TC_NOFLOAT and use it.
9062 (readFloat): modify call to floatlist_
9066 * FloatList.[Ch] (FloatList): remove commented out float
9068 (erase): new function
9070 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9072 * MenuBackend.C (expandToc): fix crash when there is no document
9075 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9077 * many files: Add insetwrap.
9079 2002-09-09 John Levon <levon@movementarian.org>
9081 * text2.C: remove confusing and awkward depth wraparound
9083 2002-09-09 John Levon <levon@movementarian.org>
9085 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9088 * buffer.C: remove getIncludeonlyList()
9091 * lyxfunc.C: remove headers
9093 2002-09-09 Juergen Vigna <jug@sad.it>
9095 * text.C (getColumnNearX): fix form Michael this is most
9096 probably a cut&paste bug.
9098 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9100 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9102 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9103 references, ws changes.
9105 * text2.C (init): update counters after init
9106 (insertParagraph): no need to set counter on idividual paragraphs.
9107 (setCounter): access the counters object in the textclass object
9108 on in the buffer object.
9109 (updateCounters): ditto
9111 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9112 shared_ptr<Counters> to avoid loading counters.h in all
9114 (LyXTextClass): initialize ctrs_
9115 (TextClassTags): add TC_COUNTER, and ...
9116 (Read): use it here.
9117 (CounterTags): new tags
9118 (readCounter): new function
9119 (counters): new funtion
9120 (defaultLayoutName): return a const reference
9122 * counters.C (Counters): remove contructor
9123 (newCounter): remove a couple of unneeded statements.
9124 (newCounter): simplify a bit.
9125 (numberLabel): some small formatting changes.
9127 * buffer.[Ch]: remove all traces of counters, move the Counters
9128 object to the LyXTextClass.
9130 2002-09-06 Alain Castera <castera@in2p3.fr>
9132 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9133 package to set the horizontal alignment on fixed width columns.
9136 * lyx_sty.h: added tabularnewline macro def.
9138 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9140 2002-09-06 John Levon <levon@movementarian.org>
9142 * LyXAction.C: tooltips for sub/superscript
9144 * MenuBackend.C: a bit more verbose
9146 * lyxfunc.C: tiny clean
9148 * undo_funcs.C: document undo_frozen
9150 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9152 * counters.C (Counters): add missing algorithm counter.
9154 * text2.C (setCounter): lookup the counter with layouts latexname
9155 instead of by section number.
9156 (setCounter): use a hackish way to lookup the correct enum
9158 a float name->type change
9159 reset enum couners with counter name directly instead of depth value.
9161 * counters.C (Counters): remove the push_backs, change to use the
9162 float type not the float name.
9163 (labelItem): remove unused string, float name->type change
9165 * counters.h: don't include vector, loose the enums and sects vectors
9167 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9169 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9170 (Read): add float->TC_FLOAT to textclassTags
9171 (Read): and handle it in the switch
9172 (readFloat): new function
9174 * FloatList.C (FloatList): comment out the hardcoded float
9177 * lyxlayout.h: ws change.
9179 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9181 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9183 2002-09-03 Angus Leeming <leeming@lyx.org>
9185 * BufferView_pimpl.h: qualified name is not allowed in member
9186 declaration: WorkArea & Pimpl::workarea() const;
9188 * factory.C: added using std::endl directive.
9190 * text3.C: added using std::find and std::vector directives.
9192 2002-08-29 André Pönitz <poenitz@gmx.net>
9195 * text2.C: remove unused member number_of_rows
9198 * BufferView2.C: remove file, move contents to...
9199 * BufferView.C: ... here
9201 * BufferView_pimpl.C:
9202 * factory.C: move more inset creation to factory
9204 * vspace.C: avoid direct usage of LyXText, ws changes
9207 don't provide direct access to WorkArea, use two simple
9208 acessors haveSelction() and workHeight() instead
9211 2002-08-29 John Levon <levon@movementarian.org>
9213 * BufferView_pimpl.C (dispatch): do not continue when
9216 2002-08-28 André Pönitz <poenitz@gmx.net>
9218 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9221 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9223 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9225 * buffer.C: increment LYX_FORMAT to 221
9227 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9228 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9230 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9232 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9234 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9236 * factory.C (createInset): use LyXTextClass::floats
9238 * MenuBackend.C (expandFloatListInsert):
9239 (expandFloatInsert):
9242 * text2.C (setCounter):
9244 * LaTeXFeatures.C (useFloat):
9245 (getFloatDefinitions):
9247 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9249 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9250 floatlist_, with accessor floats().
9252 * FloatList.h: remove global FloatList
9254 2002-08-26 André Pönitz <poenitz@gmx.net>
9256 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9260 * BufferView_pimpl.C:
9261 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9263 2002-08-25 John Levon <levon@movementarian.org>
9265 * LyXAction.C: fix margin note description
9267 2002-08-24 John Levon <levon@movementarian.org>
9271 * bufferview_funcs.C:
9273 * undo_funcs.C: cleanups
9275 * lyxfunc.C: disable CUT/COPY when no selection
9277 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9279 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9280 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9282 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9283 Add backward compatibility to "mono", "gray" and "no".
9285 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9287 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9288 (and file_format >= 200).
9290 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9292 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9294 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9296 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9298 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9300 * BufferView_pimpl.C:
9307 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9308 inset and code to make it work with the paragraph code. The inset
9309 can be anywhere in the paragraph, but will only do the expected
9310 thing in LaTeX if the layout file contains the parameter line
9312 (or more generally, a nonzero value) for that layout.
9314 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9316 * paragraph.h: remove the declaration of undefined counters class
9319 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9321 * text2.C (setCounter): fixed enumeration mis-count as reported by
9322 Dr. Richard Hawkins.
9324 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9326 * paragraph_funcs.h: remove some unneeded includes
9328 * text.C (backspace): pasteParagraph now in global scipe
9330 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9331 (pasteSelection): ditto
9333 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9334 * paragraph_funcs.C (pasteParagraph): ... here
9336 2002-08-20 André Pönitz <poenitz@gmx.net>
9338 * commandtags.h: new LFUNs for swapping/copying table row/colums
9341 * lyxfunc.C: support for new lfuns
9343 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9346 * buffer.[Ch]: remove NO_COMPABILITY stuff
9348 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9350 * boost.C (throw_exception): new file, with helper function for
9351 boost compiled without exceptions.
9356 * ParameterStruct.h:
9357 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9359 * bufferlist.C (emergencyWriteAll): use boost bind
9361 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9363 * text.C: include paragraph_funcs.h
9364 (breakParagraph): breakParagraph is now in global scope
9366 * paragraph_funcs.[Ch]: new files
9368 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9371 * buffer.C: include paragraph_funcs.h
9372 (insertStringAsLines): breakParagraph is now in global scope
9374 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9377 * CutAndPaste.C: include paragraph_funcs.h
9378 (cutSelection): breakParagraphConservative is now in global scope
9379 (pasteSelection): ditto
9381 * buffer.h: declare oprator== and operator!= for
9382 Buffer::inset_iterator
9384 * bufferlist.C (emergencyWrite): don't use fmt(...)
9386 * text3.C: add using std::endl
9388 * BufferView.C (moveCursorUpdate): remove default arg
9390 2002-08-20 André Pönitz <poenitz@gmx.net>
9392 * buffer.[Ch]: move inline functions to .C
9395 * BufferView_pimpl.C:
9397 * buffer.[Ch]: use improved inset_iterator
9400 * paragraph.[Ch]: write one paragraph at a time
9402 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9404 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9405 style if style is not specified.
9407 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9409 * text2.C (setCounter): when searching for right label for a
9410 caption, make sure to recurse to parent insets (so that a caption
9411 in a minipage in a figure float works) (bug #568)
9413 2002-08-20 André Pönitz <poenitz@gmx.net>
9415 * text3.C: new file for LyXText::dispatch() and helpers
9417 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9419 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9421 2002-08-19 André Pönitz <poenitz@gmx.net>
9424 * text.C: new LyXText::dispatch()
9426 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9428 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9430 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9432 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9435 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9437 * Makefile.am: use $(variables) instead of @substitutions@
9439 2002-08-15 André Pönitz <poenitz@gmx.net>
9442 * BufferView_pimpl.C: streamlining mathed <-> outer world
9446 * LyXAction.C: remove unused LFUN_MATH
9448 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9450 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9452 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9454 * paragraph.C (Paragraph): reformat a bit
9455 (cutIntoMinibuffer): use builtin InsetList function instad of
9459 * buffer.C: include boost/bind.hpp, add using std::for_each
9460 (writeFileAscii): use ParagraphList iterators
9461 (validate): use for_each for validate traversal of paragraphs
9462 (getBibkeyList): use ParagraphList iterators
9463 (resizeInsets): use for_each to resizeInsetsLyXText for all
9465 (getParFromID): use ParagraphList iterators
9467 * BufferView2.C (lockInset): use paragraph list and iterators
9469 2002-08-14 John Levon <levon@movementarian.org>
9471 * lyxserver.C: remove spurious xforms include
9473 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9475 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9477 2002-08-13 André Pönitz <poenitz@gmx.net>
9480 * lyxfunc.C: further cleaning
9482 2002-08-13 André Pönitz <poenitz@gmx.net>
9484 * funcrequest.h: new constructor
9486 * funcrequest.C: move stuff here from .h
9489 * BufferView_pimpl.C:
9492 * lyxfunc.C: subsequent changes
9494 * lyxfunc.h: new view() member function
9496 * lyxfunc.C: subsequent changes
9498 2002-08-13 Angus Leeming <leeming@lyx.org>
9501 * BufferView_pimpl.C:
9509 changes due to the changed LyXView interface that now returns references
9510 to member variables not pointers.
9512 2002-08-13 Angus Leeming <leeming@lyx.org>
9514 * WordLangTuple (word, lang_code): return references to strings,
9519 * lyxtext.h: forward-declare WordLangTuple.
9524 * text.C: #include "WordLangTuple.h".
9527 * text.C: (selectNextWordToSpellcheck): constify return type.
9529 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9535 * paragraph_pimpl.h:
9538 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9540 Made updateCounter always count from start of buffer, and removed
9541 second argument (par).
9542 Reverted floats number display to '#'. Perhaps I'll try again when the
9543 code base is sanitized a bit.
9545 2002-08-12 Angus Leeming <leeming@lyx.org>
9547 * buffer.[Ch] (getLabelList): constify.
9549 2002-08-07 André Pönitz <poenitz@gmx.net>
9551 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9553 * funcrequest.h: extension to keep mouse (x,y) position
9555 2002-08-12 Juergen Vigna <jug@sad.it>
9557 * BufferView2.C (insertErrors): forbid undo when inserting error
9560 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9562 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9564 * ParagraphList.[Ch]: new files
9566 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9568 * BufferView2.C (lockInset): ParagraphList changes
9571 * bufferlist.C: ditto
9575 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9577 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9578 unused class variable counter_,
9580 * paragraph.[Ch] (getFirstCounter): delete unused function
9582 * counters.C: include LAssert.h
9583 (reset): add a new function with no arg, change other version to
9584 not have def. arg and to not allow empty arg.
9586 * text2.C (setCounter): remove empty arg from call to Counters::reset
9588 2002-08-11 John Levon <levon@movementarian.org>
9590 * Makefile.am: add WordLangTuple.h
9592 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9594 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9595 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9597 * insets/insettext.C: InsetList changes
9599 * graphics/GraphicsSupport.C (operator()): InsetList changes
9601 * toc.C (getTocList): InsetList changes
9603 * paragraph_pimpl.[Ch]: InsetList changes
9605 * paragraph.[Ch]: InsetList changes
9607 * buffer.C (inset_iterator): InsetList changes
9608 (setParagraph): ditto
9609 * buffer.h (inset_iterator): ditto
9610 * iterators.C (operator++): ditto
9611 * iterators.h: ditto
9613 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9615 * InsetList.[Ch]: new files, most InsetList handling moved out of
9618 * BufferView2.C (removeAutoInsets): InsetList changes
9620 (ChangeInsets): ditto
9622 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9624 * paragraph_pimpl.h (empty): new function
9626 * paragraph.[Ch] (empty): new function
9628 * other files: use the new Paragraph::empty function
9630 2002-08-09 John Levon <levon@movementarian.org>
9632 * lyxtext.h: remove unused refresh_height
9634 2002-08-09 John Levon <levon@movementarian.org>
9641 * paragraph.C: move sgml char escaping out of paragraph
9644 * paragraph.C: remove id setter
9648 * paragraph_pimpl.C: remove dead tex_code_break_column
9650 * bufferview_funcs.C: small cleanup
9652 * lyxfunc.C: remove dead proto
9654 * lyxtext.h: make some stuff private. Remove some dead stuff.
9656 * lyxgluelength.C: make as[LyX]String() readable
9658 2002-08-08 John Levon <levon@movementarian.org>
9663 * ToolbarDefaults.C:
9666 * toc.C: lyxaction cleanup
9668 2002-08-08 John Levon <levon@movementarian.org>
9670 * BufferView2.C: small cleanup
9673 * lyxfind.C: move unnecessary header into the .C
9675 2002-08-08 John Levon <levon@movementarian.org>
9677 * funcrequest.h: just tedious nonsense
9680 * lyx_main.C: cleanups
9683 * vspace.C: remove dead header lyx_main.h
9685 2002-08-07 Angus Leeming <leeming@lyx.org>
9688 * paragraph_pimpl.h:
9689 Forward declare class Counters in paragraph.h by moving the ctrs member
9690 variable into Paragraph::Pimpl.
9691 (counters): new method, returning a reference to pimpl_->ctrs.
9693 * text2.C: ensuing changes.
9695 2002-08-07 John Levon <levon@movementarian.org>
9697 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9699 * BufferView_pimpl.C: announce X selection on double/triple
9702 * lyx_main.C: use correct bool in batch dispatch
9704 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9706 2002-08-07 André Pönitz <poenitz@gmx.net>
9708 * funcrequest.h: new class to wrap a kb_action and its argument
9711 * BufferView_pimpl[Ch]:
9715 * lyxrc.C: subsequent changes
9718 2002-08-07 John Levon <levon@movementarian.org>
9720 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9721 document options change.
9723 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9728 * makefile.am: move counters functionality over from
9729 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9731 2002-08-06 John Levon <levon@movementarian.org>
9733 * WordLangTuple.h: new file for word + language code tuple
9744 * BufferView2.C: use WordLangTuple
9747 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9749 2002-08-06 John Levon <levon@movementarian.org>
9751 * lyx_main.C: fix cmdline batch handling
9753 2002-08-06 André Pönitz <poenitz@gmx.net>
9755 * lyxrc.C: set default for show_banner to true
9757 2002-08-06 John Levon <levon@movementarian.org>
9759 * pspell.C: fix a crash, and allow new aspell to work
9761 2002-08-06 John Levon <levon@movementarian.org>
9764 * kbmap.C: small cleanup
9767 * vspace.C: add const
9769 2002-08-05 John Levon <levon@movementarian.org>
9771 * LyXAction.C: back to tabular-insert
9773 2002-08-04 John Levon <levon@movementarian.org>
9776 * BufferView.C: cosmetic change
9778 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9788 * BufferView2.C: purge all "Lyx" not "LyX" strings
9791 * lyxcursor.C: attempt to add some documentation
9796 * ToolbarDefaults.C:
9797 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9798 merge with LFUN_TABULAR_INSERT
9805 * pspell.C: split up i/pspell implementations into separate
9806 files, many cleanups
9808 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9810 * text2.C: some cleanup
9812 * lyxfunc.C: don't check for isp_command == "none" any more, it
9813 didn't make any sense
9815 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9820 * makefile.am: move counters functionality over
9821 from text2.C/paragraph.[Ch] to counters.[Ch], and
9823 2002-08-02 John Levon <levon@movementarian.org>
9825 * buffer.C: s/lyxconvert/lyx2lyx/
9827 2002-08-02 Angus Leeming <leeming@lyx.org>
9829 * lyxlex.C: revert John's change as it breaks reading of the user
9832 2002-08-02 Angus Leeming <leeming@lyx.org>
9834 * importer.C (Import):
9835 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9836 changes due to LyXView::view() now returning a boost::shared_ptr.
9838 2002-08-02 John Levon <levon@movementarian.org>
9840 * lyxlex.C: small cleanup
9842 2002-08-02 John Levon <levon@movementarian.org>
9844 * text2.C (status): small cleanup, no logic change
9846 2002-08-01 John Levon <levon@movementarian.org>
9849 * buffer.C (writeFile): don't output alerts, caller
9853 * lyx_cb.C: from above
9855 * lyxfunc.C: allow to open non-existent files
9857 2002-07-31 John Levon <levon@movementarian.org>
9859 * lyxserver.C: don't let incidental errors get
9862 2002-07-30 John Levon <levon@movementarian.org>
9864 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9866 2002-07-30 John Levon <levon@movementarian.org>
9869 * lyxserver.C: remove I/O callback too
9871 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9873 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9876 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9878 * many files: strip,frontStrip -> trim,ltrim,rtrim
9880 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9882 * PrinterParams.h: remove extern containsOnly, and include
9883 support/lstrings.h instead.
9885 * LaTeX.C (scanAuxFile): modify because of strip changes
9887 * buffer.C (makeLaTeXFile): ditto
9888 * bufferparams.C (writeFile): ditt
9889 * lyxfont.C (stateText): ditto
9890 * lyxserver.C (read_ready): ditto
9891 * vc-backend.C (scanMaster): ditto
9893 * BufferView_pimpl.h: ws changes
9895 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9897 2002-07-26 André Pönitz <poenitz@gmx.net>
9899 * kb_sequence.C: remove unnedred usings
9901 2002-07-26 Juergen Vigna <jug@sad.it>
9903 * lyxfind.C (LyXReplace): we have to check better if the returned
9904 text is not of theLockingInset()->getLockingInset().
9906 2002-07-25 Juergen Vigna <jug@sad.it>
9908 * lyxfind.C (LyXReplace): don't replace if we don't get the
9911 * undo_funcs.C (createUndo): remove debugging code.
9913 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9915 * buffer.C (parseSingleLyXformat2Token): Use default placement
9916 when reading old floats.
9918 * FloatList.C (FloatList): Change the default placement of figure
9919 and tables to "tbp".
9921 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9923 * MenuBackend.C: using std::max
9925 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9927 * MenuBackend.C (expandToc):
9928 (expandToc2): code moved from xforms menu frontend. It is now
9929 generic and TOCs are transparent to menu frontends.
9931 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9933 * toc.C (getTocList): protect against buf=0
9935 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9936 Menu as first parameter. Now, this calls itself recursively to
9937 expand a whole tree (this will be useful for TOC handling)
9938 (expandFloatInsert): remove 'wide' version of floats
9940 * MenuBackend.h (submenuname): returns the name of the submenu.
9941 (submenu): returns the submenu itself, provided it has been
9942 created by MenuBackend::expand
9944 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9946 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9947 insets which have noFontChange == true. (bug #172)
9949 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9951 * BufferView_pimpl.C: add connection objects and use them...
9954 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9956 * MenuBackend.C (expandLastfiles):
9959 (expandFloatListInsert):
9960 (expandFloatInsert):
9961 (expand): split expand in parts
9963 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9965 * lyx_gui.C: use lyx_gui::exit()
9967 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9969 * LyXAction.C: show the failing pseudo action
9971 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9973 * buffer.C (readFile): Run the lyxconvert script in order to read
9976 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9980 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9982 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9986 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9988 2002-07-22 Herbert Voss <voss@lyx.org>
9991 * lyxlength.[Ch]: add support for the vertical lengths
9993 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9995 * toc.[Ch]: std:: fixes
9997 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9999 * lyxrc.C: do not include lyx_main.h
10001 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10007 * BufferView2.C: include "lyxlex.h"
10010 * bufferparams.h: do not #include "lyxlex.h"
10012 * lyxtextclasslist.C (Add): remove method
10013 (classlist): renamed to classlist_
10015 * paragraph_pimpl.C:
10019 * bufferview_funcs.C:
10024 * toc.C (getTocList): use BufferParams::getLyXTextClass
10026 * toc.C (getTocList): use InsetFloat::addToToc
10028 * toc.[Ch]: new files, containing helper functions to handle table
10031 * lyxfunc.C (dispatch): no need to remove spaces around command
10033 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10034 first command of the sequence; it is not very clever, but I do not
10035 have a better idea, actually
10037 * LyXAction.C (LookupFunc): make sure to remove space at the
10038 beginning and end of the command
10040 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10042 * MenuBackend.C (getMenubar): new method: return the menubar of
10044 (read): treat differently reading of menu and menubar (in
10045 particular, the menubar has no name now)
10046 (Menu::menubar): remove
10048 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10051 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10053 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10054 a bibitem inset in a RTL paragraph.
10056 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10058 * paragraph_pimpl.C: constify
10060 * BufferView_pimpl.C:
10062 * lyxfunc.C: fix dispatch in a nicer way
10064 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10066 * lyxfunc.C (dispatch):
10067 * BufferView_pimpl.C:
10068 * BufferView_pimpl.h:
10070 * BufferView.h: rename Dispatch() to dispatch()
10072 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10074 * lyxlayout.C (Read): honor DependsOn tag
10076 * lyxlayout.[Ch] (depends_on): new method
10078 * version.C.in: update lyx_docversion
10080 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10082 * paragraph.C (validate): remove from here...
10083 * paragraph_pimpl.C (validate): ... and move here
10084 (isTextAt): make it const
10086 * buffer.C (getLists): ws cleanup
10088 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10090 * language.C (read): Use iso8859-1 encoding in latex_lang
10091 (this prevents LyX from crashing when using iso10646-1 encoding).
10093 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10095 * text2.C (toggleInset): if cursor is inside an inset, close the
10096 inset and leave cursor _after_ it
10098 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10100 * lyxfunc.C: move minibuffer completion handling out of here
10102 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10104 * BufferView_pimpl.C:
10105 * LaTeX.C: fix dispatch calls
10107 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10109 * text.C (drawChars): Fix Arabic text rendering.
10111 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10115 * lyxfunc.C: remove message-push/pop
10119 * lyxfunc.C: rationalise some code by removing verboseDispatch
10120 in favour of a bool argument to dispatch()
10122 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10124 * lyx_main.C (init): make sure to read symlinks as absolute paths
10126 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10129 * lyxfunc.C: no need for commandshortcut to be a member
10131 2002-07-15 André Pönitz <poenitz@gmx.net>
10133 * converter.C: add support for $$s (scripts from lib/scripts dir)
10134 * lyx_main.C: white space
10136 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10140 * lyxrc.C: remove second exit confirmation
10142 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10147 * BufferView_pimpl.h:
10148 * BufferView_pimpl.C:
10149 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10151 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10153 * MenuBackend.C (expand): add numeric shortcuts to document menu
10155 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10157 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10159 * lyxfont.C (setLyXFamily):
10166 * buffer.C (asciiParagraph): use ascii_lowercase
10168 2002-07-15 Mike Fabian <mfabian@suse.de>
10170 * lyxlex_pimpl.C (search_kw):
10171 * lyxlex.C (getLongString):
10172 * converter.h (operator<):
10173 * converter.C (operator<):
10174 * buffer.C (parseSingleLyXformat2Token):
10176 * ToolbarDefaults.C (read):
10177 * MenuBackend.C (checkShortcuts):
10179 * LColor.C (getFromGUIName):
10180 (getFromLyXName): use the compare_ascii_no_case instead of
10181 compare_no_case, because in turkish, 'i' is not the lowercase
10182 version of 'I', and thus turkish locale breaks parsing of tags.
10184 2002-07-16 Angus Leeming <leeming@lyx.org>
10186 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10187 now takes a Buffer const & argument.
10189 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10191 * BufferView.C (resize): check there's a buffer to resize
10193 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10195 * lyxfunc.C: remove dead code
10198 * lyxserver.C: use lyx_guii::set_read_callback
10200 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10202 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10203 an inset in a RTL paragraph.
10205 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10207 * lyxfunc.C: repaint after a font size update
10209 2002-07-15 André Pönitz <poenitz@gmx.net>
10211 * lyxlength.C: inBP should be able to return negative values
10213 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10215 * lyxfunc.C: use lyx_gui::update_fonts()
10217 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10219 * lyxfunc.C: use lyx_gui::update_color()
10221 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10227 * lyxrc.C: remove file->new asks for name option, and let
10228 buffer-new take an argument
10230 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10232 * BufferView_pimpl.C: remove unneeded extra repaint()
10234 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10236 * LyXAction.C: allow command-sequence with NoBuffer
10238 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10240 2002-07-10 Angus Leeming <leeming@lyx.org>
10242 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10244 2002-07-09 Angus Leeming <leeming@lyx.org>
10246 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10248 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10250 * lengthcommon.h: whitespace
10252 * lyxfunc.C: update scrollbar after goto paragraph
10254 * lyxtext.h: factor out page break drawing, and fix it so
10255 page break/added space paints as selected nicely
10257 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10259 * BufferView_pimpl.C: add FIXMEs, clean up a little
10261 2002-07-09 André Pönitz <poenitz@gmx.net>
10263 * lyxfont.[Ch]: support for wasy symbols
10265 2002-07-08 André Pönitz <poenitz@gmx.net>
10267 * BufferView_pimpl.C: apply John's patch for #93.
10269 2002-07-05 Angus Leeming <leeming@lyx.org>
10271 * BufferView_pimpl.C (buffer): generate previews if desired.
10273 * LColor.h: add "preview" to the color enum.
10275 * LColor.C (LColor): add a corresponding entry to the items array.
10277 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10280 2002-07-05 Angus Leeming <leeming@lyx.org>
10282 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10283 The body of the code is now in the method that is passed an ostream &
10284 rather than a file name.
10285 Pass an additional only_preamble parameter, useful for the forthcoming
10288 2002-07-03 André Pönitz <poenitz@gmx.net>
10290 * lyxfunc.C: simplify getStatus() a bit for math stuff
10292 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10294 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10296 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10298 * text.C (changeRegionCase): do not change case of all the
10299 document when region ends at paragraph end (bug #461)
10301 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10303 * paragraph.C (startTeXParParams):
10304 (endTeXParParams): add \protect when necessary
10306 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10308 * BufferView_pimpl.C (workAreaExpose): remove warning
10310 2002-06-27 Angus Leeming <leeming@lyx.org>
10312 * Makefile.am: add lyxlayout_ptr_fwd.h.
10314 2002-06-26 André Pönitz <poenitz@gmx.net>
10316 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10318 2002-06-25 Angus Leeming <leeming@lyx.org>
10320 * lyxfunc.C (dispatch): Comment out the call to
10321 grfx::GCache::changeDisplay. The method no longer exists now that the
10322 pixmap generation part of the graphics loader has been moved into
10325 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10327 * text2.C: layout as layout
10329 * text.C: layout as layout
10331 * tabular.C (OldFormatRead): layout as layout
10333 * paragraph_pimpl.C (TeXDeeper): layout as layout
10334 (realizeFont): layout as layout
10336 * paragraph.C (writeFile): layout as layout
10337 (validate): layout as layout
10338 (getFont): layout as layout
10339 (getLabelFont): layout as layout
10340 (getLayoutFont): layout as layout
10341 (breakParagraph): layout as layout
10342 (stripLeadingSpaces): layout as layout
10343 (getEndLabel): layout as layout
10344 (getMaxDepthAfter): layout as layout
10345 (applyLayout): layout as layout
10346 (TeXOnePar): layout as layout
10347 (simpleTeXOnePar): layout as layout
10348 (TeXEnvironment): layout as layout
10349 (layout): layout as layout
10350 (layout): layout as layout
10352 * lyxtextclass.C (compare_name): new functor to work with
10353 shared_ptr, layout as layout
10354 (Read): layout as layout
10355 (hasLayout): layout as layout
10356 (operator): layout as layout
10357 (delete_layout): layout as layout
10358 (defaultLayout): layout as layout
10360 * lyxlayout_ptr_fwd.h: new file
10362 * lyxlayout.C (Read): layout as layout
10364 * lyx_cb.C (MenuInsertLabel): layout as layout
10366 * bufferlist.C (newFile): layout as layout
10368 * buffer.C (readLyXformat2): layout as layout
10369 (parseSingleLyXformat2Token): layout as layout
10370 (insertStringAsLines): layout as layout
10371 (asciiParagraph): layout as layout
10372 (latexParagraphs): layout as layout
10373 (makeLinuxDocFile): layout as layout
10374 (simpleLinuxDocOnePar): layout as layout
10375 (makeDocBookFile): layout as layout
10376 (simpleDocBookOnePar): layout as layout
10377 (getLists): layout as layout
10379 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10381 * CutAndPaste.C (cutSelection): layout as layout
10382 (pasteSelection): layout as layout
10383 (SwitchLayoutsBetweenClasses): layout as layout
10385 * BufferView_pimpl.C (Dispatch): layout as layout
10386 (smartQuote): layout as layout
10388 * BufferView2.C (unlockInset): layout as layout
10390 2002-06-24 André Pönitz <poenitz@gmx.net>
10392 * lyxfunc.C: fix #487
10394 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10398 * lyxfunc.C: remove display_shortcuts, show_banner
10400 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10402 * Buffer_pimpl.C: oops, update on resize
10404 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10411 * BufferView.C: use repaint()
10413 * BufferView_pimpl.h:
10414 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10415 as it's a clearer description. Remove superfluous
10418 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10420 * text.C: fix bug 488. Not ideal, but getting
10421 getWord() to work properly for the insets that
10422 matter is more difficult ...
10424 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10426 * BufferView_pimpl.C:
10429 * lyxfunc.C: remove the six million index lyxfuncs to just
10430 one, and DTRT (bug 458)
10432 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10436 * BufferView_pimpl.h:
10437 * BufferView_pimpl.C: clean up resize() stuff,
10438 and unnecessary updateScreen()s
10440 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10444 * BufferView_pimpl.h:
10445 * BufferView_pimpl.C:
10448 * minibuffer.C: remove focus management of workarea,
10449 not needed. Use screen's greyOut()
10451 2002-06-17 Herbert Voss <voss@lyx.org>
10453 * converter.C: (convert) do not post a message, when converting
10454 fails, let the calling function decide what to do in this case
10456 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10458 * lyxfunc.C: tidy up a little
10460 2002-06-16 <alstrup@diku.dk>
10462 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10463 Got rid of FORMS_H_LOCATION include. Now we are
10466 2002-06-15 LyX Development team <lyx@rilke>
10468 * buffer.[Ch] (sgmlOpenTag):
10469 (sgmlCloseTag): Added support for avoiding pernicious mixed
10470 content. Return number of lines written.
10472 (makeLinuxDocFile):
10473 (makeDocBookFile): Fixed calls to sgml*Tag.
10474 Simple white space clean.
10476 (simpleDocBookOnePar): Simple white space clean.
10478 * tabular.[Ch] (docBook): Renamed to docbook and got another
10479 argument to related with the pernicious mixed content.
10481 (docbookRow): Fixed calls for docbook inset method.
10483 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10485 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10486 so it's X11 independent.
10490 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10492 2002-06-15 Lyx Development team <lyx@electronia>
10494 * intl.h: Renamed getTrans to getTransManager.
10496 2002-06-14 Angus Leeming <leeming@lyx.org>
10498 * Makefile.am: nuke forgotten stl_string_fwd.h.
10500 2002-06-12 Angus Leeming <leeming@lyx.org>
10502 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10504 2002-06-13 Angus Leeming <leeming@lyx.org>
10507 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10509 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10511 * kbmap.C (getiso): add support for cyrillic and greek
10513 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10517 * BufferView_pimpl.h:
10518 * BufferView_pimpl.C: move bogus scrolling logic
10521 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10524 * BufferView_pimpl.C: view->resize() change
10526 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10528 * BufferView_pimpl.C: topCursorVisible
10531 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10535 * lyx_gui.C: move to frontends/
10539 * lyx_main.C: changes from above
10541 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10548 * lyx_main.C: minor tidy
10550 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10552 * BufferView_pimpl.h:
10553 * BufferView_pimpl.C:
10555 * BufferView.C: make painter() const,
10558 * BufferView2.C: use screen() accessor
10561 * lyx_main.C: some minor cleanup
10563 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10565 * BufferView_pimpl.h:
10566 * BufferView_pimpl.C: remove enter/leaveView,
10569 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10574 * BufferView_pimpl.h:
10575 * BufferView_pimpl.C: only construct screen once,
10578 * lyxrc.C: remove pointless comment
10580 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10583 * BufferView.C: remove active() and belowMouse()
10585 * BufferView_pimpl.h:
10586 * BufferView_pimpl.C: use workarea() not workarea_,
10587 and make it use a scoped_ptr instead
10589 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10591 * lyx_gui.C: add debug message on BadWindow
10593 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10595 * sp_spell.C: fdopen is not part of the C++ standard.
10597 * paragraph.C (InsetIterator): use >= instead of ==
10599 2002-06-07 Angus Leeming <leeming@lyx.org>
10601 Fixes needed to compile with Compaq cxx 6.5.
10602 * BufferView_pimpl.C:
10609 * lyxtextclasslist.C:
10614 all c-library variables have been moved into namespace std. Wrap
10615 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10620 Add a using std::abs declaration.
10622 * kbmap.h (modifier_pair):
10623 * paragraph.h (InsetTable, InsetList):
10624 * lyxfont.h (FontBits):
10625 type definition made public.
10627 * bufferlist.C (emergencyWriteAll): the compiler complains that
10628 there is more than one possible lyx::class_fun template to choose from.
10629 I re-named the void specialisation as lyx::void_class_fun.
10631 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10633 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10634 the compiler is is unable to find tostr in write_attribute.
10636 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10638 * buffer.C (sgmlError): hide #warning
10640 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10642 * xtl/*: get rid of xtl, which is not in use anyway
10644 * LyXAction.C (init):
10645 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10646 were unimplemented xtl experimentation
10648 2002-06-04 André Pönitz <poenitz@gmx.net>
10650 * lyxfunc.C: disable array operation on simple formulae
10652 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10654 * converter.C: constify a bit
10656 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10658 * lyx_gui.C: check xforms version correctly
10660 2002-04-30 Herbert Voss <voss@lyx.org>
10662 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10665 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10667 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10668 attempt to register it with a VCS)
10670 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10672 * lyx_main.C (init): honor variables LYX_DIR_13x and
10675 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10679 * lyx_main.C: fix a crash on bad command line,
10680 and give a useful exit status on error
10682 * lyxfunc.C (doImport): allow -i lyx to work
10684 2002-03-30 André Pönitz <poenitz@gmx.net>
10686 * lyxfunc.C: mathed font changes
10688 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10703 * trans_mgr.h: srcdocs, and some minor cleanups
10705 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10707 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10708 call getFont all the time)
10710 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10712 * switch from SigC signals to boost::signals
10714 2002-05-29 André Pönitz <poenitz@gmx.net>
10716 * paragraph_pimpl.C (getChar): don't call size() too often...
10718 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10720 * paragraph_pimpl.C (insertChar): do not try to update tables when
10721 appending (pos == size())
10723 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10724 in order to reduce drastically the number of comparisons needed to
10725 parse a large document
10727 2002-05-29 André Pönitz <poenitz@gmx.net>
10733 * textclasslist.[Ch]:
10734 * sp_ispell.h: whitespace change
10736 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10738 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10739 lyxaction directly now.
10741 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10745 * lyxvc.C: remove unused headers
10747 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10754 * undo_funcs.C: some cleanups. Use shared_ptr
10755 and a template for the undo stacks.
10757 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10759 * BufferView_pimpl.h:
10760 * BufferView_pimpl.C:
10767 * text2.C: use key_state/mouse_state
10769 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10771 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10774 * chset.C: change include order
10775 (loadFile): use boost regex and get rid of LRegex and LSubstring
10777 * Makefile.am (BOOST_LIBS): new variable
10778 (lyx_LDADD): use it
10780 * LaTeX.C: change include order.
10781 (scanAuxFile): use boost regex and get rid of LRegex and
10785 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10790 * FontInfo.C: moved to frontends/xforms/
10793 * FontLoader.C: moved into frontends for GUIIzation
10798 * lyxfunc.C: changes from above
10800 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10802 * LColor.C: remove spurious X include
10804 * BufferView_pimpl.C:
10809 * text2.C: move font metrics to frontends/
10811 2002-05-24 Juergen Vigna <jug@sad.it>
10813 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10814 setting the undo_cursor.
10816 * ParagraphParameters.h: include local includes first.
10818 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10820 * BufferView_pimpl.C:
10821 * BufferView_pimpl.h:
10825 * screen.C: move WorkArea into frontends/
10831 * BufferView2.C: move LyXScreen into frontends/
10835 * lyx_gui.C: move lyxlookup into frontends/xforms/
10837 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10840 * BufferView_pimpl.C:
10850 * bufferview_funcs.C:
10863 * vc-backend.C: move LyX/XFormsView into frontends/
10865 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10877 * text2.C: move Painter to frontends/
10879 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10881 * buffer.C: comment out some some code that depend upon lyx_format
10884 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10885 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10887 * buffer.h (NO_COMPABILITY): turn off compability
10889 * ColorHandler.C: include scoped_array.hpp
10891 * font.C: Use more specific smart_ptr header.
10894 * ShareContainer.h: ditto
10895 * lyx_main.h: ditto
10897 * FontInfo.h: ditto
10898 * BufferView_pimpl.h: ditto
10899 * ColorHandler.h: ditto
10901 * kbmap.C (defkey): change call to shared_ptr::reset
10903 2002-05-21 Juergen Vigna <jug@sad.it>
10905 * buffer.C (insertErtContents): fix to insert ert asis if it is
10906 non empty. Skip it completely if it contains only whitespaces.
10908 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10910 * BufferView_pimpl.C:
10911 * BufferView2.C: clear selection on paste (bug 393)
10913 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10915 * DepTable.C: include ctime
10917 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10919 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10921 2002-05-14 Juergen Vigna <jug@sad.it>
10923 * text.C (breakParagraph): fixed function to honor the keepempty
10924 layout in the right maner and also to permit the right breaking
10925 algorithm on empty or non empyt keepempty paragraphs.
10927 * paragraph.C (breakParagraph): we have to check also if the par
10928 is really empty (!size()) for isempty otherwise we do the wrong
10931 2002-05-10 Juergen Vigna <jug@sad.it>
10933 * buffer.[Ch] : The following are only changes to the ert
10934 compatibility read reading old LaTeX layout and font stuff and
10935 convert it to ERTInsets.
10937 * buffer.h: added isErtInset().
10939 * buffer.C (struct ErtComp): add a fromlayout bool to check
10940 if we're inside a LaTeX layout.
10941 (isErtInset): new helper function.
10942 (insertErtContents): look for other ert insets before this one
10943 and insert the contents there, so that we don't have subsequent
10944 ERT insets with nothing between them. This way we create only one
10945 inset with multiple paragraphs. Also check if we don't insert only
10946 spaces ' ' as they are ignored anyway afterwards in the .tex file
10947 so if we have only spaces we will ignore this latex part in the
10949 (parseSingleLyXformat2Token \\layout): better compatibility when
10950 reading layout-latex stuff.
10951 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10953 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10954 stuff after reading the inset only get the information back from
10957 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10959 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10961 * LaTeXFeatures.C (getBabelOptions): New method.
10963 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10965 * BufferView_pimpl.C (Dispatch): work around missing argument for
10968 2002-05-08 Juergen Vigna <jug@sad.it>
10970 * text.C (leftMargin): handle paragraph leftindent.
10972 * paragraph.C (writeFile): write the new \\leftindent tag.
10973 (validate): handle leftindent code.
10974 (TeXEnvironment): handle paragraphleftindent code again.
10976 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10978 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10979 for paragrap_extra indent code and new token \\leftindent.
10980 (latexParagraphs): handle the leftindent as environment.
10982 * ParameterStruct.h: added leftindent support.
10984 * ParagraphParameters.C (leftIndent): added support functions for
10985 the paragraph left indent.
10987 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10990 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10992 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10995 * text.C (computeBidiTables): No bidi in insetERT.
10997 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11000 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11002 * version.C.in: pre 5
11004 2002-05-02 José Matos <jamatos@fep.up.pt>
11005 * buffer.C (makeDocBookFile): white space changes, add newline to
11007 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11009 * tabular.C (docBook): fix typo.
11011 2002-05-03 Juergen Vigna <jug@sad.it>
11013 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11014 change in LyXText as we can not be sure it was not freed.
11015 (drawOneRow): remove unused code.
11017 * text.C (drawInset): redo the calculation of the need_break_row as
11018 it could have a row which was already freed.
11019 (draw): look at the return value of drawInset and return false if
11020 it also returned false.
11021 (paintRowText): look at the return value of draw and return false if
11022 it also returned false.
11024 * lyxtext.h: added bool return type to drawInset() and draw() so that
11025 if we have a change in the row so that the rowbreak has to be redone
11026 we abort drawing as it will be called again.
11028 2002-05-02 Juergen Vigna <jug@sad.it>
11030 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11031 a change in the maintext also if we're inside an inset.
11032 (Dispatch): set the cursor again after a break line and after the
11033 screen has been updated as it could be we're in a different row.
11035 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11036 to set the cursor behind the pargraph with > size().
11037 (setCursor): check also for the same paragraph when checking where
11038 to put the cursor if we have a NFR inset.
11040 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11041 parts of layout read further up as it still was in the wrong
11044 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11046 * screen.C (drawFromTo): change sine fullRebreak always return
11049 * buffer.C (parseSingleLyXformat2Token): reindent some
11051 * BufferView_pimpl.C (update): change since fullRebreak always
11053 (Dispatch): git rid of the last hardcoded "Standard"s.
11055 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11057 * text2.[Ch] (fullRebreak): make it return void now that we always
11060 2002-04-30 Juergen Vigna <jug@sad.it>
11062 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11063 ert compatibility check for "latex" layout.
11065 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11067 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11068 minipages: use col% instead of p%, and also use the current font.
11069 (makeLaTeXFile): Fix use babel condition.
11070 (parseSingleLyXformat2Token): Correct font when reading old floats.
11072 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11074 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11075 inserting list of floats.
11077 2002-04-25 Herbert Voss <voss@lyx.org>
11079 * MenuBackend.C (expand): don't add the graphics extensions to the
11082 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11084 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11085 non-existing layout, do not complain if it was the default layout
11086 of the original class (bug #342)
11088 2002-04-24 Juergen Vigna <jug@sad.it>
11090 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11091 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11093 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11095 * buffer.C (getBibkeyList): If using \bibliography, return the
11096 option field with the reference itself. Enables us to provide natbib
11097 support when using \bibliography.
11099 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11101 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11103 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11104 natbib is provided by the LaTeX class.
11106 2002-04-23 Juergen Vigna <jug@sad.it>
11108 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11111 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11113 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11115 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11117 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11118 ensuremath around textordmasculine, textordfeminine and
11121 2002-04-19 Juergen Vigna <jug@sad.it>
11123 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11124 reinitializing the buffer otherwise row-dimensions may be wrong.
11125 (update): reset also the selection cursors if they do exits otherwise
11126 their x/y positions may be wrong.
11128 * text2.C (cursorDown): don't enter the inset if we came from a row
11129 above and are one row over the inset.
11131 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11132 really leaving an inset.
11134 2002-04-18 Juergen Vigna <jug@sad.it>
11136 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11137 of the selected paragraph does not have the selected layout also if
11140 * text2.C (setLayout): fixed bug which did not change last selected
11143 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11144 changed the read and substituted \\end_float with \\end_inset!
11146 * BufferView_pimpl.C (cursorPrevious):
11147 (cursorNext): fixed to make it work with rows heigher than the work
11148 area without moving the cursor only the draw of the row.
11149 (workAreaMotionNotify): fix jumping over high rows.
11151 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11153 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11156 2002-04-16 Juergen Vigna <jug@sad.it>
11158 * text2.C (setCursor): set also the irow().
11159 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11161 (cursorDown): support for locking an inset if the x_fix value goes
11162 inside it. That way I can transverse insets too with cursor up/down.
11164 * lyxrow.h: added irow helper function same as other (i) functions.
11166 * BufferView_pimpl.C (cursorPrevious):
11167 (cursorNext): fixed for insets!
11169 2002-04-15 Juergen Vigna <jug@sad.it>
11171 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11172 position otherwise it is wrong in some cases.
11174 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11175 inside the inset before the call.
11177 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11179 * buffer.[Ch] (getBibkeyList): make it const.
11181 2002-04-12 Juergen Vigna <jug@sad.it>
11183 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11185 * text2.C (getCursorX): new helper function
11186 (setCursor): compute also ix_
11187 (setCursorFromCoordinates): set also ix.
11189 * lyxcursor.h: added ix_ and helper functions.
11191 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11193 * buffer.C (insertStringAsLines): dont break paragraph if the this
11194 paragraph is inside an inset which does not permit it!
11196 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11197 also with no chars on this paragraph.
11198 (paintRowText): only paint stuff if it's inside the workarea!
11200 * paragraph.C (breakParagraph): honor keepempty flag and break the
11201 paragraph always below not above.
11203 * BufferView2.C (unlockInset): update the paragraph layout on inset
11204 unlock as we changed paragraph in such a case.
11206 * lyxfind.C (LyXFind): clear the former selection if not found!
11208 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11209 again called in insertChar().
11211 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11212 an inset which uses the whole row!
11213 (rightMargin): ditto.
11214 (insertChar): force a rebreak if we inserted an inset!
11216 2002-03-28 Herbert Voss <voss@lyx.org>
11218 * lyxlength.[Ch]: add inBP() to get the right PS-point
11219 units (BigPoint). With inPixels we have rounding errors
11221 2002-04-11 Juergen Vigna <jug@sad.it>
11223 * text2.C (setCursorFromCoordinates): set iy to the right value.
11224 (setCursor): add check if row->previous exists!
11226 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11227 an old float_type as this was the case in the old code!
11229 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11231 * BufferView2.C (showLockedInsetCursor): use iy
11232 (fitLockedInsetCursor): ditto
11234 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11235 locked insets as there we have the right value now.
11237 * lyxcursor.C: added iy_ variable and iy functions to set to the
11238 baseline of cursor-y of the locked inset.
11240 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11241 (setCursor): fixed for insets which need a full row.
11243 * text.C (rowLastPrintable): don't ignore the last space when before
11244 an inset which needs a full row.
11245 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11246 as last character of a row when before a inset which needs a full row.
11248 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11250 * version.C.in: update date
11252 * text2.C (fullRebreak): try to always return true and see what
11255 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11257 * MenuBackend.C (expand): use Floating::listName
11259 * FloatList.C (FloatList): add listName argument to the built-in
11262 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11263 text associated with the float.
11265 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11267 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11269 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11271 * ShareContainer.h: add a couple of missing typenames.
11273 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11275 * lyxrc.C (getDescription): use _() correctly rather than N_().
11277 2002-03-28 Herbert Voss <voss@lyx.org>
11279 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11280 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11282 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11284 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11285 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11287 2002-03-29 Juergen Vigna <jug@sad.it>
11289 * lyxfunc.C (dispatch): add a missing fitCursor call.
11291 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11292 it was scrolled by a cursor move, so return the bool status.
11294 * BufferView.C (fitCursor): return the bool flag also to the outside
11295 world as this is needed.
11297 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11299 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11300 call the edit() as it is not needed (and wrong) IMO.
11301 (workAreaButtonPress): set the screen_first variable before evt.
11302 unlock the inset as this may change screen_first and then we have
11303 a wrong y position for the click!
11305 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11307 * MenuBackend.C (expand): another translation that I missed
11309 2002-03-28 Juergen Vigna <jug@sad.it>
11311 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11313 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11315 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11317 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11319 * MenuBackend.C (expand): fix export/view/update when there is no
11322 2002-03-27 Herbert Voss <voss@lyx.org>
11324 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11327 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11329 * bufferview_funcs.C (currentState): only show paragraph number
11330 for is DEVEL_VERSION is set.
11332 * lyxfunc.C (dispatch): put warning in INFO channel
11334 * MenuBackend.C (expand): translate the name of floats
11336 * FloatList.C (FloatList): mark the float names for translation
11338 * converter.C (convert): use LibScriptSearch
11340 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11342 * MenuBackend.C (defaults): fix default menu (we might as well get
11345 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11347 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11350 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11352 * lyxvc.C: reorder includes.
11354 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11356 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11359 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11361 * CutAndPaste.C: change layouts earlier on paste
11362 to avoid crashing when calling getFont()
11364 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11366 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11369 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11371 * WorkArea.C: remove 'Pending' debug message.
11373 * most files: ws cleanup
11375 * buffer.[Ch]: ws changes
11377 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11379 2002-03-21 Juergen Vigna <jug@sad.it>
11381 * tabular.C (SetMultiColumn): collapse also the contents of the
11382 cells and set the last border right. Added a Buffer const * param.
11384 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11386 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11389 2002-03-19 Juergen Vigna <jug@sad.it>
11391 * text2.C (clearSelection): reset also xsel_cache.
11393 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11394 where it needs to be called (John tells us to do so too :)
11395 (selectionLost): reset sel_cache.
11397 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11399 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11401 * text2.C (setCursorIntern): put debuging code in INSETS channel
11403 2002-03-19 André Pönitz <poenitz@gmx.net>
11405 * lyxfunc.C: tiny whitespace change
11407 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11409 * ToolbarDefaults.C (init):
11410 * LyXAction.C (init):
11412 * BufferView_pimpl.C (Dispatch):
11413 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11415 2002-03-19 Allan Rae <rae@lyx.org>
11417 * exporter.C (Export): removeAutoInsets before doing anything else.
11418 While I've just introduced a dependency on BufferView this really is
11419 the best place to clean the buffer otherwise you need to cleanup in
11420 a dozen places before calling export or cleanup in a dozen functions
11423 * converter.C (runLaTeX):
11424 (scanLog): Better handling of removeAutoInsets and screen updates.
11426 * lyxfunc.C (dispatch): small whitespace changes
11428 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11430 * WorkArea.C (C_WorkAreaEvent): return a value.
11431 (event_cb): return 1 if we handled the event, 0 otherwise.
11433 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11435 2002-03-18 Juergen Vigna <jug@sad.it>
11437 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11438 (GetAdditionalWidth): ditto.
11439 (RightLine): ditto.
11442 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11443 inset if we're there actually (probably not used right now but this
11444 is the direction to go for unifying code).
11445 (paste): disable code to clear the selection.
11447 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11448 inside an InsetText and move the check further up as it is in the
11451 * text2.C (pasteSelection): set a selection over the pasted text.
11453 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11455 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11456 and libgraphics to build on Cygwin.
11458 2002-03-15 Juergen Vigna <jug@sad.it>
11460 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11461 inserting an Inset into the paragraph. I know this is not the best
11462 fix but we already use current_view in CutAndPaste so we will remove
11463 all of it's using at the same time.
11465 * buffer.C (sgmlError): deactivated function till it is rewritten in
11466 the right mode, now it can create problems.
11468 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11469 before accessing it.
11471 2002-03-14 Juergen Vigna <jug@sad.it>
11473 * undo_funcs.C (textHandleUndo): do the right thing when updating
11474 the inset after the undo/redo.
11476 * text2.C (setCursor): just some testcode for #44 not ready yet.
11478 * undo_funcs.C (textHandleUndo): set the next() and previous()
11479 pointers of the paragraph to 0 before deleting otherwise we have
11480 problems with the Paragraph::[destructor].
11482 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11483 on a paragraph insertion.
11485 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11487 * buffer.C (asciiParagraph): use += operator for char append to
11490 * paragraph.C (getFontSettings): compare >= not just >
11491 (highestFontInRange): ditto
11494 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11496 * paragraph.C: change several algorithm to be more appripriate for
11497 the problem domain. This is lookip in FontList and in the InsetList.
11499 2002-03-13 André Pönitz <poenitz@gmx.net>
11502 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11504 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11509 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11511 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11513 * Painter.C (display): anon helper function, adjust code for this
11515 (pixmap): remove function.
11517 * Painter.h: remove private display variable.
11519 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11521 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11523 * WorkArea.[Ch]: remove figinset_canvas cruft.
11525 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11527 * lyxtextclass.C (operator): add one item cache optimization.
11529 * bufferlist.h: doxy changes
11531 * bufferlist.C: ws changes
11533 * DepTable.[Ch] (ext_exist): place const in the right spot.
11535 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11537 (workAreaExpose): call resizeInsets when the with BufferView changes.
11538 (Dispatch): adjust for protectedBlank removal
11539 (specialChar): call updateInset if the insert went ok.
11541 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11542 specialChar instead.
11544 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11546 * BufferView.h: doxy change
11548 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11550 * lyxtextclass.C (operator[]): remove non-const version
11551 (defaultLayout): remove non-const version
11553 2002-03-12 Juergen Vigna <jug@sad.it>
11555 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11556 did resize the LyXText too.
11558 * buffer.C (readLyXformat2): set layout information on newly allocated
11561 * tabular.C (OldFormatRead): set layout information on the paragraph.
11563 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11565 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11567 2002-03-11 Juergen Vigna <jug@sad.it>
11569 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11571 (resizeCurrentBuffer): force also the insets to resize themselfes.
11572 (moveCursorUpdate): fixed up for InsetText.
11574 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11577 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11578 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11579 value of Dialogs::tooltipsEnabled().
11580 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11582 2002-03-08 Juergen Vigna <jug@sad.it>
11584 * BufferView_pimpl.C (updateInset): update inset inside inset also
11585 if it isn't inside theLockingInset().
11587 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11589 * buffer.C (asciiParagraph): redo some of the word and line length
11591 (getLists): look for Caption instead of caption.
11593 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11595 * buffer.C (Buffer): initialize niceFile to true
11597 (makeLinuxDocFile):
11598 (makeDocBookFile): make sure niceFile is true on exit
11600 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11602 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11604 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11606 * LyXSendto.C: remove.
11607 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11608 * lyx_gui.C: remove now-redundant comment.
11609 * ColorHandler.h: remove forward declaration of class WorkArea.
11610 * lyxfunc.C: remove #include "WorkArea.h".
11612 2002-03-07 Juergen Vigna <jug@sad.it>
11614 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11615 got moved away with the DEPM and also set the inset_owner always
11616 right which before could have been omitted.
11618 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11620 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11621 wanted layout is not found.
11623 2002-03-07 Juergen Vigna <jug@sad.it>
11625 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11627 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11629 * paragraph.C (breakParagraph): use default layout not layout of
11631 (Paragraph): clear ParagraphParameters.
11633 2002-03-06 Juergen Vigna <jug@sad.it>
11635 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11636 otherwise it would not be a valid lenght. Fixed a special case in
11637 the minipage compatibility read where we end the document with a
11640 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11641 was set as it could be 0 for InsetTexts first entry.
11643 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11645 * paragraph.C (writeFile): if layout is empty write out
11646 defaultLayoutName().
11648 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11649 file without named layout we set layout to defaultLayoutName().
11651 2002-03-06 Juergen Vigna <jug@sad.it>
11653 * CutAndPaste.C (copySelection): set layout for new paragraph.
11655 * text.C (prepareToPrint): leave ERT inset left aligned
11656 (leftMargin): don't indent paragraphs inside ERT insets
11658 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11660 * paragraph.C (breakParagraph): dont call clear do the work manually
11662 * paragraph.[Ch] (clear): remove function
11664 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11666 * paragraph.C (Paragraph): dont call clear, the work has already
11669 * lyxtextclass.C (operator): assert if n is empty
11671 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11672 work manually instead.
11674 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11676 * BufferView_pimpl.C: protect selectionLost against text == 0
11678 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11680 * text.C (breakParagraph): fix a setting layout to '0' problem.
11682 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11684 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11685 final location of file, for the included files, and graphics.
11687 2002-03-05 Juergen Vigna <jug@sad.it>
11689 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11691 2002-03-04 Juergen Vigna <jug@sad.it>
11693 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11695 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11696 last column of multicolumn cells.
11697 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11699 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11701 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11702 file if it doesn't go to a temporary file.
11704 * buffer.C (sgmlOpenTag):
11705 (sgmlCloseTag): remove extra newline insertion.
11707 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11709 * text.C (getRowNearY): comment out debug msg
11711 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11713 * text2.C: first -> first_y
11715 * text.C (getRowNearY): add some attemts at a possible
11716 optimization, not working.
11718 * tabular.[Ch]: add BufferParams to several function so that newly
11719 created paragraph can be initialized to he default layotu for the
11722 * tabular-old.C (ReadOld): add buf->params to call of Init
11724 * screen.C: rename text->first to text->first_y
11726 * paragraph.C (breakParagraph): always set layout in the broken
11729 * lyxtextclass.C (Read): remove lowercase
11732 (delete_layout): ditto
11734 * lyxtext.h: rename first -> first_y
11736 * lyxlayout.C (Read): remove lowercase
11739 (obsoleted_by): ditto
11741 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11743 * buffer.C (insertErtContents): add params are to InsetERT
11744 (parseSingleLyXformat2Token): add code to check if a paragraphs
11745 layout really exist.
11746 (parseSingleLyXformat2Token): add params to several inset
11748 (asciiParagraph): remove lowercase, do the layout comparisons with
11751 * BufferView_pimpl.C (cursorNext): first -> first_y
11752 (resizeCurrentBuffer): first -> first_y
11753 (updateScrollbar): first -> first_y
11754 (scrollCB): first -> first_y
11755 (workAreaMotionNotify): first -> first_y
11756 (workAreaButtonPress): first -> first_y
11757 (checkInsetHit): first -> first_y
11758 (cursorPrevious): first -> first_y
11759 (cursorNext): first -> first_y
11760 (Dispatch): add buffer_->params to severl inset contructors
11762 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11764 * lyxlayout.C (Read): remove some debug info that I forgot.
11766 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11767 clean up the code slightly.
11768 (makeLinuxDocFile): ditto
11769 (makeDocBookFile): ditto
11771 * text2.C: layout as string
11773 * text.C: layout as string
11775 * paragraph_pimpl.C: layout as string
11777 * paragraph.[Ch]: layout as string
11779 * lyxtextclasslist.[Ch]: layout as string
11781 * lyxtextclass.[Ch]: layout as string
11783 * lyxtext.h: layout as string
11785 * lyxlayout.[Ch]: layout as string
11787 * lyx_cb.C: layout as string
11789 * bufferview_funcs.C: layout as string
11791 * bufferparams.C: layout as string
11793 * buffer.C: layout as string
11795 * LyXView.[Ch]: layout as string
11797 * LaTeXFeatures.[Ch]: layout as string
11799 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11801 * BufferView_pimpl.C: change current_layout to string, remove
11806 (workAreaButtonRelease): layout as string
11808 * BufferView2.C (unlockInset): adjust
11810 * vspace.C (asLatexCommand): use an explict temp variable.
11812 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11814 * Makefile.am: use FRONTEND_*
11816 2002-03-01 Juergen Vigna <jug@sad.it>
11818 * tabular.C (SetWidthOfMulticolCell): changed to something better
11819 I hope but still work in progress.
11820 (recalculateMulticolumnsOfColumn): renamed function from
11821 recalculateMulticolCells as it is more appropriate now.
11822 (SetWidthOfCell): calculate multicols better.
11824 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11826 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11828 * lyxfunc.C (processKeySym): print sequence also if it is
11829 `deleted' (complete)
11831 * kbsequence.C (print): print sequence even if it is deleted
11832 (complete would be a better word, actually).
11834 * lyxfunc.C (dispatch): print complete options after a prefix key
11836 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11838 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11840 * text2.C (setCharFont): eliminate setCharFont code duplication.
11842 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11844 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11845 LFUN_TABULAR_FEATURE (bug #177)
11847 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11849 * Makefile.am: remove figure.h
11851 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11853 * Bufferview_pimpl.C:
11865 * text2.C: remove #include "lyx_gui_misc.h".
11867 * LaTeX.C: added #include <cstdio>
11869 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11871 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11872 that the paragraph following this one can have.
11874 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11876 * vspace.C (asLatexCommand): fix bogus gcc warning
11878 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11880 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11882 * text2.C (setLayout): get rid of redundant code
11884 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11886 * text2.C (incDepth): make sure depth cannot be increased beyond
11889 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11891 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11892 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11894 * PainterBase.h (image):
11895 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11896 a LyXImage const *.
11898 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11902 * BufferView_pimpl.C:
11903 * BufferView_pimpl.h:
11923 * sp_spell.C: remove fig inset, and the crap house of
11924 cards that follows it
11926 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11931 * os2_errortable.h:
11932 * nt_defines.h: move .h into support/
11934 * vms_defines.h: remove
11936 * WorkArea.C: add space in debug output
11940 * buffer.C: add WITH_WARNINGS
11944 * bufferlist.C: s/retrive/retrieve/, add docs
11953 * chset.C: add docs
11955 * lyxgui.C: add ID to X error handler
11957 * lyxtestclass.c: fix typo
11959 2002-02-26 Juergen Vigna <jug@sad.it>
11961 * tabular_funcs.C (write_attribute): changed so that some default
11962 attributes are not written at all.
11963 (getTokenValue): set default values before trying to read the
11964 value so we have the return value always set as default if we don't
11965 find the token we search for.
11967 * tabular.C (Write): write bools as bools not as strings!
11969 2002-02-22 Juergen Vigna <jug@sad.it>
11971 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11972 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11974 * text.C (leftMargin): don't add an indent for paragraphs inside
11975 tabular cells (fix #208).
11977 2002-02-21 José Matos <jamatos@fep.up.pt>
11979 * tabular.C (docBook): fixed support for long tables.
11981 2002-02-20 Juergen Vigna <jug@sad.it>
11983 * text2.C (getFont): get the drawing font of the Inset if this
11984 paragraph is inside an inset (only important for InsetERT for now).
11986 * buffer.C (insertErtContents): use new lanugage params in ERT
11989 * CutAndPaste.C: commenting out seemingly uneeded code.
11991 2002-02-19 Allan Rae <rae@lyx.org>
11993 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11994 Iterators might be simple to use but they also get invalidated.
11995 (removeAutoInsets): renamed saved cursor tracking variables and added
11996 some comments to clarify what everything does.
11998 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12005 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12006 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12009 * vc-backend.h: remove #include "support/syscall.h"
12013 * converter.C: rearrange #includes in Lars' approved fashion.
12015 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12016 forward declare class Timeout in the header file.
12018 * XFormsView.C: changes due to the above.
12020 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12021 similar to LyXView.
12023 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12024 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12026 2002-02-18 José Matos <jamatos@fep.up.pt>
12028 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12031 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12033 * a lot of small ws changes
12034 * add a lot of using std::XXX
12035 * use std construcs some places where approp.
12036 * use some exisint stuff from lyxfunctional where approp.
12037 * Make file changes to use partial linking (lets test this now...)
12039 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12043 remove #include "support/syscontr.h" as it's redundant. Always has been.
12051 change Systemcalls::System to Systemcalls::Wait and
12052 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12053 No change of functionality, just reflects the stripped down Systemcalls
12056 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12058 * debug.[Ch]: add a GRAPHICS type to the enum.
12060 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12062 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12064 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12067 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12069 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12070 match the changes below.
12072 * text2.C (toggleInset): if there is not editable inset at cursor
12073 position, try to see if cursor is _inside_ a collapsable inset
12076 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12078 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12079 document menu has a nice checkbox
12081 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12083 * lyxlength.C (asLatexString): change PW to output as percent of
12086 * lengthcommon.C: change '%' to 't%'
12088 * lyxfunc.C (dispatch): a few comments from Martin
12090 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12094 * BufferView_pimpl.h:
12095 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12098 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12100 * vspace.C (inPixels): fix compiler warning
12102 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12104 * lyxfunc.C (getStatus): fix status message for disabled commands.
12106 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12108 * BufferView_pimpl.C: fix crash on close buffer
12109 during selection (#227)
12111 2002-01-27 Herbert Voss <voss@lyx.org>
12113 * buffer.C: link old Figure to new graphic inset
12115 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12117 * FontLoader.C (getFontinfo): Change the latex font names in order
12118 to match the names of type1inst.
12120 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12122 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12124 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12125 (extchanged): ditto
12127 (remove_files_with_extension): ditto
12128 (remove_file): ditto
12131 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12132 document is smaller than the work area height. Do not initialize
12133 static variables to 0.
12135 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12137 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12139 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12140 LFUN_LAYOUT_PARAGRAPHS.
12142 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12143 tabular. It is possible to provide a possible cell, which will
12144 typically be the actcell from the corresponding insettabular
12146 * lyxfunc.C (getStatus): small cleanup; disable
12147 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12150 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12152 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12154 * paragraph.C (startTeXParParams):
12155 (endTeXParParams): new methods. The LaTeX code to
12156 start/end paragraph formatting
12157 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12158 empty (fixes bug #200)
12160 * vspace.C (inPixels): adapt to the change below
12161 (inPixels): [later] more cleanups (remove unused variables)
12163 * lyxlength.C (inPixels): change to use a width and a height as
12166 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12168 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12169 Replaced with \paperwidth
12171 * DepTable.C (insert): add std:: qualifier
12173 2002-01-18 Allan Rae <rae@lyx.org>
12175 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12178 * text.C (drawInset): Turned out I didn't know enough about how
12179 rebreaking worked. This fixes most of the redraw problems. I see
12180 an occasional cursor trail when a line is broken now and the cursor
12181 placement can seem out by a few pixels also after a rebreak.
12183 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12185 * buffer.C (parseSingleLyXformat2Token): update because minipage
12186 width is now a LyXLength
12188 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12190 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12193 2002-01-17 Juergen Vigna <jug@sad.it>
12195 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12197 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12198 is set correctly and the inset is updated correctly.
12200 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12202 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12203 the beginning of the loop.
12205 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12207 * lyxrc.C: improve help for use_scalable_fonts
12209 2002-01-17 Allan Rae <rae@lyx.org>
12211 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12213 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12215 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12216 make sure to set their inset_owner to the right value (bug #171)
12218 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12221 * DepTable.C: Implement mtime checking to reduce time spent doing
12224 2002-01-16 Juergen Vigna <jug@sad.it>
12226 * tabular.C (GetAdditionalHeight): one of error fixed.
12228 * lyxrc.C (output): small fix in writing use_pspell.
12230 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12232 * sp_base.h: #include LString.h
12234 2002-01-16 Allan Rae <rae@lyx.org>
12236 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12237 Can someone check this please?
12239 * text.C (drawInset): It was possible that p.row would be removed by
12240 breakAgainOneRow upsetting a few other settings. There may be another
12241 small tweak possible by setting need_break_row = 0 when p.row has been
12242 removed but I don't know enough about the logic here.
12244 2002-01-15 Allan Rae <rae@lyx.org>
12246 * text.C (insertChar): removed conditional truism.
12248 * BufferView2.C (removeAutoInsets): More tweaks.
12249 cur_par_prev could be a stray pointer. Check for trailing empty line
12250 in case last line was cur_par and only had an error inset on it.
12252 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12254 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12257 * vc-backend.C (most methods):
12258 * exporter.C (Export):
12259 * converter.C (convert):
12261 * LyXSendto.C (SendtoApplyCB):
12262 * lyxfunc.C (dispatch):
12266 * lyx_cb.C (AutoSave):
12268 * BufferView_pimpl.C (MenuInsertLyXFile):
12269 * buffer.C (runChktex): use Buffer::filePath().
12271 * buffer.h: rename filename to filename_; rename filepath to
12272 filepath_ and make it private
12273 (filePath): new method
12275 * buffer.C (writeFile): use fileName()
12278 * lyx_main.C (init): fix starting of LyX when the binary is a
12279 link from so,ewhere else.
12281 * minibuffer.C: include <cctype> for isprint
12283 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12285 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12286 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12287 name clash with InsetCollapsable's width function.
12289 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12291 * lastfiles.C: include <iterator>
12293 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12295 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12298 * buffer.C (makeLaTeXFile): ditto.
12299 Also make loop operation more transparent.
12301 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12303 * ToolbarDefaults.C: remove trailing comma closing namespace.
12305 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12307 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12310 * trans.C (Load): comment out unused variable, allowed.
12312 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12314 * minibuffer.[Ch] (append_char): new method to recieve input from the
12315 drop-down completion browser. If a key was pressed, then recieve this
12316 char and append it to the existing string.
12317 (peek_event): modify the positioning data passed to the completion
12318 browser so that it can be placed above the minibuffer rather than below.
12319 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12321 * LyXAction.C (init): alloe error-next for readonly documents.
12323 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12326 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12328 * bufferlist.C (readFile): create the buffer _after_ checking that
12331 * lyxfunc.C (verboseDispatch): fix handling of arguments
12333 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12335 * lyxrc.C: use string::erase() instead of initializing to "".
12338 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12340 * BufferView_pimpl.h:
12341 * BufferView_pimpl.C:
12344 * text2.C: tell X when we have made a selection for copying
12346 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12348 * BufferView_pimpl.C (MenuInsertLyXFile):
12349 * lyxfunc.C (menuNew):
12351 (doImport): add shortcuts to directory buttons
12353 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12356 * lyxfunc.C (setStatusMessage):
12357 (getStatusMessage): new methods
12358 (getStatus):use setStatusMessage instead of setErrorMessage
12359 (dispatch): when function is disabled, set error message here
12360 [instead of in getStatus previously]
12362 * BufferView_pimpl.C (workAreaButtonRelease): update
12363 toolbar/menubar here too.
12365 2002-01-13 Allan Rae <rae@lyx.org>
12367 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12368 Now seems indestructible. Remaining task is to audit all other
12369 code affected by deleteEmptyParagraphMechanism. One small quirk
12370 left is that an empty document with an error in the preamble can
12371 be made to report an error but no error box appears. I don't know
12373 (removeAutoInsets): Improved comments.
12375 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12378 * Thesaurus.C: update for Aiksaurus 0.14
12380 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12382 * text2.C (firstParagraph): removed member function, all uses
12383 replaces with ownerParagraph
12384 (redoParagraphs): here
12385 (updateInset): here
12386 (toggleAppendix): here
12387 * BufferView2.C (insertErrors): here
12388 (setCursorFromRow): here
12390 2002-01-13 Allan Rae <rae@lyx.org>
12392 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12393 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12394 There is still a way to segfault this although you may have to do this
12395 multiple times: Have an InsetERT with an unknown command in it.
12396 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12397 <down-arrow>, <Enter> again, View->DVI, BANG!
12399 * text2.C (setCursor):
12400 (deleteEmptyParagraphMechanism):
12401 * lyxtext.h (setCursor):
12402 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12403 Making use of the return value may help fix other bugs.
12405 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12407 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12409 * LyXView.C (updateMenubar): call MenuBar::update here
12410 (updateToolbar): but not here
12411 (showState): do not update toolbar/menubar
12413 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12414 should need to care about that.
12416 * lyxfunc.C (verboseDispatch): simplify a bit
12417 (getStatus): have a version which takes a pseudoaction, and
12418 another which requires a (kb_action,string).
12420 * LyXAction.C (retrieveActionArg): make it work also when action
12421 is not a pseudo-action.
12422 (getActionName): simplify a bit
12425 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12427 * lyxfunc.C (verboseDispatch): new families of methods with
12428 several ways to specify a command and a bool to indicate whether
12429 the command name and shortcut should be displayed in minibuffer
12430 (eventually, we could extend that to a finer bitmask like
12431 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12432 (dispatch): the pristine dispatch command which just, well,
12433 dispatchs! Note it still sets its result to minibuffer; I'm not
12436 * lyxfunc.h: remove setHintMessage
12438 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12440 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12442 * BufferView_pimpl.C (specialChar): delete new inset if we have
12443 not been able to insert it.
12445 * kbmap.C: revert to using int instead of kb_action, since all we
12446 are dealing with is pseudo-actions.
12448 * LyXAction.C (searchActionArg): change to return int instead of
12449 kb_action, since the result is a pseudoaction.
12451 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12453 * buffer.C (insertErtContents): Fix (partially) the font bug.
12455 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12457 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12458 as the other one is broken on my machine!
12460 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12463 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12465 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12467 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12468 reflect their actual use. Provide compatibility code for older lyxrc
12471 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12473 change names of popup font variables in line with the changes to lyxrc.C
12475 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12477 * buffer.C (asciiParagraph): avoid outputing a word twice after
12480 * lyxrc.C (getDescription): document that document_path and
12481 template_path can be empty.
12483 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12485 * LaTeXFeatures.C (getMacros):
12486 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12488 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12490 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12492 (getPackages): rename feature "floats" to "float". Use an array to
12493 iterate over 'simple' features (i.e. just a \usepackage). Add
12494 handling of "amsmath" (renamed from "amsstyle").
12496 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12498 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12501 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12503 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12504 FuncStaus::FuncStatus & FuncStaus::some_method().
12506 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12508 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12509 of the func_satus stuff. Edited and massaged in various ways by
12512 * lyxfunc.C (getStatus): use FuncStatus
12514 2002-01-08 Juergen Vigna <jug@sad.it>
12516 * text.C (nextBreakPoint): use function Inset::isChar().
12518 * paragraph.C (TeXOnePar): use function
12519 Inset::forceDefaultParagraphs.
12521 * buffer.C (latexParagraphs): use function
12522 Inset::forceDefaultParagraphs.
12524 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12526 * lyx_gui.C (init): set the style of the menu popups to
12527 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12529 2002-01-07 Juergen Vigna <jug@sad.it>
12531 * text.C (setHeightOfRow): small fix
12532 (prepareToPrint): don't look at alignment if we don't have the place
12535 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12537 * box.C: New file. Move the Box methods and functions out of box.h,
12538 following Lars' suggestion.
12540 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12542 * box.h: #include "support/LOstream.h", needed for inlined function.
12545 * lyxtextclasslist.C: added some using std declarations.
12547 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12549 * box.h: make signed dimensions to allow insets wider than
12550 the screen (bug #162)
12552 * BufferView_pimpl.C: add some insetHit debug
12554 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12556 * vc-backend.C: add FIXME
12558 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12560 * lyxfunc.C (getStatus): enable code for showing math font status
12563 2002-01-07 Juergen Vigna <jug@sad.it>
12565 * text.C (nextBreakPoint): removed debug output not needed anymore.
12567 2002-01-06 Juergen Vigna <jug@sad.it>
12569 * text.C (nextBreakPoint): fixed up this function we had this bug
12570 since ever but now hopefully we break row better.
12571 (insertChar): we have to check if an inset is the next char as it
12572 could now happen that a large inset is causing a break.
12574 2002-01-05 Juergen Vigna <jug@sad.it>
12576 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12577 if it doesn't like to be drawed.
12579 2002-01-04 Juergen Vigna <jug@sad.it>
12581 * BufferView2.C (lockInset): forgot to set a cursor.
12583 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12585 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12587 * FormMathsPanel.C:
12590 * form_maths_panel.C:
12591 * form_maths_panel.h:
12592 * form_maths_panel.fd: implemented sub- and super- buttons in math
12595 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12596 (or ^ space) to be used as in TeX (req'd by André).
12598 * lyxfunc.C: Allow ^ and _ again to be used both as
12599 super/subscript (mathed) and as themselves (in text).
12601 2002-01-03 Allan Rae <rae@lyx.org>
12603 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12604 "LyX" or the filename of the current buffer if it has one. This is a
12605 modified form of John Levon's patch.
12607 * XFormsView.C (setWindowTitle): also set icon title.
12609 * LyXView.h (setWindowTitle): signature changed.
12610 * XFormsView.h (setWindowTitle): ditto.
12612 2002-01-02 Juergen Vigna <jug@sad.it>
12614 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12616 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12618 * screen.C (topCursorVisible): introduce a temp var for
12619 text->cursor.row(), handle the case where this row is null. (kindo
12622 * text2.C (setCursor): add a couple of asserts.
12624 * paragraph.h (inset_iterator): add -> operator
12626 * paragraph.[Ch] (autoDeleteInsets): remove member function
12628 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12629 cursor pos correctly and handle inset deletion by itself.
12630 (insertErrors): move iterator declaration out of for expression
12632 * lyxtextclass.C: add <algorithm>
12634 * Makefile.am: added the new files to sources, removed layout.C
12636 * layout.C: removed file
12638 * layout.h: remove LYX_DUMMY_LAYOUT
12640 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12644 * lyxtextclass.[Ch]:
12645 * lyxtextclasslist.[Ch]: new files
12647 * include order changes to a lot of files, also changes because of
12650 2001-12-27 Juergen Vigna <jug@sad.it>
12652 * buffer.C (asciiParagraph): more fixes.
12654 * tabular.C (ascii): make ascii export support export of only the
12655 data separated by a column-delimiter.
12656 (ascii): better support for ascii export.
12658 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12660 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12662 * tabular_funcs.C: use a "using std::getline" instead of the
12663 previous fix from Angus (necessary for cxx + lyxstring)
12665 2001-12-24 Juergen Vigna <jug@sad.it>
12667 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12669 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12670 problems. First check a minipage also if we have some ert-contents
12671 (not only on par->size(), second set the right depth of the paragraph
12672 on the relink to the root-paragraph-list!
12674 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12675 which then did not anymore update the main paragraphs on undo/redo!
12677 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12679 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12680 code. Support all font-changing funcs (even those which are not in
12681 menu currently). Support for reporting font settings in
12682 mathed (disabled until Andre provides a function on mathed's side).
12684 * func_status.h (toggle): small helper function to set toggle
12687 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12689 * tabular_funcs.C: getline -> std::getline
12691 2001-12-21 Juergen Vigna <jug@sad.it>
12693 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12694 accessed and could be 0 (I couldn't generate this but it seems
12697 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12699 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12700 * tabular_funcs.h: here and include iosfwd
12702 2001-12-20 Juergen Vigna <jug@sad.it>
12704 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12705 inside inset but undo_par was.
12707 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12709 * Thesaurus.C: always include <config.h> in sources.
12713 * box.h: do not include <config.h> in header files
12715 * text.C (paintLastRow): remove unused variable
12717 * text.C (transformChar):
12719 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12721 * Painter.C (text):
12722 * font.C (width): rewrite to use uppercase() instead of
12725 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12727 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12729 * lyxfind.C: clean up of find failure position change
12731 2001-12-20 Juergen Vigna <jug@sad.it>
12733 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12735 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12736 (TeXRow): added to LaTeX a single tabular row.
12737 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12738 (Latex): simplified and finally good LT-h/f support.
12739 (various_functions): just small adaptions for LT-h/f support.
12741 * tabular_funcs.[hC]: added and moved here all not classfunctions
12744 2001-12-19 Juergen Vigna <jug@sad.it>
12746 * tabular.[Ch]: better support for longtabular options (not finished
12749 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12751 * text.C (paintLastRow): use the label font instead of the font of
12752 the last character to compute the size of *_BOX. This makes more
12753 sense and avoids a crash with empty paragraphs.
12754 Use Painter::rectangle to draw EMPTY_BOX.
12756 2001-12-19 Juergen Vigna <jug@sad.it>
12758 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12759 the paragraphs if the replaced paragraph is not the first one!
12760 Tried to delete not used paragraphs but does not work yet so for
12761 now it's inside #ifdef's and by default off!
12763 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12765 * MenuBackend.C: include "lyx_main.h" instead of declaring
12766 lastfiles (actually was declared as LastFiles* instead of a
12769 2001-12-17 Juergen Vigna <jug@sad.it>
12771 * tabular.C (AppendColumn): applied John's fix
12773 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12777 * BufferView_pimpl.h:
12778 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12781 * box.h: new start of class for above
12783 * lyxfunc.C: ignore space-only minibuffer dispatches.
12784 Show the command name when it doesn't exist
12786 * minibuffer.C: don't add empty lines to the history
12788 * minibuffer.C: add a space on dropdown completion
12790 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12792 * text.C: fix line above/below drawing in insets
12794 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12796 * lyxlength.C (LyXLength): Initialize private variables.
12798 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12800 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12801 when inserting error insets.
12803 2001-12-13 Juergen Vigna <jug@sad.it>
12805 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12806 actually sometimes the before-paragraph.
12807 (setUndo): don't clear the redostack if we're not actually undoing!
12809 2001-12-06 Juergen Vigna <jug@sad.it>
12811 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12812 and fixed redoing of main paragraph, so we can use it now ;)
12814 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12816 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12818 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12821 2001-12-13 André Pönitz <poenitz@gmx.net>
12824 * undo_func.C: minor cleanup
12826 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12828 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12829 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12830 font in urw-fonts package which is marked as -urw-fontspecific and
12831 does not work (incidentally, changing the encoding in the
12832 fonts.dir of this package to -adobe-fontspecific fixes the
12835 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12836 is a crash when undoing first paragraph (Juergen, please take a
12837 look). THis does not mean the undo fix is wrong, just that it
12840 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12841 the (Paragraph*) version when needed instead of duplicating the
12844 * text.C (workWidth): use Inset::parOwner to find out where the
12845 inset has been inserted. This is a huge performance gain for large
12846 documents with lots of insets. If Inset::parOwner is not set, fall
12847 back on the brute force method
12849 * paragraph_pimpl.C (insertInset):
12850 * paragraph.C (Paragraph):
12851 (cutIntoMinibuffer): set parOwner of insets when
12852 inserting/removing them
12854 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12856 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12862 * mathed/formulabase.C:
12863 * mathed/math_cursor.[Ch]:
12864 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12867 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12869 * lyxlength.[Ch] (operator!=): new function
12871 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12873 * text.C (workWidth): use Inset::parOwner to find out where the
12874 inset has been inserted. This is a huge performance gain for large
12875 documents with lots of insets. If Inset::parOwner is not set, fall
12876 back on the brute force method
12878 * paragraph_pimpl.C (insertInset):
12879 * paragraph.C (Paragraph):
12880 (cutIntoMinibuffer): set parOwner of insets when
12881 inserting/removing them
12883 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12885 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12887 * tabular-old.C (getTokenValue):
12888 * tabular.C (getTokenValue):
12889 (write_attribute): new versions for LyXLength
12890 (everywhere): adjust the use of widths
12892 * tabular.h: change the type of widths from string to LyXLength
12894 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12896 * paragraph.C: fixed missing line number count when exporting
12897 Environments to LaTeX file
12899 * buffer.C: added informational message for checking line numbers.
12901 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12903 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12904 paragraph, do the 'double space' part, but not the 'empty
12907 * text.C (workWidth): small optimization
12908 (getLengthMarkerHeight): use minimal size for negative lengths.
12910 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12912 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12914 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12916 2001-12-11 André Pönitz <poenitz@gmx.net>
12919 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12921 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12923 * text2.C: keep selection on a setFont()
12925 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12927 * lyx_cb.C: another bv->text misuse, from insert label
12929 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12932 * kbsequence.C: re-instate nmodifier mask
12934 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12936 * lyx_main.h: make lyxGUI private.
12938 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12940 * lyxfind.C: place the cursor correctly on failed search
12942 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12944 * text.C (getLengthMarkerHeight): for small heights, the arrows
12945 are not always on top/bottom of the text
12946 (drawLengthMarker): smaller arrows; take the left margin in
12947 account; draw also vfills.
12949 (paintLastRow): remove special code for vfill and standard spaces,
12950 since everything is handled in drawLengthMarker now.
12952 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12954 * buffer.C (insertErtContents): try to handle font and language
12955 interaction a bit better.g
12957 * ColorHandler.C (updateColor): change the hash to cover the whole
12958 LColor enum, ws cleanup
12959 (getGCLinepars): ditto
12960 (getGCLinepars): only lookup in the linecache once.
12962 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12964 * iterators.C (operator++): Make the iterator more robust
12966 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12968 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12970 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12973 * text.C: better added space drawing
12975 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12978 * BufferView2.C: fix layout combo update on inset unlock
12980 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12982 * Makefile.am: don't compile unused files
12984 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12988 * LyXAction.C: remove old LFUN_LAYOUTNO
12990 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12992 * paragraph_pimpl.h:
12993 * paragraph_pimpl.C: isTextAt() doesn't need font param
12995 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12998 * lyxlex.C: little cleanup
13000 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13002 * BufferView_pimpl.C: fix insertAscii for insets
13004 2001-12-05 Juergen Vigna <jug@sad.it>
13006 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13007 set the right font on the "multi" paragraph paste!
13009 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13015 * lyxlength.C: remove out-commented code.
13017 * BufferView_pimpl:
13031 * vc-backend.C: change "while(" to "while ("
13033 * lyxlength.[Ch]: add zero function to check if length is zero or
13035 * lyxgluelength.C: use it
13037 2001-12-05 Allan Rae <rae@lyx.org>
13039 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13040 Works for 2.95.3, from what I understand of Garst's reports this should
13041 work for other g++ versions. We're screwed if the abs(int) definition
13042 changed between bugfix releases of gcc.
13044 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13046 * text.C: fix chapter label offset !
13048 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13051 * text.C: fix hfill at end of line, clean up
13053 2001-12-04 Juergen Vigna <jug@sad.it>
13055 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13056 that we force an update of the inset and it's owners if neccessary.
13058 2001-12-03 Juergen Vigna <jug@sad.it>
13060 * text.C (rowLast): simplified code
13062 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13064 * lyxfunc.C: fix show options on timeout
13066 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13068 * screen.C (topCursorVisible): scroll half a page when the cursor
13069 reached top of bottom of screen
13071 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13073 * minibuffer.C: deactivate on loss of focus
13075 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13077 * vspace.[Ch] (operator!=): add operator.
13079 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13081 * BufferView_pimpl.C: refuse to open an inset when
13082 there's a selection.
13084 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13086 * BufferView_pimpl.C: allow to click on RHS of full row insets
13088 2001-11-30 Juergen Vigna <jug@sad.it>
13090 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13091 insets for undo reasons.
13093 2001-11-28 André Pönitz <poenitz@gmx.net>
13095 * vspace.[Ch]: cosmetical changes
13097 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13107 * kbsequence.C: part re-write of old kb code
13110 * WorkArea.C: remove Lgb_bug_find_hack
13112 2001-11-30 José Matos <jamatos@fep.up.pt>
13114 * buffer.C (makeDocBookFile): add a comment to point a hack.
13115 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13116 Fixed a double write of labels.
13118 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13121 * LaTeX.h Fixed bug in LaTeX class where it would not
13122 re-run latex if no depfiles were changed, but the .dvi was removed.
13124 2001-11-28 André Pönitz <poenitz@gmx.net>
13126 * all the files from the change on 2001/11/26:
13127 use lyx::layout_type instead of LyXTextClass::size_type
13128 use lyx::textclass_type instead of LyXTextClassList::size_type
13130 2001-11-29 Juergen Vigna <jug@sad.it>
13132 * text.C: added support for paragraph::isFreeSpacing()
13134 * buffer.C: same as above
13136 * paragraph.h: inserted isFreeSpacing() function to enable
13137 FreeSpacing inside InsetERT.
13139 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13140 of the paragraph's in the cut/copy buffer to 0!
13142 * text2.C (removeRow): remove the assert as it can!
13144 * lyxtext.h: added helper function firstRow returning firstrow and
13145 made firstrow private again.
13147 * BufferView2.C (lockInset): don't relock if we're already locked!
13149 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13150 the only paragraph.
13151 (removeRow): added Assert::(firstrow)
13153 * debug.C: forgot to add INSETTEXT here.
13155 2001-11-28 Juergen Vigna <jug@sad.it>
13157 * sp_spell.C (initialize): changed error text to more general
13158 spellchecker command use (not only ispell!)
13160 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13162 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13164 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13166 * vspace.C: initialise lyxgluelength on failure
13168 2001-11-28 Allan Rae <rae@lyx.org>
13170 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13171 declaration & definition that looks like a function declaration.
13173 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13175 * BufferView2.C (copy):
13176 (copyEnvironment): do not clear the selection when doing a copy.
13178 * text.C (paintFirstRow): compilation fix
13180 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13182 * tabular.C (Latex): correct line count when writing latex.
13184 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13186 * paragraph_pimpl.h:
13187 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13190 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13194 * LColor.C: change vfillline->added_space
13196 * text.C: add markers and text for added space
13198 * vspace.C: fix comment
13200 2001-11-28 André Pönitz <poenitz@gmx.net>
13202 * paragraph.C: whitespace changes
13203 * all the other files from the change on 2001/11/26:
13204 change *::pos_type into lyx::pos_type
13206 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13208 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13209 language of the document when inserting error insets.
13211 2001-11-26 André Pönitz <poenitz@gmx.net>
13213 * BufferView_pimpl.[Ch]:
13221 * paragraph_pimpl.[Ch]:
13224 * text2.C: reduce header dependencies, introduce type for positions
13226 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13228 * <various>: change to use Alert.h
13230 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13232 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13233 when encountering an unknown token.
13234 (readLyXformat2): Show an error message if there were unknown tokens.
13236 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13239 * BufferView_pimpl.C:
13243 * text2.C: use par->isInset()
13245 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13247 * paragraph_pimpl.h:
13248 * paragraph_pimpl.C: cleanup
13250 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13252 * text2.C (removeRow):
13253 * text.C (setHeightOfRow): remove useless (and costly) call to
13256 2001-11-20 Allan Rae <rae@lyx.org>
13258 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13259 Now need Inset*::checkInsertChar() to return true for appropriate
13260 cases so that the characters in the minibuffer will actually be
13263 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13265 * text.C: change the order of the includes.
13266 (workWidth): initialize it at once.
13267 (workWidth): make maxw unsigned
13268 (setHeightOfRow): remove unused variable (inset)
13269 (selectSelectedWord): remove unused variable (inset)
13270 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13272 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13274 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13275 server is not running.
13277 (closeConnection): add debug info when server is disabled.
13279 * ColorHandler.C (getGCForeground): send debug message to GUI
13282 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13284 * kbmap.C (bind): modify because return conventions of
13285 kb_sequence::parse have changed.
13287 * kbsequence.C (parse): only ignore spaces and not any stupid
13288 control character. This avoids tests like s[i] <= ' ', which are
13289 guaranteed to fail with 8bit characters and signed chars.
13290 Change return code to string::npos when there have been no error
13291 (0 was a bad idea when error is at first character)
13293 2001-11-14 José Matos <jamatos@fep.up.pt>
13296 * buffer.C (simpleDocBookOnePar): removed unused argument.
13298 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13300 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13301 insets which are part of a word. Paragraph::isLetter takes care of
13302 that now. Use Paragraph::isInset to identify insets.
13303 (selectSelectedWord): do not test for hyphenation break.
13305 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13306 that protected spaces are considered as spaces.
13308 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13311 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13314 * lyxserver.C: fix it. and small cleanup.
13316 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13318 * BufferView_pimpl.C: use inline helpers
13321 * LaTeXFeatures.C: fix typos
13324 * Spacing.C: move spacing_string into class
13326 * ToolbarDefaults.C: move stuff into namespace anon
13328 * layout.h: update enum
13330 * lyxfunc.C: use better debug
13332 * minibuffer.h: fix typo
13336 * WorkArea.C: add and use Debug::WORKAREA
13340 * text2.C: code re-organisation, inline helpers
13342 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13344 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13345 std::vector.empty().
13347 2001-11-09 Allan Rae <rae@lyx.org>
13349 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13350 '\n's after tables. Tabular and ERT inset work now makes this no
13353 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13356 * minibuffer.C: fix crash, improve drop-down completion
13358 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13361 * lyxserver.C: invalidate fd's when doing endPipe()
13363 2001-11-08 José Matos <jamatos@fep.up.pt>
13365 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13366 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13369 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13371 2001-11-07 José Matos <jamatos@fep.up.pt>
13374 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13377 * buffer.C (sgmlOpenTag):
13378 * buffer.C (sgmlCloseTag): removed debug info.
13380 * buffer.h (sgmlOpenTag):
13381 * buffer.h (sgmlCloseTag): made public.
13383 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13385 * buffer.C (saveParamsAsDefaults):
13386 * lyx_cb.C (MenuLayoutSave): remove
13388 * LyXAction.C (init):
13390 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13392 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13394 * buffer.C (setPaperStuff): removed from here...
13396 * bufferparams.C (setPaperStuff): ... and moved there.
13398 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13402 * XFormsView.C: add support for drop-down completion
13404 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13406 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13409 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13411 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13414 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13416 * lyx_main.C: change ref to known bugs
13418 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13420 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13421 to work around older babel problems.
13423 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13425 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13427 2001-10-24 Juergen Vigna <jug@sad.it>
13429 * tabular-old.C (ReadOld): below variable changes reflected.
13431 * tabular.[Ch]: added ltType struct for longtable header/footer
13432 defines and changed all instances where they are used. Added
13433 future support for double top/bottom rows.
13435 2001-10-24 José Matos <jamatos@fep.up.pt>
13437 * buffer.h (docbookHandleCaption):
13438 * buffer.C (docbookHandleCaption): removed unused function.
13439 (makeDocBookFile): moved docbook supported version to v4.1.
13441 2001-10-24 José Matos <jamatos@fep.up.pt>
13444 * tabular.C (docbookRow): new function to export docbook code of a row.
13445 (DocBook): now honors the longtable flags.
13447 2001-10-23 José Matos <jamatos@fep.up.pt>
13450 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13451 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13453 * buffer.C (makeLinuxDocFile):
13454 (makeDocBookFile): reworked the preamble, more clean, and with
13455 support for lyx defined entities. Changed the document declaration
13456 to be more XML friendly.
13458 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13459 if we need to output XML that should be done with a filter.
13461 2001-10-22 Juergen Vigna <jug@sad.it>
13463 * sp_pspell.h (class PSpell): add alive function needed in the
13464 controller to see if the spellchecker could be started.
13466 2001-10-22 Juergen Vigna <jug@sad.it>
13468 * buffer.C (insertStringAsLines): modify the font for inserting
13469 chars in certain conditions by calling checkInsertChar(font).
13471 2001-10-19 Juergen Vigna <jug@sad.it>
13473 * text.C (workWidth): use getRow instead of wrong algorithm.
13474 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13476 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13481 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13483 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13485 * text.C (workWidth): do not search for the exact row when
13486 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13487 optimization for big documents.
13489 2001-10-18 Juergen Vigna <jug@sad.it>
13491 * text.C (workWidth): new function with added Inset * parameter.
13493 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13495 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13497 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13498 change return type of getColumnNearX.
13501 * text.C (changeRegionCase): use uppercase/lowercase instead of
13504 (rightMargin): simplify code by factoring out the uses of
13509 (appendParagraph): use Paragraph::size_type
13511 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13513 * vspace.C (asLatexString): add a missing break
13515 2001-10-15 Herbert Voss <voss@perce.de>
13517 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13519 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13521 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13524 2001-10-10 André Pönitz <poenitz@gmx.net>
13526 * lyxfunc.C: removed greek_kb_flag.
13528 2001-10-10 Herbert Voss <voss@perce.de>
13530 * lyx_main.C: delete global string help_lyxdir.
13532 2001-10-09 Herbert Voss <voss@perce.de>
13534 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13536 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13538 * lyx_main.C: added global string help_lyxdir.
13540 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13542 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13544 * lyxrc.C (set_font_norm_type): support iso8859-4
13546 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13548 * LaTeX.C (deplog): add another regex for MikTeX
13550 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13552 * lyxrc.C (set_font_norm_type): support iso8859-3
13554 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13556 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13558 * LaTeXFeatures.C: remove special case of french and index
13560 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13561 before \begin{document}). This solves several incompatibilities.
13563 2001-10-03 Garst Reese <reese@isn.net>
13565 * lyx_cb.C: change CheckTex error msg.
13567 2001-10-03 José Matos <jamatos@fep.up.pt>
13569 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13571 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13573 * .cvsignore: update
13575 * lyx_main.C (commandLineVersionInfo): use new style version info.
13577 * buffer.C (writeFile):
13579 (makeLinuxDocFile):
13580 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13582 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13584 * version.h: update to use stuff in version.C
13586 * version.C.in: new file. Contains version information determined
13587 at compile time. This is a merging of version.h and
13590 2001-10-03 Juergen Vigna <jug@sad.it>
13592 * BufferView_pimpl.C (update): don't change "dirty" status in
13595 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13597 * WorkArea.C (c-tor): re-position version string slightly.
13599 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13601 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13602 revert to previous code.
13604 WorkArea.[Ch]: (show, destroySplash): methods removed.
13606 WorkArea.C: rework code so that it's an amalgam of the codes before and
13607 after the splash screen was moved to WorkArea.
13609 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13612 * vspace.C (inPixels):
13615 * buffer.C (insertStringAsLines):
13616 (asciiParagraph): fix types to be large enough
13618 * lyxlex_pimpl.h: change member status from short to int
13620 * layout.h: fix type of endlabeltype
13623 * kbsequence.C (parse): change return type to string::size_type
13625 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13628 * Bullet.C (bulletSize):
13629 (bulletEntry): do not use short ints as parameters
13631 * BufferView2.C (insertLyXFile): change a char to an int.
13633 * WorkArea.C (WorkArea): remove unneeded floats in computation
13635 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13637 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13639 * paragraph.C (asString): Do not ignore newline/hfill chars when
13640 copying to the clipboard.
13642 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13644 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13645 after a multi-line inset.
13647 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13649 * paragraph.C (validate): Set NeedLyXFootnoteCode
13651 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13653 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13654 and decrease-error to decrease.
13656 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13658 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13659 it more readable (should be equivalent)
13661 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13663 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13665 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13667 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13668 of a cursor (row, etc.) after a character has been deleted
13669 (deleteEmptyParagraphMechanism): call the method above on _all_
13670 cursors held by the LyXText when a double space has been
13673 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13675 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13677 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13679 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13680 background. Use greyOut() and the new show() methods to toggle between
13681 the foreground and background. Add code to remove the splash after
13682 its initial showing.
13684 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13685 (create_forms): no longer call Dialogs::showSplash.
13687 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13689 * .cvsignore: add version_info.h
13691 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13693 * version_info.h.in: new file
13695 * Makefile.am: add version_info.h.in
13697 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13698 version_info.h instead of VERSION_INFO
13700 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13702 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13703 The ERT inset now returns string().
13705 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13707 * lyxtext.h, text.C (selectNextWord): renamed as
13708 selectNextWordToSpellcheck.
13710 * text.C (selectNextWordToSpellcheck): Modified to not select
13711 words inside an ERT inset.
13713 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13715 * lyx_cb.C (MenuLayoutSave): change a bit the question
13717 * sp_base.h: include <sys/types.h>
13719 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13721 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13723 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13725 * several files: fix typos in user-visible strings
13727 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13729 * text2.C (pasteSelection): do not set the selection, since it
13730 will be cleared later. Actually, the intent was to fix the way the
13731 selection was set, but I figured rmoving the code was just as good.
13733 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13735 * FontLoader.C (available): Check if font is available without
13738 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13740 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13742 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13744 * lyxrc.[Ch]: added display_graphics variable and associated code.
13746 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13748 * bufferparams.C (hasClassDefaults): new method. Returns true if
13749 the buffer parameters correspond to known class defaults
13751 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13753 * XFormsView.C (show): set minimum size to the main window.
13755 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13757 * text2.C (copySelection):
13759 * lyxfind.C (LyXReplace):
13760 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13761 LyXText::selectionAsString.
13763 * paragraph.C (asString): add "label" argument to the second form
13765 * text2.C (selectionAsString): add "label" argument and pass it to
13766 Paragraph::asString.
13768 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13770 * lyx_main.C (commandLineHelp): remove version information
13772 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13774 * lyx_main.C: add -version commandline option
13776 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13778 * paragraph.h: make the optional constructor arg required instead.
13779 some modifications to other files because of this.
13781 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13783 * lyxserver.C (C_LyXComm_callback): make it static
13785 * lyx_main.C (error_handler): make it static
13787 * lyx_gui.C (LyX_XErrHandler): make it static
13789 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13791 * WorkArea.C: make the extern "C" methods static.
13793 * Makefile.am (lyx_LDADD): simplify
13795 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13797 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13798 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13800 * LyXAction.C (init):
13801 * lyxfunc.C (dispatch): associated code removal.
13803 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13805 * lyxfont.h (isSymbolFont): shut off warning
13807 * text.C (setHeightOfRow):
13808 (getVisibleRow): fix crash with empty paragraphs which have a
13811 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13813 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13816 2001-09-04 José Matos <jamatos@fep.up.pt>
13819 * tabular.C (docbook): rename docBook method to docbook.
13821 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13823 * Makefile.am: add dependencies to main.o.
13825 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13827 * FontLoader.C (available): Return false if !lyxrc.use_gui
13829 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13831 * FontInfo.C (query):
13832 * converter.C (view):
13833 * importer.C (Import):
13834 * exporter.C (Export): Can not -> cannot.
13836 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13838 * BufferView_pimpl.C: allow to create index inset even if
13841 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13843 * buffer.C (getLists): replace boost::tie code with an explicit pair
13844 as boost::tie can break some compilers.
13846 * iterators.h: Added a std:: declaration to the return type of
13849 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13851 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13854 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13856 * iterators.[Ch]: New files. Provide paragraph iterators.
13858 * buffer.C (changeLanguage): Use paragraph iterators.
13859 (isMultiLingual): ditto
13861 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13863 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13865 * FontLoader.C: Support for cmr font.
13867 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13869 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13870 (available): New method.
13872 * FontInfo.C (getFontname): Use scalable fonts even when
13873 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13876 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13878 * converter.C (Formats::view): reverted! Incorrect fix.
13880 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13882 * converter.C (Formats::view): only output the -paper option
13883 if the dvi viewer is xdvi, thereby fixing bug #233429.
13885 2001-08-23 Herbert Voss <voss@perce>
13887 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13889 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13891 * Spacing.h (Spacing): Set space to Default on in the default
13894 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13896 * vc-backend.h (RCS::versionString): add RCS to version
13897 (CVS::versionString): add CVS to version
13899 * vc-backend.C (scanMaster): do not add CVS to version.
13900 (scanMaster): do not add RCS to version
13902 * lyxvc.C (versionString): new method
13904 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13906 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13908 * Spacing.C (set): initialize fval
13910 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13912 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13915 2001-08-16 Juergen Vigna <jug@sad.it>
13917 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13919 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13921 * BufferView_pimpl.C:
13924 * text2.C: setParagraph takes linespacing now
13926 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13928 * LyxAction.C: add internal LFUN_CITATION_INSERT
13930 * LyXView.C: actually apply fix
13932 * bufferlist.C: fix open non-existent file
13934 * lyxfind.C: fix indentation
13936 * lyxfunc.C: remove unneeded assert, fix typo
13938 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13940 * MenuBackend.C: use "Floatname List"
13942 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13944 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13945 when converting LaTeX layout to insetERT.
13946 Generate a non-collapsed float when reading old float
13948 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13950 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13953 2001-08-13 Juergen Vigna <jug@sad.it>
13955 * text.C (fill): return 0 instead of 20 as this seems to be the more
13958 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13960 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13963 2001-08-13 Juergen Vigna <jug@sad.it>
13965 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13967 (SearchBackward): comment out the unlocking of the inset_owner this
13968 should not be needed!
13970 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13972 * Many files: Remove inherit_language, and add latex_language
13974 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13975 collapsible insets.
13977 2001-08-10 Juergen Vigna <jug@sad.it>
13979 * text.C (prepareToPrint): fixed hfill-width in draw!
13981 * BufferView2.C (selectLastWord): save the selection cursor as this
13982 now is cleared in the function LyXText::clearSelection!
13984 2001-08-08 Juergen Vigna <jug@sad.it>
13986 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13987 BACKSPACE type functions.
13989 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13990 is only cutted from the document but not put in the cut-buffer, where
13991 still the old stuff should be.
13993 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13995 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13997 * tabular.C (SetWidthOfCell): fixed special case where the width
13999 (LeftLine): handle '|' in align_special.
14001 (LeftAlreadyDrawed): ditto
14002 (SetWidthOfCell): ditto
14004 2001-08-07 Juergen Vigna <jug@sad.it>
14006 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14008 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14010 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14011 * lyxlex.[hC]: ditto
14013 2001-08-06 Juergen Vigna <jug@sad.it>
14015 * text.C (getVisibleRow): fix up row clearing a bit.
14017 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14019 * minibuffer.C: make sure the X server sees the changes in the input.
14021 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14023 * paragraph.C (getFont): split into...
14024 (getLabelFont): this
14025 (getLayoutFont): and this
14026 * paragraph_pimpl.C (realizeFont): calling this
14028 * text2.C (getFont): split into...
14029 (getLayoutFont): this
14030 (getLabelFont): and this
14031 (realizeFont): all three calling this
14033 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14036 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14038 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14040 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14042 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14043 layouts from the Quote inset insertion.
14045 2001-08-03 Juergen Vigna <jug@sad.it>
14047 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14049 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14050 only if status not is already CHANGED_IN_DRAW (second level).
14052 * text.C (draw): don't set the need_break_row when inside an
14055 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14057 * buffer.C (parseSingleLyXformat2Token): handle more latex
14060 * bufferview_funcs.[hC]: change function names to
14061 begin with small char, adjust other files.
14063 2001-08-02 André Pönitz <poenitz@gmx.net>
14066 BufferView_pimpl.C: remove broken special code for math-greek
14068 2001-08-02 Juergen Vigna <jug@sad.it>
14070 * BufferView_pimpl.C (update): redone this function so that we
14071 update the text again if there was a CHANGE_IN_DRAW.
14073 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14074 (drawFromTo): added a new internal bool which is used by draw() and
14076 (general): some cursor drawing problems fixed.
14078 2001-08-01 Juergen Vigna <jug@sad.it>
14080 * lyxfind.C (LyXFind): fixed
14081 (SearchForward): ditto
14082 (SearchBackward): ditto
14084 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14085 spurius drawing of the cursor in the main area.
14087 * text2.C (status): small fix which could lead to a segfault!
14088 (clearSelection): remove unneeded BufferView param.
14090 2001-08-01 André Pönitz <poenitz@gmx.net>
14092 * lyxfunc.C: small change due to changed mathed interface
14094 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14096 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14098 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14100 * lyxfunc.c: fail gracefully if file doesn't exist
14105 * BufferView_pimpl.C: IsDirWriteable() proto changed
14107 * LyXView.C: fix updateWindowTitle() to store the last title
14109 2001-07-31 Juergen Vigna <jug@sad.it>
14111 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14112 the font (wrong since using of Paragraph::highestFontInRange).
14114 * paragraph.C (highestFontInRange): added a default_size parameter.
14116 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14117 (setHeightOfRow): reformat
14119 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14121 * converter.[hC] + affected files: move to (inital-char)lowercase
14124 * ParagraphParameters.C (ParagraphParameters): remove commented code
14126 * PainterBase.[Ch]: remove commented code
14128 * LaTeXFeatures.h: add "bool floats" for float.sty
14130 * LaTeXFeatures.C (LaTeXFeatures): init floats
14131 (require): handle float
14132 (getPackages): do it with floats
14134 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14136 * BufferView_pimpl.C (Dispatch): improve handling of
14137 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14139 * commandtags.h: #include lyxfont.h here temporarily to avoid
14142 * bufferlist.h: include LString.h here.
14144 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14146 * text2.C (getStringToIndex): new method.
14148 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14150 * *: Reduced header file dependencies all over.
14152 2001-07-30 Baruch Even <baruch@lyx.org>
14154 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14156 2001-07-29 Baruch Even <baruch@lyx.org>
14158 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14160 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14162 * ParameterStruct.h (endif): add a default constructor to make
14163 sure that all variables is initialized.
14165 * ParagraphParameters.C (ParagraphParameters): adjust
14167 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14169 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14170 index; also, check that there is something to index, and that it
14171 does not span over several paragraphs.
14172 (doubleClick): use WHOLE_WORD_STRICT for double click.
14174 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14176 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14179 2001-07-26 Baruch Even <baruch@lyx.org>
14181 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14182 an InsetFig figure, backwards compatible reading of old figure code.
14184 2001-07-27 Juergen Vigna <jug@sad.it>
14186 * text2.C: font.realize function adaption.
14188 * text.C (draw): add a warnings lyxerr text if needed.
14190 * layout.C: font.realize function adaption.
14192 * language.C: add inherit_language and implement it's handlings
14194 * bufferview_funcs.C (StyleReset): remove language parameter from
14195 font creation (should be language_inherit now).
14197 * bufferparams.C (writeFile): handle ignore_language.
14199 * paragraph.C (getFontSettings): the language has to be resolved
14200 otherwise we have problems in LyXFont!
14202 * lyxfont.C (lyxWriteChanges): added document_language parameter
14203 (update): removed unneeded language parameter
14205 * paragraph.C (validate): fixed wrong output of color-package when
14206 using interface colors for certain fonts in certain environments,
14207 which should not seen as that on the final output.
14209 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14211 * BufferView_pimpl.C:
14216 * LyXAction.C: add thesaurus support
14219 * lyxfind.C: add "once" parameter, for thesaurus, to not
14220 move to the next match
14222 2001-07-26 Juergen Vigna <jug@sad.it>
14224 * lyxfont.C (realize): honor ignore_language too!
14227 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14229 * text.C (draw): one place more for ignore_language to not draw
14232 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14234 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14236 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14238 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14239 the minipage conversion problem.
14241 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14243 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14246 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14248 * BufferView.h: don't forward declare WorkArea
14250 * BufferView.C: don't include WorkArea.h
14252 2001-07-25 André Pönitz <poenitz@gmx.net>
14256 * lyxfunc.C: new LFUN 'math-space'
14258 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14260 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14262 * text2.C (toggleInset): call open/close
14264 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14266 * lyxfunc.C (dispatch): add debug for the disabled case
14268 * font.C (buttonText): make similar to rectText
14270 * buffer.C (readInset): comment out parsing of insetlist and
14273 * PainterBase.C (rectText): small correction
14275 * BufferView_pimpl.C: comment out insettheorem and insetlist
14276 * LyXAction.C: ditto
14277 * commandtags.h: ditto
14279 2001-07-24 Juergen Vigna <jug@sad.it>
14281 * text.C (draw): honor the ignore_language.
14283 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14285 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14287 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14290 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14292 * lyxtext.h: remove unused (and unimplemented) methods
14294 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14296 * text.C (getVisibleRow): honor background color
14299 * Painter.h: remove default color argument for fillRectangle
14301 * text.C (backgroundColor): new method
14303 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14305 * text.C (getVisibleRow): adjust
14307 * font.[Ch] (rectText): new method, metrics
14308 (buttonText): new method, metrics
14310 * PainterBase.[hC]: make rectText and buttonText always draw and take
14313 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14315 * ToolbarDefaults.C (read):
14316 * MenuBackend.C (read): allow escaping in all strings
14318 * BufferView_pimpl.C (insertAndEditInset): new method.
14319 (Dispatch): use insertAndEditInset whenever appropriate.
14321 * BufferView_pimpl.C (insertNote): removed
14323 * BufferView_pimpl.C (smartQuote): new method, moved from
14324 BufferView; if an insetquote cannot be inserted, insert a '"'
14327 * BufferView2.C: remove insertCorrectQuote();
14329 * lyxfunc.C (getStatus): Add support for all remaingin
14330 inset-insert lfuns.
14332 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14334 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14335 command (necessary to pass " as parameter of self-insert.
14337 * text.C (selectWordWhenUnderCursor):
14338 (selectWord): add word_location parameter
14339 (selectWordWhenUnderCursor): same + remove special code for word
14341 (selectNextWord): use kind() to guess type of insetspecialchar,
14344 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14345 (insertErtContents): create ert insets as collapsed.
14346 (readInset): better compatibility code for Info inset.
14348 2001-07-20 Juergen Vigna <jug@sad.it>
14350 * lyxfunc.C (dispatch): use always LyXFind now!
14352 * text2.C (init): add a reinit flag so that the LyXText can be
14353 reinited instead of deleted and reallocated (used in InsetText).
14355 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14361 2001-07-18 Juergen Vigna <jug@sad.it>
14363 * text.C (selectNextWord): handle insets inside inset by calling
14364 always the bv->text functions so that we can go up the_locking_inset!
14366 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14367 in strange locations when inside an inset!
14369 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14370 handling to include insets.
14372 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14374 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14376 * LyXAction.C (init):
14378 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14379 LIGATURE_BREAK, since the name is so stupid.
14381 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14383 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14386 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14388 * sp_form.[Ch]: remove.
14390 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14392 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14395 * src/buffer.C (readInset): ditto.
14397 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14399 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14400 menuSeparator(), endOfSentenceDot(), ldots() and
14401 hyphenationPoint(), which are therefore removed.
14402 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14404 * LyXAction.C (init):
14405 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14407 * paragraph.C (getWord): removed.
14409 * BufferView_pimpl.C (Dispatch): use last word or selection for
14410 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14412 * lyx_main.C (queryUserLyXDir): do not ask before creating
14413 user_dir, except if it has been named explicitely.
14415 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14417 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14418 a document of zero size.
14420 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14422 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14423 approriately in the c-tor and in require().
14424 (getPackages): output the appropriate LaTeX for natbib support.
14426 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14427 variables "use_natbib" and "use_numerical_citations" when reading the
14429 (readInset): read the various natbib cite commands.
14430 (validate): white-space change.
14432 * bufferparams.[Ch]: new variables "bool use_natbib" and
14433 "bool use_numerical_citations".
14434 (writeFile): output them in the LyX file.
14436 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14438 * lyxfunc.C (getStatus): add support for all the inset insertion
14441 * text2.C (insertInset):
14442 * paragraph.C (insetAllowed):
14443 * BufferView_pimpl.C (insertInset): update to take in account the
14444 renaming of insertInsetAllowed
14446 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14448 * text2.C (getInset): new method. returns inset at cursor position.
14450 * BufferView_pimpl.C (Dispatch): changes because of this.
14452 * LyXAction.C (init): rename open-stuff to inset-toggle.
14454 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14456 * text2.C (toggleInset): renamed from openStuff; use
14459 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14461 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14463 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14465 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14467 * buffer.C (readLyXformat2): Add filename to the error dialog
14469 2001-07-18 Juergen Vigna <jug@sad.it>
14471 * tabular.C (GetCellNumber): put an assert here instead of the check!
14473 2001-07-17 Juergen Vigna <jug@sad.it>
14475 * BufferView_pimpl.C (toggleSelection): adapted too.
14477 * text.C (selectNextWord): adapted for use with insets.
14478 (selectSelectedWord): ditto
14480 2001-07-17 Juergen Vigna <jug@sad.it>
14482 * sp_spell.C (PSpell): fix initialitation order.
14484 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14486 * paragraph.C: spacing
14488 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14490 * sp_spell.C: repair language selection for pspell
14492 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14494 * lyxfunc.h: change more methods to begin with lower char.
14496 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14498 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14499 for unknown layouts.
14501 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14503 * buffer.C (readLyXformat2): Generate an error dialog if there are
14506 2001-07-16 Juergen Vigna <jug@sad.it>
14508 * sp_spell.C: always compile ISpell part.
14510 * lyxrc.C: added use_pspell entry and it's handling.
14512 2001-07-13 Juergen Vigna <jug@sad.it>
14514 * sp_spell.C: removed double includes.
14516 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14518 Consistent use of Lsstream.h:
14519 * Lsstream.h: added using std::stringstream for consistencies sake.
14521 * buffer.C: removed using std::stringstream
14523 * lyxfont.C (stateText):
14524 * paragraph.C (asString):
14525 * text.C (selectNextWord, selectSelectedWord):
14526 * text2.C (setCounter):
14527 * vspace.C (asString, asLatexString):
14528 std::ostringstream -> ostringstream.
14530 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14532 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14533 * commandtags.h: add LFUN_HELP_ABOUTLYX
14534 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14536 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14538 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14540 * lyx_gui_misc.C: remove spellchecker
14541 * lyxfunc.C: showSpellchecker
14543 * sp_ispell.h: added
14544 * sp_pspell.h: added
14545 * sp_spell.C: added
14546 * sp_form.[Ch]: removed
14547 * spellchecker.[Ch]: removed
14549 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14551 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14553 (simpleTeXSpecialChars): Simply print the input character without
14554 any special translation if pass_thru is set.
14556 * layout.h: Added bool pass_thru to layout class for being able to
14557 implement pass through of a paragraph for Literate Programming.
14559 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14560 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14561 * layout.C (Read): add "passthru" to list of layout tags and add
14562 code to set the pass_thru boolean when it is read.
14564 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14566 * trans_decl.h: remove allowed from KmodInfo
14568 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14569 remove allowed code
14572 * paragraph_pimpl.C (erase): use boost::prior
14574 * Painter.C (text): use data() instead of c_str() when length is
14576 * WorkArea.C (putClipboard): ditto
14577 * font.h (width): ditto
14579 * BufferView2.C: use it-> instead of (*it). for iterators
14581 * paragraph_pimpl.C: ditto
14582 * paragraph.C: ditto
14583 * minibuffer.C: ditto
14584 * language.C: ditto
14586 * encoding.C: ditto
14587 * counters.C: ditto
14588 * converter.C: ditto
14590 * Variables.C: ditto
14591 * TextCache.C: ditto
14592 * MenuBackend.C: ditto
14593 * LyXAction.C: ditto
14595 * FloatList.C: ditto
14596 * DepTable.C: ditto
14597 * ColorHandler.C (LyXColorHandler): ditto
14599 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14601 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14603 * text2.C (openStuff): reintroduce this method (which had been
14604 nuked in NEW_INSETS frenzy).
14606 * lyxfunc.C (Dispatch): when an action has not been handled, use
14607 its name in the error message, not its number.
14609 * paragraph.C (inInset): change method name to begin with lowercase.
14612 * text2.C: updates because of this.
14614 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14616 * ToolbarDefaults.C (add): add spaces in error message
14618 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14620 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14621 (readLyXformat2): rename return_par to first_par, use lyxlex's
14622 pushToken and remove the manual push handling.
14623 (parseSingleLyXformat2Token): add another ert comp. variable:
14624 in_tabular, rename return_par to first_par. handle newlines better
14626 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14628 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14630 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14632 * text2.C (getParFromID): removed
14634 * buffer.C (getParFromID): new method moved form lyxtext.
14635 * BufferView2.C (insertErrors): adjust
14636 (setCursorFromRow): adjust
14637 * BufferView_pimpl.C (restorePosition): adjust
14638 * lyxfunc.C (Dispatch): adjust
14639 * undo_funcs.C (textUndo): adjust
14641 (textHandleUndo): adjust
14642 (textHandleUndo): adjust
14644 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14646 * buffer.C: up' the LYX_FORMAT
14648 * lyxfont.h: turn NO_LATEX on as default
14650 * buffer.C (insertErtContents): new methods of tex style compability.
14651 (parseSingleLyXformat2Token): use it several places.
14652 * tabular.C (OldFormatRead): and here
14654 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14656 * text2.C: remove some commented code.
14659 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14660 * trans.C: changes because of the above.
14662 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14664 * text2.C (setCounter): Fix counters bug with bibliography layout.
14666 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14668 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14669 own member functions
14670 (simpleTeXSpecialChars): ditto
14672 2001-07-06 Juergen Vigna <jug@sad.it>
14674 * a lot of files: changed the access to LyXText::status and the
14675 call of undo-functions.
14677 * undo.[Ch]: added a inset_id to the undo informations.
14679 * undo_funcs.[Ch]: added and moved here all undo functions.
14681 * lyxtext.h: give the status enum a weight, made status_ a private
14682 variable and made accessor functions for it, removed the whole bunch
14683 of undo-functions as they are now in their own file, make some
14684 functions publically available. Added function ownerParagraph with
14687 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14688 made InInset() a const function, added getParFromID() function.
14690 * buffer.[Ch]: added const version for inset_iterator functions,
14691 added getInsetFromID() function.
14693 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14694 changed undo functions for new version.
14696 2001-07-05 Juergen Vigna <jug@sad.it>
14698 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14699 unknow mechanism does not call the proper constructor but only this
14700 one also if I request the other!?
14702 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14704 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14706 * text2.C (LyXText): use initialization lists.
14708 * lyxtext.h (Selection): initialize set_ and mark_
14709 (init): remove method
14711 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14713 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14715 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14717 * screen.[Ch]: change method names to begin with lowercase
14719 * BufferView_pimpl.C (updateScrollbar): simplify further and
14720 hopefully make it a bit faster.
14722 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14724 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14725 calling directly xforms functions.
14727 * Painter.C (Painter):
14728 * lyx_cb.C (MenuWrite):
14729 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14732 * lyx_gui.C: remove bogus guiruntime extern declaration.
14734 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14736 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14738 (redoDrawingOfParagraph): ditto
14739 (redoParagraphs): ditto
14740 (cutSelection): don't create a object for CutAndPaste use the
14741 static method directly
14742 (pasteSelection): ditto
14744 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14747 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14749 * modifications to some other files because of this.
14751 * Makefile.am (lyx_SOURCES): add XFormsView
14753 * XFormsView.[Ch]: new files
14755 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14756 the main window. Move the gui dependent stuff to XFormsView
14758 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14760 * tabular.C (GetCellInset): update cur_cell also in the row/col
14761 version of this function.
14763 * lyxfunc.C: no need to include figure_form.h here.
14769 * lyxvc.C: no need to include forms.h here.
14771 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14773 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14775 * lyxfunc.C (Dispatch):
14777 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14778 constructor argument.
14780 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14782 * paragraph.C (Paragraph): dont't clear, and just set layout.
14783 (makeSameLayout): use params's copy contructor.
14785 * ParagraphParameters.[Ch] (makeSame): delete method
14787 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14789 * Variables.[Ch]: fix indentation, rename set to isSet
14791 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14793 * lyxfunc.C (Dispatch): fix typo
14795 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14797 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14800 * bufferlist.C: include assert.h for emergencyWrite().
14802 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14804 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14805 give up at last (bug #425202) !
14807 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14813 * spellchecker.C: strip spellchecker options and bring up
14814 preferences tab instead
14816 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14818 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14819 the istringstream constructor
14821 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14823 * paragraph.C (getLayout): fix return value
14825 * paragraph.h: do not declare getLayout as inline.
14827 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14829 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14831 * lyxcursor.h (operator<): new func
14832 (operator>): new func
14833 (operator>=): new func
14834 (operator<=): new func
14836 * text.C (changeCase): use selection.start and selection.end
14837 (changeRegionCase): require from to be <= to. Require par to be a
14840 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14842 2001-06-27 Juergen Vigna <jug@sad.it>
14844 * text.C (cursorLeftOneWord): changed to return the cursor and added
14845 overlay with BufferView * parameter which calls this one.
14847 (selectWord): use new getWord function.
14848 (changeCase): renamed from changeWordCase as and extended to work
14849 also on selections.
14851 * lyxtext.h: added enum word_location
14853 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14854 changeCase as this operates now also on selections.
14856 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14858 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14860 * many files: send debug output to Debug::INFO instead of
14863 * converter.C (View):
14865 (Move): send debug output to Debug::FILES instead of console.
14867 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14869 * lyxfunc.C (getStatus): use func_status
14871 * func_status.h: new header, describing the results of
14872 LyXFunc::getStatus;
14874 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14877 2001-06-25 The LyX Project <jug@sad.it>
14879 * buffer.C (sgmlOpenTag):
14881 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14883 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14885 * text2.C: remove some dead code
14887 * tabular.C (GetCellInset): store the last cell checked (gotten)
14889 * tabular.h: add the helper for the speedup
14891 * lyxtext.h: remove some dead code
14893 2001-06-26 The LyX Project <Asger>
14895 * paragraph.C: Change export to LaTeX of alignment to
14896 \begin{center} and family for better roundtrip work with reLyX.
14898 * Tune the math drawing a bit.
14900 2001-06-25 The LyX Project <Asger>
14902 * LColor.C (LColor): New color for math background. New color
14905 2001-06-25 The LyX Project <jug@sad.it>
14907 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14909 * lyxfunc.C (Open):
14910 * bufferlist.C (newFile): do not restrict to files ending with
14913 * BufferView_pimpl.C (MenuInsertLyXFile):
14915 2001-06-24 The LyX Project <jug@sad.it>
14917 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14920 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14922 * lyxtext.h: rename most methods to begin with a small char.
14923 Lots of changes because of this.
14925 * paragraph.C (Paragraph): do not call fitToSize
14926 (erase): call Pimpl::erase
14927 (insertChar): call Pimpl::insertChar
14928 (insertInset): call Pipl::insertInset
14929 (breakParagraph): do not call fitToSize
14930 (breakParagraphConservative): do not call fitToSize
14931 (fitToSize): remove method
14933 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14935 2001-06-24 The LyX Project <Asger>
14937 * Fix Qt compilation^2
14939 2001-06-24 The LyX Project <jug@sad.it>
14941 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14942 depthHook(getDepth()-1).
14945 * ParagraphParameters.h:
14946 * ParameterStruct.h: change type of depth to unsigned int ==
14947 depth_type. Many adaptations to other files before of that.
14949 2001-06-24 The LyX Project <Asger>
14951 * Fix Qt compilation.
14953 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14955 * paragraph.h: renamed several methods to begin with small letter.
14956 several changes to many parts of the code because of this.
14958 2001-06-23 The LyX Project <jug@sad.it>
14960 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14961 rewritten to discard all double spaces when KeepEmpty is off
14962 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14963 to only handle newlines but not fiddle with spaces and friends.
14965 * lyxfunc.C (MenuNew): when doing 'new from template', use
14966 template_path as default directory
14968 2001-06-23 The LyX Project <Asger>
14970 * Clean-up of header file includes all over
14971 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14973 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14975 * paragraph.h: renamed from lyxparagraph.h
14977 2001-06-23 Asger <lyx@violet.home.sad.it>
14979 * Buffer.h: Removed Buffer::resize
14980 * BufferList.h: Removed BufferList::resize
14981 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14982 the document lazily when we change the width, or the font settings.
14984 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14986 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14988 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14990 * buffer.h: remove out of date comment
14992 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14995 * screen.C: fix "theoretical" GC leak
14997 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14999 * LaTeX.C (scanAuxFile):
15000 (deplog): remove trailing \r when reading stream (useful under
15003 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15005 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15006 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15007 and BufferView::theLockingInset(Inset*), so should use them and not
15008 access bv_->text->the_locking_inset directly.
15010 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15012 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15015 * tex-defs.h: remove old unused file
15017 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15019 * BufferView_pimpl.C: fix typo, remove minibuffer message
15020 when buffer has loaded
15022 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15024 * lyxfunc.C (Dispatch): use stringstream
15025 (MenuNew): use stringstream
15026 (Open): use stringstream
15028 * importer.C (Import): use stringstream
15030 * bufferview_funcs.C (CurrentState): use stringstream
15032 * LaTeX.C (run): use stringstream
15034 * BufferView_pimpl.C (savePosition): use stringstream
15035 (restorePosition): use stringstream
15036 (MenuInsertLyXFile): use stringstream
15038 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15051 * vspace.C: removed // -*- C++ -*- as first line.
15054 * version.h: added // -*- C++ -*- as first line.
15056 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15058 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15060 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15063 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15065 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15068 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15070 * gettext.C: include LString.h even when --disable-nls is on.
15072 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15074 * converter.h (Get): changed argument type from int to
15075 FormatList::size_type to avoid unnecessary conversion.
15077 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15080 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15082 * gettext.h: include LString.h even when --disable-nls is on.
15084 2001-06-07 Juergen Vigna <jug@sad.it>
15086 * text.C (BreakAgain): subst spaces with tabs.
15088 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15089 (resizeInsetsLyXText): set force on resizeLyXText.
15091 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15093 * gettext.h (gettext_init):
15094 (locale_init): use a real definition instead of a macro
15096 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15098 * Bufferview_pimpl.C:
15100 * LColor.C: further lcolor tidies
15102 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15104 * BufferView_pimpl.C (updateScrollbar): simplify.
15106 * BufferView2.C: don't include insets/insetinfo.h, change
15107 prototype for insertInset and call the Pimpl version. let
15108 updateInset call Pimpl version.
15110 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15111 gotoInset to BufferView::Pimpl
15113 2001-06-01 Juergen Vigna <jug@sad.it>
15115 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15116 inside a LockingInset (is the update needed at all?).
15118 2001-05-31 Juergen Vigna <jug@sad.it>
15120 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15121 here not the old one otherwise how should we compare it afterwards
15124 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15129 * FontInfo.C: bring C functions into global namespace when
15132 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15134 * LString.h: make sure config.h has been loaded before LString.h.
15136 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15137 (one for each char read by EatLine!).
15139 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15142 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15144 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15145 to the same as the par we break from
15147 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15149 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15151 * MenuBackend.C (expand): also create menu entries for wide
15152 versions of the floats.
15154 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15156 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15158 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15159 frontends/Makefile.am
15165 * tabular.C (getTokenValue): add std::
15167 * tabular-old.C (getTokenValue): add std::
15168 (getTokenValue): ditto
15169 (getTokenValue): ditto
15171 * screen.C (ToggleSelection): adjust
15173 * lyxtext.h: put selection cursors inside a Selection struct.
15175 * lyxfunc.C (moveCursorUpdate): adjust
15177 * lyxfont.C (latexWriteStartChanges): add std::
15179 * lyxfind.C: adjust
15181 * font.h: delete with(char const *, LyXFont const &)
15183 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15185 * FontInfo.C (getFontname): add std::
15187 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15188 (workAreaButtonPress): adjust
15189 (tripleClick): adjust
15191 (moveCursorUpdate): adjust
15194 * BufferView2.C (gotoInset): adjust
15196 2001-05-30 Juergen Vigna <jug@sad.it>
15198 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15199 to check pspell I add this as default as I now have new pspell
15200 libraries and they seem to use this.
15202 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15204 * text2.C (CutSelection): make the cursor valid before the call to
15207 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15209 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15210 relied on 0 terminated strings and other horrors. Bug found due to
15211 the new assert in lyxstring!
15213 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15216 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15218 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15221 * lyxfunc.C (processKeySym): change method of getting to the
15224 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15225 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15226 * BufferView_pimpl.[Ch]: here as private methods.
15228 2001-05-28 Juergen Vigna <jug@sad.it>
15230 * text.C (SetHeightOfRow): added the update() call again as it is
15231 needed to initialize inset dimensions!
15233 2001-05-16 Juergen Vigna <jug@sad.it>
15235 * text2.C (SetCharFont): Add new function with BufferView * and
15236 bool toggleall parameters for setting insets internal fonts.
15237 (SetFont): Freeze the undo as we may change fonts in Insets and
15238 all this change should be inside only one Undo!
15240 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15241 setting font's in insets as for them we have the SetFont function!
15243 2001-05-15 Juergen Vigna <jug@sad.it>
15245 * text2.C (ClearSelection): to be sure we REALLY don't have any
15248 * tabular.C (TeXCellPreamble): fixed the left border problem for
15251 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15253 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15256 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15258 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15259 LFUN_BREAKPARAGRAPH.
15261 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15262 help test to "internal only", similar for LFUN_INSERT_URL
15264 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15265 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15266 auto_region_delete and deadkeys.
15268 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15271 * LColor.C: remove some dead entries, tidy a little
15273 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15275 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15277 (Dispatch): implement LFUN_ESCAPE
15279 * commandtags.h: add LFUN_ESCAPE
15281 * LyXAction.C (init): add entry for LFUN_ESCAPE
15283 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15284 Remove commented code.
15285 (insertNote): moved here
15286 (open_new_inset): moved here
15288 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15291 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15293 * kbmap.C (findbinding): clean it up and make it work correctly.
15295 * lyx_main.C (init): do not pass argc and argv as parameters
15297 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15299 * buffer.C: fix path for OS/2 & Win32
15303 * lyx_main.C: Added os:: class.
15305 * os2_defines.h: update
15307 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15309 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15310 better by trying again with reduced state.
15312 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15314 * lyxrc.C (read): print error about invalid key sequence only when
15315 debugging (because not all latinX keysyms are known to some X
15318 * kbsequence.C (getiso): add a few std:: qualifiers
15319 (getiso): comment out extra return statement.
15321 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15323 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15325 (Dispatch): enhance the accent inset a bit. (not perfect)
15327 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15329 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15331 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15333 * bufferlist.C (emergencyWrite): fix assert() call
15335 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15337 * text.C (InsertChar): Added trivial patch to only send the "you
15338 can not do multiple spaces this way" message once during a
15341 2001-05-08 Baruch Even <baruch@lyx.org>
15343 * Makefile.am: Changed order of libraries to get LyX to link properly
15344 with the gnome frontend.
15346 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15348 * LaTeXFeatures.h: add a std:: qualifier
15350 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15352 * paragraph.C (String): use stringstream
15354 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15356 * paragraph.C (writeFile): remove footflag arg
15358 * buffer.C (makeLaTeXFile): use stringstream
15359 (latexParagraphs): remove footnot gurba
15361 * LaTeXFeatures.C (getPackages): use stringstream
15362 (getMacros): likewise
15363 (getTClassPreamble): likewise
15364 (getFloatDefinitions): new method
15366 * paragraph.C (writeFile): reindent
15369 * WorkArea.h: revert the xpos + etc changes.
15371 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15373 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15375 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15376 (pasteSelection): likewise
15377 * text2.C (CreateUndo): likewise
15379 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15381 * minibuffer.C (peek_event): temporarily reduce the functionality
15382 of the minibuffer (to allow args on lfuns)
15384 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15385 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15387 * buffer.C (readInset): add compability reading of old float
15388 lists, add reading of new style float list.
15389 (readInset): avoid reevaluation of inscmd.getCmdName()
15390 (getLists): reindent
15392 * MenuBackend.C (MenuItem): implement parsing of
15393 md_floatlistinsert and md_floatinsert.
15394 (expand::LastFiles): move initalizaton of iterators out of loop,
15395 avoid reevaluation.
15396 (expand::Documents): introduce typdedef vector<string> Strings,
15398 (expand::ExportFormats): introduce typedef vector<Format const *>
15399 Formats, and use it.
15400 (expand): implement FloatListInsert and FloatInsert.
15402 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15403 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15404 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15406 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15408 (Dispatch::LFUN_FLOAT_LIST): implement
15410 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15412 * LaTeX.C (run): Fix problem with --export code.
15414 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15416 * BufferView.[Ch] (workarea): removed.
15417 (getClipboard) new method; wrapper for workarea()->getClipboard()
15419 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15422 * WorkArea.h (width, height, xpos, ypos): These methods all
15423 returned the dimensions of the work_area sub-area of WorkArea,
15424 resulting in a position error if the WorkArea were resized. Now
15425 return the dimensions of the entire WorkArea.
15427 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15429 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15431 * LaTeX.C (deplog): correct the syntax of regex reg1
15433 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15435 * undo.C: remove !NEW_INSETS cruft
15437 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15439 * text2.C: remove !NEW_INSETS cruft
15441 * text.C: remove !NEW_INSETS cruft
15443 * tabular.C: remove !NEW_INSETS cruft
15445 * spellchecker.C: remove !NEW_INSETS cruft
15447 * lyxtext.h: remove !NEW_INSETS cruft
15449 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15451 * lyxfunc.C: remove !NEW_INSETS cruft
15453 * lyxfind.C: remove !NEW_INSETS cruft
15455 * lyx_cb.C: remove !NEW_INSETS cruft
15457 * figureForm.C: remove !NEW_INSETS cruft
15459 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15461 * buffer.[Ch]: remove !NEW_INSETS cruft
15463 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15465 * CutAndPaste.C: remove !NEW_INSETS cruft
15467 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15469 * BufferView2.C: remove !NEW_INSETS cruft
15471 * BufferView.h: remove !NEW_INSETS cruft
15473 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15475 * Lsstream.h: include LString.h before the sstream headers to
15476 fix problem with gcc 2.95.3 and lyxstring
15478 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15480 * lyx_main.C: add using directives when needed for C functions
15481 declared in std:: namespace.
15483 2001-04-27 Juergen Vigna <jug@sad.it>
15485 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15486 (SetHeightOfRow): comment out the update call should not be needed!
15488 2001-04-13 Juergen Vigna <jug@sad.it>
15490 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15491 (LyXTabular): tried to minimize operator= operations (and realized
15492 hopfully Lars wish).
15494 2001-04-27 Juergen Vigna <jug@sad.it>
15496 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15498 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15500 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15502 * buffer.C (readInset): hack to make listof algorithm work
15504 * BufferView_pimpl.C: hack to make listof algorithm work
15506 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15508 * LyXAction.C: removed all !NEW_INSETS cruft
15509 (init): moved lfun_item in method
15511 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15513 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15515 * BufferView2.C (theLockingInset): white space.
15517 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15519 * minibuffer.C: include <iostream>
15521 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15523 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15525 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15527 * text.[Ch] (TransposeChars): new method
15529 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15531 * call message directly through LyXView instead of through LyXFunc
15532 * BufferView2.C: adjust
15533 * BufferView_pimpl.C: adjust
15534 * FontLoader.C: adjust
15536 * bufferview_funcs.C: adjust
15537 * converter.C: adjust
15538 * figureForm.C: adjust
15539 * importer.C: adjust
15541 * lyx_gui_misc.C: adjust
15542 * lyxfunc.C: adjust
15545 + more files in subdirs
15547 * lyxparagraph.h (size): move up int file
15550 * adjust all uses of Assert to lyx::Assert.
15552 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15553 lyxfunctional in namespace lyx
15554 * layout.C (hasLayout): ditto
15557 (delete_layout): ditto
15558 (NumberOfClass): ditto
15559 * converter.C (GetFormat): ditto
15564 * bufferlist.C (getFileNames): ditto
15565 (emergencyWriteAll): ditto
15568 * MenuBackend.C (hasSubmenu): ditto
15571 * BufferView_pimpl.C (getInsetByCode): ditto
15573 2001-04-18 Juergen Vigna <jug@sad.it>
15575 * vspace.C (asLatexString): fixed the 100% problem.
15577 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15579 * lyxfunc.C (Dispatch):
15581 * minibuffer.h: add a few std:: qualifiers
15583 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15585 * minibuffer.[Ch]: reimplement so that commands is initiated and
15586 run from lyxfunc, simplified som handling, and made the completion
15587 and history code for complete. wip.
15589 * lyxfunc.C (processKeySym): call message
15590 (miniDispatch): new temporary method
15591 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15592 (LFUN_MESSAGE): implement
15593 (LFUN_MESSAGE_PUSH): implement
15594 (LFUN_MESSAGE_POP): implement
15595 (initMiniBuffer): the initial/defualt minibuffer message.
15597 * lyxfont.[Ch]: inline some more getters
15599 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15601 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15603 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15604 (AutoSave): use LFUN_MESSAGE
15605 (Reconfigure): ditto
15607 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15609 * figureForm.C: use LFUN_MESSAGE
15611 * converter.C (runLaTeX): use LFUN_MESSAGE
15613 * bufferview_funcs.C: use LFUN_MESSAGE
15615 (changeDepth): ditto
15617 * bufferparams.h: use boost::
15619 * bufferlist.h: inherit privately from noncopyable
15621 * bufferlist.C (loadLyXFile): remove some commented code.
15623 * buffer.C (runChktex): use LFUN_MESSAGE
15625 * ShareContainer.h: inherit privately from noncopyable
15627 * ParagraphParameters.[hC] (depth): inline it.
15629 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15631 (message): new method
15632 (messagePush): ditto
15633 (messagePop): ditto
15634 (show): init minibuffer
15635 (showState): direct call
15637 * LaTeX.[Ch]: inherit privately from noncopyable
15638 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15639 instead of WriteStatus.
15641 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15643 * BufferView_pimpl.C (buffer): don't init minibuffer
15644 (workAreaButtonPress): use LFUN_MESSAGE
15645 (workAreaButtonRelease): ditto
15646 (savePosition): ditto
15647 (restorePosition): ditto
15648 (MenuInsertLyXFile): ditto
15649 (workAreaExpose): don't init minibuffer
15650 (update): remove commented code, simplify
15652 * BufferView2.C (openStuff): use LFUN_MESSAGE
15653 (toggleFloat): ditto
15656 (copyEnvironment): ditto
15657 (pasteEnvironment): ditto
15662 (updateInset): remove some commented code
15664 * lastfiles.h: inherit privately from noncopyable
15667 * lyx_main.h: ditto
15669 * lyxlex_pimpl.h: ditto
15671 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15672 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15673 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15675 * LyXAction.h: inherit privately from noncopyable, add methods
15676 func_begin, func_end, returning iterators to the func map.
15678 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15679 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15680 (func_begin): new method
15681 (func_end): new method
15683 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15685 (copySelection): ditto
15686 (pasteSelection): ditto
15688 * BufferView.C: whitespace change
15689 * BufferView.h: inherit privately from noncopyable
15691 2001-04-16 Allan Rae <rae@lyx.org>
15693 * tabular-old.C (l_getline):
15694 * spellchecker.C (sc_check_word):
15695 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15696 an unrecognised preprocessor directive. So ensure they're wrapped.
15698 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15700 * src/exporter.C (Export): Give an error message when path to file
15703 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15705 * LaTeX.C (deplog): Always check that foundfile exists.
15707 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15710 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15712 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15714 * tabular.[Ch] (getLabelList): implement new method
15716 * minibuffer.h: comment ouf setTiimer
15718 * minibuffer.C (ExecutingCB): constify res
15719 (peek_event): constify s
15720 (Set): constify ntext
15721 (Init): constify nicename
15723 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15725 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15726 (savePosition): use two params to Minibuffer::Set
15727 (restorePosition): ditto
15729 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15731 * lyx_main.C: include language.h
15733 * Makefile.am (lyx_main.o): add language.h
15735 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15741 * CutAndPaste.C: include gettext.h
15743 * lyxfont.h: remove old hack with ON and OFF.
15746 * lyxfont.h: do not include language.h...
15751 * bufferview_funcs.C:
15757 * paragraph.C: ... but do it here instead
15759 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15761 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15763 * tabular.C: small reformat
15765 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15768 (BreakParagraph): ditto
15769 (SetOnlyLayout): ditto
15772 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15775 * lastfiles.C: removed most using decl, add std:: where needed
15777 * buffer.C: ws changes
15779 * MenuBackend.C (class compare_format): put into anon namespace
15780 (expand): constify label, names, action, action2
15783 * text.C (SingleWidth): constify font
15784 (IsBoundary): constify rtl2
15785 (GetVisibleRow): constify ww
15787 * LaTeX.C (deplog): constify logfile
15789 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15791 (workAreaExpose): constify widthChange, heightChange
15793 * lyxrow.C (par): moved
15796 * lyxrow.h: as inlines here
15798 * lyxfont.h (shape): moved from lyxfont.C
15799 (emph): moved from lyxfont.C
15801 * lyxfont.C (LyXFont): use initialization list for all
15803 (shape): move to lyxfont.h as inline
15804 (emph): move to lyxfont.h as inline
15807 2001-04-04 Juergen Vigna <jug@sad.it>
15809 * vspace.C: had to include stdio.h for use of sscanf
15811 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15814 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15815 independent of xforms.
15817 2001-04-02 Juergen Vigna <jug@sad.it>
15819 * spellchecker.C: fixed namespace placing!
15821 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15823 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15824 the LyXParagraph * is 0.
15826 2001-03-29 Juergen Vigna <jug@sad.it>
15828 * vspace.C: added support for %, c%, p%, l%.
15829 (stringFromUnit): added helper function.
15830 (asLatexString): changed to give right results for the %-values.
15832 * buffer.C: convert the widthp in a width%.
15834 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15836 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15839 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15840 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15842 * lyx_cb.[Ch]: see above.
15844 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15848 * lyx.[Ch]: replaced by figure_form.[Ch].
15852 * lyxfunc.C: changed headers associated with above changes.
15854 2001-03-27 Juergen Vigna <jug@sad.it>
15856 * BufferView_pimpl.C: set the temporary cursor right!
15858 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15860 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15862 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15864 * LString.h: removed "using std::getline"!
15866 * BufferView_pimpl.C (Dispatch): changes due to changes in
15867 InsetInclude::Params.
15869 * buffer.C (tag_name): removed redundant break statements as they were
15870 producing lots of warnings with my compiler.
15872 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15874 * LString.h: add "using std::getline" when using the real <string>.
15876 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15878 * buffer.C: removed bitset usage.
15879 PAR_TAG moved to an anonymous name space.
15880 (tag_name): new funtion, also in the anonymous namespace.
15881 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15882 (makeDocBookFile): clean code. Completed transition from string arrays
15884 (SimpleDocBookOnePar): code clean.
15886 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15888 * tabular.C: add some comments.
15890 2001-03-22 Juergen Vigna <jug@sad.it>
15892 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15893 compatibility read a bit and fixed bug with minipage in different
15896 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15898 * buffer.C (pop_tag): removed.
15899 (push_tag): removed.
15900 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15901 array replaced with vector. Added support for CDATA sections.
15902 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15904 (makeDocBookFile): XML conformant declaration of CDATA section,
15905 fixed bug related to <emphasis> in the first paragraph char.
15906 (sgmlOpenTag): exclude empty tags.
15907 (sgmlCloseTag): ditto.
15909 * buffer.h (pop_tag): removed.
15910 (push_tag): removed.
15912 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15914 * language.h (Languages): added size_type and size().
15916 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15918 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15919 response on compability reading of minipages. One probliem is that
15920 the old usage of minipages was «flertydig»
15922 * several files here and in subdirs: don't use static at file
15923 scope use anon namespaces instead.
15925 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15927 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15928 LaTeX output. This is necessary for Literate document
15931 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15933 * buffer.C: insert hfill when needed.
15935 * tabular.C (l_getline): use string::erase, small whitespace change.
15937 * BufferView_pimpl.C: try the anon namespace.
15938 * WorkArea.C: ditto
15940 2001-03-16 Juergen Vigna <jug@sad.it>
15942 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15943 otherwise it won't open options-dialogs.
15945 * buffer.C: honor pextraWidth(p) on converting minipages.
15947 * tabular.C (l_getline): changed the functions to strip trailing \r.
15949 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15951 * BufferView_pimpl.C:
15952 * minibuffer..C: added "using SigC::slot" declaration.
15954 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15956 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15962 * paragraph.C: ditto
15964 * lyxtext.h: NO_PEXTRA
15966 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15968 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15969 * ParameterStruct.h: ditto
15970 * ParagraphParameters.h: ditto
15971 * lyxparagraph.h: ditto
15973 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15975 * buffer.C: add compability for minipage alignment.
15976 (latexParagraphs): remove unwanted pextra check.
15978 * several files: remove CXX_WORKING_NAMESPACES
15980 * buffer.C (pop_tag): tie is in namespace boost
15982 * BufferView.h: noncopyable is in namespace boost
15984 * lyx_main.h: ditto
15987 * lastfiles.h: ditto
15988 * bufferlist.h: ditto
15989 * ShareContainer.h: ditto
15991 * LyXAction.h: ditto
15994 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15996 * Merging changes from BRANCH_MVC back into HEAD.
15998 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16000 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16002 * BufferView_pimpl.C: change from intl.C
16006 * Makefile.am: move combox.*
16012 * intl.C: remove dialog (covered by prefs)
16014 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16016 * lyxfunc.C (Dispatch): removed redundant break statement.
16018 2001-03-14 Juergen Vigna <jug@sad.it>
16020 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16022 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16024 * buffer.C: add hack to fix compability reading of minipages.
16026 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16028 * buffer.C (getLists): Cleanup.
16030 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16032 * lyxfont.C (update): don't honor toggleall on font size.
16034 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16038 * Makefile.am: moved to frontends/xforms/
16042 * BufferView_pimpl.C: changes for moved mathpanel
16044 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16046 * gettext.h: fix gettext_init() in --disable-nls
16048 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16050 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16052 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16055 * lyx.h: strip external form
16057 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16059 * BufferView_pimpl.C: add comment, destroySplash()
16061 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16063 * BufferView_pimpl.C:
16067 * lyxfunc.C: use re-worked insetinclude
16069 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16071 * buffer.C: add using std::stringstream.
16073 * lyx_cb.C: readd using std::ios.
16075 * buffer.C: add using std::map.
16077 * BufferView_pimpl.C: add using std::vector.
16079 * ShareContainer.h: add std:: to swap.
16081 * buffer.h: add some typedefs
16082 * buffer.C (getLists): use them
16083 (getLists): renamed from getTocList.
16084 add a counter for the different float types and use it in the
16086 (getLists): use the same counter for the NEW_INSETS and the "non"
16089 * lyx_cb.h: remove unused items, includes, using etc.
16091 * ShareContainer.h: remove some commented code, add more comments
16092 and "documentation".
16094 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16096 * buffer.C (getTocList): make the list also when NEW_INSETS is
16099 * buffer.h: remove TocType
16101 * buffer.C (getTocList): change to return a map<string,
16102 vector<TocItem> >, implement for dynamic number of list.
16104 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16105 * text2.C (PasteSelection): adjust
16106 * CutAndPaste.C (pasteSelection): adjust
16108 * FloatList.C (FloatList): update from the new_insets branch.
16109 * Floating.[Ch]: ditto
16110 * LaTeXFeatures.C: ditto
16112 * lyxlex_pimpl.C: ditto
16114 * paragraph.C (Last): remove when NEW_INSETS is defined.
16116 * other file: changes because of the above.
16118 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16120 * lyxparagraph.h: rename next to next_, previous to previous_,
16121 make them private for NEW_INSETS. Rename Next() to next(),
16122 Previous() to previous().
16124 * other files: changes because of the above.
16126 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16129 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16132 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16134 * main.C (main): pass lyx_localedir to gettext_init().
16136 * gettext.h: remove locale_init and gettext_init macros
16138 * gettext.C (locale_init): new function
16139 (gettext_init): new function
16141 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16144 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16146 * Moved credits to frontends:
16147 * credits.[Ch]: removed
16148 * credits_form.[Ch]: removed
16149 * lyx_gui_misc.C: remove credits stuff
16152 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16154 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16156 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16157 unneeded destructor.
16159 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16160 a standalone pointer again.
16162 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16164 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16170 * ToolbarDefaults.C:
16179 * BufferView_pimpl.C: use new file dialog in GUII
16182 * lyx_cb.C: remove LayoutsCB to Toolbar
16184 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16186 * ShareContainer.h (get): add std:: qualifier
16188 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16190 * ShareContainer.h: define a proper ShareContainer::value_type
16191 type (and use typename to please compaq cxx)
16193 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16195 * lyxparagraph.h: move serveral local vars to
16196 ParameterStruct/ParagraphParameters., use ShareContainer in
16197 FontTable., make vars in FontTable private and add getter and
16200 * paragraph.C: changes because of the above.
16202 * lyxfont.h: remove copy constructor and copy assignment. (the
16203 default ones is ok), move number inside FontBits. move inlines to
16206 * lyxfont.C: add number to initializaton of statics, move several
16207 inlines here. constify several local vars. some whitespace
16208 cleanup. Dont hide outerscope variables.
16210 * Spacing.h: add two new constructors to match the set methods.
16212 * ShareContainer.h: new file, will perhaps be moved to support
16214 * ParameterStruct.h: new file
16216 * ParagraphParameters.h: new file
16218 * ParagraphParameters.C: new file
16220 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16221 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16223 * BufferView_pimpl.C: ParagraphParameter changes.
16224 * buffer.C: Likewise.
16225 * bufferview_funcs.C: Likewise.
16226 * text.C: Likewise.
16227 * text2.C: Likewise.
16229 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16231 * lyxfind.C (LyXReplace): do not redefine default argument in
16233 (IsStringInText): ditto
16234 (SearchForward): ditto
16235 (SearchBackward): ditto
16237 2001-03-06 Juergen Vigna <jug@sad.it>
16239 * lyxfind.C (IsStringInText): put parentes around expressions.
16241 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16243 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16245 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16247 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16249 * stl_string_fwd.h: add comment
16251 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16254 * tabular.C: remove unused DocBook methods
16260 killed DO_USE_DEFAULT_LANGUAGE
16262 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16264 * lyx_gui.C: do not include language.h.
16266 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16267 arguments in function implementation.
16269 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16271 * BufferView_pimpl.C: add <ctime>
16273 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16275 * BufferView_pimpl.C: add using std::find_if
16277 2001-02-27 José Matos <jamatos@fep.up.pt>
16279 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16282 2001-02-11 José Matos <jamatos@fep.up.pt>
16284 * buffer.C (makeDocBookFile): command styles now have a parameter as
16285 "title" by default.
16287 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16289 * layout_forms.[Ch]: removed
16290 * lyx_cb.[Ch]: out character
16291 * lyx_gui.C: out character
16292 * lyx_gui_misc.C: out character
16293 * bufferview_funcs.C: : out character,
16294 added toggleall as parameter in ToggleAndShow
16296 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16298 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16300 * text2.C (SetCurrentFont): Disable number property at boundary.
16302 2001-02-26 Juergen Vigna <jug@sad.it>
16304 * lyxfunc.C (getStatus): added a string argument override function so
16305 that this is correctly called from LyXFunc::Dispatch if it contains a
16306 do_not_use_argument which is used!
16307 (Dispatch): added check for "custom" export and call appropriate func.
16309 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16311 * lyxrc.C: Add language_command_local, language_use_babel and
16312 language_global_options.
16314 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16316 * buffer.C (makeLaTeXFile): Use language_use_babel and
16317 language_global_options.
16319 2001-02-23 Juergen Vigna <jug@sad.it>
16321 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16322 which works with LyXText and putted it inside BufferView. Here now we
16323 only call for that part the BufferView::Dispatch() function.
16325 * BufferView.C (Dispatch): added.
16327 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16328 functions which needs to use a LyXText over from LyXFunc.
16329 (MenuInsertLyXFile): added
16330 (getInsetByCode): added
16331 (moveCursorUpdate): added
16332 (static TEXT): added
16334 2001-02-22 Juergen Vigna <jug@sad.it>
16336 * BufferView_pimpl.C (update): call a status update to see if LyXText
16339 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16341 * vc-backend.C (revert): implement for CVS
16342 (getLog): implement for CVS
16344 2001-02-20 Juergen Vigna <jug@sad.it>
16346 * text2.C (ClearSelection): added BufferView param for inset_owner call
16348 * lyxfunc.C (TEXT): added this function and use it instead of
16349 directly owner->view()-text of getLyXText().
16351 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16353 * src/layout_forms.C: out preamble
16354 * src/layout_forms.h: out preamble
16355 * src/lyx_cb.C: out preamble
16356 * src/lyx_cb.h: out preamble
16357 * src/lyx_gui.C: out preamble
16358 * src/lyx_gui_misc.C: out preamble
16359 * src/lyxfunc.C: connect with guii preamble
16361 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16363 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16365 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16367 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16368 whether to run bibtex.
16370 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16372 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16374 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16376 * Makefile.am (lyx_SOURCES): removed bibforms.h
16378 * vspace.h: doxygen
16380 * text.C (GetVisibleRow): make several local vars const
16382 * tabular.C: small cleanup.
16384 * lyxserver.C (callback): use compare instead of strncmp
16386 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16387 inlines to after class or to paragraph.C
16389 * lyxfont.h: remove friend operator!=
16391 * converter.h: move friend bool operator< to non friend and after
16394 * combox.h: small cleanup
16396 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16397 to inlines after class def.
16399 * buffer.C (pop_tag): use string operations instead of strcmp
16401 * bmtable.c: doxygen, small cleanup
16403 * LaTeX.h: remove friend operator==
16405 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16417 * BufferView_pimpl.C:
16418 * BufferView.[Ch]: remove cruft
16420 2001-02-14 Juergen Vigna <jug@sad.it>
16422 * lyxfunc.C: removed #if 0 unused code
16424 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16426 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16428 * text2.C (SetSelection): added a BufferView * parameter
16430 2001-02-13 Juergen Vigna <jug@sad.it>
16432 * lyxfunc.C (Dispatch): fixed protected blank problem.
16433 * BufferView2.C (protectedBlank): added LyxText * parameter.
16435 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16436 (AppendColumn): same as above for column_info.
16438 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16439 (moveCursorUpdate): use a LyXText param for support of InsetText.
16441 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16442 (tripleClick): ditto
16444 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16446 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16448 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16450 * text2.C (SetSelection): set correct update status if inset_owner
16451 (ToggleFree): ditto
16453 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16455 * tabular.C: remove some commented code.
16457 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16459 * BufferView_pimpl.C: call hideSplash()
16461 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16464 * bibforms.h: remove
16467 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16468 add LFUN_CHILD_CREATE
16470 * counters.h: fix tiny typo
16475 * lyx.C: move splash to frontends/xforms/
16477 * lyx_gui_misc.C: move Include and Bibform to frontends
16479 * lyxvc.h: clarify comment
16481 * vspace.C: tiny housekeeping
16483 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16485 * text.C (PrepareToPrint): RTL Fix.
16487 * paragraph.C (GetUChar): New method.
16488 (String): Use GetUChar.
16490 * buffer.C (asciiParagraph): Use GetUChar.
16492 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16494 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16496 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16499 * buffer.C: rename to getLogName(), handle
16500 build log / latex log nicely
16502 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16505 * MenuBackend.h: remove support for reference menuitem type.
16507 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16509 * BufferView_pimpl.C: housekeeping
16510 * BufferView_pimpl.h:
16515 * minibuffer.h: move Timeout GUI-I
16517 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16519 * lyxrc.C (read): Update converters data-structures.
16521 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16523 * LaTeX.h (operator!=): add operator != for Aux_Info
16525 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16527 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16529 * LaTeXLog.C: deleted, useful code moved to Buffer
16532 * buffer.C: new function getLatexLogName()
16538 * lyxfunc.C: use frontends for LaTeX and VC logs
16540 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16542 * LaTeX.h: yet another std:: that Allan forgot.
16544 * Variables.C (set): renamed from isset(), because this clashes
16545 with some HP-UX macros (grr).
16547 2001-02-06 Allan Rae <rae@lyx.org>
16549 * LaTeX.h: Another bug fix. Missing std:: this time.
16551 2001-02-04 Allan Rae <rae@lyx.org>
16553 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16554 floats problem. I've left it commented out because it's not quite
16555 correct. It should also test that the current object is a table or
16556 figure inset. But I haven't gotten around to figuring out how to do
16557 that. I *think* it'll be something like: "table" == inset.type()
16559 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16562 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16564 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16565 all the citation/databases/styles in the auxilary file.
16566 (run): Rerun latex if there was a babel language error.
16568 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16570 * text.C (Backspace): Preserve the font when changing newline char
16572 (BreakParagraph): If the cursor is before a space, delete the space.
16574 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16576 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16578 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16579 new argument (code).
16580 (ChangeCitationsIfUnique): New method.
16582 * paragraph.C (GetPositionOfInset): Handle bibkey.
16584 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16586 * BufferView_pimpl.h: change type of Position::par_pos to
16587 LyXParagraph::size_type.
16589 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16591 * BufferView_pimpl.C (savePosition, restorePosition): Write
16592 messages to minibuffer.
16594 2001-01-28 José Matos <jamatos@fep.up.pt>
16596 * buffer.C (makeDocBookFile): adds support for document language.
16597 A silly restriction on the name of LatexCommand types where removed.
16598 Added support for CDATA sections, allows to chars unescaped, used
16599 among others in code, to avoid escape < and >.
16601 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16603 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16604 saved positions instrad of a stack. Furthermore, a position is
16605 stored using paragraph id/paragraph position.
16607 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16608 Remove LFUN_REF_BACK.
16610 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16612 * converter.C (dvipdfm_options): New method.
16614 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16616 * vspace.C (isValidLength): Fix for empty input string.
16618 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16620 * LyXAction.C (init): change description of LFUN_FIGURE to
16623 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16625 * LaTeX.C: add using directive
16627 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16629 * MenuBackend.C (expand): Fix the sorting of the formats.
16631 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16633 * lyx_main.C: tiny error message fix
16635 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16637 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16638 calling fl_initialize(). This fixes the problem with ',' as
16639 decimal separator in text files.
16641 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16643 * trans.C (process): Fix the keymap bug.
16645 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16647 * LaTeX.C (scanAuxFiles): New method. Provides support for
16648 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16649 (scanLogFile) Scan for "run BibTeX" messages.
16651 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16652 OT1 font encoding. Also, load the aecompl package if the ae
16655 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16657 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16659 * texrow.C (increasePos): turn two error messages into debug
16662 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16664 * LaTeX.C (scanAux): Handle the \@input macro.
16665 (runBibTeX): Use scanAux().
16667 * language.C (latex_options_): New field.
16669 * LaTeXFeatures.C (getMacros): Add language macros.
16671 * buffer.C (makeLaTeXFile): Small fix.
16673 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16675 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16677 * text2.C: add a using directive.
16679 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16684 * lyxfunc.C: kill LyXBell.
16686 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16688 * text.C (IsBoundary): Remove the error message
16690 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16692 * lyxrc.C (setDefaults): Correct initialization value for
16695 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16697 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16700 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16701 and GotoNextNote().
16703 * src/LyXAction.C: Added reference-next.
16705 * text.C (InsertChar): Use contains instead of strchr.
16707 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16709 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16711 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16712 alignment commands (when needed).
16714 * text.C (InsertChar): Add ':' to number separator chars.