1 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
3 * paragraph.[Ch] (autoBreakRows): remove
5 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
7 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
8 avoid using the paragraph one
10 * text2.C (LyXText, insertStringAsLines): adjust
12 2004-12-16 Angus Leeming <leeming@lyx.org>
16 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
18 2004-12-14 Angus Leeming <leeming@lyx.org>
20 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
22 * bufferlist.C (emergencyWrite):
23 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
26 2004-12-14 Angus Leeming <leeming@lyx.org>
28 * main.C: (main): no longer pass pointers to os::init.
30 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
32 * undo.C (textUndoOrRedo): simplify logic, fix a crash
33 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
35 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
38 * text3.C: remove selection_possible global flag
40 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
42 * text2.C (getSelectionSpan): remove
43 (changeDepth, changeDepthAllowed): adjust
45 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
47 * Makefile.am (BOOST_LIBS): use boost variables
49 2004-12-03 José Matos <jamatos@lyx.org>
51 * buffer.C: format up to 238.
53 2004-12-03 José Matos <jamatos@lyx.org>
55 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
57 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
59 * cursor.C (goUpDown): remove call to idxUpDown2
61 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
63 * tabular.[Ch]: use size_t-like types for cell, row and column
66 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
68 * lyxfunc.C (getStatus): do not lose previous information when
69 calling BufferView::getStatus; do not set a default "Command
70 disabled" message at the beginning, but just before returning.
72 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
74 * cursor.h (getStatus): add better comment from src/cursor.C
76 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
78 * text3.C (getStatus): return false when the lfun is not handled
80 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
82 * broken_headers.h: remove
84 * Makefile.am (lyx_SOURCES): remove broken_headers.h
86 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
88 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
91 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
92 top_y_, merge fitcursor with update
93 (updateScrollbar, scrollDocView, fitCursor, center, update): new
96 (workAreaDispatch): adapt to new coord scheme
97 (redoCurrentBuffer): remove
99 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
101 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
104 * coordcache.[Ch]: add paragraph cache and helpers
106 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
109 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
110 (targetX, setTargetX): introduce
112 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
113 baseline -> ascent, as the rest of lyx
115 * lyxtext.h: remove redoParagraphs, updateParPositions,
116 fullRebreak, redoParagraphInternal. move dist to anon namespace in
117 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
118 have ascent/descent (ascent is ascent of first par)
120 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
123 * paragraph.[Ch]: unify dimension handling with the rest of lyx
125 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
127 * pariterator.C: fix infinite loop introduced in par->pit renaming
129 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
130 in insets and LyXText, draw two off-screen paragraphs using
131 NullPainter, and adapt to new coord scheme
135 * text3.C: adapt lfun handlers to the new coord scheme, which
136 means: there's only guaranteed coord information for onscreen pars
137 plus one above and one below. This implies that one can do search
138 from y coordinates in the range [-1,workHeight]
140 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
142 * rename a lot of InsetOld to InsetBase
144 2004-11-25 Angus Leeming <leeming@lyx.org>
146 * BufferView_pimpl.C:
148 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
150 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
152 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
153 call BufferView::getStatus if LCursor::getStatus did nothing
154 (setStatusMessage, getStatusMessage): removed.
156 * FuncStatus.C (message): new methods. Used to provide an error
157 message indicating why a command is disabled.
158 (clear, |=, FuncStatus): update for message.
160 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
162 * lyxfunc.C (dispatch): always call sendDispatchMessage
164 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
167 * BufferView_pimpl.C:
181 * undo.C: par->pit renaming
183 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
185 * tabular.C (cellstruct): use initialization, store a shared_ptr
186 to insettext instead of the insettext directly, adjust to fit.
187 (operator=): new function
189 (rowstruct): use initialization
190 (columnstruct): use initialization
191 (ltType): use initialization
194 * lyxlength.h (swap): new function
196 * LColor.[Ch] (operator=): use the common semantics
198 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
200 * lyxfind.C (findNextChange): update the bufferview after setting
203 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
205 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
206 number of InsetOptArgs has already been inserted.
208 * output_latex.C (latexOptArgInsets): new method. This outputs all
209 the optarg insets, up to the limit defined in the layout file.
210 (optArgInset): removed
211 (TeXOnePar): call latexOptArgInsets; correctly update texrow
213 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
215 * paragraph.C (isLetter): remove special spellchecker-related
216 code; return true also for digits
217 (isWord, isKomma): remove
219 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
220 * lyxfind.C (MatchString()): use isLetter instead of isWord
222 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
224 * pariterator.h (operatir=): comment out un-implemented member
227 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
230 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
232 * lyxfont.h: include LColor.h to satisfy concept checks.
234 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
236 * pariterator.h: add typdefs for value_type, difference_type,
237 pointer and reference to satisfy concept checks. Also add default
238 constructor for same reason.
240 * pariterator.C (operator++): add post-increment operator to
241 satisfy concept checks.
243 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
246 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
248 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
249 checks. Also rename base_type to BaseType to follow naming
252 * FloatList.h: include Floating.h to satisfy concept checks.
254 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
256 * lyxfunc.C (getStatus): when the origin of the request is menu or
257 toolbar, and the LyXView does not have focus, do as if there was
260 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
261 FuncRequest to individual entries of LFUN_SEQUENCE
263 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
265 * output_latex.C (TeXOnePar): override runparams.moving_arg
266 according to the needprotect value of the current paragraph (bug
269 * paragraph.C (simpleTeXOnePar): no need to override
270 runparams.moving_args here
272 2004-11-14 John Spray <spray_john@users.sourceforge.net>
274 * vspace.C: fix off-by-one-error, related to fix #1682
276 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
278 * lengthcommon.C: a more general fix for bug 1682
280 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
282 * text.C (backspace): fix crash
284 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
286 * format.[Ch] (getFormatFromFile): new method
287 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
289 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
291 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
293 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * lyxfunc.C (dispatch): remove the verbose argument
296 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
299 * kbmap.C (defkey): set the origin of func to KEYBOARD
301 * MenuBackend.C (MenuItem):
302 * ToolbarBackend.C (add): set the origin of func to UI
304 * funcrequest.[Ch]: add origin member, which indicates which part
305 of LyX requests an action
307 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
309 * converter.C (move): don't lie in the error message
310 * converter.h (isReachable, move): document
312 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
314 * buffer.C: remove unused using lyx::support::atoi
315 * paragraph_funcs.C: ditto
317 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
319 * bufferlist.C (exists): use bind and equal_to instead of
322 * lyxtextclasslist.C (NumberOfClass): ditto
324 * cursor.C (insert): use for_each instead of explicit for loop
326 * bufferlist.C (getFileNames): use std::transform and
327 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
329 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
332 * buffer.C (changeLanguage): use for_each instead of explicit for
334 (hasParWithID): implement using getParFromID
336 * LaTeXFeatures.C: ws change only
338 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
341 * BufferView_pimpl.C (trackChanges): use for_each instead of
344 2004-11-04 André Pönitz <poenitz@gmx.net>
347 * undo.C (textUndoOrRedo): fix crash when creating undo information.
349 * dociterator.C (asDocIterator): use hard assert again.
351 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * lyxlength.C (asLatexString): rewrite so that it does not use
356 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
358 * text3.C (specialChar, dispatch): make sure cursor moves to the
359 right after inserting an inset
361 2004-11-02 José Matos <jamatos@lyx.org>
363 * output_docbook.C (docbook):
364 * paragraph.C (getID):
365 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
366 garantee that the output is always legal.
368 * tabular.C (docbook):
369 * outputprams.[Ch]: remove mixed contents.
371 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
373 * text2.C (setCounter): prevent endless loop
375 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
377 * exporter.C (copyFile): use the mover instead of support::copy()
378 * exporter.C (Export): pass format and latex name to copyFile()
379 * exporter.h (addExternalFile): document
380 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
382 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
384 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
386 2004-10-30 José Matos <jamatos@lyx.org>
388 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
389 text and no inset or font change. This allows to use CDATA
390 sections just for the whole paragraph.
392 2004-10-30 José Matos <jamatos@lyx.org>
394 * paragraph.C (getFirstWord): remove unused variable.
396 2004-10-30 José Matos <jamatos@lyx.org>
398 * paragraph.C (getFirstWord): the content should always be escaped
400 (simpleDocBookOnePar):
401 * output_docbook.C (makeEnvironment): replace reference to CDATA
404 2004-10-30 José Matos <jamatos@lyx.org>
406 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
408 2004-10-30 José Matos <jamatos@lyx.org>
410 * output_docbook.C (makeParagraphs):
411 * paragraph.[Ch] (emptyTag): for docbook and company, if the
412 standard paragraph has only a given type of content drop the wrapper.
414 2004-10-29 José Matos <jamatos@lyx.org>
416 * output_docbook.C (makeEnvironment):
418 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
420 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
422 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
423 (cleanID): sanitize any id.
425 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
427 * buffer.C, lyxlex_pimpl.C:
428 * lyxlex_pimpl.C (setFile):
429 s/getExtFromContents/getFormatFromContents/
431 2004-10-28 José Matos <jamatos@lyx.org>
433 * output_docbook.C (makeEnvironment): move id to broadest possible
436 * sgml.C (openTag): apply substitution of <> for all attributes.
438 2004-10-28 José Matos <jamatos@lyx.org>
440 * buffer.C (makeLinuxDocFile, makeDocBookFile):
441 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
442 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
444 * sgml.[Ch]: new version for open and closeTag for paragraph and
445 for strings. Now they handle the ids of paragraphs.
447 2004-10-26 Angus Leeming <leeming@lyx.org>
449 * Makefile.am: add mover.[Ch].
451 * converter.C (convert, move): use the new Movers to move external
452 files to the temp directory.
454 * lyx_main.C (init): ensure that the global system_movers data
457 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
460 * mover.[Ch]: new files, defining a Mover as a utility to move an
461 external file between directories and, if necessary, manipulate this
462 file using a helper script.
464 2004-10-25 José Matos <jamatos@lyx.org>
466 * output_docbook.C (makeCommand): merge two if's that tested the
469 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
471 * sgml.C (escapeString): fix warning in a better way
473 2004-10-25 José Matos <jamatos@lyx.org>
475 * sgml.C (escapeString): import the require boosts header file for
476 tie, and avoid a signed unsigned comparison.
478 2004-10-25 José Matos <jamatos@lyx.org>
480 * sgml.h: add #include <string>
482 2004-10-25 José Matos <jamatos@lyx.org>
484 * sgml.[Ch] (escapeString): new function to escape all the string.
486 2004-10-24 José Matos <jamatos@lyx.org>
488 * paragraph.[Ch] (getFirstWord): new function to get the first
489 word. Useful for description.
490 (simpleDocBookOnePar): remove depth argument, add another that
491 says where to start the paragraph.
493 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
494 use the new functions to fix cleanly the support for descriptions.
496 2004-10-24 José Matos <jamatos@lyx.org>
498 * buffer.C (makeLinuxDocFile, makeDocBookFile):
499 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
500 * output_linuxdoc.C (linuxdocParagraphs):
501 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
502 add buffer as argument.
504 2004-10-24 José Matos <jamatos@lyx.org>
506 * output_docbook.C (makeEnvironment, searchEnvironment): place
507 CDATA inside paragraphs and fix scope for listitems.
509 2004-10-24 José Matos <jamatos@lyx.org>
511 * output_docbook.C: remove using statement for stack.
513 2004-10-23 José Matos <jamatos@lyx.org>
515 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
516 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
517 docbook. The new scheme is recursive and makes use of iterators, the
518 same as latex export works.
519 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
520 directly with the paragraph contents. This code was moved up to
521 output_docbook.C (docbookParagraphs).
522 * sgml.C (openTag, closeTag): removed unneeded newlines.
523 (closeEnvTags) removed.
525 2004-10-23 André Pönitz <poenitz@gmx.net>
527 * undo.C (textUndoOrRedo):
528 * dociterator.C (asDocIterator): work around crash
530 * cursor.C (getStatus): replace ASSERT by more verbose error message
531 and manual correction of the problem. Should increase stability
532 while providing more sensible information.
534 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
536 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
538 * bufferlist.C (previous, next): new methods
541 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
543 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
545 * buffer.C (makeDocBookFile): add dsssl stylesheet control
546 entities to preamble.
548 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
550 * messages.C (Pimpl): strip off translation context information
552 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
554 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
555 the cursor is correct (bug 1694)
557 2004-10-13 José Matos <jamatos@lyx.org>
559 * output_docbook.C (docbookParagraphs): fix closing tags in the
562 2004-10-09 José Matos <jamatos@lyx.org>
564 * buffer.C: format up to 237.
565 * bufferparams.C (write): use tostr to convert booleans to strings.
567 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
569 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
571 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
573 * LaTeX.C: implement use of babel language in xindy.
575 2004-10-05 José Matos <jamatos@lyx.org>
577 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
578 Add new translators to help reading and writing the lyx file.
580 2004-10-05 José Matos <jamatos@lyx.org>
582 * ParagraphParameters.C (read):
583 * text.C (readParToken): replace nexToken by more appropriate lex
586 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
588 * LaTeX.C (runMakeIndex):
589 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
590 (usually 'makeindex') configurable.
592 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
593 with a variable rather than with a number.
595 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
597 * output_latex.C (TeXOnePar): make sure font setting is the first
598 thing that gets output (and the last at the end). Should fix bug
601 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
603 * pch.h: use proper signal include
605 * LaTeX.h: Use preferred calling of Boost.Signal
608 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
610 * pch.h: dont include <boost/function/function0.hpp>
612 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
614 * paragraph_pimpl.h: remove usage of ShareContainer
616 * paragraph_pimpl.C: remove initialization of ShareContainer.
618 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
622 * BufferView.C (putSelectionAt): change the semantics when
623 backwards == true: now, this just swaps cursor and anchor wrt the
626 * BufferView.h (putSelectionAt): add some documentation
628 * lyxfind.C (findBackwards): rewrite using while(). In particular,
629 make sure backwardChar is done at least once (to avoid getting
631 (findNextChange): use putSelectionAt in the forward direction
632 (operator()): use Paragraph::isWord
634 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
636 * Spacing.C (set): c_str fix
638 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
640 * lyx_cb.C (Reconfigure): quote the name of configure script in
641 case it contains spaces
643 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
647 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
648 (BOOST_LIBS): use top_buildir when looking for the file
650 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
652 * pch.h: do not use include boost/format.hpp, multiple symbols
653 will result (gcc bug)
656 2004-08-23 José Matos <jamatos@lyx.org>
658 * bufferparams.C (readToken): fix reading of the author field.
660 2004-08-20 José Matos <jamatos@lyx.org>
662 * lyxrc.C: remove support/translator.h inclusion since it is not used.
664 2004-08-20 José Matos <jamatos@lyx.org>
666 * lyxlex.[Ch] (findToken): remove function.
668 * ParagraphParameters.C (findToken):
669 * bufferparams.C (findToken): replace call for previous function
670 with local copy. This local function has one more argument, the
671 read string argument.
673 2004-08-16 José Matos <jamatos@lyx.org>
675 * ParagraphParameters.C (write):
676 * Spacing.C (writeFile):
677 * bufferparams.C (writeLaTeX):
678 * lyx_cb.C (Reconfigure):
679 * paragraph.C (write):
680 * tabular.C (write): remove unnecessary space at end of line.
683 2004-08-16 José Matos <jamatos@lyx.org>
685 * text.C (readParagraph): remove debug message.
687 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
689 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
692 * output_plaintext.C (asciiParagraph): set depth correctly
694 * outputparams.h: add member depth
696 * paragraph_funcs.C (ownerPar): remove.
698 * text2.C (setCounter): remove first_pit; comment out some
699 non-working code that uses ownerPar
701 * BufferView.C (getParentLanguage): remove. Not used anymore, and
704 2004-08-16 José Matos <jamatos@lyx.org>
706 * text.C (readParToken, readParagraph, read): report all unknown tokens.
707 For the same level of importance use the same chanel to report problems.
708 (read): add code to deal with \begin_body and \end_body.
711 2004-08-15 José Matos <jamatos@lyx.org>
713 * lyxlex.C (getString): fix comment, buffer::readBody is now
716 * tex-strings.C (string_papersize): Default -> default,
717 Custom -> custom, for consistency with other options.
719 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
723 * Makefile.am: support pch
725 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
727 * text.C (readParToken): remove the static LyXFont variable and
728 pass it as a parameter instead. This fixes a nasty bug where an
729 inset will be inserted with a bad font in some situations
730 (readParagraph): adapt
732 * text2.C (setCounter): reduce number of calls to pars_[pit]
734 * text.C (singleWidth): add an assert, fix a test
736 * rowpainter.C (paintText): reduce number of calls to singleWidth
738 * paragraph.C (isHfill):
741 2004-08-14 André Pönitz <poenitz@gmx.net>
746 * lyxtext.h (several functions): use a Paragraph & argument
749 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
751 * metricsinfo.h: add a new field ltr_pos to PainterInfo
753 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
755 * text.C (singleWidth): remove useless test
757 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
759 * tabular.h: remove bogus comments
761 * tabular.C (getDescentOfRow):
762 (isPartOfMultiColumn): add assertions
764 * lyxlength.C (inPixels): remove #warning
766 2004-08-14 André Pönitz <poenitz@gmx.net>
768 * paragraph.h: inline getChar()
770 * BufferView.h: remove unused declarations
772 2004-08-14 José Matos <jamatos@lyx.org>
774 * Buffer.[Ch] (readDocument): new name for old readBody.
775 * Buffer.C: new file format, new keywords: \begin_document,
776 \begin_header, \begin_body, \end_body.
778 * bufferparams.C (readToken): replace all calls to lex.nextToken
779 by lex.next(). Do the same to eatLine except where really needed.
781 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
782 line when writing to the lyx file.
784 * output_plaintext.C (asciiParagraph): fix Bibliography style
787 * text.C (read): fix end of file handling.
789 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
791 * MenuBackend.C (Menu::operator[]): new method to access
792 individual menu items
793 (Menu::hasFunc): new method. search for an item that corresponds
795 (MenuBackend::specialMenu): new method
796 (MenuBackend::expand): if a special menu has been set, skip
797 entries whose func() appears in this menu
799 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
801 * text3.C: use Debug::DEBUG a bit more
803 * text.C (leftMargin): try to simplify a tiny bit change var x to
804 l_margin. Dont output the wide margins always.
805 (rightMargin): no margin in inner texts
807 * rowpainter.h (nestMargin): new func
808 (changebarMargin): new func
809 (rightMargin): new func
811 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
815 * factory.C (createInset): modify setDrawFrame
817 * cursor.C: use Debug::DEBUG a bit more
819 2004-08-14 André Pönitz <poenitz@gmx.net>
822 * Makefile.am: new files to accomodate an 'external' (x,y)-position
823 cache for all insets in (at least partially) visible (top-level)
826 * BufferView_pimpl.C: reset external coord cache before every update.
827 This means the coord cache only contains valid entries.
829 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
832 * BufferView_pimpl.C (getInsetByCode): move function out of class
833 and change in to a template in anon namespace. Also fix to do what
836 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
839 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
841 (breakParagraph): rename par to par_offset and use a local
842 reference. Add code to keep the language over a rebreak.
843 (breakParagraphConservative): rename par to par_offset, use a
845 (mergeParagraph): ditto
847 (isFirstInSequence): ditto
848 (outerFont): rename pit to par_offset
850 * paragraph.C: ws change
855 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
857 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
860 * paragraph.C (simpleTeXOnePar): when we have a \item with
861 optional argument, enclose the argument with curly brackets (in
862 case it contains a closing square bracket)
866 * text3.C (checkInsetHit): constify
868 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
870 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
873 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
875 Fix toggling of collapsable insets with the mouse (bug 1558)
877 * lyxfunc.C (dispatch): adapt to LCursor changes
879 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
880 make sure that dispatch is not invoked twice
882 * cursor.C (needsUpdate): new method
883 (dispatch): return void
884 (result): new method, to access the DispatchResult of the cursor.
886 2004-08-13 José Matos <jamatos@lyx.org>
888 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
890 2004-08-13 André Pönitz <poenitz@gmx.net>
892 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
894 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
897 2004-08-12 André Pönitz <poenitz@gmx.net>
899 * text3.C: take out the 'cursor right' form insertInset and only
900 do it in those places when it is really needed. Fixes crash on
903 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
905 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
907 * BufferView_pimpl.C (setBuffer): initialize the current font of
908 the underlying LyXText
910 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
912 * kbsequence.C (print): use UI native formatting for menu
915 * text.C (insertChar): call Paragraph::insertChar with a font
918 * paragraph.C (insertInset, insertChar): the version that takes a
919 LyXFont argument is now a wrapper around the other one (the
920 opposite used to be true).
922 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
923 argument. Font setting is done in Paragraph now.
925 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
927 * outputparams.h: add new members intitle and lang.
929 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
930 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
932 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
934 * text3.C (dispatch): remove special handling of button 4 and 5,
935 it is now taken care of in the frontend code.
937 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
939 * Spacing.h: add <string> (STLPort compile fix)
941 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
943 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
945 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
947 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
950 * converter.C (showMessage): inherit from unary_function, make
953 * buffer.C (writeFile): initialize retval
955 * InsetList.h: rename private variable list to list_
956 * InsetList.[Ch]: adjust accordingly.
958 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
960 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
961 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
962 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
963 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
964 * ParagraphParameters.C, LaTeXFeatures.C: replace
965 "support/std_sstream.h" with <sstream>
967 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
969 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
970 * lyxsocket.C (LyXServerSocket): ditto
971 (serverCallback): ditto
973 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
975 * LaTeXFeatures.C: check release date when loading jurabib.
977 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
979 * lyxserver.C (startPipe): call register_socket_callback
980 (endPipe): call unregister_socket_callback
982 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
984 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
985 (LyXServerSocket): register the callback
986 (LyXServerSocket): unregister the callback
987 (fd): delete function
988 (serverCallback): improve error checking and setup the callbacks.
989 (dataCallback): change arg to fd.
990 (writeln): new func (copied fro the client socket) used for server
992 (LyXDataSocket): simplify
993 (~LyXDataSocket): close ann unregiser callback
994 (server): delete function
995 (fd): delete function
996 (readln): small changes, improve some std::string usage
997 (writeln): constify a bit
999 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1001 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1004 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1006 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1007 after it has been populated
1009 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1011 * text2.C (insertInset): move cursor when inserting inset.
1013 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1015 * kbmap.C (findbindings): a couple of new methods. returns a
1016 container of kb_sequence objects. The real work is done by the
1017 private recursive version
1018 (printbindings): uses findbindings to print out a bracketed list
1019 of bindings (renamed from findbinding).
1021 * MenuBackend.C (binding): use kb_keymap::findbindings
1023 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1025 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1027 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1029 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1031 * paragraph.C (isWord): return true on insets that report
1034 * text.C (getWord): use Paragraph::isWord to decide what is in a
1035 word and what is not; fix bug 1609.
1037 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1039 * tex-strings.C: add "none" to string_paperpackages[], fixes
1040 off-by-one-error in the paperpackage selection.
1043 * tex-strings.[Ch]: char const * string[n]
1044 -> char const * const string[]
1046 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1048 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1049 command, return early.
1051 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1053 * debug.h: add DEBUG to enum and fix size of ANY.
1055 * debug.C: add support for Debug::DEBUG
1056 (showTags): cast errorTags.level to unsigned int
1058 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1059 (redoCurrentBuffer): ditto
1060 (updateScrollbar): ditto
1061 * cursor.C (dispatch): ditto
1062 * text2.C (setLayout): ditto
1064 (updateCounters): ditto
1066 (deleteEmptyParagraphMechanism): ditto
1068 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1070 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1071 annotations to cleanup the Makefile slightly.
1073 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1075 * lyxrc.C: do not set user_email to a default value but use empty
1076 instead. The entry used to be translated, which does not work
1077 since at the point where lyxrc is constructed there is no
1078 translation service available
1080 * messages.C (getLocaleDir): remove and use directly
1081 lyx_localedir() instead
1083 2004-06-02 Angus Leeming <leeming@lyx.org>
1085 Fix crash caused by dereferencing null pointer 'exportdata' in
1086 OutputParams by creating a new ExportData variable on the heap,
1087 storing it in a boost::shared_ptr.
1088 The crash was triggered when generating an Instant Preview
1089 of an external inset.
1091 * Makefile.am: add outputparams.C
1093 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1094 (c-tor): allocate memory to it.
1096 * exporter.C (c-tor): associated changes.
1098 2004-06-01 Angus Leeming <leeming@lyx.org>
1100 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1101 contains data before calling isInset(0). (Bug 1513.)
1103 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1105 * exporter.C (checkOverwrite): new method
1106 * exporter.C (copyFile): new method
1107 * exporter.C (Export): copy referenced files to the document dir
1108 * exporter.[Ch]: new class ExportedFile
1109 * exporter.[Ch]: new class ExportData. Contains currently the
1110 names of referenced external files
1111 * outputparams.h: add exportdata member.
1113 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1115 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1118 2004-05-19 Angus Leeming <leeming@lyx.org>
1123 * lyxfunc.C: small changes due to the introduction of namespace
1124 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1126 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1128 * text3.C (dispatch): supress update when only moving the cursor
1129 * cursor.C (selHandle): remove commented code
1131 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1133 * paragraph.C (startTeXParParams): correct column count
1134 * CutAndPaste.C (pasteSelection): remove const_cast
1135 * output_docbook.C (docbookParagraphs): remove const_cast
1136 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1137 const_cast and return ParagraphList::const_iterator
1138 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1139 * output_plaintext.C (writeFileAscii): remove const_cast
1140 * paragraph.[Ch] (simpleTeXOnePar): make const
1141 * paragraph_funcs.C (outerPar): use const iterators
1142 * paragraph_pimpl.C (validate): use const iterators
1143 * text.C (setHeightOfRow): use const iterators
1145 2004-05-17 Angus Leeming <leeming@lyx.org>
1148 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1150 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1151 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1152 if the citation engine has changed.
1154 2004-05-14 José Matos <jamatos@lyx.org>
1156 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1157 if the textclass does not provide it. Have it different for sgml and
1159 support the language of document.
1160 * output_docbook.C (docbookParagraphs):
1161 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1162 first anchor as the id of the paragraph, remove special case code.
1163 * sgml.C (escapeChar): escape only < & >.
1165 2004-05-14 Angus Leeming <leeming@lyx.org>
1167 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1168 dependencies on src/frontends/controllers/biblio.h. Define a
1169 CiteEngine_enum wrapper class to enable the enum to be forward
1172 2004-05-12 Angus Leeming <leeming@lyx.org>
1174 * buffer.C: up LYX_FORMAT to 234.
1175 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1176 use_numerical_citations with a single biblio::CiteEngine cite_engine
1178 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1180 2004-05-13 José Matos <jamatos@lyx.org>
1183 * converter.C (Converter, readFlags): add xml member.
1184 * outputparams.h: add XML flavor.
1185 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1187 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1189 * lyxfunc.C (dispatch):
1190 (getStatus): fix handling of LFUN_SEQUENCE
1192 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1194 * debug.C (showLevel): do not forget the end-of-line marker
1196 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1198 * kbmap.C (read): do not stop parsing a bind file when an error
1201 2004-04-29 Angus Leeming <leeming@lyx.org>
1206 * text2.C: wrap a bunch of #warning statements
1207 inside #ifdef WITH_WARNINGS blocks.
1209 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1211 * buffer.C: increment format to 233.
1213 2004-04-28 Angus Leeming <leeming@lyx.org>
1215 * BufferView_pimpl.C:
1218 s/updateToolbar()/updateToolbars()/
1219 s/Toolbar.h/Toolbars.h/
1221 2004-04-28 Angus Leeming <leeming@lyx.org>
1223 * BufferView.[Ch] (c-tor):
1224 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1225 No longer passes these data to the WorkArea generator.
1227 2004-04-28 Angus Leeming <leeming@lyx.org>
1229 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1231 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1233 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1235 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1237 * output_latex.C (TeXEnvironment): make sure that there is a line
1238 break before \end{foo} for the last paragraph of a document
1239 (TeXOnePar): if the paragraph is at the end of the document (or
1240 inset) and the language has to be reset, then make sure that the
1241 line break is _before_ the language command, not after (fixes bug
1242 1225); also make sure that the language reset command is the first
1243 thing after the paragraph (to ensure proper nesting of
1244 environments and thus fix bug 1404)
1246 2004-04-21 John Levon <levon@movementarian.org>
1249 * ToolbarBackend.C: make "name" be a programmatic name
1250 and a gui_name field.
1252 * lyxfunc.C: display the minibuffer on M-x
1254 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1256 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1259 2004-04-19 Angus Leeming <leeming@lyx.org>
1261 * BufferView_pimpl.C (setBuffer): changed preview interface.
1263 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1266 2004-04-19 John Levon <levon@movementarian.org>
1268 * BufferView_pimpl.C:
1269 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1271 2004-04-05 Angus Leeming <leeming@lyx.org>
1273 * text.C (redoParagraphs): add call to updateCounters(), thereby
1274 fixing the missing "Figure #:" label from the caption of a
1277 2004-04-13 Angus Leeming <leeming@lyx.org>
1279 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1280 cursor is clicked out of an inset.
1282 2004-04-13 Angus Leeming <leeming@lyx.org>
1284 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1285 than an InsetOld one.
1287 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1289 * format.[Ch]: add editor to Format
1290 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1291 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1293 2004-04-08 André Pönitz <poenitz@gmx.net>
1295 * metricsinfo.h: remove PainterInfo::width member
1297 2004-04-08 Angus Leeming <leeming@lyx.org>
1299 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1300 "\providecommand" rather than "\newcommand", thereby preventing
1301 clashes with packages that define "\boldsymbol" themselves.
1304 2004-04-08 Angus Leeming <leeming@lyx.org>
1306 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1307 thereby squashing an unnecessary warning.
1309 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1311 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1314 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1316 * BufferView.C (setCursor): call redoParagraph (some insets could
1318 (putSelectionAt): remove the 'double update' trick
1320 * BufferView_pimpl.C (fitCursor): call refreshPar
1321 (workAreaDispatch): remove an uneeded update call
1322 (dispatch): remove some manual update calls
1324 * cursor.[Ch]: remove cached_y_, updatePos
1325 (selHandle): set noUpdate when appropriate
1327 * lyxfunc.C (dispatch): track if we need an update
1329 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1331 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1332 (paintSelection): cheap optimization, do not call cursorX when not
1334 (paintPars): change signature
1337 (paintTextInset): adjust
1341 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1343 * lengthcommon.C: compilation fix: remove explicit array size from
1344 unit_name[] and friends
1346 2004-04-05 Angus Leeming <leeming@lyx.org>
1348 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1350 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1351 present only for the preferences dialog.
1352 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1354 2004-04-05 Angus Leeming <leeming@lyx.org>
1356 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1357 to enable the frontends to export changes to lyxrc correctly.
1359 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1361 2004-04-07 André Pönitz <poenitz@gmx.net>
1363 * cursor.[Ch] (selClear, adjust): remove math
1365 * cursor_slice.C: more agressive assert
1368 * BufferView_pimpl.C: rework mouse event dispatch
1375 2004-04-05 André Pönitz <poenitz@gmx.net>
1377 * cursor.[Ch] (valign, halign...): remove unneeded functions
1379 2004-04-05 Angus Leeming <leeming@lyx.org>
1381 * lyxlength.[Ch] (unit_name et al.): const-correct.
1383 2004-04-05 Angus Leeming <leeming@lyx.org>
1385 * BufferView_pimpl.C:
1394 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1396 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1398 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1400 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1402 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1403 * BufferView_pimpl.[Ch] (getStatus)
1404 * BufferView.[Ch] (getStatus): add
1405 * lyxfunc.C (getStatus): move lfuns handled in
1406 BufferView::dispatch to te function above
1407 * Cursor.C (setSelection): set selection() = true
1409 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1411 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1413 2004-03-31 Angus Leeming <leeming@lyx.org>
1415 * lyxfunc.C (dispatch): Fall through to the generic
1416 Dialogs::show("preamble").
1418 2004-03-31 Angus Leeming <leeming@lyx.org>
1420 * lyxfunc.C (dispatch): Fall through to the generic
1421 Dialogs::show("spellchecker").
1423 2004-03-31 Angus Leeming <leeming@lyx.org>
1425 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1428 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1433 * insetiterator.[Ch]:
1438 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1440 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1442 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1443 insets where we are putting the cursor.
1445 2004-03-31 Angus Leeming <leeming@lyx.org>
1448 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1450 * lyxrc.[Ch] (read, write): overloaded member functions taking
1451 a std::[io]stream arguments.
1453 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1455 2004-03-31 Angus Leeming <leeming@lyx.org>
1457 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1458 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1460 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1461 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1463 2004-03-31 Angus Leeming <leeming@lyx.org>
1465 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1466 the LFUN_ALL_INSETS_TOGGLE code.
1468 2004-03-30 Angus Leeming <leeming@lyx.org>
1470 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1471 has died. Fall through to the generic Dialogs::show("document").
1473 2004-03-30 Angus Leeming <leeming@lyx.org>
1476 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1477 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1479 * lyxfunc.C (getStatus, dispatch): define the actions for these
1480 lfuns. Little more than a cut and pste job from ControlDocument.C
1482 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1484 2004-03-30 Angus Leeming <leeming@lyx.org>
1487 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1488 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1490 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1491 open/closed state of ollapsable insets. Usage:
1493 all-inset-toggle <state> <name>, where
1494 <state> == "open" || "closed" || "toggle" and
1495 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1497 * lyxtext.h, text2.C (toggleInset): removed.
1499 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1500 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1501 now passes LFUN_INSET_TOGGLE to the found inset.
1503 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1504 is now invoked as "all-insets-toggle toggle branch".
1506 2004-03-30 Angus Leeming <leeming@lyx.org>
1510 * pariterator.[Ch]: added/corrected header blurb.
1512 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1514 * dociterator.[Ch]: add an inset_ member
1515 (backwardPos): implemented
1516 (backwardPos, forwardPos): use inset_ when the stack is empty.
1517 (doc_iterator_begin, doc_iterator_end): implemented
1518 * pariterator.[Ch]: adjust, add begin, end
1519 * insetiterator.[Ch]: adjust, add begin, end
1523 * BufferView_pimpl.C:
1524 * CutAndPaste.C: adjust
1526 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1528 * buffer.C: increment file format to 232.
1529 * LaTeXFeatures.C: add bibtopic package.
1530 * bufferparams.[Ch]: param \use_bibtopic.
1532 * lyxrc.[Ch]: add lyxrc bibtex_command
1533 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1535 * buffer.C: increment file format to 231.
1537 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1539 * dociterator.C: implement forwardPar
1540 * iterators.[Ch]: remove, replaced by
1541 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1543 * BufferView_pimpl.C:
1546 * bufferview_funcs.C:
1552 * Makefile.am: adjust
1554 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1556 * CutAndPaste.C (pasteSelection): fix 2 crashes
1557 (eraseSelection): fix a crash
1558 * paragraph_funcs.C: remove a warning
1560 2004-03-28 Angus Leeming <leeming@lyx.org>
1563 * LyXAction.C (init): new LFUN_PRINT.
1565 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1567 2004-03-27 Angus Leeming <leeming@lyx.org>
1570 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1572 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1574 2004-03-27 Angus Leeming <leeming@lyx.org>
1576 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1577 insetlist always contains non-null pointers to insets.
1579 2004-03-26 Angus Leeming <leeming@lyx.org>
1581 * src/BufferView_pimpl.C:
1582 * src/CutAndPaste.C:
1585 * src/output_plaintext.C:
1586 * src/outputparams.h:
1587 * src/paragraph_funcs.C:
1591 * src/frontends/controllers/ControlErrorList.C:
1592 * src/frontends/gtk/FileDialogPrivate.C:
1593 * src/frontends/gtk/GPainter.C:
1594 * src/frontends/gtk/GToolbar.C:
1595 * src/frontends/qt2/QRef.C:
1596 * src/mathed/math_scriptinset.C: squash compiler warnings.
1598 2004-03-26 Angus Leeming <leeming@lyx.org>
1600 * ispell.C (LaunchIspell::start):
1601 * lyx_cb.C (AutoSaveBuffer::start):
1602 invoke run(DontWait) rather than runNonBlocking().
1604 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1606 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1608 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1610 * kbsequence.C (print): adjust
1612 * kbmap.C (printKeySym): rename and change signature
1613 (printKey): use LyXKeySym::print()
1615 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1617 * undo.C: add using std::advance to compile for stlport
1619 2004-03-24 Angus Leeming <leeming@lyx.org>
1621 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1622 it leads to a crash when no buffer is present.
1624 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1625 Martin Vermeer <martin.vermeer@hut.fi>
1627 * lyxfunc.C (dispatch):
1628 * bufferparams.C (readToken): use the new LColor::setColor
1630 * LColor.[Ch] (setColor): new version that takes two strings as
1631 argument and creates a new color entry if necessary
1633 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1635 * buffer.C (makeLaTeXFile): if the main latex file that is
1636 processed is usually a subdocument of some master, then pretend
1637 for a while that it is actually the master
1639 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1641 * buffer.C (getLabelList):
1642 (getBibkeyList): use getMasterBuffer()
1643 (getMasterBuffer): new method. Returns the main document in the
1644 case where one is using included documents.
1646 2004-03-25 André Pönitz <poenitz@gmx.net>
1650 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1652 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1654 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1655 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1657 * ParameterStruct.h: merge with ParagraphParameters
1659 * lyxtext.h: remove LyXText::parOffset() and getPar()
1661 * text3.C: Remove all 'manual' update calls. We do now one per user
1662 interaction which is completely sufficient.
1666 * BufferView_pimpl.C:
1667 * FontIterator.[Ch]:
1669 * ParagraphParameters.[Ch]:
1674 * cursor_slice.[Ch]:
1681 * output_docbook.[Ch]:
1682 * output_latex.[Ch]:
1683 * output_linuxdoc.[Ch]:
1684 * output_plaintext.[Ch]:
1686 * paragraph_funcs.[Ch]:
1687 * paragraph_pimpl.[Ch]:
1695 * frontends/controllers/ControlDocument.C:
1696 * frontends/controllers/ControlErrorList.C:
1697 * frontends/controllers/ControlSpellchecker.C:
1700 * insets/insetbase.h:
1701 * insets/insetbibitem.C:
1702 * insets/insetbox.C:
1703 * insets/insetbranch.C:
1704 * insets/insetcaption.C:
1705 * insets/insetcharstyle.C:
1706 * insets/insetcharstyle.h:
1707 * insets/insetcollapsable.C:
1708 * insets/insetcollapsable.h:
1709 * insets/insetert.C:
1710 * insets/insetfloat.C:
1711 * insets/insetfoot.C:
1712 * insets/insetmarginal.C:
1713 * insets/insetnote.C:
1714 * insets/insetoptarg.C:
1715 * insets/insettabular.C:
1716 * insets/insettext.C:
1717 * insets/insettext.h:
1718 * insets/insetwrap.C:
1719 * mathed/math_mboxinset.C:
1720 * mathed/math_nestinset.C:
1721 * mathed/math_scriptinset.C:
1722 * mathed/math_scriptinset.h:
1725 2004-03-24 Angus Leeming <leeming@lyx.org>
1727 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1728 deal with any child processes that have finished but are waiting to
1729 communicate this fact to the rest of LyX.
1731 2004-03-24 Angus Leeming <leeming@lyx.org>
1733 64-bit compile fixes.
1735 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1736 (c-tor): pass lyx::pos_types rather than ints.
1738 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1741 * text.C (Delete): compile fix.
1742 (getPar): ensure that function declaration is the same as that in
1745 2004-03-23 Angus Leeming <leeming@lyx.org>
1747 * ispell.C (LaunchIspell):
1748 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1749 a boost::shred_ptr rather than a std::auto_ptr.
1751 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1753 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1754 handle LFUN_FILE_INSERT_*
1756 * lyxrc.C (setDefaults, getDescription, output, read):
1757 * lyxrc.h: remove ps_command
1759 2004-03-22 Angus Leeming <leeming@lyx.org>
1761 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1762 Ensure that error_handler is processed once only and that all data
1763 is saved before attempting to output any warning messages.
1765 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1767 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1769 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1771 2004-03-19 André Pönitz <poenitz@gmx.net>
1773 * cursor.[Ch] (reset): take main text inset as argument
1775 * BufferView: adjust
1776 * BufferView_pimpl.C: adjust
1778 * paragraph.[Ch]: fix completely broken operator=()
1780 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1782 * LColor.C (getFromLyXName): make sure that the color name is used
1785 2004-03-17 Angus Leeming <leeming@lyx.org>
1788 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1790 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1791 dialog and to kill a forked process.
1793 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1795 * text2.C (setCursorFromCoordinates): fix font problem
1797 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1799 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1800 bogus "rebuild cursor" code
1802 2004-03-11 André Pönitz <poenitz@gmx.net>
1804 * buffer.[Ch]: use InsetText instead of LyXText as container for
1807 * dociterator.[Ch]: drop the BufferView * member which is not needed
1808 anymore after the change to buffer.C
1810 * paragraph_funcs.C:
1814 * BufferView_pimpl.[Ch]:
1816 * cursor_slice.[Ch]: adjust
1818 * text3.C: fix bug in mathDispatch
1820 2004-03-08 André Pönitz <poenitz@gmx.net>
1822 * undo.[Ch]: use 'StableDocumentIterator' as base for
1825 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1828 * bufferparams.[Ch]: add jurabib support and param.
1830 * LaTeX.C: add FIXME/comment.
1832 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1834 * buffer.C: increment file format to 230.
1836 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1838 * cursor.C (dispatch): avoid infinite loops
1840 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1842 * rowpainter.C (paintSelection): fix x coordinates
1844 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1846 * text.C (rowBreakPoint): fix breaking before displayed insets
1848 2004-03-01 André Pönitz <poenitz@gmx.net>
1850 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1852 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1856 * BufferView_pimpl.C:
1864 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1870 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1871 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1873 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1875 * Bidi.[Ch] (computeTables): const correctness
1876 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1877 fill_hfill, fill_label_hfill and x from Row
1878 * lyxtext.h: prepareToPrint returns a RowMetrics
1879 * rowPainter.C: adjust
1880 * text.C (prepareToPrint): use width, not textWidth. adjust
1881 (redoParagraphInternal, cursorX): adjust
1882 * text2.C (getColumnNearX): adjust
1883 (init): put a default value to the top LyXText::width
1885 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1887 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1889 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1891 * lyxtext.h: add FontIterator class
1893 * text.C (FontIterator, operator*, operator->, operator++): add
1894 (rowBreakPoint, setRowWidth): adjust (fixing a
1897 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1899 * BufferView_pimpl.C (workAreaDispatch): allow also
1900 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1902 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1904 * text.C (rowBreakPoint): fix a bug showing with very large insets
1906 2004-02-25 André Pönitz <poenitz@gmx.net>
1909 * cursor.[Ch]: move some mathed specific code to mathed
1911 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1913 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1914 use_tempdir in preferences
1915 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1917 * lyx_main.C: ensure that tempdir is valid
1918 * lyxlex.h: correct typo
1919 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1920 * paragraph.[Ch] (isMultiLingual): make const
1921 * cursor.[Ch] (openable): make const
1923 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1925 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1927 2004-02-20 André Pönitz <poenitz@gmx.net>
1929 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1931 * cursor.[Ch]: prepare for localized getStatus()
1937 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1939 2004-02-20 André Pönitz <poenitz@gmx.net>
1941 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1943 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1945 * text2.C (setCursorFromCoordinates): switch to absolute coords
1947 (cursorDown): adjust
1948 * text3.C (dispatch): adjust
1950 2004-02-16 André Pönitz <poenitz@gmx.net>
1952 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1955 * cursor_slice.[Ch]: remove unneeded acessor function
1957 * lyxtext.h: rename rtl() to isRTL()
1965 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1967 * rowpainter.C (paintSelection): coord fix
1969 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1971 * Spacing.C: compile fix
1973 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1975 * cursor.C (dispatch): restore current_ before returning
1977 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1979 * text2.C (cursorUp, cursorDown): fix coords
1982 2004-02-12 André Pönitz <poenitz@gmx.net>
1987 * text3.C: add LCursor & parameter to most cursor movement functions
1988 remove usage of LyXText::cursorRow() and cursorPar()
1990 * cursor.[Ch]: add textRow() needed members
1993 * BufferView_pimpl.C:
1996 * BufferView_pimpl.C: adjust
1998 2004-02-11 André Pönitz <poenitz@gmx.net>
2002 * BufferView_pimpl.C: shift undo/redo handling
2004 * cursor.[Ch]: fix mathed crash
2007 * lyxtext.h: move selectionAsText to LCursor
2015 * rowpainter.C: fix excessive drawing
2017 2004-02-06 André Pönitz <poenitz@gmx.net>
2020 * BufferView_pimpl.[Ch]:
2021 * text3.C: move some text specific LFUN handling
2023 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2025 * text3.C (checkInsetHit): adjust coords
2026 * text2.C (getColumnNearX): adjust coords
2027 (edit): adjust coords
2028 * text.C (getRowNearY): add two asserts
2030 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2033 * format.C: add using std::distance to compile on gcc 2.95/stlport
2035 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2037 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2039 2004-02-04 André Pönitz <poenitz@gmx.net>
2041 * BufferView.[Ch] (insertInset):
2042 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2047 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2049 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2050 on the default clause of the switch
2051 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2052 wasn't catched by LCursor::dispatch
2054 2004-02-03 André Pönitz <poenitz@gmx.net>
2057 * cursor.[Ch]: some additional asserts
2059 * undo.[Ch]: remove LyXText dependency in interface
2063 * lyxtext.h (firstPar, lastPar): remove dead functions
2068 * paragraph.[Ch]: adjust
2070 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2072 * lyxfind.C (find): fix argument order in call to ::find
2074 2004-02-02 André Pönitz <poenitz@gmx.net>
2076 * cursor.[Ch]: remove direct access to anchor
2078 * text.C: remove findText() hack
2080 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2082 * iterators.[Ch] (lockPath): remove in favour of...
2083 * BufferView.[Ch] (setCursor): this addition
2084 * BufferView.C (putSelectionAt): adjust
2085 * undo.C (performUndoOrRedo): adjust
2086 * lyxfunc.C (dispatch): adjust
2088 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2090 * iterators.C (lockPath): add a missing slice
2091 * undo.C (performUndoOrRedo): remove redundant positioning code
2093 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2095 * vc-backend.C (scanMaster): ";" -> ';'
2097 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2099 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2100 std::binary_function
2102 * lyxtextclass.C (compare_name): rename to...
2103 (LayoutNamesEqual): ...this
2105 * lyxlex_pimpl.C (compare_tags): inherit from
2106 std::binary_function, put back into anon namespace
2108 * lyxfind.C (MatchString): inherig from std::binary_function
2109 (findChange): use empty() istead of !size()
2111 * format.C (FormatNamesEqual): new functor
2118 * converter.C (compare_Converter): rename to...
2119 (ConverterEqual): ...this, and fixup a bit.
2120 (getConverter): use it, and make function const
2121 (getNumber): use it, and make function const
2125 * bufferlist.C: add using boost::bind
2127 * MenuBackend.C (MenuNamesEqual): new functor
2128 (hasMenu): use it, and make function const
2129 (hasSubmenu): use nested bind to get rid of compare_memfun.
2131 2004-01-30 André Pönitz <poenitz@gmx.net>
2133 * BufferView_pimpl.C:
2136 * cursor_slice.[Ch]:
2139 * paragraph_funcs.C:
2140 * paragraph_funcs.h:
2144 * text3.C: move some of the edit(x,y) handling to the insets
2145 some coordinate changes.
2147 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2149 * text.C: add using statements for std::advance and std::distance
2151 * paragraph.C: add using statement for std::distance
2153 * lyxfind.C: add using statement for std::advance
2155 * cursor.C (region): remove std:: from swap
2156 (openable): use nucleus in stead of operator->
2158 * BufferView.C: add using statements for std::distance and std::swap
2160 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2162 * iterators.C: Remove the pimple, move the needed structures to
2163 the header file. Create accessor for the positions stack.
2164 (asPosIterator): remove function
2166 * PosIterator.C (PosIterator): move constructors to top of file
2167 (PosIterator): reimplement the constructor taking a ParIterator in
2169 (setFrom): new function
2170 (operator!=): inline it
2172 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2174 * lyxfind.C (replaceAll): use std::advance
2176 * iterators.h: inherit from std::iterator.
2178 * PosIterator.C (advance, distance): remove
2179 * PosIterator.h: interit from std::iterator.
2181 2004-01-26 André Pönitz <poenitz@gmx.net>
2184 * BufferView_pimpl.[Ch]:
2188 * bufferview_funcs.C:
2198 * output_linuxdoc.C:
2199 * output_plaintext.C:
2201 * paragraph_funcs.[Ch]:
2202 * paragraph_pimpl.[Ch]:
2208 * text3.C: more IU: dumps most of the rest of the mathcursor
2209 implementation into cursor.[Ch]; "globalize" a bit of it.
2211 2004-01-25 Angus Leeming <leeming@lyx.org>
2213 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2215 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2217 * LaTeXFeatures.h: add nice_ and nice() const
2218 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2220 2004-01-20 André Pönitz <poenitz@gmx.net>
2223 * BufferView_pimpl.C:
2225 * bufferview_funcs.C:
2227 * cursor_slice.[Ch]:
2238 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2239 LCursor and mathcursor parts to LCursor and InsetBase.
2241 2004-01-15 André Pönitz <poenitz@gmx.net>
2243 * cursor_slice.[Ch]: add a few covienience functions
2245 * funcrequest.[Ch]: remove BufferView * member
2247 * BufferView_pimpl.C:
2254 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2256 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2258 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2259 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2261 2004-01-13 André Pönitz <poenitz@gmx.net>
2264 * lyxtext.h: hide cursor and selection anchor behind accessor function
2267 * BufferView_pimpl.[Ch]:
2269 * bufferview_funcs.C:
2279 * cursor_slice.[Ch]: some integer type changes for inset unification
2281 * lyxcursor.[hC]: remove, it's CursorSlice now.
2284 * BufferView_pimpl.[Ch]:
2285 * bufferview_funcs.C:
2291 * textcursor.[Ch]: adjust
2293 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2295 * text2.C (undoSpan): add and use
2296 * text.C (breakParagraph): use undoSpan (fix bug 578)
2299 2004-01-08 Angus Leeming <leeming@lyx.org>
2301 * BufferView_pimpl.C (MenuInsertLyXFile):
2302 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2303 * lyxfunc.C (menuNew, open, doImport):
2304 FileFilterList change to the FileDialog open and save functions.
2306 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2308 * ShareContainer.h: make isEqual and isUnique adaptable
2310 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2312 2004-01-07 Angus Leeming <leeming@lyx.org>
2315 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2317 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2319 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2320 functions replacing find, replace and replaceAll.
2322 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2323 LFUN_WORDFIND(FORWARD|BACKWARD).
2325 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2327 * text.C (breakParagraph): remove an outdated #warning
2329 2004-01-07 André Pönitz <poenitz@gmx.net>
2331 * lyxfind.C: somewhat clearer logic
2333 * text.C: prevent crash in cursorX on unitialized row cache
2335 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2337 * lyxcursor.[Ch] (operator>): add
2338 * textcursor.C (selStart, selEnd): use std::min and std::max
2340 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2342 * Chktex.C: include boost/format.hpp
2344 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2346 * InsetList.C: replace functor MathcIt with adaptable functor
2348 (insetIterator): modify accordingly
2350 * BranchList.h: move the BranchNamesEqual functor here from...
2351 * BranchList.C: ... to here
2353 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2355 (add): replace a finding loop with std::find_if.
2357 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2359 * output_docbook.C: moving LatexParam functionality into
2362 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2364 * buffer.C: increment format to 229.
2366 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2369 * lyx_sty.[Ch]: remove minipageindent_def
2375 * text3.C: remove LFUN_INSET_MINIPAGE
2377 2003-12-28 Angus Leeming <leeming@lyx.org>
2379 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2381 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2383 * text2.C (setParagraph): fix off-by-one crash
2385 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2387 * output_docbook.C: header stuff for AGU
2389 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2391 * text2.C (redoCursor): remove
2394 * BufferView_pimpl.C: remove calls to redoCursor and
2395 setCursor(cursor.par(), cursor.pos()) all around
2397 2003-12-15 Angus Leeming <leeming@lyx.org>
2399 * buffer.C: up the format to 228.
2401 2003-12-15 André Pönitz <poenitz@gmx.net>
2403 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2408 * BufferView_pimpl.C:
2417 2003-12-15 Angus Leeming <leeming@lyx.org>
2419 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2420 than getFromGUIName to manipulate the color.
2422 2003-12-14 Angus Leeming <leeming@lyx.org>
2424 * BranchList.[Ch]: minimize the API.
2425 (Branch::getBranch, getColor): now return a 'const &'.
2426 (Branch::setSelected) now returns a bool set to true if the
2427 selection status changes.
2428 (BranchList::clear, size, getColor, setColor, setSelected,
2429 allBranches, allSelected, separator): removed.
2430 (BranchList::find): new functions, returning the Branch with
2432 (BranchList::add, remove): return a bool indicating that
2433 the operation was successful.
2435 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2436 new InsetBranch::isBranchSlected member function.
2438 * LColor.[Ch]: mimimize the API.
2439 (fill): renamed as addColor and made private.
2440 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2441 versions of these functions taking a string arg have been removed.
2443 * bufferparams.C (readToken):
2444 * lyxfunc.C (dispatch):
2445 * lyxrc.C (read): changes due to the altered BranchList and
2448 * factory.C (createInset, readInset): changes due to altered
2451 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2454 * lyxfunc.C: remove insetminipage. "minipage-insert"
2455 now produces a frameless minipage box inset.
2457 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2459 * textcursor.[Ch] (selStart,selEnd): add new methods
2460 remove selection::start, end, use LyXCursor::operator<
2461 * lyxcursor.[Ch] (operator<): add
2462 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2463 * BufferView.[Ch] (unsetXSel): add
2464 * text2.C (clearSelection): use unsetXSel,adjust
2467 * rowpainter.C: adjust
2468 * bufferview_funcs.C (put_selection_at): adjust
2470 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2472 * BufferView_pimpl.C: small coord. correction
2474 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2476 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2477 dragging over the splash screen.
2479 2003-12-11 Angus Leeming <leeming@lyx.org>
2481 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2482 as it is now handled in LyXText::dispatch.
2484 * text3.C (doInsertInset): remove a level of nesting.
2486 2003-12-11 Angus Leeming <leeming@lyx.org>
2488 * factory.C (createInset): changes due to the changed interface to
2489 InsetCommandMailer::string2params.
2491 2003-12-10 Angus Leeming <leeming@lyx.org>
2493 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2494 'dialog-show-new-inset <inset name>'
2496 2003-12-10 Angus Leeming <leeming@lyx.org>
2498 * buffer.C: up the format to 227.
2500 * factory.C: the box inset is now identified simply by 'Box'.
2502 2003-12-10 Angus Leeming <leeming@lyx.org>
2504 * buffer.C: up the format to 226.
2506 * factory.C: the note inset is now identified simply by 'Note'.
2508 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2510 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2511 when a pit is enough. Standarize a couple of loops.
2513 2003-12-05 Angus Leeming <leeming@lyx.org>
2515 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2516 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2517 data to the re-worked "log" dialog.
2519 2003-12-03 André Pönitz <poenitz@gmx.net>
2525 * paragraph_funcs.C:
2527 * text2.C: use Inset::getText instead of Inset::getParagraph
2529 2003-12-03 André Pönitz <poenitz@gmx.net>
2533 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2534 InsetText::read() as LyXText::read()
2536 2003-12-02 Angus Leeming <leeming@lyx.org>
2538 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2539 type. Add a comment in the implementation that the function uses
2540 the stream's bad() function rather than fail() as the std::streams
2543 2003-12-02 André Pönitz <poenitz@gmx.net>
2545 * lyxlex.[Ch]: make interface more similar to std::stream
2547 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2549 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2551 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2553 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2555 * vspace.[Ch]: remove VSpace::NONE
2557 2003-12-01 André Pönitz <poenitz@gmx.net>
2560 * lyxtext.h: move ParagraphList member to LyXText
2561 rename LyXText::ownerParagraphs to LyXText::paragraph
2564 * bufferview_funcs.C:
2574 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2576 * undo.C: fix cursor positioning
2578 2003-12-01 John Levon <levon@movementarian.org>
2580 * BufferView_pimpl.C: fix a crash on exit with
2583 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2585 * BranchList.C: fix setSelected() method.
2587 2003-11-28 André Pönitz <poenitz@gmx.net>
2589 * ParagraphParameters.[Ch]:
2590 * ParameterStruct.h: remove space above/below from Paragraph to
2593 * BufferView_pimpl.C:
2599 * paragraph_funcs.C:
2605 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2607 * factory.C: Syntax change for CharStyles
2609 2003-11-28 André Pönitz <poenitz@gmx.net>
2614 * buffer.[Ch]: move LyXText member
2616 2003-11-28 André Pönitz <poenitz@gmx.net>
2618 * BufferView.[Ch]: make LyXText * text a private member
2620 * BufferView_pimpl.C:
2631 * output_plaintext.C: cleanup
2633 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2636 * lyxtextclass.[Ch]: parametrize SGML document header
2638 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2641 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2644 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2646 * text2.C (setFont): rework using PosIterator (no more recursive)
2647 (setCharFont): no more needed
2648 (setLayout): no more selection cursors fiddling (done by redoCursor)
2649 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2650 destroy remaining ones)
2652 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2654 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2656 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2659 * text3.C: adjust + re-allow multi par depth changes
2660 * textcursor.C: simplify a bit
2662 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2668 * src/output_docbook.C:
2669 * src/output_latex.C:
2674 * src/text2.C: Introducing a number of tags parametrizing various
2675 XML formats that we may want to support
2677 2003-11-25 André Pönitz <poenitz@gmx.net>
2679 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2681 * lyxtext.h (leftMargin/rightMargin): simplify interface
2688 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2690 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2691 master file to any child files. Fixes bug 546.
2693 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2695 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2697 2003-11-24 André Pönitz <poenitz@gmx.net>
2699 * rowpainter.C: simplification
2701 * text2.C (updateCounters): remove call to redoParagraph on
2702 changed labels as this is far too expensive.
2704 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2706 * converter.C (convert): fix a crash: this function gets
2707 called with buffer == 0 from importer code.
2709 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2711 * text3.C (cursorPrevious): make sure that we do not compare
2712 iterators form different containers.
2715 * rowpainter.C (paintSelection): make sure that we do not compare
2716 iterators from different containers.
2718 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2719 iterators from different ParagraphList containers.
2722 * text2.C (LyXText): change order of initialization slightly
2723 (operator=): new function. copy all variables except cache_par_
2724 (moveUp): make sure that we do not compare iterators from
2725 different ParagraphList constainers.
2728 * text.C (firstPar): new function
2729 (lastPar): new function
2730 (endPar): new function
2732 * lyxtext.h: move things around and group public functions, public
2733 variables, private functions, private variables
2735 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2737 * factory.C: change call to InsetERT constructor to avoid
2738 additional invocation of method status
2739 * text2.C (toggleInset): remove redundant update() call
2740 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2741 instead of a Bufferview pointer
2743 2003-11-21 André Pönitz <poenitz@gmx.net>
2745 * rowpainter.C: simplification
2747 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2749 * text3.C (dispatch): make possible to extend a word/row selection
2752 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2754 * lyxtext.h: x0_,y0_ -> xo_,yo_
2755 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2756 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2757 * rowpainter.C (paintRows): paint full paragraphs
2759 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2761 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2764 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2766 * lyxtext.h: add x0_, y0_
2767 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2768 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2770 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2772 * text2.C (setCursorIntern): move the x_target update here *
2773 * text3.C: change some bv() to true/false in calls to
2774 cursorUp/Down/Right/Left
2775 * cursor.C: use helper function.
2777 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2779 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2780 * paragraph_funcs.[Ch]: correct comment
2781 * rowpainter.C: do not paint selections away from bv->cursor()
2782 Fix a long standing selection painting bug.
2783 * text3.C: generalize mouse-selection code to LyXTexts other that
2785 * textcursor.C: do not use y coords if we can use par offsets
2787 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2789 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2790 cursor position after e.g. inset insert)
2792 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2794 * lyxfind.C (replace): adjust to locking removal + some
2797 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2799 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2802 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2805 * output_docbook.C: XML sanitation: new layout
2806 parameters InnerTag and CommandDepth
2808 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2810 * BufferView_pimpl.C:
2812 * text3.C: Fix the insertion and modification of button-style
2815 2003-11-13 André Pönitz <poenitz@gmx.net>
2817 * InsetList.[Ch]: remove deleteLyXText
2819 * paragraph.[Ch]: cache beginOfBody position
2824 * text3.C: remove superfluous update() calls
2828 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2830 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2831 * BufferView.C (fitLockedInsetCursor): remove
2832 * cursor.[Ch] (getDim): add
2833 * text.C (getRowNearY): add faster version
2834 * text3.C: remove some update calls
2836 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2848 * text3.C: The Character Style /XML short element patch.
2850 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2853 * factory.C: Small step to solving 'unable to insert some insets'
2856 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2858 * cursor.[Ch] (updatePos): new function for updating the y
2859 position of the tip inset
2860 * bufferview_funcs.C (put_selection_at):
2861 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2863 2003-11-11 André Pönitz <poenitz@gmx.net>
2865 * text.C: remove big comment on invalid Paragraph pointers as it is
2868 2003-11-11 André Pönitz <poenitz@gmx.net>
2870 * text_funcs.[Ch]: merge with ...
2878 * Makefile.am: remove text_funcs.[Ch]
2880 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2882 * cursor.C (getPos): return absolute cached y coord
2884 * BufferView_pimpl.C (fitCursor): new simplistic code
2885 (workAreaDispatch): add a fitCursor call
2887 2003-11-10 André Pönitz <poenitz@gmx.net>
2890 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2892 2003-11-10 André Pönitz <poenitz@gmx.net>
2894 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2895 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2896 indicate that the cursor needs to leave an inset
2898 * lyxtext.h: remove inset locking
2900 * cursor.[Ch]: re-implement functionality provided by inset locking
2903 * BufferView_pimpl.[Ch]:
2905 * bufferview_funcs.[Ch]:
2917 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2919 * PosIterator.[Ch]: replace the stack with a vector, add inset
2921 * iterators.[C]: adjust
2923 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2925 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2927 * paragraph_funcs.C (readParToken): put the correct id in the
2928 error item, not the id of the top paragraph
2930 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2932 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2933 * bufferview_funcs.C (put_selection_at): use the above
2935 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2937 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2939 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2941 * output_linuxdoc.h:
2942 * output_plaintext.h:
2944 * output_docbook.h: add #include statements
2946 2003-11-05 José Matos <jamatos@lyx.org>
2948 * output_docbook.[Ch]:
2949 * output_latex.[Ch]:
2950 * output_linuxdoc.[Ch]:
2951 * output_plaintext.[Ch]: New files for output formats.
2952 * output.[Ch]: New file for helper functions.
2955 * paragraph_funcs.[Ch]: output functions moved to new files.
2957 * outputparams.h: rename of latexrunparams.h
2965 * paragraph_funcs.[Ch]:
2966 * paragraph_pimpl.[Ch]:
2967 * tabular.[Ch]: rename ascii to plaintext
2968 and LatexRunParams to OutputParams.
2970 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2972 * iterators.[Ch] (text): require bv argument
2973 * undo.C (recordUndo):
2974 * lyxfunc.C (dispatch):
2975 * bufferview_funcs.C (put_selection_at): adjust
2977 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2979 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2981 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2983 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2986 2003-11-04 André Pönitz <poenitz@gmx.net>
2988 * cursor.[Ch]: restructure
2991 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2993 * iterators.[Ch] (asCursor): remove
2995 * lfuns.h: remove LFUN_INSET_EDIT
3001 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3003 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3005 * lyxfind.[Ch]: complete overhaul
3006 * BufferView_pimpl.C:
3008 * paragraph.[Ch] (insert): add
3010 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3014 * text.C: remove dead spellcheck code
3016 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3018 * dispatchresult.h: add a val setter
3020 * cursor.C (dispatch): use a tempvar for data_[i]
3022 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3024 * PosIterator.[Ch]: compile fix
3026 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3028 * text.C (cursorPar): deactivate the cursor cache
3030 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3032 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3034 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3036 * text3.C (dispatch): adjust for new DisptchResult semantics.
3038 * lyxfunc.C (dispatch): handle update when return from
3039 Cursor::dispatch, adjust for new DispatchResult semantics.
3041 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3042 DispatchResult(true) mean to not update. Add class functions for
3043 setting dispatched and update, as well as reading.
3045 * cursor.C (dispatch): don't handle update here
3047 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3049 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3050 * trans_mgr.C: adjust
3052 * paragraph_funcs.C (readParToken): exception safety
3054 * lyxvc.h: store the vcs pointer in a scoped_ptr
3057 * lyxsocket.C (serverCallback): exception safety
3059 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3061 * ispell.C (clone): make it return a auto_ptr
3063 * factory.C (createInset): exception safety
3064 (readInset): exception safety
3066 * bufferlist.C (newBuffer): exception safety
3068 * Thesaurus.C (Thesaurus): use initialization for aik_
3070 * MenuBackend.C (expandToc): exception safety.
3072 2003-11-03 André Pönitz <poenitz@gmx.net>
3076 * bufferview_funcs.C: remove getInsetFromId()
3079 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3085 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3087 * PosIterator.C (distance, advance): new
3088 * bufferview_funcs.[Ch] (put_selection_at): new
3089 * iterators.[Ch] (lockPath): new
3091 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3093 * iterators.[Ch] (asPosIterator): added
3094 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3095 * PosIterator.[Ch]: added
3097 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3101 * cursor.C (dispatch):
3102 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3104 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3105 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3106 contructor, add a class function dispatched. Remove operator>=
3108 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3110 * debug.C: only use the default constructor for debugstream
3113 * main.C (main): include debug.h and setup the lyxerr streambuf
3116 2003-10-31 José Matos <jamatos@lyx.org>
3118 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3120 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3121 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3122 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3123 * paragraph_pimpl.C (simpleTeXSpecialC):
3124 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3125 add LatexRunParams argument.
3127 * exporter.C (Export): change call accordingly.
3129 * latexrunparams.h: add new member to take care of the other backends.
3130 2003-10-30 José Matos <jamatos@lyx.org>
3132 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3133 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3134 factorise code for paragraph output.
3136 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3139 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3141 * text3.C (dispatch):
3142 * lyxfunc.C (dispatch):
3143 * cursor.C (dispatch):
3144 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3146 * dispatchresult.h: make the dispatch_result_t ctor explicit
3148 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3151 * buffer.C: small refactoring of docbook stuff
3153 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3155 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3158 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3160 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3161 operator dispatch_result_t, and operators for == != and >=
3163 * cursor.C (dispatch): adjust for operator dispatch_result_t
3164 removal. comment out call to update
3166 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3168 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3176 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3179 * dispatchresult.h: new file, DispatchResult broken out of
3182 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3184 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3186 * text.C (rowBreakPoint): put a hack inside #if 0
3188 2003-10-28 André Pönitz <poenitz@gmx.net>
3192 * paragraph_funcs.C:
3195 * text2.C: general cleanup (lots of small stuff)
3197 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3199 * text2.C (cursorEnd): simple fix to the "end key goes to one
3200 before the end on last row" bug
3202 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3204 * text.C (backspace): fix the "zombie characters"
3206 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3208 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3210 2003-10-27 André Pönitz <poenitz@gmx.net>
3212 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3214 * factory.C: handle new InsetPagebreak, InsetLine
3216 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3217 and move handling into new InsetPagebreak, InsetLine
3219 * BufferView_pimpl.C:
3221 * ParagraphParameters.C:
3222 * ParameterStruct.h:
3227 * paragraph_funcs.C:
3228 * paragraph_pimpl.C:
3234 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3237 * lyxrow_funcs.[Ch]:
3243 * text3.C: remove lastPos uses in favour of Row::endpos
3245 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3247 * undo.C (performUndoOrRedo): fix two crashes by setting a
3248 cursor by hand and reordering some calls. Use bv->lockInset instead
3249 of inset->edit because the latter loses cursor information
3251 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3253 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3255 (rowBreakPoint): fix width. change point to point + 1.
3256 Add a missing check.
3258 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3261 * lyxfunc.C: fix (at least partly) the problems
3262 with the Nav menu and headers inside branch insets
3265 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3267 * paragraph.C (getChar): add strong asserts
3269 * lyxrow_funcs.C (lastPos): remove hideous hack
3271 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3272 (fill): adjust to that (avoid an infinite loop)
3274 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3276 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3278 2003-10-23 André Pönitz <poenitz@gmx.net>
3280 * RowList_fwd.h: change list<> to vector<> to gain speed
3281 after suggestion from Alfredo
3283 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3285 * lyxtext.h: move the bidi stuff from here...
3288 * Bidi.[Ch]: ... to here
3290 2003-10-23 André Pönitz <poenitz@gmx.net>
3293 * text.C (isLastRow, isFirstRow): new functions
3295 * paragraph.h: new width cache member
3297 * rowpainter.C: replace RowList::iterator with Row & where possible
3299 * lyxfunc.C: replace several view()->text with a single call
3301 * toc.C: fix 'unused' warning
3303 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3305 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3306 when woring with stream::pos_type
3307 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3309 2003-10-22 André Pönitz <poenitz@gmx.net>
3312 * text.C: use Row & instead of RowList::iterator
3314 * lyxrow.h: rename end() to endpos()
3320 2003-10-22 Angus Leeming <leeming@lyx.org>
3322 * buffer.[Ch] (fully_loaded): new member function, returning true
3323 only when the file has been loaded fully.
3324 Used to prevent the premature generation of previews and by the
3325 citation inset to prevent computation of the natbib-style label.
3327 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3328 templates are all set up.
3330 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3332 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3334 * text.C: fixed an "oops" in the "is a bit silly"
3337 2003-10-21 André Pönitz <poenitz@gmx.net>
3339 * FuncStatus.[Ch]: small stuff, whitespace
3341 * lyxfont.[Ch]: operator<<() for debug reasons
3345 * lyxtext.h: whitespace, spelling
3347 * paragraph.C: naming of variables
3350 * text2.C: small stuff
3353 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3355 * text.C: (1) finish off the inset display() work;
3356 (2) fix the "is a bit silly" bug (accessing char
3359 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3361 * text.C: re-introduce display() for insets, fixing the
3362 various bugs (stretch of line above, math inset
3365 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3367 * text.C (rightMargin): remove spurious semicolon
3369 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3372 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3374 * text3.C: fix one crash due to wrong cursor def
3376 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3378 * vc-backend.C (scanMaster): make the regex static
3380 * LaTeX.C (scanAuxFile): make the regexs static
3382 * text3.C (doInsertInset, dispatch, dispatch):
3383 * text2.C (cursorUp, cursorDown):
3384 * text.C (selectNextWordToSpellcheck):
3385 * BufferView_pimpl.C (dispatch):
3386 * lyxfunc.C (dispatch): localDispatch -> dispatch
3388 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3390 * lyxsocket.C: include <cerrno>
3392 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3394 * lyxfunc.C (dispatch): remove textcache stuff
3396 * bufferlist.C (release): remove textcache stuff
3399 * TextCache.C: delete file
3400 * TextCache.h: delete file
3402 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3404 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3405 delete of the bv_->text.
3406 (resizeCurrentBuffer): remove texcache stuff
3407 (workAreaResize): ditto
3409 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3411 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3414 2003-10-16 André Pönitz <poenitz@gmx.net>
3421 * text3.C: speed up by storing y positions per paragraph plus per-row
3422 offset instead of having a 'full' y position in the row.
3424 2003-10-15 André Pönitz <poenitz@gmx.net>
3428 * undo.[Ch]: make undo aware of inner insets
3430 2003-10-14 Angus Leeming <leeming@lyx.org>
3432 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3433 static member functions LyX::ref() and LyX::cref.
3434 (lastfiles): new accessor functions for the new lastfiles_ member var.
3435 (addLyXView, views_): add a new LyXView to the list of views_.
3436 (updateInset): loop over all LyXViews to call their own updateInset
3437 member function, returning a pointer to the Buffer owning the inset.
3439 * BufferView_pimpl.C (loadLyXFile):
3440 * MenuBackend.C (expandLastfiles):
3441 * bufferlist.C (MenuWrite, QuitLyX):
3442 lastfiles is no longer a global variable.
3443 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3445 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3446 static function. Access through LyX::cref().emergencyCleanup().
3448 2003-10-14 André Pönitz <poenitz@gmx.net>
3450 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3452 * undo.[Ch]: restoring part of 'undo in insets'
3455 * undo_funcs.[Ch]: merge with undo.[Ch]
3457 * tabular.C: small cleansing stuff
3459 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3461 * paragraph_funcs.C (readParToken): report unknown insets as error
3462 boxes. Use the outer paragraph as location (also for unknown
3465 * factory.C (readInset): do not abort on reading an unknown inset.
3466 Eat it and return 0.
3468 2003-10-13 Angus Leeming <leeming@lyx.org>
3470 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3472 * lyxrc.C: displayTranslator is now a function,
3473 declared in GraphicsTypes.h.
3475 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3477 * format.C: new placeholder $$a to pass the socket address.
3479 * bufferlist.[Ch]: new function getBufferFromTmp.
3481 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3482 files in the temporary dir.
3484 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3486 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3488 * Makefile.am: add lyxsocket.[Ch].
3490 * lyx_main.C (error_handler): handle SIGPIPE.
3492 2003-10-13 André Pönitz <poenitz@gmx.net>
3494 * BufferView_pimpl.C:
3499 * undo_funcs.[Ch]: use paroffset_type instead of
3500 ParagraphList::iterators to prevent multiple conversion
3501 (and get a more robust interface)
3503 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3505 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3507 * text3.C (dispatch): ditto
3509 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3511 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3512 move the onlyfile, use onlyfile instead of foundfile in a couple
3515 * DepTable.C (update): flush the error stream a bit more
3517 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3519 * lyxserver.C (callback): adjust
3521 * lyxfunc.C (getStatus): add a missing brace in commented code
3522 (ensureBufferClean): reindent
3523 (dispatch): delete version taking a string
3525 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3527 * LaTeX.C (deplog): move found file handlig from here...
3528 (handleFoundFile): .. to new function here.
3529 (deplog): make sure to discover several files mentioned on the
3532 2003-10-10 André Pönitz <poenitz@gmx.net>
3539 * text3.C: fix some of the tabular crashes
3541 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3543 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3545 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3547 2003-10-09 André Pönitz <poenitz@gmx.net>
3549 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3552 * BufferView_pimpl.C:
3553 * bufferview_funcs.C:
3564 * undo_funcs.C: adjust
3566 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3568 * text2.C (incrementItemDepth): new function, use a backtracking
3569 algorithm to discover the correct item depth.
3570 (resetEnumCounterIfNeeded): new function, use a backtracking
3571 algorithm to discover if counter reset is needed.
3572 (setCounter): use them. Simplify a bit. Add different labels for
3573 different item depths for itemize.
3575 * paragraph.C (Paragraph): remove initialization of enumdepth
3578 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3579 enumerate and itemize. Change the type of itemdepth to signed char.
3581 2003-10-08 André Pönitz <poenitz@gmx.net>
3583 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3588 * tabular.[Ch]: fix crash after 'row-insert'
3590 2003-10-08 Angus Leeming <leeming@lyx.org>
3592 Fix doxygen warnings.
3594 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3595 Remove CutAndPaste:: prefix from header file declaration.
3597 * LColor.h (fill): remove LColor:: prefix from declaration.
3599 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3600 use lyx::depth_type rather than Paragraph::depth_type so that
3601 header file and .C file match.
3603 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3605 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3606 * aspell.C: \file aspell_local.C -> \file aspell.C
3607 * gettext.C: \file gettext.C -> \file src/gettext.C
3608 * gettext.h: \file gettext.h -> \file src/gettext.h
3609 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3610 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3611 * text.C: \file text.C -> \file src/text.C
3613 * toc.C: move comment so that doxygen is not confused.
3615 2003-10-07 Angus Leeming <leeming@lyx.org>
3617 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3619 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3622 * aspell_local.h: add forgotten std::string's.
3624 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3631 * text3.C: The Box patch. Fancybox support, minipage, parbox
3633 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3639 * ParagraphParameters.h:
3649 * lyxtextclasslist.h:
3652 * paragraph_pimpl.C:
3653 * textcursor.h: add <string> and other small fixes to make Lars'
3654 std::string patch compile with STLport.
3656 2003-10-06 Angus Leeming <leeming@lyx.org>
3658 * LColor.h: Add missing #include <string>.
3660 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3662 * All most all file in all subdirs: Make <string> be the prefered
3663 way of getting to std::string, add using declarations.
3665 2003-10-06 André Pönitz <poenitz@gmx.net>
3667 * metricsinfo.C: initialize LyXFont before changing attribute.
3668 (fixes the 'math in \emph is upright' bug)
3670 2003-10-06 André Pönitz <poenitz@gmx.net>
3672 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3674 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3677 * paragraph_pimpl.C: Small fixes to build using STLport
3679 2003-10-02 André Pönitz <poenitz@gmx.net>
3682 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3684 2003-10-01 André Pönitz <poenitz@gmx.net>
3686 * factory.C: assert early
3688 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3690 * lyx_main.C: remove the global debug object
3692 * debug.h: adjust for new debugstream
3694 * debug.C: adjust for new debugstream and keep the global debug
3697 2003-09-22 Angus Leeming <leeming@lyx.org>
3699 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3700 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3701 an incomplete class LyXFont.
3703 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3705 * factory.C: bug fix in branches
3707 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3709 * lyxfunc.C (processKeySym): adjust
3711 (dispatch): change arg name from ev to func, adjust
3712 (sendDispatchMessage): ditto
3714 * lyx_main.C (defaultKeyBindings): adjust keybindings
3715 (deadKeyBindings): ditto
3717 * kbsequence.C (addkey): return a FuncRequest
3719 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3721 * kbmap.C (bind): take a FuncRequest as arg, adjust
3724 (defkey): change to take a FuncRequest as arg, adjust
3725 (findbinding): take a FuncRequest as arg, adjust.
3727 * funcrequest.h (operator=): added
3729 * funcrequest.C (FuncRequest): default kb_action changed from
3730 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3732 * buffer.C (dispatch): simplify
3733 (dispatch): adjust to take a FuncRequest as arg, adjust
3735 * boost.C (assertion_failed): change assertion message slightly
3737 * ToolbarBackend.C (read): simplify
3739 * MenuBackend.C (binding): adjust call to findbinding, add a
3740 message if no binding is found.
3742 (expandToc): correct by adding a empty FuncRequest
3744 * LyXAction.C: include <boost/assert.hpp>
3745 (isPseudoAction): delete function
3746 (LookupFunc): change name to...
3747 (lookupFunc): this. change return type to FuncRequest.
3748 (getActionName): take kb_action as arg, simplify
3749 (funcHasFlag): add an assert, simplify.
3751 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3753 * toc.C (action): return a FuncRequest, simplify
3755 * lyxfunc.C (processKeySym): adjust
3756 (getStatus): delete version that takes an int.
3758 (dispatch): delete version that takes action as int
3760 (sendDispatchMessage): simplify and adjust
3762 * funcrequest.C (getArg): take unsigned int as arg
3764 * ToolbarBackend.C (read): adjust
3765 (add): delete version that takes func as a string.
3766 (getIton): take a FuncRequest as arg
3768 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3771 * MenuBackend.C (MenuItem): add a new construct that only takes a
3772 Kind, simplify the constructor use for submenus.
3774 (expandLastfiles): adjust
3775 (expandDocuments): adjust
3776 (expandFormats): adjust
3777 (expandFloatListInsert): adjust
3778 (expandFloatInsert): adjust
3779 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3781 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3782 Remove class variables lyx_pseudo_map and lyx_arg_map
3784 * LyXAction.C (searchActionArg): delete function
3785 (getPseudoAction): delete function
3786 (retrieveActionArg): delete function
3787 (LookupFunc): make it return kb_action, simplify.
3788 (getActionName): simplify
3790 * factory.C (createInset): fix new bug
3792 2003-09-19 Angus Leeming <leeming@lyx.org>
3794 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3795 masterFilename_ parameter in the include inset.
3797 * factory.C (createInset): changes due to the changes to InsetInclude.
3799 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3801 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3803 2003-09-18 Angus Leeming <leeming@lyx.org>
3806 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3807 Inset::fillWithBibKeys.
3808 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3810 2003-09-18 Angus Leeming <leeming@lyx.org>
3812 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3814 (ctor): pass and store a 'Buffer const &'
3815 (buffer): new member function.
3817 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3818 '*this' to the LaTeXFeatures ctor.
3820 2003-09-18 Angus Leeming <leeming@lyx.org>
3826 * text.C: rename EnumLColor as LColor_color.
3828 2003-09-18 Angus Leeming <leeming@lyx.org>
3830 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3831 remove #include "insets/insetbase.h" from cursor.h.
3833 2003-09-18 Angus Leeming <leeming@lyx.org>
3835 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3836 InsetOld_code to remove #include "inset.h".
3838 * iterators.C: add #include "insets/inset.h"
3840 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3842 * BufferView.C: remove more locking stuff that apparently doesn't
3843 do anything sensible.
3845 2003-09-16 André Pönitz <poenitz@gmx.net>
3848 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3851 2003-09-16 Angus Leeming <leeming@lyx.org>
3853 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3855 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3858 * paragraph.h: remove #include "lyxfont.h". Forward declare
3861 2003-09-16 Angus Leeming <leeming@lyx.org>
3863 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3864 of support/textutils.h.
3865 (isWord): move the contents of support/textutils.h's IsWordChar here.
3871 * text2.C: add #include "paragraph.h".
3874 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3876 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3882 * LaTeX.C: use namespace alias for lyx::support::os
3884 2003-09-16 Angus Leeming <leeming@lyx.org>
3887 * bufferview_funcs.C:
3890 * paragraph_pimpl.C:
3892 * text.C: add #include "LColor.h".
3894 2003-09-16 Angus Leeming <leeming@lyx.org>
3896 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3897 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3899 Store the FontBits::color variable as an int rather than as an
3900 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3903 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3904 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3905 string calls together.
3907 * lyxrc.C: add #include "LColor.h".
3909 2003-09-15 Angus Leeming <leeming@lyx.org>
3911 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3914 2003-09-15 Angus Leeming <leeming@lyx.org>
3916 * LColor.h: add an EnumLColor wrapper for LColor::color.
3918 * lyxfont.[Ch] (color, setColor, realColor):
3919 * lyxtext.h, text.C (backgroundColor):
3920 pass EnumLColor args to/from the functions, rather than LColor::color
3924 * lyxtext.h: forward declare EnumLColor.
3926 * lyx_main.C: add #include "LColor.h".
3928 2003-09-15 Angus Leeming <leeming@lyx.org>
3930 * .cvsignore: add lyx-gtk.
3932 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3937 * ParagraphParameters.C
3941 * bufferview_funcs.C
3951 * vc-backend.C: remove usage of STRCONV
3953 2003-09-15 Angus Leeming <leeming@lyx.org>
3955 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3956 explicitly define the color passed to the painter.
3958 2003-09-15 Angus Leeming <leeming@lyx.org>
3960 * bufferparams.C (BufferParams): reorder member initializers to avoid
3963 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3965 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3966 * text.C (updateRowPositions): remove an unusual nop
3968 2003-09-12 André Pönitz <poenitz@gmx.net>
3970 * BufferView_pimpl.C:
3979 * Counters.[Ch]: finish the 'automatic counters' job
3981 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3983 * aspell.C: include <boost/assert.cpp> (compile fix)
3985 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3987 * boost.C (assertion_failed): use lyx::support::abort instead of
3990 2003-09-10 Angus Leeming <leeming@lyx.org>
3992 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3993 with their _fwd progeny.
3995 2003-09-09 Angus Leeming <leeming@lyx.org>
3997 134 files throughtout the source tree: replace 'using namespace abc;'
3998 directives with the appropriate 'using abc::xyz;' declarations.
4000 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4002 * boost.C (emergencyCleanup): moved here from LAssert.c
4003 (assertion_failed): new function, called by BOOST_ASSERT
4005 * several files: change Assert to BOOST_ASSERT
4007 2003-09-09 Angus Leeming <leeming@lyx.org>
4009 * buffer.[Ch]: Add an Impl class and move Buffer's member
4010 variables into it. As a result move several header files out of
4013 Add header files to lots of .C files all over the tree as a result.
4015 2003-09-09 Angus Leeming <leeming@lyx.org>
4017 * buffer.[Ch]: make Buffer's member variables private. Add
4020 Lots of changes all over the tree as a result.
4022 2003-09-08 Angus Leeming <leeming@lyx.org>
4024 * graph.C: #include <config.h>.
4026 2003-09-08 Angus Leeming <leeming@lyx.org>
4030 * BufferView_pimpl.C:
4059 * toc.C: remove redundant using directives.
4061 2003-09-07 Angus Leeming <leeming@lyx.org>
4063 * LaTeXFeatures.h: remove #include "support/types.h".
4064 * ToolbarBackend.h: remove #include <algorithm>.
4065 * changes.h: remove #include <ctime>.
4066 * debug.h: remove #include <iosfwd>.
4067 * graph.h: remove #include "support/std_string.h".
4068 * lyx_main.h: remove #include <csignal>.
4069 * lyxlex_pimpl.h: remove #include <fstream>.
4070 * sgml.h: remove #include <algorithm>, <utility>.
4071 * toc.h: remove #include "support/std_ostream.h".
4072 Add #include <iosfwd>.
4074 2003-09-07 Angus Leeming <leeming@lyx.org>
4076 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4078 * converter.h: forward declare LatexRunParams.
4079 * encoding.h: remove #include "lyxrc.h".
4080 * lyxtext.h: remove #include "LColor.h".
4081 * lyxtextclass.h: remove #include "support/types.h".
4082 * trans.h: remove #include "tex-accent.h".
4083 * trans_mgr.h: remove #include "tex-accent.h".
4084 * insets/inset.h: remove #include "support/types.h", <vector>.
4085 * insets/insetcollapsable.h: remove #include "LColor.h".
4086 * insets/insetinclude.h: remove #include "dimension.h".
4087 * insets/insetlatexaccent.h: remove #include "dimension.h".
4088 * insets/insetoptarg.h:: remove #include "insettext.h".
4089 * insets/insettext.h: remove #include "dimension.h",
4090 <boost/shared_ptr.hpp>
4092 * insets/renderers.h: add #include "dimension.h".
4093 * insets/updatableinset.h: add #include "support/types.h".
4095 * many .C files: Associated changes.
4097 2003-09-06 Angus Leeming <leeming@lyx.org>
4099 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4100 one, inside testInvariant.
4102 * PrinterParams.C: new file.
4103 * PrinterParams.[Ch]: move the function bodies out of line.
4105 2003-09-06 Angus Leeming <leeming@lyx.org>
4107 * ParagraphParameters.h: forward declare ParameterStruct rather than
4108 including its header file.
4109 (depth): moved out-of-line.
4111 2003-09-06 Angus Leeming <leeming@lyx.org>
4113 * BufferView_pimpl.h:
4116 * lyxfunc.h: forward declare LyXKeySym rather than
4117 #include "frontends/LyXKeySym.h".
4119 * BufferView_pimpl.C:
4122 * lyxfunc.C: associated changes.
4124 2003-09-06 Angus Leeming <leeming@lyx.org>
4126 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4127 As a result, can remove the #include "insets/inset.h" from BufferView.h
4129 2003-09-06 Angus Leeming <leeming@lyx.org>
4131 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4132 As a result, can remove the #include "insets/inset.h" from BufferView.h
4134 2003-09-06 Angus Leeming <leeming@lyx.org>
4140 * bufferview_funcs.C:
4141 * BufferView_pimpl.C:
4146 * ParagraphParameters.C:
4151 * frontends/controllers/ControlDocument.C:
4152 * insets/insetcaption.C: rearrange the #includes into some sort of
4155 * buffer.h: remove #includes ErrorList.h, undo.h
4157 2003-09-06 Angus Leeming <leeming@lyx.org>
4159 * support/types.h: add a 'depth_type' typedef, used to store the
4160 nesting depth of a paragraph.
4163 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4164 defining explicitly.
4167 * paragraph_funcs.h:
4168 * ParagraphParameters.h:
4169 * sgml.h: use lyx::depth_type rather than Paragraph or
4170 ParameterStruct's depth_type.
4173 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4176 * BufferView_pimpl.C:
4178 * ParagraphParameters.C:
4181 * bufferview_funcs.C:
4188 * frontends/LyXView.C:
4189 * frontends/controllers/ControlDocument.C:
4190 * frontends/controllers/ControlErrorList.C:
4191 * insets/insetbibitem.C:
4192 * insets/insetbranch.C:
4193 * insets/insetcaption.C:
4194 * insets/insetcollapsable.C:
4195 * insets/insetenv.C:
4196 * insets/insetert.C:
4197 * insets/insetfloat.C:
4198 * insets/insetfoot.C:
4199 * insets/insetfootlike.C:
4200 * insets/insetnewline.C:
4201 * insets/insetquotes.C:
4202 * insets/insettabular.C:
4203 * insets/insettext.C:
4204 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4206 * frontends/controllers/ControlChanges.C: #include "changes.h".
4208 2003-09-06 Angus Leeming <leeming@lyx.org>
4210 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4211 than #including paragraph.h.
4214 * RowList.h: deleted. Superfluous.
4224 * insets/insettext.h: use ParagraphList_fwd.h rather than
4227 * paragraph.h: don't forward declare ParagraphList.
4230 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4231 rather than ParagraphList.h. paragraph.h is still needed for the
4232 Paragraph::depth_type parameters.
4234 * textcursor.h: enable it to compile stand-alone in light of the
4237 * bufferview_funcs.C:
4249 * frontends/controllers/ControlParagraph.C:
4250 * frontends/controllers/ControlTabular.C:
4251 * insets/insetmarginal.C:
4252 * insets/insetminipage.C:
4253 * insets/insetnote.C:
4254 * insets/insetoptarg.C: add header files needed to compile again.
4256 2003-09-06 Angus Leeming <leeming@lyx.org>
4258 * RowList_fwd.h: new file, forward-declaring Row rather than
4259 #including lyxrow.h.
4264 * insets/insettext.h: use it instead of RowList.h
4266 * bufferview_funcs.C:
4273 * text3.C: #include "RowList.h".
4275 2003-09-05 Angus Leeming <leeming@lyx.org>
4277 * factory.C (createInset):
4278 * vspace.C (c-tor): replace sscanf call with an istringstream.
4279 * ispell.C: re-add missing HP/UX headers.
4280 * lyxserver.C: re-add missing os2 headers.
4282 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4291 * text3.C: re-add missing system headers, needed for 2.95.2.
4293 2003-09-05 Angus Leeming <leeming@lyx.org>
4295 Changes most place everywhere due to the removal of using directives
4296 from support/std_sstream.h.
4298 2003-09-05 Angus Leeming <leeming@lyx.org>
4300 Replace LString.h with support/std_string.h,
4301 Lsstream.h with support/std_sstream.h,
4302 support/LIstream.h with support/std_istream.h,
4303 support/LOstream.h with support/std_ostream.h.
4305 Changes resulting throughout the tree.
4307 2003-09-05 Angus Leeming <leeming@lyx.org>
4309 * sgml.h: ensure that the header file can be compiled stand-alone.
4310 * *.C: strip out redundant #includes. (320 in total.)
4312 2003-09-04 Angus Leeming <leeming@lyx.org>
4314 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4315 here (from getPackages).
4317 * debug.[Ch]: add a new EXTERNAL tag.
4319 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4321 * text2.C (cursorEnd): simplify
4323 (getColumnNearX): adjust
4325 * text.C (computeBidiTables): adjust
4328 * rowpainter.C (paintChars): adjust
4329 (paintSelection): adjust
4330 (paintChangeBar): adjust
4333 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4335 (numberOfSeparators): adjust
4337 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4343 * text3.C: Restricts the mouse click functionality
4344 of insets like bibtex, include, toc and floatlist to the visible
4345 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4346 up the dialogs. Cursor has to be in front of the inset (i.e.
4347 start of row) for this to function.
4349 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4351 * bufferview_funcs.C (currentState): output row information
4353 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4355 * bufferview_funcs.C (currentState): output paragraph position
4357 2003-09-04 Angus Leeming <leeming@lyx.org>
4359 * FloatList.h: move out #include "Floating.h".
4360 * LaTeX.h: move out #include "DepTable.h".
4361 * LyXAction.h: move out #include "funcrequest.h".
4362 * buffer.h: move out #include "author.h", "iterators.h".
4363 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4364 * lyx_main.h: move out #include "errorlist.h".
4365 * lyxfunc.h: move out #include "FuncStatus.h".
4366 * lyxtext: move out #include "lyxcursor.h".
4367 * paragraph_pimpl.h: move out #include "counters.h".
4369 2003-09-03 Angus Leeming <leeming@lyx.org>
4371 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4372 preamble_snippets list, enabling us to add snippets to the preamble
4373 only if the snippet was not there already.
4375 2003-09-04 Angus Leeming <leeming@lyx.org>
4377 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4379 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4381 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4384 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4386 * BranchList.C: point fix, earlier forgotten
4388 2003-09-02 Angus Leeming <leeming@lyx.org>
4390 * box.C (contains): renamed from 'contained' after a fantastic
4393 2003-09-02 John Levon <levon@movementarian.org>
4399 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4401 2003-09-02 John Levon <levon@movementarian.org>
4403 * text2.C: simplification of cursorEnd(), including partial
4406 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4408 * buffer.C (readFile): add a space
4410 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4412 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4414 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4416 * buffer.C (readFile): new function, take a filename and a
4417 ParagraphList::iterator
4419 (readFile): adjust, make it private. don't use setStream, make
4420 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4421 always contain the filename.
4423 * BufferView.C (insertLyXFile): simplify and make it work for
4426 2003-08-30 John Levon <levon@movementarian.org>
4428 * Makefile.am: fix dist (from Kayvan)
4430 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4432 * most files: change to use const Buffer refs
4434 2003-08-27 André Pönitz <poenitz@gmx.net>
4436 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4437 on top of ownerPar().
4439 2003-08-27 John Levon <levon@movementarian.org>
4441 * funcrequest.C: properly initialise POD members
4443 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4445 * lyxtext.h (top_y): move top_y from here
4450 * BufferView_pimpl.[Ch]: to here
4451 * frontends/screen.C:
4452 * insets/insettabular.C:
4453 * insets/insettext.C: adjust
4454 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4456 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4459 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4461 2003-08-26 André Pönitz <poenitz@gmx.net>
4463 * paragraph_func.[Ch] (outerPar): new function
4466 * paragraph_funcs.C:
4467 * paragraph_funcs.h:
4468 * paragraph_pimpl.C:
4469 * text2.C: remove Inset::par_owner
4471 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4476 * text2.C: eliminates the needFullRow/display() stuff
4477 altogether, putting the logic in metrics/draw in the insets.
4479 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4481 * text2.C (redoParagraphInternal, redoParagraphs):
4482 * text.C (redoParagraph): add a call to updateRowPositions at the
4483 end of each 'metrics-like' call. Remove all others.
4484 (getRow): remove the 'y-computing' version.
4485 (getRowNearY): do not compute nor return the real y. Solve the
4486 'y < 0' problem and simplify.
4488 2003-08-22 Angus Leeming <leeming@lyx.org>
4490 * *.[Ch]: clean-up of licence and author blurbs.
4491 Also move config.h out of a few .h files and into a few .C files.
4493 2003-08-22 André Pönitz <poenitz@gmx.net>
4495 * lyxrow.[Ch]: add x_ and *fill_ members
4500 * text2.C: adjust/remove prepareToPrint() calls
4502 2003-08-22 André Pönitz <poenitz@gmx.net>
4504 * lyxrow.[Ch]: add end_ member
4506 * lyxrow_funcs.C: use LyXRow::end_
4508 * lyxtext.h (singleWidth): add LyXFont parameter
4511 * text2.C: adjust LyXText::singleWidth() calls
4513 * text.C (redoParagraph): simplify row breaking logic
4516 2003-08-19 André Pönitz <poenitz@gmx.net>
4518 * funcrequest.C: initialize button_ member
4521 * rowpainter.[Ch]: interface consolidation
4523 2003-08-18 André Pönitz <poenitz@gmx.net>
4526 * BufferView_pimpl.C:
4528 * paragraph_funcs.C:
4530 * text3.C: remove LyXScreen::draw() and fitCursor calls
4532 * BranchList.h: remove spurious semicolons
4534 * MenuBackend.C: fix branchlist related crash
4536 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4544 * bufferparams.[Ch]:
4548 * text3.C: implements the 'branch inset'
4549 idea. This allows the output of various versions of a document
4550 from a single source version, selectively outputing or suppressing
4551 output of parts of the text.
4552 This implementation contains a 'branch list editor' in a separate
4553 tab of the document settings dialog. Branches are user definable
4554 and have a "display colour" to distinguish them on-screen.
4556 ColorHandler was somewhat cleaned up.
4557 (1) make possible a dynamically growing LColor list by allowing
4558 the graphic context cache to grow along (vector);
4559 (2) eliminate an IMHO unnecessary step in colour allocation.
4561 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4563 * BufferView_pimpl.C: compile fix
4565 2003-08-15 André Pönitz <poenitz@gmx.net>
4567 * rowpainter.C: remove extra metrics calls
4569 * lyxtext.h: merge the two constructors into a single one,
4570 pass reference to owner's par list
4572 * BufferView_pimpl.C:
4576 2003-08-15 André Pönitz <poenitz@gmx.net>
4578 * lyxrow_funcs.[Ch]:
4581 * paragraph_funcs.C:
4586 * text_funcs.C: split LyXText::rowlist_ into individual
4587 Paragraph::rows_ chunks
4590 * BufferView_pimpl.[Ch]:
4593 * text3.C: remove toggleSelection()
4595 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4597 * bufferlist.C: beautify two alerts (shorter text of buttons)
4598 * buffer.C: Remove redundant ' ' from message
4600 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4601 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4602 rename VALIGN_CENTER to VALIGN_MIDDLE
4604 2003-08-11 André Pönitz <poenitz@gmx.net>
4606 * lyxtext.h (getPar):
4607 * text.C: new function
4609 2003-08-11 André Pönitz <poenitz@gmx.net>
4612 * tracer.[Ch]: remove unneeded files
4614 * InsetList.[Ch]: remove resizeInsetsLyXText()
4619 * text3.C: merge insertParagraphs() and appendParagraph()
4620 remove breakAgain(), update()
4622 * BufferView_pimpl.[Ch]:
4623 * bufferview_funcs.[Ch]:
4627 * tabular.C: adjust after text & InsetList changes.
4629 2003-08-08 André Pönitz <poenitz@gmx.net>
4631 * text.C (insertChar, backspace): replace rowlist fiddling
4632 with rebreak of full par
4635 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4636 checkParagraph, updateInset): removed
4638 2003-08-07 André Pönitz <poenitz@gmx.net>
4641 * text3.C: merge some LFUN handlers, remove dead code
4643 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4645 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4647 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4649 * text2.C (DEPM): fix part of bug 1255 and 1256
4651 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4653 * BufferView_pimpl.C (workAreaDispatch): change to use
4654 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4655 that are no mouse related.
4657 2003-08-05 André Pönitz <poenitz@gmx.net>
4660 * BufferView_pimpl.[Ch]:
4661 * bufferview_funcs.C:
4663 * text3.C: rip out "deep update"
4665 * textcursor.[Ch] (last_sel_cursor): remove unused member
4667 2003-08-04 André Pönitz <poenitz@gmx.net>
4670 * BufferView_pimpl.[Ch]:
4671 * ParagraphParameters.C:
4672 * bufferview_funcs.C:
4678 * text3.C: replace "complicated" BufferView::update(...) calls with
4681 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4683 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4685 * Makefile.am (lyx_SOURCES): add paper.h
4687 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4689 * Makefile.am: move things around so that both lyx-qt and
4690 lyx-xforms can be built (according to --with-frontend). Then lyx
4691 is a symbolic link to lyx-[firstfrontend]
4693 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4695 * Always use std::endl with lyxerr
4697 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4699 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4701 2003-08-01 André Pönitz <poenitz@gmx.net>
4704 * BufferView_pimpl.[Ch]:
4706 * text3.C: merge BufferView::repaint() and BufferView::update()
4708 2003-08-01 José Matos <jamatos@lyx.org>
4710 * buffer.[Ch]: file_format is no longer a buffer data element.
4712 2003-08-01 André Pönitz <poenitz@gmx.net>
4717 * text2.C: make redoParagraph more independent of current cursor
4719 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4721 * text2.C: remove unneeded members
4723 2003-07-30 André Pönitz <poenitz@gmx.net>
4725 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4727 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4728 create a single function...
4730 * paragraph_funcs.C (moveItem): ... here.
4733 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4735 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4737 * LColor.[Ch]: Add comment and greyedout logical colors.
4739 2003-07-30 André Pönitz <poenitz@gmx.net>
4741 * tabular.C: don't use Assert too heavily. This crashes where it
4744 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4746 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4747 is disabled (bug 1232)
4749 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4751 * factory.C: limited 'arg' scope
4753 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4755 * factory.C: fixed Note submenu issues
4757 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4759 * factory.C: submenu for Note/Comment/Greyedout
4761 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4764 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4766 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4769 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4770 greyedout. Patch provided by Jürgen Spitzmüller.
4772 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4774 * kbmap.C (read): fix error message when reading bind files
4776 2003-07-29 Angus Leeming <leeming@lyx.org>
4778 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4779 certainly does not do what it purports to do. I am doing it, and
4780 us, a favour by killing it.
4782 2003-07-28 José Matos <jamatos@lyx.org>
4784 * buffer.C (readBody, do_writeFile):
4785 * paragraph.C(readParagraph): \end_document replaces \the_end.
4787 2003-07-29 André Pönitz <poenitz@gmx.net>
4790 * BufferView_pimpl.[Ch]:
4794 * textcursor.[Ch]: remove toggleToggle & Co
4796 2003-07-28 José Matos <jamatos@fep.up.pt>
4798 * buffer.C (readParagraph):
4799 * params_func (readParToken, readParagraph):
4800 * paragraph.C (write): \layout -> \begin_layout.
4802 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4804 * lyxlex_pimpl.C (setFile): clean up slightly.
4806 * bufferparams.h: add compressed var
4808 * buffer_funcs.C (readFile): adjust for LyXLex change
4809 (newFile): ditto + simplify
4811 * buffer.C (writeFile): handle writing of compressed files
4813 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4814 Check if the file is compressed and set a bufferparm if so.
4816 * Makefile.am (lyx_LDADD): remove explicit -lz
4818 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4820 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4821 makeDocBookFile): put the real LyX version in the first line of
4825 * version.C.in: remove lyx_docversion
4827 * tabular.C (write_attribute): add a template-based version to
4828 write enums properly
4830 2003-07-28 André Pönitz <poenitz@gmx.net>
4835 * text3.C: use doubles again for x-coordinates. They are needed.
4837 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * messages.C (getLocaleDir): use lyx_localedir()
4841 * lyxlex_pimpl.C (setFile): compress stuff
4843 * buffer.C (writeFile): add some compression stuff
4844 (do_writeFile): new func, dont call expliti close... will this
4847 * Makefile.am (lyx_LDADD): add -lz
4849 2003-07-28 José Matos <jamatos@fep.up.pt>
4851 * buffer.C: increment file format.
4852 * paragraph_funcs (readParagraph, readParToken):
4853 * paragraph.C (readParagraph): add \end_layout.
4855 2003-07-27 Angus Leeming <leeming@lyx.org>
4857 * Makefile.am: remove special casing for configure-time setting of
4858 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4860 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4861 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4863 2003-07-26 André Pönitz <poenitz@gmx.net>
4865 * paragraph_func.[Ch]:
4866 * paragraph.C (realizeFont): inline it whereever it is used
4871 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4874 2003-07-26 André Pönitz <poenitz@gmx.net>
4878 * text2.C: get rid of LyXText::need_break_row
4880 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4882 * toc.[Ch]: put namespace toc inside namespace lyx
4884 * MenuBackend.C (expandToc2): adjust for lyx::toc
4887 * lyxfunc.C (dispatch): adjust for lyx::find
4889 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4890 lyx::find instead. Reorganize a bit.
4891 (LyXReplace): rename to replace
4892 (LyXFind): rename to find
4894 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4897 2003-07-26 André Pönitz <poenitz@gmx.net>
4899 * text.C (setHeightOfRow): restrict scope of temporary variable
4901 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4902 code (never has been used?)
4904 2003-07-27 Asger Alstrup <alstrup@local>
4906 * text.C (fill): Optimise algorithm to exploit that we can reuse
4907 the LyXFont for many characters.
4908 (setHeightOfRow): Same thing.
4909 (rowBreakPoint): Same thing.
4911 2003-07-26 Asger Alstrup <alstrup@local>
4913 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4915 * text.C (singleWidth): Spurious font copying in hot-spot
4916 singleWidth avoided. Reorder tests for arabic for efficiency.
4918 * text.C (fill): handle empty paragraphs better.
4920 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4923 * encoding.h: add includes
4925 * lyxrc.C: remove reading of bind files
4927 * lyx_main.C (init): setup bindings and menus only if we have a
4930 * kbmap.C (read): new method. Do the actual reading of bind
4933 * converter.C (dvipdfm_options):
4936 (output): adapt PAPER_* enums.
4938 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4940 * bufferparams.h: remove paper-related enums from there
4942 * paper.h: New file. A trivial header file to hold paper-related
4943 enums. It should later expand to contain many paper-related
4946 * lyxrc.C: declare extern displayTranslator
4948 2003-07-27 José Matos <jamatos@fep.up.pt>
4950 * tabular.[Ch] (linuxdoc): add support for tables and figures
4953 2003-07-27 José Matos <jamatos@fep.up.pt>
4955 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4956 consistency in both functions.
4957 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4959 2003-07-26 Asger Alstrup <alstrup@local>
4961 * rowpainter.C (paintRows): Change algorithm to work directly on
4962 the insets rather than asking every character in the document
4963 whether its an inset.
4965 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4967 * buffer.C (openFileWrite): factorize some code
4969 2003-07-26 Angus Leeming <leeming@lyx.org>
4972 * lyx_main.[Ch]: replace occurances of system_tempdir with
4975 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4977 * rename Inset to InsetOld
4979 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4981 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4982 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4983 which I think is a bit clearer. EDIT is gone, since it was
4984 premature optimisation, and broken for mathed anyway.
4985 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4986 with cursor positioning in insets as well (math insets still do not
4987 work, but that's a different story anyway.) It mysteriously
4988 crashes sometimes with undo in the first paragraph, but I'm fairly
4989 confident that this is a compiler bug.
4991 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4993 * paragraph.C (Paragraph): adjust for new clone return type
4995 (copyIntoMinibuffer): ditto
4997 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4999 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5000 by not having a special case, and always doing a full rebreak of
5001 the document after undo.
5003 2003-07-23 Angus Leeming <leeming@lyx.org>
5005 * factory.C (createInset): InsetExternal::setParams now takes a
5008 2003-07-23 Angus Leeming <leeming@lyx.org>
5010 * factory.C (createInset): changed interface to the external and
5011 graphics mailers' string2params functions.
5013 2003-07-23 Angus Leeming <leeming@lyx.org>
5015 * factory.C (createInset): pass a
5016 Buffer const * parameter to InsetExternalMailer's string2params.
5018 2003-07-22 John Levon <levon@movementarian.org>
5020 * Thesaurus.h: include the right aiksaurus header
5022 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5024 * MenuBackend.C (expand): check menu shortcuts unconditionally
5026 2003-07-21 Angus Leeming <leeming@lyx.org>
5028 * factory.C (createInset): pass a
5029 buffer_path parameter to InsetGraphicsMailer's string2params.
5031 2003-07-21 Angus Leeming <leeming@lyx.org>
5033 * BufferView_pimpl.C (buffer):
5036 * lyxfunc.C (dispatch):
5037 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5038 rather than the grfx shortcut.
5040 2003-07-21 André Pönitz <poenitz@gmx.net>
5042 * rowpainter.C: remove unused variables
5045 * tabular_funcs.h: move to tabular.C
5046 * Makefile.am: adjust
5048 * tabular.[Ch]: basic optical cleaning
5050 * author.h: pass references, not values
5052 2003-07-18 André Pönitz <poenitz@gmx.net>
5060 * text3.C: two-phase drawing for InsetText and InsetTabular
5061 some float -> int changes.
5063 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5065 * lyx_main.C: fix the fix
5067 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5069 * lyx_main.C: fix a crash in batch mode if no files specified
5072 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5074 * format.[Ch] (papersize): moved to BufferParams
5075 * converter.[Ch] (dvips_options): moved to BufferParams
5076 (dvipdfm_options): moved to anon namespace
5077 * bufferparams.[Ch]: added above functions.
5079 2003-07-17 André Pönitz <poenitz@gmx.net>
5083 * text2.C: don't call inset->update() anymore
5085 * metricsinfo.[Ch]: add convenience constructor
5087 2003-07-16 André Pönitz <poenitz@gmx.net>
5092 * text2.C: replace the LyXCursor::irow_ member with
5093 on-demand computation of the value
5095 2003-07-16 John Levon <levon@movementarian.org>
5097 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5099 2003-07-15 André Pönitz <poenitz@gmx.net>
5102 * text2.C: remove no more needed refresh_row
5104 2003-07-15 André Pönitz <poenitz@gmx.net>
5109 * text3.C: refresh_status tristate -> need_update bool
5111 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5113 * lyxtext.h (init): remove reinit argument (act as if always true)
5114 * text2.C: adjust to that
5116 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5118 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5119 * text3.C: use it to delete selections in some cases
5120 (bugs 441, 673, 702, 954).
5122 2003-07-14 André Pönitz <poenitz@gmx.net>
5124 * rowpainter.[Ch]: reduce interface
5126 2003-07-14 André Pönitz <poenitz@gmx.net>
5128 * BufferView_pimpl.C:
5129 * text2.C: adjust after removing unused BufferView * argument
5131 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5133 * text2.C (init): fix a crash fired on resize
5135 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5137 * buffer.[Ch]: added new closing signal
5138 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5139 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5140 BufferView::Pimpl via the closing the signal
5142 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5144 * buffer.[Ch]: take out all bv-related from buffer
5146 * BufferView_pimpl.[Ch]: connect to new signals
5147 * CutAndPaste.C: removed useless asserts
5148 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5151 * lyxfunc.C: moved view-related funciontality from vc here
5152 * paragraph.C: removed outdated comments
5155 2003-07-10 André Pönitz <poenitz@gmx.net>
5157 * BufferView_pimpl.C:
5161 * text2.C: remove InsetText::InnerCache, clean up consequences
5163 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5165 * ispell.C: fix two typos in error messages
5167 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5169 * Extend Note inset to other forms of annotation like Comment
5170 and Greyedout. Right button click gives dialog.
5172 Files modified or added (+):
5176 * ControlNote.[Ch] +
5178 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5179 frontends/controllers
5183 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5185 * aspell.C: add missing namespace lyx::support
5187 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5189 * BufferView.[Ch] (newFile): Add
5190 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5191 * LaTeX.[Ch] (message): added this signal and use it
5192 * buffer.[Ch] (busy, message): added these signals and use them
5193 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5197 * importer.C: use buffer signals instead of direct bv calling
5198 * lyx_cb.[Ch] (ShowMessage): removed
5201 * paragraph_funcs.C:
5202 * text2.C: use buffer signals
5204 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5206 * introduce namespace lyx::graphics
5208 2003-07-02 André Pönitz <poenitz@gmx.net>
5210 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5212 2003-07-01 André Pönitz <poenitz@gmx.net>
5219 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5220 text*.C to text_func.C
5222 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5224 * introduce namespace lyx::support
5226 2003-06-30 André Pönitz <poenitz@gmx.net>
5231 * text.C: re-enable --with-included-string
5233 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5235 * textcursor.C: add <config.h>
5237 * text.C (getWord): remove const from word_location arg
5239 * lyxvc.C (getLogFile): fix const type order
5241 * lyxtext.h: remove const from word_location arg, add arg name
5243 * lyxlayout.h: currect type on labeltype.
5245 * importer.C: correct \file
5247 * converter.C (intToFormat): use std:: on ret val, ws changes
5249 * bufferlist.h: correct \file
5251 * buffer.C (makeLinuxDocFile): fix const type order
5252 (makeDocBookFile): ditto
5253 (fillWithBibKeys): use std:: on stdlib args.
5255 * CutAndPaste.C: fix authors.
5256 (availableSelections): use std:: on return vector
5258 2003-06-27 André Pönitz <poenitz@gmx.net>
5260 * BufferView_pimpl.C:
5261 * bufferview_funcs.C:
5269 * text3.C: remove LyXCursor::row_ member
5272 * text.C: rename fullRebreak() to partialRebreak() and implement
5273 a fullRebreak() that really bereks fully
5275 * textcursor.h: new struct for cursor-related data
5277 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5279 * lyx_main.C (LyX): get full path of document loaded on the
5282 2003-06-26 André Pönitz <poenitz@gmx.net>
5284 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5285 remove unused/broken operator>,<,>=.
5287 * text.C: remove only use of broken operator<= in an Assert().
5289 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5291 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5292 moved errorlist_.clear to showErrorList
5294 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5296 * converter.C (scanLog, runLaTeX):
5297 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5298 move the bv->showErrorList call to the callers
5299 * lyxfunc.C: i.e. here...
5301 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5302 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5303 namespace, the second to...
5304 * buffer_funcs (BufferFormat, parseErrors): added
5305 * errorlist.C (ErrorList(TeXErrors const &)): removed
5307 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5309 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5311 2003-06-24 "Garst R. Reese" <reese@isn.net>
5315 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5317 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5319 * version.C.in: change docversion to 1.4
5321 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5323 * buffer.C: fix a bug just introduced
5325 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5327 * buffer.[Ch]: added the parseError signal and use it, removed
5329 * BufferView.[Ch] (addError): moved to ...
5330 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5331 to the Buffer::parseError signal to catch (guess what) parse errors
5332 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5334 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5336 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5337 ability to create a buffer and to return an existing one from
5338 the list. Moved these functions to...
5339 * buffer_funcs.[Ch]: added
5340 * BufferView.[Ch] (loadLyXFile): added
5341 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5342 job removed from bufferlist::loadLyXFile.
5343 * buffer.C (setReadOnly): make it work without view
5344 (i.e added an if (users))
5346 2003-06-19 Angus Leeming <leeming@lyx.org>
5349 * LyXAction.C (init):
5350 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5351 with LFUN_DIALOG_SHOW <name> <data>.
5353 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5355 * CutAndPaste.C (availableSelections): small compilation fix for
5356 ancient (gcc 2.9x) compilers
5358 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5360 * text3.C (cursorNext): add tmp var
5362 * text2.C (updateCounters): for function calling out of for clause
5363 (replaceSelectionWithString): ditto
5364 (insertStringAsParagraphs): ditto
5365 (getColumnNearX): add tmp var
5366 (setCursorFromCoordinates): add tmp var
5367 (cursorDownParagraph): add tmp var
5368 (deleteEmptyParagraphMechanism): add tmp var
5370 * text.C (insertChar): add tmp var
5372 * rowpainter.C (paintDepthBar): add tmp var
5374 * CutAndPaste.C (availableSelections): potentially check all
5375 paragraphs in a cut to fill the shown strings.
5377 2003-06-18 André Pönitz <poenitz@gmx.net>
5379 * kbmap.[Ch]: use vector<> instead of list<>
5381 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5383 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5384 pasteSelection with index
5386 * text2.C (pasteSelection): modify, call pasteSelection with index
5388 * paragraph.C (asString): reimplement version with no interval to
5389 call the one with interval.
5391 * lyxtext.h: add index arg to pasteSelection
5393 * MenuBackend.C (MenuItem): handle PasteRecent
5394 (Menu::read::Menutags): add md_pasterecent
5396 (expandPasteRecent): new function
5399 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5401 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5403 (availableSelections): new function
5405 2003-06-17 Angus Leeming <leeming@lyx.org>
5407 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5409 2003-06-17 Angus Leeming <leeming@lyx.org>
5412 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5414 * lyxfunc.C (dispatch): invoke it.
5416 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5418 * iterators.C (operator++, ParPosition): reintroduce some
5419 const_cast for the benefit of older compilers.
5421 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5423 * text3.C (dispatch): do not modify clipboard when doing
5424 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5425 LFUN_DELETE_SKIP on a selection selection
5427 2003-06-16 André Pönitz <poenitz@gmx.net>
5433 * tabular.[Ch]: IU of clone() and getLabelList();
5435 2003-06-13 André Pönitz <poenitz@gmx.net>
5437 * tabular.h: compactification
5439 2003-06-12 André Pönitz <poenitz@gmx.net>
5443 * tabular_funcs.h: some renaming plus whitespace
5445 2003-06-12 André Pönitz <poenitz@gmx.net>
5448 * BufferView_pimpl.C:
5454 * toc.C: Return a Paragraph & for ParIterator::operator*()
5456 2003-06-11 John Levon <levon@movementarian.org>
5460 * ToolbarBackend.C: add "Toolbars" section and
5463 2003-06-10 Angus Leeming <leeming@lyx.org>
5466 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5468 * lyxfunc.C (dispatch): invoke it.
5470 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5472 * main.C: protect <ios> with HAVE_IOS
5473 (main): protect sync_with_stdio with HAVE_IOS
5475 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5477 * text2.C (cutSelection): adjust
5478 (pasteSelection): adjust
5480 * messages.C: handle get of empty string
5482 * main.C (main): use sync_with_stdio(false)
5484 * lyxfunc.C (dispatch): adjust
5486 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5487 (WriteAs): remove unneeded BufferView arg.
5489 * bufferparams.h: use correct types on papersize, papersize2 and
5492 * bufferparams.C (readToken): adjust for type
5493 (writeLaTeX): add missing cases to switch.
5495 * bufferlist.C (quitWriteBuffer): adjust
5498 * buffer.C (asciiParagraph): remove some commented code.
5500 * CutAndPaste.C: remove current_view extern variable.
5501 (cutSelection): add BufferParams arg.
5502 (eraseSelection): add BufferParams arg.
5503 (pasteSelection): add Buffer const & arg
5505 2003-06-07 John Levon <levon@movementarian.org>
5508 * paragraph_funcs.C:
5509 * paragraph_pimpl.C:
5513 * paragraph.C: allow InsetERT to freely space lines,
5514 and some consolidation of code
5516 2003-06-06 José Matos <jamatos@fep.up.pt>
5518 * buffer.C (makeDocBookFile): fix bug #821
5520 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5522 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5524 2003-06-04 Angus Leeming <leeming@lyx.org>
5526 * buffer.C: bump format to 224.
5528 2003-06-05 André Pönitz <poenitz@gmx.net>
5530 * text2.C (redoParagraphs): remove two const_cast<>
5532 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5534 * ParagraphList.h: remove last remnants of NO_STD_LIST
5536 2003-06-03 Angus Leeming <leeming@lyx.org>
5538 * factory.C (createInset): small change to the way InsetExternal's params
5541 2003-06-04 André Pönitz <poenitz@gmx.net>
5543 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5545 * paragraph_pimpl.h:
5546 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5548 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5550 * undo_funcs.C: make some simple cases of undo work again
5552 2003-06-03 John Levon <levon@movementarian.org>
5554 * ispell.C: HPUX doesn't have sys/select.h
5557 2003-06-03 John Levon <levon@movementarian.org>
5559 * CutAndPaste.C: update tabular and include inset
5564 * paragraph.C: remove owningBuffer(), don't pass Buffer
5567 * factory.C: insetGraphicsParams changed
5569 2003-06-02 John Levon <levon@movementarian.org>
5575 * text3.C: remove insetparent
5577 2003-06-02 John Levon <levon@movementarian.org>
5580 * buffer.C: fix inset_iterator.end(), move out of line
5583 2003-06-01 John Levon <levon@movementarian.org>
5585 * text3.C: use a proper cut/paste when doing inset
5586 insert (from Jürgen Spitzmüller)
5588 2003-06-01 John Levon <levon@movementarian.org>
5590 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5592 2003-05-30 André Pönitz <poenitz@gmx.net>
5594 * rowpainter.C: unify second drawing phase
5596 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5598 * trans_mgr.C: remove one case of current_view
5600 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5602 * paragraph_funcs.h: remove paragraph.h include
5604 * paragraph.h: delete NO_STD_LIST stuff
5606 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5608 * buffer.h: remove paragraph.h include
5610 * ParagraphList.C: delete file
5612 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5614 * toc.C (getTocList): adjust
5616 * paragraph_pimpl.C (validate): adjust
5618 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5620 * paragraph.C (Paragraph): adjust
5621 (getPositionOfInset): use const_iterator, adjust
5622 (bibitem): use const_iterator, adjust
5623 (setInsetOwner): adjust
5625 * iterators.C (operator++): adjust
5627 * InsetList.[Ch]: Replace selfmade iterator with standard
5628 vector::iterator also introduce const_iterator. Remove getPos,
5629 getInset and setInset from InsetTable. Adjust accordingly.
5631 * BufferView.C (lockInset): adjust
5632 (ChangeInsets): adjust
5634 * tabular.[Ch]: delete commented same_id functions
5636 2003-05-28 John Levon <levon@movementarian.org>
5638 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5640 2003-05-28 André Pönitz <poenitz@gmx.net>
5642 * metricsinfo.[Ch]: remove 'fullredraw' member
5644 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5646 * lyxtextclass.C (operator): remove caching.
5648 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5652 * text2.C (cursorBottom): adjust
5653 (setCounter): use ParagraphList::find, adjust
5655 * text.C (workWidth): use ParagraphList::find, adjust
5657 * lyxcursor.C (LyXCursor): adjust
5659 * buffer.C (inset_iterator): adjust
5661 * ParagraphList.h: make iterator(value_type) private, make
5662 ParagraphList a friend of iterator.
5664 * ParagraphList.C (find): new function
5666 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5668 2003-05-27 André Pönitz <poenitz@gmx.net>
5670 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5672 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5674 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5676 2003-05-26 John Levon <levon@movementarian.org>
5678 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5680 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * remove same_id from function signatures, adjust.
5684 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5686 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5688 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5690 * paragraph.C (Paragraph): get rid of same_ids parameter
5692 * ParagraphList.C (insert): adjust
5695 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5697 * paragraph_funcs.C (breakParagraph): adjust
5698 (breakParagraphConservative): adjust
5700 * buffer.C (readParagraph): adjust
5702 * ParagraphList.C (insert): take a reference instead of a pointer
5705 * paragraph.[Ch] (id): new function
5707 * bufferlist.C (newFile): adjust
5709 * ParagraphList.C (ParagraphList): adjust
5711 (push_back): take a reference instead of a pointer.
5713 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5715 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5718 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5719 set else use old code.
5721 * ParagraphList.C: remove all NO_NEXT code and only compile this
5722 code of NO_STD_LIST is set.
5724 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5726 * BufferView_pimpl.C:
5736 * graphics/GraphicsConverter.C:
5737 * graphics/PreviewLoader.C: header adjustment
5739 2003-05-23 Angus Leeming <leeming@lyx.org>
5741 * LaTeXFeatures.[Ch] (useBabel): new method.
5742 * bufferparams.C (writeLaTeX): use it.
5744 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5746 * ParagraphList.h (set): remove unused function.
5748 2003-05-23 André Pönitz <poenitz@gmx.net>
5751 * BufferView_pimpl.C:
5755 * undo_funcs.C: setUndo reworked
5757 * iterators.[Ch]: add access to topmost ParagraphList
5759 * lyxtext.[Ch] (workWidth): add a const
5761 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5763 * texrow.[Ch] (increasePos): remove function
5764 * exporter.C (export): removed unused var and outdated comment
5766 2003-05-23 Angus Leeming <leeming@lyx.org>
5768 * latexrunparams.h: rename fragile as moving_arg.
5769 * paragraph.C (simpleTeXOnePar): ditto.
5770 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5772 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5774 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5776 (textUndoOrRedo): comment out a currently unused var.
5778 * paragraph.h (NO_NEXT): enable NO_NEXT
5780 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5782 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5784 * exporter.C (Export): adjust for removeAutoInsets removal.
5786 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5788 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5790 * BufferView.[Ch] (removeAutoInsets): delete function
5792 2003-05-22 Angus Leeming <leeming@lyx.org>
5794 * latexrunparams.h: add a free_spacing variable.
5796 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5797 to pass moving_arg, as the data is stored in runparams.fragile.
5799 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5800 to Inset::latexOptional or to simpleTeXOnePar.
5802 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5803 free_spacing arg to Inset::latexOptional.
5805 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5808 2003-05-22 Angus Leeming <leeming@lyx.org>
5810 * latexrunparams.h: add fragile and use_babel variables.
5812 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5813 * buffer.C (makeLaTeXFile): store this returned value in
5814 runparams.use_babel, thus passing it to the inset::latex methods.
5816 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5817 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5819 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5820 longer has a fragile arg, as it is stored in runparams.fragile.
5822 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5823 moving_arg parameter as the data is stored in runparams.fragile.
5825 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5826 a fragile parameter as the data is stored in runparams.fragile.
5828 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5830 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5832 2003-05-22 Angus Leeming <leeming@lyx.org>
5834 * latexrunparams.h: add a 'bool nice' which defaults to false.
5836 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5837 now encapsulated within runparams.
5839 * bufferlist.C (updateIncludedTeXfiles):
5840 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5842 2003-05-22 Angus Leeming <leeming@lyx.org>
5844 * latexrunparams.h: new file containing struct LatexRunParams.
5845 * Makefile.am: add new file.
5847 * LaTeX.[Ch] (c-tor, run):
5848 * buffer.[Ch] (makeLaTeXFile):
5849 * bufferlist.[Ch] (updateIncludedTeXfiles):
5850 * converter.C (convert, scanLog):
5851 * converter.[Ch] (runLaTeX):
5852 * exporter.C (Export):
5853 * paragraph.[Ch] (simpleTeXOnePar):
5854 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5855 * paragraph_funcs.[Ch] (latexParagraphs):
5856 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5857 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5858 pass around a LatexRunParams parameter.
5860 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5862 * paragraph.[Ch]: remove unused constructor
5864 * ParagraphList.C (erase): new function, taking two iterators
5866 2003-05-22 André Pönitz <poenitz@gmx.net>
5868 * undo_funcs.C: remove duplicated code
5870 * iterator.[Ch]: operator=
5872 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5874 * tabular.C (SetMultiColumn): ws changes
5876 * rowpainter.C (paintFirst): get rid of a ->previous
5878 * lyx_cb.C (getPossibleLabel): parlist simplification
5880 * BufferView.C (ChangeInsets): simplify slightly.
5882 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5884 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5885 * lfuns.h: new LFUN_SPACE
5886 * lyxfunc.C: protected space has a new lfun
5887 * paragraph_funcs.C: read new space insets
5889 * factory.C: handle new space insets
5891 2003-05-22 André Pönitz <poenitz@gmx.net>
5894 * BufferView_pimpl.C:
5897 * undo_funcs.C: return a ParIterator from getParFromID.
5899 * iterators.[Ch]: add two const's
5901 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5903 * toc.C (getTocList): adjust
5905 * iterators.[Ch]: rework for parlist
5907 * buffer.C (par_iterator_begin): adjust
5908 (par_iterator_end): adjust
5910 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5912 * BufferView.C (removeAutoInsets): adjust
5913 (ChangeInsets): adjust
5915 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5917 * text.C (top_y): fix bug 1110
5919 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5921 * errorlist.[Ch]: added
5924 * BufferView_pimpl.C:
5925 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5928 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5930 * Makefile.am: ensure that lyx is relinked upon changes to the
5931 various "convenience" libs.
5933 2003-05-20 Angus Leeming <leeming@lyx.org>
5935 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5936 files are compiled in alphabetical order again.
5938 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5940 2003-05-19 Angus Leeming <leeming@lyx.org>
5942 * gettext.[Ch]: remove "char const * _(char const *)".
5944 2003-05-19 André Pönitz <poenitz@gmx.net>
5946 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5955 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5957 2003-05-19 André Pönitz <poenitz@gmx.net>
5961 * lyxtextclass.[Ch]:
5963 * paragraph_funcs.[Ch]:
5965 * text3.C: more insetenv work
5967 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5969 * ParagraphParameters.C (params2string): small bug fixed
5971 2003-05-16 André Pönitz <poenitz@gmx.net>
5974 * bufferview_funcs.C: patch from Kornel Benko to prevent
5975 crash when _(...) is called twice in a statement
5977 2003-05-16 André Pönitz <poenitz@gmx.net>
5984 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5986 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5988 * lyx_main.C (init): remove spurious static_cast
5990 2003-05-14 André Pönitz <poenitz@gmx.net>
5992 * BufferView.C: fix format string
5994 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5996 * BufferView.[Ch] (insertErrors): removed
5997 * BufferView.[Ch] (showErrorList): added
5998 * buffer.C (runChkTeX):
5999 * converter.C (scanLog): call showErrorList instead of inserterrors
6001 2003-05-13 André Pönitz <poenitz@gmx.net>
6003 * BufferView_pimpl.C:
6005 * bufferview_func.C:
6012 * tabular_funcs.h: tostr() from its own header
6014 * ParagraphParameters.C:
6019 * text3.C: STRCONV()
6021 2003-05-12 André Pönitz <poenitz@gmx.net>
6024 * BufferView_pimpl.C:
6028 * ParagraphParameters.C:
6032 * bufferview_funcs.C:
6045 * paragraph_funcs.C:
6049 * text3.C: boost::format -> bformat all over the place
6052 2003-05-09 André Pönitz <poenitz@gmx.net>
6054 * LColor.[Ch]: Pimpl the #include <map> away
6056 2003-05-09 John Levon <levon@movementarian.org>
6058 * bufferlist.C: never remove emergency saves
6060 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6062 * Makefile.am: better lib building
6064 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6066 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6068 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6069 (simpleTeXSpecialChars): adjust
6070 (simpleTeXSpecialChars): adjust
6071 * paragraph.C (simpleTeXOnePar): adjust
6072 * buffer.C (makeLaTeXFile): adjust
6074 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6076 * text2.C (changeDepth): parlist cleanup
6077 (getColumnNearX): ditto
6079 * rowpainter.C (getLabelFont): parlist cleanup
6081 * bufferlist.C (newFile): parlist cleanup
6083 * CutAndPaste.C (eraseSelection): parlist cleanup
6085 * BufferView_pimpl.C (trackChanges): parlist cleanup
6088 * BufferView.C (lockInset): parlist cleanup.
6089 (ChangeInsets): ditto
6091 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6093 * CutAndPaste.h: Update file header.
6095 * CutAndPaste.C: Update file header.
6096 Store the parts cut out of the Document in a limited_stack.
6097 (copySelection): adjust
6098 (pasteSelection): new function, takes the index in the limited stack.
6099 (nrOfParagraphs): adjust
6100 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6101 simplify error inset insertion.
6102 (checkPastePossible): adjust
6104 2003-05-06 John Levon <levon@movementarian.org>
6106 * text2.C: don't cast wrap inset to float
6108 2003-05-05 André Pönitz <poenitz@gmx.net>
6111 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6113 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6114 few naked Paragraph *.
6116 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6118 * bufferparams.C: Output warning if a document with missing
6119 TeX document class is loaded
6120 * exporter.C: Disable TeX exports if the document class is missing
6123 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6124 isTeXClassAvailable()
6126 2003-05-03 John Levon <levon@movementarian.org>
6129 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6130 explicit cursor show/hide
6132 * BufferView_pimpl.h:
6133 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6134 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6136 * lyxfunc.C: hide cursor before dispatching.
6141 * text3.C: remove explicit cursor hides
6143 2003-05-02 André Pönitz <poenitz@gmx.net>
6145 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6148 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6151 * text2.C: tiny whitespace
6153 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6155 * undo_funcs.C: almost only ws changes.
6157 * ParagraphList.C (splice): just return if pl is empty.
6159 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6161 * ParagraphList.C (splice): new function.
6163 * CutAndPaste.C (pasteSelection): use it
6165 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6167 * CutAndPaste.C (pasteSelection): remove the last next and
6168 previous from this file.
6170 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6172 * CutAndPaste.C (pasteSelection): more clean up, user proper
6173 ParagraphList functions for pasteing.
6175 * ParagraphList.C (insert): new function, three arg insert
6177 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6179 * ParagraphList.C (insert): new function, three arg insert
6181 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6184 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6186 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6188 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6190 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6192 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6194 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6195 (copySelection): clean up a bit.
6196 (pasteSelection): use make_pair
6198 * ParagraphList.C (ParagraphList): implement copy constructor
6199 (operator=): implement, base on copy constructor.
6202 * paragraph.C (erase): return a bool
6204 * paragraph_pimpl.C (erasePos): remove function, move contents...
6205 (erase): ... here. Return a bool.
6206 (erase): call erase instead of erasePos.
6208 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6210 * ParagraphList.h: define PitPosPair
6211 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6212 ParagraphList, fix a bug on pasting multiple pars
6213 * text2.C: change interface to C&P
6215 2003-04-30 André Pönitz <poenitz@gmx.net>
6217 * undo_func.C: revert part of yesterday's patch 2
6219 2003-04-30 John Levon <levon@movementarian.org>
6221 * LColor.C: s/tabular/table/
6223 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6225 * text3.C (dispatch): do not convert iterator -> pointer
6226 * undo_funcs.C (setCursorParUndo): ditto
6227 * text_funcs.C (transposeChars): ditto
6229 * text2.C (setLayout): ws changes only
6231 * text.C (breakParagraph): do not convert iterator -> pointer
6233 (acceptChange): ditto
6234 (rejectChange): ditto
6239 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6242 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6244 * text3.C (gotoInset): YABG (yet another bad getChar)
6246 2003-04-29 André Pönitz <poenitz@gmx.net>
6248 * paragraph.h: make operator= private unimplemented as long as
6251 * ParagraphList.C: whitespace
6254 * paragraph_pimpl.[Ch]:
6255 * paragraph_funcs.C:
6257 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6260 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6262 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6264 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6265 * paragraph.[Ch] (erase):
6266 * paragraph_pimpl.[Ch] (erase): change return type and value
6267 * text2.C (cutSelection): some rework
6269 2003-04-28 John Levon <levon@movementarian.org>
6271 * bufferlist.C: changes for unsaved changes dialog
6273 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6275 * bufferlist.C (newFile): set language (messages_) for new
6278 * buffer.C (readFile): ws changes only.
6280 2003-04-28 André Pönitz <poenitz@gmx.net>
6285 * BufferView_pimpl.C:
6286 * BufferView.C: getParFromID related ParagraphList::iterator changes
6288 2003-04-28 André Pönitz <poenitz@gmx.net>
6290 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6293 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6295 * messages.C: remove one more localedir class variable.
6297 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6299 * messages.C (getLocaleDir): singleton generation function
6301 (Messages): add a default constructor.
6303 * main.C (main): do not setup localedir here, do not call
6306 * gettext.C (_): use it.
6307 (gettext_init): delete funciton
6309 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6311 * gettext.C (getLyXMessages): new singleton generating function.
6313 * buffer.C (updateDocLang): adjust
6315 * Makefile.am (messages.o): add target
6316 (main.o): remove target
6318 2003-04-27 John Levon <levon@movementarian.org>
6323 * lyxvc.C: specify cancel button in Alert::prompt
6325 2003-04-26 John Levon <levon@movementarian.org>
6330 * LyXAction.C: add LFUN_INSET_SETTINGS
6332 * lyxfunc.C: don't enable tabular-feature when there's
6333 just any locking inset
6335 2003-04-26 John Levon <levon@movementarian.org>
6337 * bufferlist.C: re-add Cancel to buffer close question
6339 * lyxfunc.C: fix import UI a bit
6341 2003-04-25 John Levon <levon@movementarian.org>
6343 * gettext.C: remove the broken asserts for now
6345 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6347 * messages.C: make case where setlocale cannot comply work better.
6349 * buffer.C (updateDocLang): new function
6350 (changeLanguage): use it
6353 * text2.C (setCounter): use B_ a bit.
6355 * lyxlayout.C (Read): be sure to trim the label strings.
6357 * messages.C (Messages): fix typo in comment
6359 * buffer.C (readFile): set message_ after file is loaded.
6360 (makeDocBookFile): remove double return
6361 (changeLanguage): reset message_ upon language change.
6362 (B_): new func, use this to get translated buffer strings.
6364 * main.C: add myself and Jean Marc as authors.
6366 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6368 * messages.[hC]: pimplify Messages, and three different pimpls to be
6369 used in different circumstances.
6371 * gettext.[Ch]: change for use with new message code.
6373 2003-04-24 André Pönitz <poenitz@gmx.net>
6375 * factory.C: support for eqref
6377 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6379 * messages.[Ch]: add missing char
6381 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6383 * messages.[Ch]: New files
6385 2003-04-18 John Levon <levon@movementarian.org>
6389 * BufferView_pimpl.C:
6393 * text2.C: remove layout-copy/paste (bug 778)
6395 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6397 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6399 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6401 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6402 if they succeed. Act accordingly.
6404 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6406 * text2.C (setCharFont): adjust
6407 (setCounter): adjust
6408 (insertStringAsLines): adjust
6410 * text.C (leftMargin): adjust
6411 (setHeightOfRow): adjust
6413 * rowpainter.C (paintFirst): adjust
6416 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6418 (isFirstInSequence): ditto
6419 (getEndLabel): ditto
6422 * paragraph.C (getParLanguage): comment out some hard stuff.
6424 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6426 (simpleDocBookOnePar): ditto
6427 (makeDocBookFile): use ParagraphList::iterator
6429 * CutAndPaste.C (pasteSelection): adjust
6431 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6433 * text2.C (getFont): adjust
6434 (getLayoutFont): adjust
6435 (getLabelFont): adjust
6437 * paragraph_funcs.C (TeXOnePar): adjust
6439 * buffer.C (simpleLinuxDocOnePar): adjust
6440 (simpleDocBookOnePar): adjust
6442 * CutAndPaste.C (pasteSelection): adjust
6444 * BufferView.C (getEncoding): adjust
6446 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6448 2003-04-16 John Levon <levon@movementarian.org>
6450 * lyxfind.C: use parlist stuff for search/changes
6452 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6454 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6456 * text2.C (deleteEmptyParagraphMechanism): adjust
6458 * text2.[Ch] (ownerParagraph): delete func (both of them
6460 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6462 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6464 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6466 * ParagraphList.C: prepare for NO_NEXT
6468 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6470 * text2.C (getFont): adjust
6471 (getLayoutFont): adjust
6472 (getLabelFont): adjust
6474 * paragraph.C (getFont): adjust
6475 (getLabelFont): adjust
6476 (getLayoutFont): adjust
6478 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6480 2003-04-15 John Levon <levon@movementarian.org>
6484 * lyx_main.C: handle Include in .ui files
6486 2003-04-15 John Levon <levon@movementarian.org>
6488 * MenuBackend.C: make the doc files length shorter
6491 * ToolbarBackend.C: handle toolbar placement flags,
6494 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6496 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6499 * paragraph_funcs.C (TeXOnePar): adjust
6501 * paragraph.C (getLabelFont): add outerfont arg, adjust
6502 (getLayoutFont): ditto
6503 (simpleTeXOnePar): adjust
6505 * paragraph_pimpl.C (realizeFont): delete func
6507 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6509 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6510 row argument, constify cur argument.
6512 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6514 * text2.C (getFont): adjust
6515 (getLayoutFont): adjust
6516 (getLabelFont): adjust
6518 * paragraph_funcs.C (TeXOnePar): adjust
6519 (outerFont): new func...
6520 (realizeFont): ...moved out from here, changed this to facilitate
6523 * paragraph.C (getFont): take outerfont as arg, adjust
6524 (simpleTeXOnePar): add outerfont arg, adjust
6526 * buffer.C (simpleLinuxDocOnePar): adjust
6527 (simpleDocBookOnePar): adjust
6529 * CutAndPaste.C (pasteSelection): adjust
6531 * BufferView.C (getEncoding): adjust
6533 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6535 * text2.C (setCharFont): adjust
6536 (setCounter): adjust
6538 * text.C (leftMargin): adjust
6539 (setHeightOfRow): adjust
6541 * rowpainter.C (paintFirst): adjust
6544 * paragraph_pimpl.C (realizeFont): adjust
6546 * paragraph.C (isFirstInSequence): move from here...
6547 * paragraph_funcs.C (isFirstInSequence): ...to here
6549 * paragraph.C (outerHook): move from here...
6550 * paragraph_funcs.C (outerHook): ...to here
6552 * paragraph.C (depthHook): move from here...
6553 * paragraph_funcs.C (depthHook): ...to here
6555 * paragraph.C (getEndLabel): move from here...
6556 * paragraph_funcs.C (getEndLabel): ...to here
6558 * text2.C (realizeFont): move from here...
6559 * paragraph_funcs.C (realizeFont): ...to here
6561 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6563 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6565 2003-04-14 Angus Leeming <leeming@lyx.org>
6567 * LColor.[Ch]: scrap LColor mathcursor.
6569 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6571 * lyxlex.[Ch] (text): delete function
6572 * trans.C (Load): adjust
6573 * paragraph_funcs.C (readParToken): adjust
6575 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6577 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6578 vector<char> instead of a char[].
6580 * lyxlex_pimpl.C (getString): adjust
6582 (lex): use getString
6586 * lyxlex.C (text): use pimpl_->getString()
6590 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6592 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6593 (makeFontEntriesLayoutSpecific): temp var for par.size()
6594 (setLayout): temp var for ownerParagraphs().end()
6595 (fullRebreak): temp var for rows().end()
6596 (selectionAsString): temp var for boost::next(startpit), realize
6597 that the while really is a regular for loop.
6598 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6599 setCursor in one place.
6600 (setParagraph): temp vr for ownerParagraphs().end()
6601 (updateCounters): make the while loop a for loop
6602 (cutSelection): temp var for ownerParagraphs().end()
6603 (updateInset): make the do {} while() a regular for loop
6604 (getCursorX): use temp vars
6605 (setCurrentFont): use temp vars
6606 (getColumnNearX): use temp vars
6608 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6610 * text.C (transformChar): use temp var for getChar
6611 (computeBidiTables): use temp var for row->par()
6612 (fill): move temp vars for row->par() and pit->layout() earlier in
6614 (labelFill): use temp var for row->par()
6615 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6616 asc and desc, realize that pit never changes and that firstpit is
6617 just a duplicate and not needed. Exchange rit->par() with pit in a
6619 (breakAgain): use a temp var for boost::next(rit)
6620 (breakAgainOneRow): ditto
6621 (breakParagraph): use a temp var for rows().begin()
6622 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6623 (cursorRightOneWord): use temp var for cursor.par() and
6624 cursor.pos(), remove usage of tmpcursor.
6625 (cursorLeftOneWord): use temp var for cursor.par() and
6626 cursor.pos() only set cur at end of function.
6628 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6630 * text.C, text2.C: exchange all usage of Paragraph::next with
6631 boost::next(ParagraphList::iterator)
6633 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6635 * text2.C (cursorTop): simplify implementation
6636 (cursorBottom): ditto
6637 (setParagraph): use ParagraphList::iterator
6638 (setCurrentFont): adjust
6639 (getColumnNearX): adjust
6640 (cursorRight): adjust
6641 (cursorLeft): remove usage of Paragraph::previous
6642 (cursorUpParagraph): ditto
6643 (deleteEmptyParagraphMechanism): slight cleanup
6645 * text.C (isBoundary): take a Paragraph const & instead of a
6647 (addressBreakPoint): ditto
6648 (leftMargin): remove usage of Paragraph::previous.
6649 (setHeightOfRow): ditto
6650 (cursorLeftOneWord): ditto
6651 (selectNextWordToSpellcheck): ditto
6654 (breakParagraph): remove one usage of Paragraph::next
6655 (redoParagraph): ditto
6656 (acceptChange): ditto
6657 (insertChar): adjust
6658 (rowBreakPoint): adjust
6660 * bufferview_funcs.C (toggleAndShow): adjust
6662 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6664 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6665 methods to access it.
6667 * text.C: Added updateRowPositions to compute all row positions.
6668 Make top_y and getRowNearY() to use the cached y position
6670 2003-04-11 John Levon <levon@movementarian.org>
6672 * text.C (rowBreakPoint): reintroduce the labelEnd
6673 checks, code copied from the row fill stuff. Deep voodoo.
6675 * text.C (fill): add a comment and debugging for the
6678 2003-04-11 John Levon <levon@movementarian.org>
6680 * text.C: make sure fullrow insets get wrapped to the next line,
6681 even when they're in a manual label
6683 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6685 * text2.C (insertParagraph): make it take ParagraphList::iterator
6687 (setLayout): make it return ParagraphList::iterator
6688 (redoParagraphs): ditto
6690 (checkParagraph): ditto
6692 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6694 * text2.C: adjust several funcs.
6695 (realizeFont): take a ParagraphList::iterator as arg.
6696 (getLayoutFont): ditto
6697 (getLabelFont): ditto
6698 (setCharFont): ditto
6700 * text.C: adjust several funcs.
6702 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6704 * text.C (selectNextWordToSpellcheck): don't accidentally
6707 2003-04-10 John Levon <levon@movementarian.org>
6709 * ToolbarBackend.C (getIcon): special handling for
6712 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6714 * text2.C (cursorRight): a getChar assert fixed
6716 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6718 * text2.C (getFont): change to take a ParagraphList::iterator
6719 instead of Paragraph*
6720 Adjust several functions.
6722 * text.C (transformChar): change to take a ParagraphList::iterator
6723 instead of Paragraph*
6724 (singleWidth): ditto
6725 Adjust several functions.
6727 * rowpainter.C: adjust several functions
6728 * rowpainter.h:store a ParagraphList::iterator and not a
6732 2003-04-09 John Levon <levon@movementarian.org>
6737 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6738 and the "help" bits as well
6740 2003-04-09 John Levon <levon@movementarian.org>
6743 * ToolbarBackend.C: allow multiple toolbars
6745 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6747 * undo_funcs.C (setCursorParUndo): adjust
6749 * text_funcs.C (transposeChars): adjust
6751 * text3.C (gotoNextInset): adjust
6754 * text2.C (setLayout): adjust
6755 (changeDepth): adjust
6757 (redoParagraphs): adjust
6758 (selectionAsString): adjust
6759 (setParagraph): adjust
6760 (insertInset): adjust
6761 (cutSelection): adjust
6762 (copySelection): adjust
6763 (pasteSelection): adjust
6764 (insertStringAsLines): adjust
6765 (updateInset): adjust
6766 (setCursor): change to take a ParagraphList::iterator parameter
6767 (setCursorIntern): change to take a ParagraphList::iterator parameter
6768 (setCurrentFont): adjust
6769 (cursorLeft): adjust
6770 (cursorRight): adjust
6771 (deleteEmptyParagraphMechanism): adjust
6773 * text.C (breakParagraph): adjust
6774 (insertChar): adjust
6775 (acceptChange): adjust
6776 (rejectChange): adjust
6777 (selectNextWordToSpellcheck): adjust
6778 (changeCase): adjust
6782 * lyxfind.C (SearchForward): adjust
6783 (SearchBackward): adjust
6784 (nextChange): adjust
6786 * lyxcursor.C (par): adjust
6788 * lyxcursor.h: store a ParagraphList::iterator instead of a
6791 * lyx_cb.C (getPossibleLabel): adjust
6793 * bufferview_funcs.C (toggleAndShow): adjust
6795 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6798 * BufferView.C (removeAutoInsets): adjust
6799 (lockedInsetStoreUndo): adjust
6801 2003-04-09 John Levon <levon@movementarian.org>
6803 * ToolbarBackend.C: try icon without argument
6804 if with argument fails
6806 2003-04-08 John Levon <levon@movementarian.org>
6809 * ToolbarBackend.C: add getIcon(), handle tooltip,
6810 and change from "Icon" to "Item".
6812 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6814 * BufferView.C (lockInset): another bad getchar crunched
6816 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6818 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6821 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6823 * lyxfind.C (searchForward, searchBackwards): bug 782
6825 2003-04-07 John Levon <levon@movementarian.org>
6827 * paragraph.C: remove dead comment
6829 * text.C: remove troublesome depth-fiddling code
6830 in leftMargin() and rightMargin() (bug 1017)
6832 * text.C: fix breaking of rows in nested lists
6835 * text2.C (updateCounters): fix up depth values
6838 2003-04-07 John Levon <levon@movementarian.org>
6840 * BufferView_pimpl.C: clear message when doc finishes resizing,
6841 and after a mouse event
6843 * lyxfunc.C: clear message after exiting inset
6845 2003-04-07 John Levon <levon@movementarian.org>
6847 * bufferview_funcs.C: show math status not outside
6848 status in the statusbar
6850 2003-04-07 John Levon <levon@movementarian.org>
6852 * lyxfunc.C: note status changed after a depth change
6854 2003-04-04 Angus Leeming <leeming@lyx.org>
6856 * LaTeX.h: move AuxInfo operator==, != out of line.
6857 Remove LaTeX virtual destructor; nothing derives from it.
6858 Move operator()() out of public area and rename it startscript().
6859 Change protected for private.
6861 2003-04-04 Angus Leeming <leeming@lyx.org>
6864 * text2.C: remove unneeded #includes.
6866 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6868 * text2.C (dEPM): fix the heigth of the next row
6870 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6872 * text.C: squashed an invalid getChar requester + some ws changes
6874 2003-04-03 John Levon <levon@movementarian.org>
6876 * bufferview_funcs.h:
6877 * bufferview_funcs.C:
6880 * text2.C: make getStatus work for the env depth lfuns
6882 2003-04-03 John Levon <levon@movementarian.org>
6884 * bufferview_funcs.h:
6885 * bufferview_funcs.C:
6888 * text2.C: parlistize decDepth(), by merging it with incDepth()
6890 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6892 * lyxrow.h: store a ParagraphList::iterator instead of a
6893 Paragraph* and adjust other class functions to suit.
6895 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6898 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6900 * text2.C (setCursor): do not anchor to cursor row for the time being
6902 2003-04-02 John Levon <levon@movementarian.org>
6909 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6911 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6913 * paragraph.h: make ParagraphList and ParagraphList::iterator
6914 friends of Paragraph.
6916 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6918 * ParagraphList.C: Use the private next_ and previous_ from
6921 2003-04-01 John Levon <levon@movementarian.org>
6925 * Makefile.am: rename, remove defaults gunk
6928 * MenuBackend.C: remove defaults gunk
6931 * Languages.C: remove defaults gunk
6934 * lyx_main.C: error out if files couldn't be found.
6936 2003-04-02 John Levon <levon@movementarian.org>
6938 * text2.C: make incDepth() use parlist
6940 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6942 * undo_funcs.C (firstUndoParagraph): adjust
6944 * text3.C (gotoInset): adjust
6945 (dispatch): adjust, and rewrite loop.
6947 * text2.C (init): adjust, and rewrite loop.
6948 (redoParagraphs): adjust
6949 (updateInset): adjust, and rewrite loop.
6950 (deleteEmptyParagraphMechanism): adjust
6952 * tabular.C (LyXTabular): adjust
6953 (SetMultiColumn): adjust
6956 * lyxtext.[Ch] (ownerParagraph): delete function
6957 (ownerParagraphs): new function returns a ParagraphList.
6959 * BufferView.C (removeAutoInsets): adjust
6960 (insertErrors): adjust
6961 (setCursorFromRow): adjust
6963 2003-04-01 Angus Leeming <leeming@lyx.org>
6965 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6968 2003-04-02 John Levon <levon@movementarian.org>
6974 * text_funcs.C: make transposeChars a free function
6976 * lyxrow_funcs.C: remove wrong comment
6978 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6981 * rowpainter.C: adjust
6986 * lyxrow_funcs. [Ch]: new files
6988 * lyxrow.[Ch]: remove next and previous pointers
6989 (next,previous): remove accessor functions
6990 (isParEnd): move to lyxrow_funcs
6991 (lastPos): move to lyxrow_funcs
6992 (nextRowIsAllInset): move to lyxrow_funcs
6993 (lastPrintablePos): move to lyxrow_funcs
6994 (numberOfSeparators): move to lyxrow_funcs
6995 (numberOfHfills): move to lyxrow_funcs
6996 (numberOfLabelHfills): move to lyxrow_funcs
6997 (hfillExpansion): move to lyxrow_funcs
7001 * bufferview_funcs.C (toggleAndShow): adjust
7003 * RowList.h: Remove class RowList from file leave just a
7006 * RowList.C: delete file
7008 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7011 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7013 * text3.C (cursorPrevious): adjust
7014 (cursorNext): adjust
7017 * text2.C (redoHeightOfParagraph): adjust
7018 (redoDrawingOfParagraph): adjust
7021 * text.C (breakParagraph): adjust
7022 (insertChar): adjust
7025 * rowpainter.C (RowPainter): adjust
7026 (leftMargin): simplify and adjust
7027 (most rowpainter functions): adjust.
7029 * rowpainter.h: store the row as RowList::iterator not as Row*
7031 * lyxcursor.C (row): taka RowList::iterator as arg
7034 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7037 2003-04-01 Angus Leeming <leeming@lyx.org>
7039 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7040 stuff like bool Bool.
7042 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7044 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7047 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7049 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7052 * lyxtext.h (rows): drop one version and leve a const variant that
7053 returns a RowList::iterator.
7055 2003-03-31 Angus Leeming <leeming@lyx.org>
7057 * text.C (fill): ensure that the signature is the same as that in the
7060 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7062 * text2.C (redoParagraphs): adjust
7063 (updateCounters): adjust
7064 (checkParagraph): adjust
7065 (getColumnNearX): adjust and reformat a bit.
7067 * text.C (top_y): adjust
7069 (leftMargin): adjust
7070 (prepareToPrint): adjust
7072 (getRowNearY): adjust
7074 * lyxtext.h: make rowlist_ mutable.
7076 * RowList.h: add const_iterator
7077 * RowList.C: adjust for RowList::const_iterator.
7079 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7082 2003-03-31 John Levon <levon@movementarian.org>
7085 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7087 * lyx_main.C: set default fonts from using lyx_gui funcs
7089 * exporter.C: pdf_mode moved from lyxrc
7092 * lyxfunc.C: changes from above
7094 2003-03-31 John Levon <levon@movementarian.org>
7096 * lyx_main.C: fix to the last fix
7098 2003-03-31 John Levon <levon@movementarian.org>
7100 * bufferlist.C: "Load original" -> "Load Original"
7106 * format.C: more Alert cleanups
7108 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7110 * text2.C (removeParagraph): make it take a RowList::iterator as
7112 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7113 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7115 * text.C (anchor_row): make it take a RowList::iterator as arg,
7117 (computeBidiTables): make it take a const reference to Row instead
7118 of Row pointer, adjust.
7119 (leftMargin): make it take a RowList::iterator as arg, adjust.
7120 (rowBreakPoint): adjust
7121 (breakAgainOneRow): make it take a RowList::iterator as arg,
7123 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7125 * bufferview_funcs.C (toggleAndShow): adjust
7127 2003-03-30 John Levon <levon@movementarian.org>
7131 * boost-inst.C: moved to support
7133 * several files: changes as a result
7135 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7137 * text2.C (LyXText): adjust.
7139 (removeRow): make it take a RowList::iterator as arg, adjust.
7140 (fullRebreak): adjust
7141 (deleteEmptyParagraphMechanism): adjust
7142 (clearPaint): adjust
7145 * text.C (top_y): adjust
7146 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7147 (breakAgain): make it take a RowList::iterator as arg, adjust.
7148 (breakParagraph): adjust
7149 (insertChar): adjust
7152 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7153 need_break_row, and refresh_row.
7155 * text3.C (dispatch): adjust
7157 * text2.C (checkParagraph): adjust
7159 (setCursorFromCoordinates): adjust
7161 * text.C (top_y): adjust
7163 (getRow): make it return a RowList::iterator, adjust
7164 (getRowNearY): make it return a RowList::iterator, adjust
7166 * text2.C (init): adjust
7167 (insertRow): remove function
7168 (insertParagraph): adjust
7169 (redoParagraphs): adjust
7170 (fullRebreak): adjust
7171 (updateCounters): adjust
7173 * text.C (top_y): rewrite to use RowList iterators.
7175 (setHeightOfRow): rewrite to sue RowList iterators.
7176 (appendParagraph): adjust
7177 (breakAgain): adjust
7178 (breakAgainOneRow): adjust
7179 (breakParagraph): adjust
7181 (getRowNearY): adjust, and remove commented code.
7183 * lyxtext.h (firstRow): delete function
7184 (lastRow): delete function
7185 (rows): new function (const and non-const versions.)
7186 (insertRow): delete function
7188 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7190 2003-03-29 John Levon <levon@movementarian.org>
7192 * BufferView_pimpl.C: always update scrollbar top
7193 because pasting text when we're anchored could mean we
7194 miss an update altogether
7196 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7198 * text2.C (init): use rowlist_.end() and not 0.
7199 (insertRow): change to take a RowList::iterator as arg, adjust
7201 (insertParagraph): change to take a RowList::iterator as arg,
7203 (redoParagraphs): remove some debug msgs.
7205 * text.C (appendParagraph): change to take a RowList::iterator
7206 arg, adjust for this.
7207 (breakAgain): add an assert
7208 (breakAgainOneRow): ditto
7210 2003-03-29 John Levon <levon@movementarian.org>
7212 * text2.C: do not clear selection after inc/decDepth
7215 2003-03-29 John Levon <levon@movementarian.org>
7218 * buffer.C: fix broken strerrors according to Lars
7220 2003-03-29 John Levon <levon@movementarian.org>
7222 * converters.C: more Alert cleanups
7224 2003-03-29 John Levon <levon@movementarian.org>
7226 * bufferview_funcs.C: remove pointless Alert
7228 * buffer.C: fix confusing error message when
7229 a template is chmoded 000
7231 2003-03-29 John Levon <levon@movementarian.org>
7235 * BufferView_pimpl.C: Alert fixes
7239 * tabular-old.C: remove unused table compat reading
7241 2003-03-29 John Levon <levon@movementarian.org>
7246 * lyx_cb.C: more Alert cleanups
7248 * lyxfunc.C: don't allow chktex if not latex document
7250 2003-03-29 John Levon <levon@movementarian.org>
7254 * buffer.C: warnings pushed down from support/,
7257 2003-03-29 John Levon <levon@movementarian.org>
7259 * lyxfunc.C: safety check for C-r (revert)
7261 2003-03-29 John Levon <levon@movementarian.org>
7264 * bufferlist.C: several UI fixes using Alert::prompt.
7265 Fix the pointless looping quit code. Fix stupid revert
7270 * lyx_cb.C: use Alert::prompt
7272 * lyx_main.C: remove a silly question
7274 * lyxfunc.C: remove a couple of silly questions,
7277 2003-03-28 John Levon <levon@movementarian.org>
7279 * text2.C: fix bug 974 (End on empty par)
7281 2003-03-28 John Levon <levon@movementarian.org>
7283 * BufferView_pimpl.C:
7285 * lfuns.h: remove do-nothing math greek lfuns
7287 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7289 * lyxgluelength.h (isValidGlueLength): add default arg on
7290 parameter 2. Remove default arg from friend in class.
7292 * lyxlength.h (isValidLength): add default arg on parameter 2.
7293 Remove default arg from friend in class.
7295 * text2.C (LyXText): adjust, initialize refresh_row.
7299 (insertParagraph): adjst
7300 (redoParagraphs): adjust
7301 (fullRebreak): adjust
7302 (updateCounters): adjust
7303 (deleteEmptyParagraphMechanism): first attempt at fixing a
7306 * text.C (top_y): adjust
7307 (setHeightOfRow): adjust
7309 (getRowNearY): adjust
7311 * lyxtext.h: include RowList.h
7312 (~LyXText): not needed anymore, deleted.
7313 (firstRow): modify for RowList
7314 (lastRow): new function
7315 Delete firstrow and lastrow class variables, add a Rowlist
7316 rowlist_ class variable.
7318 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7321 * RowList.C (insert): fix case where it == begin().
7323 2003-03-26 Angus Leeming <leeming@lyx.org>
7325 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7326 the thesaurus dialog.
7328 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7330 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7332 * RowList.[Ch]: new files
7334 * ParagraphList.C (erase): handle the case where it == begin
7337 2003-03-25 John Levon <levon@movementarian.org>
7341 * aspell.C: add new aspell support
7344 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7347 2003-03-25 Angus Leeming <leeming@lyx.org>
7350 * LyXAction.C (init): new LFUN_INSET_INSERT.
7352 * BufferView_pimpl.C (dispatch): split out part of the
7353 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7355 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7358 2003-03-25 Angus Leeming <leeming@lyx.org>
7360 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7362 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7365 * text3.C: remove useless row->height(0)
7367 2003-03-25 John Levon <levon@movementarian.org>
7371 * text3.C: rename the refreshing stuff to better names
7373 2003-03-24 John Levon <levon@movementarian.org>
7375 * BufferView_pimpl.h:
7376 * BufferView_pimpl.C: update layout choice on a mouse
7379 2003-03-23 John Levon <levon@movementarian.org>
7381 * Makefile.am: fix commandtags.h reference
7383 2003-03-22 John Levon <levon@movementarian.org>
7385 * BufferView_pimpl.C:
7390 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7392 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7395 * text.C: take the rtl methods out of line
7397 2003-03-21 André Pönitz <poenitz@gmx.net>
7399 * metricsinfo.[Ch]: new files containing structures to be passed around
7400 during the two-phase-drawing...
7402 2003-03-21 André Pönitz <poenitz@gmx.net>
7404 * lyxtextclass.C: read 'environment' tag.
7406 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7408 * text2.C (removeRow): fix bug 964
7410 2003-03-20 John Levon <levon@movementarian.org>
7414 * text2.C: paint cleanups. Inset::update() dropped font
7417 2003-03-19 John Levon <levon@movementarian.org>
7419 * lyxfunc.C: only fitcursor/markDirty if available()
7421 2003-03-19 John Levon <levon@movementarian.org>
7423 * commandtags.h: rename to ...
7425 * lfuns.h: ... this, and renumber / cleanup
7427 2003-03-19 John Levon <levon@movementarian.org>
7429 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7430 fit the cursor after an lfun
7434 * BufferView_pimpl.h:
7435 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7437 * LyXAction.C: layout-character should have ReadOnly
7439 * ParagraphParameters.C:
7441 * bufferview_funcs.C:
7448 * undo_funcs.C: changes from above
7450 2003-03-18 John Levon <levon@movementarian.org>
7452 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7453 remove it from update()
7455 * lyxfunc.C: update layout choice after an lfun
7457 * text3.C: remove extra updateLayoutChoice()s
7459 2003-03-18 John Levon <levon@movementarian.org>
7461 * text.C: top_y change means full repaint, fix
7462 a drawing bug with cursor movement
7464 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7468 * text2.C: anchor row on setCursor
7470 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7472 * lyxtext.h: remove almost all mutable keywords
7475 * text3.C: remove const keywords accordingly
7477 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7479 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7481 (TeXEnvironment): ditto
7484 2003-03-17 John Levon <levon@movementarian.org>
7486 * text.C (rowBreakPoint): remove attempt to fix displayed
7487 math insets inside a manual label
7489 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7491 * lyxtext.h: remove BufferView* as first arg from almost all class
7493 * other files: adjust.
7495 2003-03-17 John Levon <levon@movementarian.org>
7499 * text2.C: more paint cleanups
7501 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7504 * rowpainter.C: remove "smart" background painting code
7506 2003-03-16 John Levon <levon@movementarian.org>
7511 * text3.C: add helper functions for setting refresh_row/y
7513 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7515 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7516 newline inset which *can* get inserted in the pass_thru layouts.
7517 This is primarily for literate documents.
7519 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7521 * buffer.C: increment LYX_FORMAT to 223
7523 2003-03-14 André Pönitz <poenitz@gmx.net>
7525 * textclass.h: prepare for environment handling, ws changes
7526 * lyxlayout.C: read latexheader and latexfooter tags
7528 2003-03-14 John Levon <levon@movementarian.org>
7530 * text2.C: rewrite ::status() a bit
7532 2003-03-13 John Levon <levon@movementarian.org>
7534 * lyxtext.h: add some docs
7536 2003-03-13 John Levon <levon@movementarian.org>
7541 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7543 2003-03-13 John Levon <levon@movementarian.org>
7545 * text3.C: fix appendix redrawing
7547 2003-03-13 John Levon <levon@movementarian.org>
7549 * text.C (setHeightOfRow):
7551 * rowpainter.C: make appendix mark have the text
7552 "Appendix" so the user knows what it is
7555 * LColor.C: s/appendixline/appendix/ from above
7557 2003-03-13 John Levon <levon@movementarian.org>
7559 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7561 * text.C: fix a getChar(pos) bug properly
7563 2003-03-13 Angus Leeming <leeming@lyx.org>
7566 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7567 Probably only temporary. Let's see how things pan out.
7569 * BufferView.C (unlockInset):
7570 * BufferView_pimpl.C (fitCursor):
7571 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7573 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7574 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7576 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7577 new functions that convert ParagraphParameters to and from a string.
7579 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7580 BufferView::Pimpl's dispatch.
7581 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7583 2003-03-13 André Pönitz <poenitz@gmx.net>
7587 * factory.C: make it aware of InsetEnv
7589 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7591 * text2.C (setCursor): never ask for one past last
7592 (setCursor): add some debugging messages.
7594 * text.C (singleWidth): never ask for one past last
7595 (singleWidth): ditto
7597 (rightMargin): ditto
7598 (rowBreakPoint): ditto
7599 (setHeightOfRow): ditto
7600 (prepareToPrint): ditto
7602 * rowpainter.C (paintBackground): never ask for one past last
7603 (paintText): never ask for one past last
7605 * paragraph_pimpl.C (getChar): make the assert stricter, never
7606 allow the one past last pos to be taken
7608 * paragraph.C (getChar): ws changes only
7610 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7611 (numberOfSeparators): ditto
7612 (numberOfHfills): ditto
7614 2003-03-12 John Levon <levon@movementarian.org>
7620 * paragraph_funcs.C: fix per-buffer authorlists
7622 2003-03-12 John Levon <levon@movementarian.org>
7624 * text.C: fix newline in right address
7626 2003-03-12 Angus Leeming <leeming@lyx.org>
7628 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7629 duplicate those in LyXFunc::dispatch.
7633 * ToolbarDefaults.C:
7634 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7635 Add LFUN_FONTFREE_UPDATE.
7637 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7638 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7640 * bufferview_func.[Ch]: several new functions to facilliate
7641 transfer of data to and from the character dialog.
7643 2003-03-12 John Levon <levon@movementarian.org>
7648 * paragraph_funcs.C:
7649 * paragraph_pimpl.C:
7653 * text3.C: remove META_NEWLINE in favour of an inset
7656 * rowpainter.C: remove paintNewline (done by inset)
7658 2003-03-12 John Levon <levon@movementarian.org>
7660 * paragraph_pimpl.C: complain about bad getChar()s
7661 for a while at least
7663 2003-03-12 John Levon <levon@movementarian.org>
7666 * buffer.C: move paragraph read into a separate function,
7667 a little renaming to reflect that.
7670 * bufferparams.C: remove the author_ids map, not necessary now
7673 * factory.C: moved Buffer::readInset to here
7675 * paragraph_funcs.h:
7676 * paragraph_funcs.C: readParagraph free function moved from
7679 * tabular.C: name change
7681 2003-03-12 John Levon <levon@movementarian.org>
7684 * ParagraphParameters.C: move par params input to
7687 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7688 behave like a normal read from the stream wrt reading
7689 a line vs. a \\token
7691 2003-03-12 John Levon <levon@movementarian.org>
7694 * ParagraphParameters.h:
7695 * ParagraphParameters.C: move output code to a
7698 2003-03-12 John Levon <levon@movementarian.org>
7700 * BufferView.C (insertLyXFile):
7703 * tabular.C: use a parlist iterator for creating the
7706 2003-03-12 John Levon <levon@movementarian.org>
7708 * buffer.C: make current_change static local not
7711 2003-03-12 John Levon <levon@movementarian.org>
7713 * buffer.C: fix insertStringAsLines for change tracking
7715 2003-03-12 John Levon <levon@movementarian.org>
7722 * bufferparams.C: move author list into params. Rename some
7723 functions. Move the header reading into a separate token
7724 loop. Move the header token reading into BufferParams.
7726 2003-03-12 John Levon <levon@movementarian.org>
7728 * changes.C: put debug inside lyxerr.debugging() checks
7730 2003-03-11 André Pönitz <poenitz@gmx.net>
7732 * factory.C: make it aware of InsetHFill
7734 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7736 * buffer.C (latexParagraphs): move function from here...
7737 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7740 2003-03-10 Angus Leeming <leeming@lyx.org>
7742 * LyXAction.C (init): fix bug in poplating array with multiple entries
7743 with the same LFUN (spotted by JMarc).
7745 2003-03-10 John Levon <levon@movementarian.org>
7748 * text2.C: move getColumnNearX() near its
7751 2003-03-10 John Levon <levon@movementarian.org>
7753 * text.C: fix break before a minipage
7755 2003-03-10 John Levon <levon@movementarian.org>
7757 * text.C: fix the last commit
7759 2003-03-09 John Levon <levon@movementarian.org>
7763 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7764 bug 365 (don't break before insets unless needed). Don't
7765 return a value > last under any circumstances.
7767 2003-03-09 Angus Leeming <leeming@lyx.org>
7769 * BufferView_pimpl.C (trackChanges, dispatch): call
7770 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7772 2003-03-09 Angus Leeming <leeming@lyx.org>
7774 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7775 than Dialogs::showAboutlyx().
7777 2003-03-09 Angus Leeming <leeming@lyx.org>
7779 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7780 than Dialogs::showTabularCreate().
7782 2003-03-09 John Levon <levon@movementarian.org>
7786 * text2.C: 3rd arg to nextBreakPoint was always the same.
7789 2003-03-08 John Levon <levon@movementarian.org>
7796 * text2.C: Remove the "main" bit from the "main body"
7799 2003-03-08 John Levon <levon@movementarian.org>
7801 * text.C (leftMargin): The left margin of an empty
7802 manual label paragraph should not include the label width
7805 * text.C (prepareToPrint): don't attempt to measure hfills
7806 for empty manual label paragraphs - the answer should be 0
7808 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7810 * CutAndPaste.C: remove commented code and reindent.
7812 2003-03-08 John Levon <levon@movementarian.org>
7815 * lyxfunc.C: move reloadBuffer()
7818 * BufferView.C: to here
7820 * lyxvc.C: add comment
7823 * vc-backend.C: call bv->reload() to avoid
7824 getStatus() check on MENURELOAD
7826 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7828 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7829 to an old format .dep file.
7831 2003-03-07 Angus Leeming <leeming@lyx.org>
7833 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7834 when the LFUN_MOUSE_RELEASE should have been handled by
7835 inset->localDispatch.
7837 2003-03-07 Angus Leeming <leeming@lyx.org>
7839 * BufferView_pimpl.C (dispatch):
7840 * LyXAction.C (init):
7841 * ToolbarDefaults.C (init):
7843 * lyxfunc.C (getStatus):
7844 remove LFUN_INSET_GRAPHICS.
7846 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7848 2003-03-07 Angus Leeming <leeming@lyx.org>
7851 * LyXAction.C (init):
7852 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7854 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7857 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7859 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7860 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7862 2003-03-07 Angus Leeming <leeming@lyx.org>
7864 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7867 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7869 * ParagraphList.C (front): new function
7872 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7874 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7875 and top_row_offset_. removed var first_y.
7877 * text2.C (LyXText, removeRow):
7879 * BufferView_pimpl.C:
7880 use these methods instead of using first_y
7882 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7884 * text2.C (pasteSelection): adjust for checkPastePossible
7886 * CutAndPaste.C: remove Paragraph * buf and replace with
7887 ParagraphList paragraphs.
7888 (DeleteBuffer): delete
7889 (cutSelection): change the tc type to textclass_type
7890 (copySelection): change the tc type to textclass_type
7891 (copySelection): adjust for ParagraphList
7892 (pasteSelection): change the tc type to textclass_type
7893 (pasteSelection): adjust for Paragraphlist
7894 (nrOfParagraphs): simplify for ParagraphList
7895 (checkPastePossible): simplify for ParagraphList
7896 (checkPastePossible): remove unused arg
7898 * ParagraphList.C (insert): handle the case where there are no
7901 * CutAndPaste.h: make CutAndPaste a namespace.
7903 * text3.C (dispatch): adjust
7905 * text.C (breakParagraph): add a ParagraphList as arg
7907 * paragraph_funcs.C (breakParagraph): change to take a
7908 BufferParams and a ParagraphList as args.
7909 (breakParagraphConservative): ditto
7910 (mergeParagraph): ditto
7911 (TeXDeeper): add a ParagraphList arg
7912 (TeXEnvironment): ditto
7915 * buffer.C (readLyXformat2): adjust
7916 (insertStringAsLines): adjust
7917 (latexParagraphs): adjust
7919 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7920 (cutSelection): adjust
7921 (pasteSelection): adjust
7923 * BufferView_pimpl.C (insertInset): adjust
7925 2003-03-05 Angus Leeming <leeming@lyx.org>
7928 * LyXAction.C (init):
7929 * BufferView_pimpl.C (dispatch):
7930 * lyxfunc.C (getStatus):
7931 remove LFUN_CHILD_INSERT.
7933 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7935 2003-03-05 Angus Leeming <leeming@lyx.org>
7938 * LyXAction.C (init):
7939 * src/factory.C (createInset):
7940 * lyxfunc.C (getStatus):
7941 * text3.C (dispatch):
7942 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7944 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7946 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7948 * ParagraphList.C (insert): handle insert right before end()
7949 (erase): fix cases where it can be first or last paragraph.
7951 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7953 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7954 Paragraph::next and Paragraph::previous
7957 * text.C (breakParagraph): adjust
7959 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7960 BufferParams& as arg.
7961 (breakParagraph): use ParagraphList::insert
7962 (breakParagraphConservative): take a Buffer* instead of a
7963 BufferParams& as arg.
7964 (breakParagraphConservative): use ParagraphList::insert.
7966 * buffer.C (insertStringAsLines): un-const it
7967 (insertStringAsLines): adjust
7969 * ParagraphList.C (insert): new function
7971 * CutAndPaste.C (pasteSelection): adjust
7973 * text.C (backspace): adjust
7975 * tabular.C (SetMultiColumn): adjust
7977 * CutAndPaste.C (cutSelection): adjust
7978 (pasteSelection): adjust
7980 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7981 Buffer const * as arg
7983 * ParagraphList.C (erase): new function
7984 * paragraph_funcs.C (mergeParagraph): use it
7985 (mergeParagraph): make it take a Buffer* instead of a
7986 BufferParams* as arg
7988 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7990 (breakParagraphConservative): ditto
7992 * paragraph.h: remove the breakParagraph friend
7994 * paragraph.C (eraseIntern): new function
7995 (setChange): new function
7997 * paragraph_funcs.C (mergeParagraph): make it take a
7998 ParagraphList::iterator instead of a Paragraph *, adjust
8001 * paragraph.h: move an #endif so that the change tracking stuff
8002 also works in the NO_NEXT case.
8004 2003-03-04 Angus Leeming <leeming@lyx.org>
8007 * LyXAction.C: new LFUN_INSET_MODIFY.
8009 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8010 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8012 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8014 * several files: ws changes only
8016 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8017 (TeXEnvironment): ditto
8020 * buffer.C (makeLaTeXFile): adjust
8021 (latexParagraphs): make it take ParagraphList::iterator as args
8023 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8025 * buffer.C (latexParagraphs): adjust
8027 * paragraph.C (TeXOnePar): move function...
8028 (optArgInset): move function...
8029 (TeXEnvironment): move function...
8030 * paragraph_pimpl.C (TeXDeeper): move function...
8031 * paragraph_funcs.C: ...here
8033 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8035 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8037 * buffer.C (readInset): remove compability code for old Figure and
8040 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8042 * buffer.C: ws changes
8045 * BufferView_pimpl.C: ditto
8048 * bufferlist.h: ditto
8052 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8054 * converter.[Ch]: split into itself +
8057 * Makefile.am: += graph.[Ch] + format.[Ch]
8064 * lyxrc.C: added #include "format.h"
8066 2003-02-27 Angus Leeming <leeming@lyx.org>
8068 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8071 * factory.C (createInset): add "label" to the factory.
8073 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8074 string and do no more.
8076 2003-02-27 Angus Leeming <leeming@lyx.org>
8079 * LyXAction.C (init):
8080 * factory.C (createInset):
8081 * BufferView_pimpl.C (dispatch):
8082 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8084 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8086 * lyxfunc.C (dispatch):
8087 * text3.C (dispatch): pass name to params2string.
8089 2003-02-26 Angus Leeming <leeming@lyx.org>
8091 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8093 Rearrange the ~includes. Strip out the unnecessary ones.
8095 * factory.C (createInset): reformat.
8096 create new insets for the various LFUN_XYZ_APPLY lfuns.
8098 2003-02-26 John Levon <levon@movementarian.org>
8101 * lyxrow.C: add isParStart,isParEnd helpers
8103 * paragraph.h: make isInserted/DeletedText take refs
8105 * paragraph_funcs.h:
8106 * paragraph_funcs.C: remove #if 0'd code
8111 * text.C: use lyxrow helpers above.
8112 Move draw and paint routines to RowPainter.
8113 Make several methods use refs not pointers.
8114 Make backgroundColor() const.
8115 Add markChangeInDraw(), isInInset().
8116 Merge changeRegionCase into changeCase.
8117 Make workWidth() shouldn't-happen code into an Assert.
8120 * rowpainter.C: new class for painting a row.
8123 * vspace.C: make inPixels take a ref
8125 2003-02-26 Angus Leeming <leeming@lyx.org>
8127 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8130 2003-02-25 John Levon <levon@movementarian.org>
8132 * ispell.C: give the forked command a more accurate name
8134 2003-02-22 John Levon <levon@movementarian.org>
8137 * toc.C: make TocItem store an id not a Paragraph *
8140 2003-02-21 Angus Leeming <leeming@lyx.org>
8142 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8143 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8144 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8145 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8146 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8147 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8149 * BufferView_pimpl.C (dispatch):
8150 * LyXAction.C (init):
8151 * factory.C (createInset):
8152 * lyxfunc.C (getStatus, dispatch):
8153 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8155 2003-02-21 Angus Leeming <leeming@lyx.org>
8157 * BufferView_pimpl.C (MenuInsertLyXFile):
8158 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8159 * lyxfunc.C (menuNew, open, doImport):
8160 no longer pass a LyXView & to fileDlg.
8162 2003-02-21 Angus Leeming <leeming@lyx.org>
8164 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8165 * LyXAction.C: change, BIBKEY to BIBITEM.
8166 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8167 Change InsetBibKey to InsetBibitem.
8168 Change BIBKEY_CODE to BIBITEM_CODE.
8169 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8170 * factory.C: replace insetbib.h with insetbibitem.h.
8171 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8172 * paragraph.C: replace insetbib.h with insetbibitem.h.
8173 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8174 Change bibkey() to bibitem().
8175 * text.C: remove insetbib.h.
8176 * text2.C: replace insetbib.h with insetbibitem.h.
8177 change bibkey() to bibitem().
8178 * text3.C: remove insetbib.h.
8179 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8181 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8183 * lyxrc.C (output): enclose user email in quotes (in case there are
8186 2003-02-18 John Levon <levon@movementarian.org>
8188 * buffer.h: add std::
8190 2003-02-17 John Levon <levon@movementarian.org>
8196 * pspell.C: reworking. Especially in ispell, a large
8197 number of clean ups and bug fixes.
8199 * lyxfunc.C: fix revert to behave sensibly
8201 2003-02-17 André Pönitz <poenitz@gmx.net>
8204 * commandtags.h: new LFUN_INSERT_BIBKEY
8214 * paragraph_func.C: remove special bibkey handling
8216 2003-02-17 John Levon <levon@movementarian.org>
8218 * text.C (Delete): fix case where delete at the end of
8219 the very first paragraph would not merge the pars
8221 2003-02-17 John Levon <levon@movementarian.org>
8223 * lyxrow.C: fix lastPrintablePos()
8225 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8227 * bufferparams.C (writeLaTeX): add a std:here
8229 * buffer.C: and remove a using directive there
8231 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8233 * buffer.C (makeLaTeXFile): move the code that generates the
8236 * bufferparams.C (writeLaTeX): ... in this new method
8238 * LaTeXFeatures.C (getEncodingSet): make const
8239 (getLanguages): make const
8241 * MenuBackend.C (binding): returns the binding associated to this
8243 (add): sets the status of each item by calling getStatus. Adds
8245 (read): add support for OptSubMenu
8246 (expand): remove extra separator at the end of expanded menu
8248 2003-02-15 John Levon <levon@movementarian.org>
8251 * BufferView_pimpl.C:
8253 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8254 inset code that had no actual effect. Remove unneeded status
8257 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8259 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8262 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8264 * text.C (drawLengthMarker): also draw an arrow marker for
8265 symbolic lengths (medskip...)
8267 2003-02-14 John Levon <levon@movementarian.org>
8270 * tabular.C: better method names
8272 2003-02-14 John Levon <levon@movementarian.org>
8274 * BufferView_pimpl.C:
8279 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8280 it's a more accurate name. Remove some pointless uses.
8282 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8284 * text2.C (LyXText): change order of initilizers to shut off
8287 2003-02-14 John Levon <levon@movementarian.org>
8289 * buffer.C: use ParIterator for getParFromID()
8293 * paragraph_pimpl.h:
8294 * paragraph_pimpl.C: remove unused getParFromID()
8296 2003-02-14 John Levon <levon@movementarian.org>
8298 * buffer.C: remove some very old #if 0'd parse code
8300 2003-02-13 John Levon <levon@movementarian.org>
8304 * text2.C: move hfillExpansion(), numberOfSeparators(),
8305 rowLast(), rowLastPrintable(), numberofHfills(),
8306 numberOfLabelHfills() ...
8309 * lyxrow.C: ... to member functions here.
8314 * text.C: remove LyXText::beginningOfMainBody(), and call
8315 p->beginningOfMainBody() directly. Move the check for
8316 LABEL_MANUAL into the latter.
8323 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8329 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8330 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8332 2003-02-13 John Levon <levon@movementarian.org>
8334 * CutAndPaste.C: remove debug
8336 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8338 * paragraph.C (asString): remove two unused variables
8340 * lyxtextclass.C (readTitleType):
8342 (LyXTextClass): handle new members titletype_ and titlename_
8344 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8346 2003-02-09 John Levon <levon@movementarian.org>
8349 * buffer.C: replace hand-coded list with a map for the dep clean
8351 2003-02-08 John Levon <levon@movementarian.org>
8353 * LaTeX.C: consolidate code into showRunMessage() helper
8355 2003-02-08 John Levon <levon@movementarian.org>
8360 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8361 and pass the size in explicitly
8363 * BufferView_pimpl.h:
8364 * BufferView_pimpl.C:
8366 * BufferView.C: add getCurrentChange()
8368 * BufferView_pimpl.h:
8369 * BufferView_pimpl.C: handle change lfuns
8371 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8372 for changes. Mark pasted paragraphs as new.
8374 * support/lyxtime.h:
8375 * support/lyxtime.C:
8376 * DepTable.C: abstract time_t as lyx::time_type
8379 * LColor.C: add colours for new text, deleted text, changebars
8381 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8382 package use "usenames" option.
8386 * LyXAction.C: add change lfuns
8390 * author.C: author handling
8393 * buffer.C: add a per-buffer author list, with first entry as
8394 current author. Handle new .lyx tokens for change tracking. Output
8395 author list to .lyx file. Output dvipost stuff to .tex preamble.
8396 Bump lyx format to 222.
8399 * bufferlist.C: add setCurrentAuthor() to reset current author details
8403 * bufferparams.C: add param for tracking
8405 * bufferview_funcs.C: output change info in minibuffer
8409 * changes.C: add change-tracking structure
8412 * debug.C: add CHANGES debug flag
8415 * lyxfind.C: add code for finding the next change piece
8418 * lyxrc.C: add user_name and user_email
8421 * lyxrow.C: add a metric for the top of the text line
8424 * text.C: implement accept/rejectChange()
8427 * text.C: paint changebars. Paint new/deleted text in the chosen
8428 colours. Strike through deleted text.
8432 * paragraph_pimpl.h:
8433 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8434 in the current change to the insert functions. Rework erase to
8435 mark text as deleted, adding an eraseIntern() and a range-based
8436 erase(). Implement per-paragraph change lookup and
8439 * paragraph_funcs.C: Fixup paste for change tracking.
8441 * tabular.C: mark added row/columns as new.
8443 * text.C: fix rowLast() to never return -1. Don't allow
8444 spellchecking of deleted text. Track transpose changes. Don't
8445 allow paragraph break or merge where appropriate.
8447 * text2.C: leave cursor at end of selection after a cut.
8449 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8451 * text.C (getLengthMarkerHeight):
8452 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8453 visible on screen too.
8455 2003-02-07 John Levon <levon@movementarian.org>
8457 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8459 2003-02-05 Angus Leeming <leeming@lyx.org>
8461 * lyxserver.C (read_ready): revert my patch of 11 September last year
8462 as it sends PC cpu through the roof. Presumably this means that
8463 the lyxserver will no longer run on an Alpha...
8465 2003-01-30 Angus Leeming <leeming@lyx.org>
8467 * factory.C (createInset): create an InsetCommandParam of type "index"
8468 and use it to 'do the right thing'.
8470 * text2.C (getStringToIndex): ensure that cursor position is always
8471 reset to the reset_cursor position.
8473 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8475 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8478 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8482 * lyxfunc.C: Output messages with identical spelling, punctuation,
8485 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8487 * MenuBackend.C (expandFormats): List only viewable export formats
8490 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8493 * lyxfunc.C (getStatus): Make sure that formats other than
8494 "fax" can also be disabled
8496 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8498 * text3.C (dispatch): put the lfuns that insert insets in 3
8499 groups, and call doInsertInset with appropriate arguments.
8500 (doInsertInset): new function, that creates an inset and inserts
8501 it according to some boolean parameters.
8503 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8505 * buffer.C (readFile): remember to pass on 'par' when calling
8506 readFile recursively.
8508 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8510 * MenuBackend.C (expandFormats): add "..." to import formats.
8512 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8514 * paragraph.C (asString): Remove XForms RTL hacks.
8516 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8517 * buffer.C: fix typo
8519 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8521 * Makefile.am (LIBS): delete var
8522 (lyx_LDADD): add @LIBS@ here instead.
8524 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8526 * Clarify the meaning of "wheel mouse jump"
8528 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8530 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8533 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8535 * importer.C (Loaders): do not preallocate 3 elements in the
8536 vector, since one ends up with 6 elements otherwise
8538 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8540 * DepTable.C (write): write the file name as last element of the
8541 .dep file (because it may contain spaces)
8542 (read): read info in the right order
8544 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8546 * paragraph_pimpl.C (simpleTeXBlanks):
8547 (simpleTeXSpecialChars):
8548 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8550 * tabular.C (latex): add some missing case statements. Reindent.
8552 * MenuBackend.C (expandToc): remove unused variable.
8554 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8563 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8566 2003-01-05 John Levon <levon@movementarian.org>
8569 * BufferView.C: add getEncoding()
8572 * kbsequence.C: do not store last keypress
8575 * lyxfunc.C: store last keypress here instead. Pass encoding
8578 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8580 * lyx_main.C (init): remove annoying error message when following
8581 symbolic links (bug #780)
8583 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8585 * text.C (insertChar):
8586 * lyxrc.C (getDescription): remove extra spaces
8588 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8590 * lyxrc.C (getDescription): remove extra spaces
8592 2002-12-20 John Levon <levon@movementarian.org>
8594 * text3.C: hack fix for page up/down across tall rows
8596 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8598 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8601 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8603 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8604 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8605 thesaurus is not compiled in
8607 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8609 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8611 2002-12-16 Angus Leeming <leeming@lyx.org>
8614 * lyx_main.C (init): remove override_x_deadkeys stuff.
8616 2002-12-12 John Levon <levon@movementarian.org>
8618 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8619 insert. Only remove shift modifier under strict
8622 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8624 * MenuBackend.C (expandToc): fix crash.
8626 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8628 * MenuBackend.C (expandToc): gettext on float names.
8630 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8632 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8633 implement bool empty() [bug 490]
8635 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8637 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8639 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8641 * several files: ws changes
8643 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8645 * text2.C (setCounter): clean up a bit, use boost.format.
8646 (updateCounters): initialize par upon declaration.
8648 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8649 if the layout exists. We do not just store the layout any more.
8650 (SwitchLayoutsBetweenClasses): use boost.format
8652 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8654 * converter.C (convert): if from and to files are the same, use a
8655 temporary files as intermediary
8657 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8660 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8662 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8664 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8666 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8668 * tabular.C (asciiPrintCell): use string(size, char) instead of
8671 * sgml.C (openTag): fix order of arguments to string constructor
8674 * lyxfunc.C (dispatch): use boost.format
8676 * lots of files: change "c" -> 'c'
8678 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8680 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8682 2002-11-25 Angus Leeming <leeming@lyx.org>
8684 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8686 * lyx_main.C (init): compile fix.
8688 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8690 * lyx_cb.C (start): boost.formatify
8691 do not include <iostream>
8693 * lengthcommon.C: ws only
8695 * boost-inst.C,BoostFormat.h: add more explict instantations
8697 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8699 * lots of files: handle USE_BOOST_FORMAT
8701 2002-11-21 John Levon <levon@movementarian.org>
8703 * pspell.C: fix compile
8705 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8707 * lyxfunc.C (dispatch): use boost::format
8711 * lyxfont.C (stateText): use boost::format
8713 * lyx_main.C (LyX): use boost::format
8715 (queryUserLyXDir): ditto
8718 (typedef boost::function): use the recommened syntax.
8720 * importer.C (Import): use boost::format
8722 * debug.C (showLevel): use boost::format
8724 * converter.C (view): use boost::format
8729 * bufferview_funcs.C (currentState): use boost::format
8731 * bufferlist.C (emergencyWrite): use boost::format
8733 * buffer.C (readLyXformat2): use boost::format
8734 (parseSingleLyXformat2Token): ditto
8736 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8738 * LaTeX.C (run): use boost::format
8740 * Chktex.C (scanLogFile): use boost::format
8742 * BufferView_pimpl.C (savePosition): use boost::format
8743 (restorePosition): ditto
8744 (MenuInsertLyXFile): ditto
8746 * BoostFormat.h: help file for explicit instation.
8748 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8750 * tabular.C (latex): Support for block alignment in fixed width
8753 2002-11-17 John Levon <levon@movementarian.org>
8755 * BufferView_pimpl.C:
8757 * lyxfunc.C: split filedialog into open/save
8759 2002-11-08 Juergen Vigna <jug@sad.it>
8761 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8762 by my last patch (hopefully).
8764 2002-11-08 John Levon <levon@movementarian.org>
8773 * toc.C: ParConstIterator, and use it (from Lars)
8775 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8777 * lyxtextclass.[Ch]: revise and add doxygen comments
8779 2002-11-07 John Levon <levon@movementarian.org>
8781 * text.C: fix progress value for spellchecker
8783 * toc.C: fix navigate menu for insetwrap inside minipage
8785 * paragraph_funcs.C: added FIXME for suspect code
8787 2002-11-07 John Levon <levon@movementarian.org>
8789 * BufferView_pimpl.C: fix redrawing of insets
8792 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8794 * text2.C (updateCounters): fix bug 668
8796 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8798 * text3.C (dispatch): Do not make the buffer dirty when moving the
8801 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8803 * vc-backend.C: STRCONV
8806 * text2.C (setCounter): STRCONV
8808 * paragraph.C (asString): STRCONV
8810 * lyxlength.C (asString): STRCONV
8811 (asLatexString): ditto
8813 * lyxgluelength.C (asString): STRCONV
8814 (asLatexString): ditto
8816 * lyxfunc.C (dispatch): STRCONV
8819 * lyxfont.C (stateText): STRCONV
8821 * importer.C (Import): STRCONV
8823 * counters.C (labelItem): STRCONV
8824 (numberLabel): ditto
8825 (numberLabel): remove unused ostringstream o
8830 * bufferview_funcs.C (currentState): STRCONV
8832 * buffer.C (readFile): STRCONV
8833 (asciiParagraph): ditto
8834 (makeLaTeXFile): ditto
8836 * Spacing.C (writeEnvirBegin): STRCONV
8838 * LaTeXFeatures.C (getLanguages): STRCONV
8839 (getPackages): ditto
8841 (getBabelOptions): ditto
8842 (getTClassPreamble): ditto
8843 (getLyXSGMLEntities): ditto
8844 (getIncludedFiles): ditto
8848 (scanAuxFile): ditto
8851 * LString.h: add the STRCONV macros
8853 * BufferView_pimpl.C (savePosition): STRCONV
8854 (restorePosition): ditto
8855 (MenuInsertLyXFile): ditto
8857 * vc-backend.C (scanMaster): change from submatch[...] to
8860 * funcrequest.C: include config.h
8862 * factory.C: include config.h
8864 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8866 * box.C: include config.h
8868 * LaTeX.C (scanAuxFile): change from submatch[...] to
8872 2002-10-25 Angus Leeming <leeming@lyx.org>
8874 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8876 * ispell.[Ch] (setError): new method.
8877 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8878 Use setError() insetead of goto END.
8880 * lyx_cb.C (AutoSave): move out child process into new class
8883 2002-10-30 John Levon <levon@movementarian.org>
8885 * text3.C: make start appendix undoable
8887 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8889 * lyxlength.C (inPixels): Fix returned value.
8891 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8894 2002-10-24 Angus Leeming <leeming@lyx.org>
8896 * lyxgluelength.h: no need to forward declare BufferParams
8897 or BufferView, so don't.
8899 2002-10-21 John Levon <levon@movementarian.org>
8901 * BufferView.C: menuUndo ->undo, redo
8903 * BufferView.h: document, remove dead, make some methods private
8905 * paragraph_funcs.h:
8906 * paragraph_funcs.C:
8907 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8912 * sgml.C: move sgml open/close tag into sgml.C
8914 * bufferview_funcs.h: unused prototype
8917 * lyxfunc.C: remove unused
8920 * text.C: remove unused
8922 2002-10-21 John Levon <levon@movementarian.org>
8926 * BufferView_pimpl.h:
8927 * BufferView_pimpl.C: fix mouse wheel handling based on
8928 patch from Darren Freeman
8930 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8932 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8934 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8936 * lyxlength.C (inPixels): Fix hanfling of negative length.
8937 Fix LyXLength::MU case.
8939 2002-10-16 John Levon <levon@movementarian.org>
8941 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8943 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8945 * converter.C (view): add support for $$i (file name) and $$p
8946 (file path) for the viewer command. If $$i is not specified, then
8947 it is appended to the command (for compatibility with old syntax)
8949 2002-10-14 Juergen Vigna <jug@sad.it>
8951 * undo_funcs.C (textHandleUndo): alter the order in which the
8952 new undopar is added to the LyXText, as we have to set first
8953 the right prev/next and then add it as otherwise the rebuild of
8954 LyXText is not correct. Also reset the cursor to the right paragraph,
8955 with this IMO we could remove the hack in "redoParagraphs()".
8957 2002-10-09 Angus Leeming <leeming@lyx.org>
8959 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8960 to turn off an optimisation if a new inset is to be inserted.
8962 2002-10-11 André Pönitz <poenitz@gmx.net>
8964 * lyxtext.h: make some functions public to allow access
8965 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8967 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8969 * text3.C (dispatch): when changing layout, avoid an infinite loop
8972 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8974 * lyxrc.C (read): treat a viewer or converter command of "none" as
8977 * MenuBackend.C (expandFormats): for an update, also allow the
8978 formats that are not viewable
8980 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8981 script if it is newer than the lyxrc.defaults in user directory
8983 2002-10-07 André Pönitz <poenitz@gmx.net>
8985 * text.C: Vitaly Lipatov's small i18n fix
8987 2002-09-25 Angus Leeming <leeming@lyx.org>
8989 * ispell.h: doxygen fix.
8991 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8993 * buffer.h (readFile): Add a new argument to the method, to allow
8994 reading of old-format templates.
8996 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8998 * toc.C (getTocList): Get TOC from InsetWrap.
9000 2002-09-16 John Levon <levon@movementarian.org>
9002 * lyxfunc.C: check tabular for cut/copy too
9004 2002-09-12 John Levon <levon@movementarian.org>
9009 * factory.C: add header
9011 * paragraph_funcs.h:
9012 * paragraph_funcs.C: cleanup
9014 2002-09-11 John Levon <levon@movementarian.org>
9016 * PrinterParams.h: odd/even default to true
9018 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9020 * PrinterParams.h: update printer parameters for new xforms dialog
9022 2002-09-11 Angus Leeming <leeming@lyx.org>
9024 * lyxserver.C (read_ready): re-write to make it more transparent
9025 and to make it work in coherent fashion under Tru64 Unix.
9027 2002-09-11 André Pönitz <poenitz@gmx.net>
9031 * text3.C: implement LFUN_WORDSEL
9033 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9035 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9036 make floatlist_ a boost::shared_ptr<FloatList>
9038 * lyxtextclass.C: include FloatList.h
9039 (LyXTextClass): initialize floatlist_
9040 (TextClassTags): add TC_NOFLOAT
9041 (Read): match "nofloat" to TC_NOFLOAT and use it.
9042 (readFloat): modify call to floatlist_
9046 * FloatList.[Ch] (FloatList): remove commented out float
9048 (erase): new function
9050 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9052 * MenuBackend.C (expandToc): fix crash when there is no document
9055 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9057 * many files: Add insetwrap.
9059 2002-09-09 John Levon <levon@movementarian.org>
9061 * text2.C: remove confusing and awkward depth wraparound
9063 2002-09-09 John Levon <levon@movementarian.org>
9065 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9068 * buffer.C: remove getIncludeonlyList()
9071 * lyxfunc.C: remove headers
9073 2002-09-09 Juergen Vigna <jug@sad.it>
9075 * text.C (getColumnNearX): fix form Michael this is most
9076 probably a cut&paste bug.
9078 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9080 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9082 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9083 references, ws changes.
9085 * text2.C (init): update counters after init
9086 (insertParagraph): no need to set counter on idividual paragraphs.
9087 (setCounter): access the counters object in the textclass object
9088 on in the buffer object.
9089 (updateCounters): ditto
9091 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9092 shared_ptr<Counters> to avoid loading counters.h in all
9094 (LyXTextClass): initialize ctrs_
9095 (TextClassTags): add TC_COUNTER, and ...
9096 (Read): use it here.
9097 (CounterTags): new tags
9098 (readCounter): new function
9099 (counters): new funtion
9100 (defaultLayoutName): return a const reference
9102 * counters.C (Counters): remove contructor
9103 (newCounter): remove a couple of unneeded statements.
9104 (newCounter): simplify a bit.
9105 (numberLabel): some small formatting changes.
9107 * buffer.[Ch]: remove all traces of counters, move the Counters
9108 object to the LyXTextClass.
9110 2002-09-06 Alain Castera <castera@in2p3.fr>
9112 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9113 package to set the horizontal alignment on fixed width columns.
9116 * lyx_sty.h: added tabularnewline macro def.
9118 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9120 2002-09-06 John Levon <levon@movementarian.org>
9122 * LyXAction.C: tooltips for sub/superscript
9124 * MenuBackend.C: a bit more verbose
9126 * lyxfunc.C: tiny clean
9128 * undo_funcs.C: document undo_frozen
9130 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9132 * counters.C (Counters): add missing algorithm counter.
9134 * text2.C (setCounter): lookup the counter with layouts latexname
9135 instead of by section number.
9136 (setCounter): use a hackish way to lookup the correct enum
9138 a float name->type change
9139 reset enum couners with counter name directly instead of depth value.
9141 * counters.C (Counters): remove the push_backs, change to use the
9142 float type not the float name.
9143 (labelItem): remove unused string, float name->type change
9145 * counters.h: don't include vector, loose the enums and sects vectors
9147 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9149 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9150 (Read): add float->TC_FLOAT to textclassTags
9151 (Read): and handle it in the switch
9152 (readFloat): new function
9154 * FloatList.C (FloatList): comment out the hardcoded float
9157 * lyxlayout.h: ws change.
9159 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9161 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9163 2002-09-03 Angus Leeming <leeming@lyx.org>
9165 * BufferView_pimpl.h: qualified name is not allowed in member
9166 declaration: WorkArea & Pimpl::workarea() const;
9168 * factory.C: added using std::endl directive.
9170 * text3.C: added using std::find and std::vector directives.
9172 2002-08-29 André Pönitz <poenitz@gmx.net>
9175 * text2.C: remove unused member number_of_rows
9178 * BufferView2.C: remove file, move contents to...
9179 * BufferView.C: ... here
9181 * BufferView_pimpl.C:
9182 * factory.C: move more inset creation to factory
9184 * vspace.C: avoid direct usage of LyXText, ws changes
9187 don't provide direct access to WorkArea, use two simple
9188 acessors haveSelction() and workHeight() instead
9191 2002-08-29 John Levon <levon@movementarian.org>
9193 * BufferView_pimpl.C (dispatch): do not continue when
9196 2002-08-28 André Pönitz <poenitz@gmx.net>
9198 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9201 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9203 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9205 * buffer.C: increment LYX_FORMAT to 221
9207 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9208 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9210 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9212 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9214 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9216 * factory.C (createInset): use LyXTextClass::floats
9218 * MenuBackend.C (expandFloatListInsert):
9219 (expandFloatInsert):
9222 * text2.C (setCounter):
9224 * LaTeXFeatures.C (useFloat):
9225 (getFloatDefinitions):
9227 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9229 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9230 floatlist_, with accessor floats().
9232 * FloatList.h: remove global FloatList
9234 2002-08-26 André Pönitz <poenitz@gmx.net>
9236 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9240 * BufferView_pimpl.C:
9241 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9243 2002-08-25 John Levon <levon@movementarian.org>
9245 * LyXAction.C: fix margin note description
9247 2002-08-24 John Levon <levon@movementarian.org>
9251 * bufferview_funcs.C:
9253 * undo_funcs.C: cleanups
9255 * lyxfunc.C: disable CUT/COPY when no selection
9257 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9259 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9260 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9262 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9263 Add backward compatibility to "mono", "gray" and "no".
9265 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9267 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9268 (and file_format >= 200).
9270 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9272 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9274 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9276 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9278 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9280 * BufferView_pimpl.C:
9287 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9288 inset and code to make it work with the paragraph code. The inset
9289 can be anywhere in the paragraph, but will only do the expected
9290 thing in LaTeX if the layout file contains the parameter line
9292 (or more generally, a nonzero value) for that layout.
9294 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9296 * paragraph.h: remove the declaration of undefined counters class
9299 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9301 * text2.C (setCounter): fixed enumeration mis-count as reported by
9302 Dr. Richard Hawkins.
9304 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9306 * paragraph_funcs.h: remove some unneeded includes
9308 * text.C (backspace): pasteParagraph now in global scipe
9310 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9311 (pasteSelection): ditto
9313 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9314 * paragraph_funcs.C (pasteParagraph): ... here
9316 2002-08-20 André Pönitz <poenitz@gmx.net>
9318 * commandtags.h: new LFUNs for swapping/copying table row/colums
9321 * lyxfunc.C: support for new lfuns
9323 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9326 * buffer.[Ch]: remove NO_COMPABILITY stuff
9328 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9330 * boost.C (throw_exception): new file, with helper function for
9331 boost compiled without exceptions.
9336 * ParameterStruct.h:
9337 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9339 * bufferlist.C (emergencyWriteAll): use boost bind
9341 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9343 * text.C: include paragraph_funcs.h
9344 (breakParagraph): breakParagraph is now in global scope
9346 * paragraph_funcs.[Ch]: new files
9348 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9351 * buffer.C: include paragraph_funcs.h
9352 (insertStringAsLines): breakParagraph is now in global scope
9354 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9357 * CutAndPaste.C: include paragraph_funcs.h
9358 (cutSelection): breakParagraphConservative is now in global scope
9359 (pasteSelection): ditto
9361 * buffer.h: declare oprator== and operator!= for
9362 Buffer::inset_iterator
9364 * bufferlist.C (emergencyWrite): don't use fmt(...)
9366 * text3.C: add using std::endl
9368 * BufferView.C (moveCursorUpdate): remove default arg
9370 2002-08-20 André Pönitz <poenitz@gmx.net>
9372 * buffer.[Ch]: move inline functions to .C
9375 * BufferView_pimpl.C:
9377 * buffer.[Ch]: use improved inset_iterator
9380 * paragraph.[Ch]: write one paragraph at a time
9382 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9384 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9385 style if style is not specified.
9387 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9389 * text2.C (setCounter): when searching for right label for a
9390 caption, make sure to recurse to parent insets (so that a caption
9391 in a minipage in a figure float works) (bug #568)
9393 2002-08-20 André Pönitz <poenitz@gmx.net>
9395 * text3.C: new file for LyXText::dispatch() and helpers
9397 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9399 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9401 2002-08-19 André Pönitz <poenitz@gmx.net>
9404 * text.C: new LyXText::dispatch()
9406 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9408 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9410 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9412 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9415 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9417 * Makefile.am: use $(variables) instead of @substitutions@
9419 2002-08-15 André Pönitz <poenitz@gmx.net>
9422 * BufferView_pimpl.C: streamlining mathed <-> outer world
9426 * LyXAction.C: remove unused LFUN_MATH
9428 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9430 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9432 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9434 * paragraph.C (Paragraph): reformat a bit
9435 (cutIntoMinibuffer): use builtin InsetList function instad of
9439 * buffer.C: include boost/bind.hpp, add using std::for_each
9440 (writeFileAscii): use ParagraphList iterators
9441 (validate): use for_each for validate traversal of paragraphs
9442 (getBibkeyList): use ParagraphList iterators
9443 (resizeInsets): use for_each to resizeInsetsLyXText for all
9445 (getParFromID): use ParagraphList iterators
9447 * BufferView2.C (lockInset): use paragraph list and iterators
9449 2002-08-14 John Levon <levon@movementarian.org>
9451 * lyxserver.C: remove spurious xforms include
9453 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9455 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9457 2002-08-13 André Pönitz <poenitz@gmx.net>
9460 * lyxfunc.C: further cleaning
9462 2002-08-13 André Pönitz <poenitz@gmx.net>
9464 * funcrequest.h: new constructor
9466 * funcrequest.C: move stuff here from .h
9469 * BufferView_pimpl.C:
9472 * lyxfunc.C: subsequent changes
9474 * lyxfunc.h: new view() member function
9476 * lyxfunc.C: subsequent changes
9478 2002-08-13 Angus Leeming <leeming@lyx.org>
9481 * BufferView_pimpl.C:
9489 changes due to the changed LyXView interface that now returns references
9490 to member variables not pointers.
9492 2002-08-13 Angus Leeming <leeming@lyx.org>
9494 * WordLangTuple (word, lang_code): return references to strings,
9499 * lyxtext.h: forward-declare WordLangTuple.
9504 * text.C: #include "WordLangTuple.h".
9507 * text.C: (selectNextWordToSpellcheck): constify return type.
9509 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9515 * paragraph_pimpl.h:
9518 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9520 Made updateCounter always count from start of buffer, and removed
9521 second argument (par).
9522 Reverted floats number display to '#'. Perhaps I'll try again when the
9523 code base is sanitized a bit.
9525 2002-08-12 Angus Leeming <leeming@lyx.org>
9527 * buffer.[Ch] (getLabelList): constify.
9529 2002-08-07 André Pönitz <poenitz@gmx.net>
9531 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9533 * funcrequest.h: extension to keep mouse (x,y) position
9535 2002-08-12 Juergen Vigna <jug@sad.it>
9537 * BufferView2.C (insertErrors): forbid undo when inserting error
9540 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9542 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9544 * ParagraphList.[Ch]: new files
9546 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9548 * BufferView2.C (lockInset): ParagraphList changes
9551 * bufferlist.C: ditto
9555 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9557 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9558 unused class variable counter_,
9560 * paragraph.[Ch] (getFirstCounter): delete unused function
9562 * counters.C: include LAssert.h
9563 (reset): add a new function with no arg, change other version to
9564 not have def. arg and to not allow empty arg.
9566 * text2.C (setCounter): remove empty arg from call to Counters::reset
9568 2002-08-11 John Levon <levon@movementarian.org>
9570 * Makefile.am: add WordLangTuple.h
9572 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9574 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9575 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9577 * insets/insettext.C: InsetList changes
9579 * graphics/GraphicsSupport.C (operator()): InsetList changes
9581 * toc.C (getTocList): InsetList changes
9583 * paragraph_pimpl.[Ch]: InsetList changes
9585 * paragraph.[Ch]: InsetList changes
9587 * buffer.C (inset_iterator): InsetList changes
9588 (setParagraph): ditto
9589 * buffer.h (inset_iterator): ditto
9590 * iterators.C (operator++): ditto
9591 * iterators.h: ditto
9593 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9595 * InsetList.[Ch]: new files, most InsetList handling moved out of
9598 * BufferView2.C (removeAutoInsets): InsetList changes
9600 (ChangeInsets): ditto
9602 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9604 * paragraph_pimpl.h (empty): new function
9606 * paragraph.[Ch] (empty): new function
9608 * other files: use the new Paragraph::empty function
9610 2002-08-09 John Levon <levon@movementarian.org>
9612 * lyxtext.h: remove unused refresh_height
9614 2002-08-09 John Levon <levon@movementarian.org>
9621 * paragraph.C: move sgml char escaping out of paragraph
9624 * paragraph.C: remove id setter
9628 * paragraph_pimpl.C: remove dead tex_code_break_column
9630 * bufferview_funcs.C: small cleanup
9632 * lyxfunc.C: remove dead proto
9634 * lyxtext.h: make some stuff private. Remove some dead stuff.
9636 * lyxgluelength.C: make as[LyX]String() readable
9638 2002-08-08 John Levon <levon@movementarian.org>
9643 * ToolbarDefaults.C:
9646 * toc.C: lyxaction cleanup
9648 2002-08-08 John Levon <levon@movementarian.org>
9650 * BufferView2.C: small cleanup
9653 * lyxfind.C: move unnecessary header into the .C
9655 2002-08-08 John Levon <levon@movementarian.org>
9657 * funcrequest.h: just tedious nonsense
9660 * lyx_main.C: cleanups
9663 * vspace.C: remove dead header lyx_main.h
9665 2002-08-07 Angus Leeming <leeming@lyx.org>
9668 * paragraph_pimpl.h:
9669 Forward declare class Counters in paragraph.h by moving the ctrs member
9670 variable into Paragraph::Pimpl.
9671 (counters): new method, returning a reference to pimpl_->ctrs.
9673 * text2.C: ensuing changes.
9675 2002-08-07 John Levon <levon@movementarian.org>
9677 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9679 * BufferView_pimpl.C: announce X selection on double/triple
9682 * lyx_main.C: use correct bool in batch dispatch
9684 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9686 2002-08-07 André Pönitz <poenitz@gmx.net>
9688 * funcrequest.h: new class to wrap a kb_action and its argument
9691 * BufferView_pimpl[Ch]:
9695 * lyxrc.C: subsequent changes
9698 2002-08-07 John Levon <levon@movementarian.org>
9700 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9701 document options change.
9703 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9708 * makefile.am: move counters functionality over from
9709 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9711 2002-08-06 John Levon <levon@movementarian.org>
9713 * WordLangTuple.h: new file for word + language code tuple
9724 * BufferView2.C: use WordLangTuple
9727 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9729 2002-08-06 John Levon <levon@movementarian.org>
9731 * lyx_main.C: fix cmdline batch handling
9733 2002-08-06 André Pönitz <poenitz@gmx.net>
9735 * lyxrc.C: set default for show_banner to true
9737 2002-08-06 John Levon <levon@movementarian.org>
9739 * pspell.C: fix a crash, and allow new aspell to work
9741 2002-08-06 John Levon <levon@movementarian.org>
9744 * kbmap.C: small cleanup
9747 * vspace.C: add const
9749 2002-08-05 John Levon <levon@movementarian.org>
9751 * LyXAction.C: back to tabular-insert
9753 2002-08-04 John Levon <levon@movementarian.org>
9756 * BufferView.C: cosmetic change
9758 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9768 * BufferView2.C: purge all "Lyx" not "LyX" strings
9771 * lyxcursor.C: attempt to add some documentation
9776 * ToolbarDefaults.C:
9777 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9778 merge with LFUN_TABULAR_INSERT
9785 * pspell.C: split up i/pspell implementations into separate
9786 files, many cleanups
9788 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9790 * text2.C: some cleanup
9792 * lyxfunc.C: don't check for isp_command == "none" any more, it
9793 didn't make any sense
9795 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9800 * makefile.am: move counters functionality over
9801 from text2.C/paragraph.[Ch] to counters.[Ch], and
9803 2002-08-02 John Levon <levon@movementarian.org>
9805 * buffer.C: s/lyxconvert/lyx2lyx/
9807 2002-08-02 Angus Leeming <leeming@lyx.org>
9809 * lyxlex.C: revert John's change as it breaks reading of the user
9812 2002-08-02 Angus Leeming <leeming@lyx.org>
9814 * importer.C (Import):
9815 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9816 changes due to LyXView::view() now returning a boost::shared_ptr.
9818 2002-08-02 John Levon <levon@movementarian.org>
9820 * lyxlex.C: small cleanup
9822 2002-08-02 John Levon <levon@movementarian.org>
9824 * text2.C (status): small cleanup, no logic change
9826 2002-08-01 John Levon <levon@movementarian.org>
9829 * buffer.C (writeFile): don't output alerts, caller
9833 * lyx_cb.C: from above
9835 * lyxfunc.C: allow to open non-existent files
9837 2002-07-31 John Levon <levon@movementarian.org>
9839 * lyxserver.C: don't let incidental errors get
9842 2002-07-30 John Levon <levon@movementarian.org>
9844 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9846 2002-07-30 John Levon <levon@movementarian.org>
9849 * lyxserver.C: remove I/O callback too
9851 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9853 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9856 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9858 * many files: strip,frontStrip -> trim,ltrim,rtrim
9860 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9862 * PrinterParams.h: remove extern containsOnly, and include
9863 support/lstrings.h instead.
9865 * LaTeX.C (scanAuxFile): modify because of strip changes
9867 * buffer.C (makeLaTeXFile): ditto
9868 * bufferparams.C (writeFile): ditt
9869 * lyxfont.C (stateText): ditto
9870 * lyxserver.C (read_ready): ditto
9871 * vc-backend.C (scanMaster): ditto
9873 * BufferView_pimpl.h: ws changes
9875 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9877 2002-07-26 André Pönitz <poenitz@gmx.net>
9879 * kb_sequence.C: remove unnedred usings
9881 2002-07-26 Juergen Vigna <jug@sad.it>
9883 * lyxfind.C (LyXReplace): we have to check better if the returned
9884 text is not of theLockingInset()->getLockingInset().
9886 2002-07-25 Juergen Vigna <jug@sad.it>
9888 * lyxfind.C (LyXReplace): don't replace if we don't get the
9891 * undo_funcs.C (createUndo): remove debugging code.
9893 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9895 * buffer.C (parseSingleLyXformat2Token): Use default placement
9896 when reading old floats.
9898 * FloatList.C (FloatList): Change the default placement of figure
9899 and tables to "tbp".
9901 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9903 * MenuBackend.C: using std::max
9905 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9907 * MenuBackend.C (expandToc):
9908 (expandToc2): code moved from xforms menu frontend. It is now
9909 generic and TOCs are transparent to menu frontends.
9911 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9913 * toc.C (getTocList): protect against buf=0
9915 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9916 Menu as first parameter. Now, this calls itself recursively to
9917 expand a whole tree (this will be useful for TOC handling)
9918 (expandFloatInsert): remove 'wide' version of floats
9920 * MenuBackend.h (submenuname): returns the name of the submenu.
9921 (submenu): returns the submenu itself, provided it has been
9922 created by MenuBackend::expand
9924 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9926 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9927 insets which have noFontChange == true. (bug #172)
9929 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9931 * BufferView_pimpl.C: add connection objects and use them...
9934 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9936 * MenuBackend.C (expandLastfiles):
9939 (expandFloatListInsert):
9940 (expandFloatInsert):
9941 (expand): split expand in parts
9943 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9945 * lyx_gui.C: use lyx_gui::exit()
9947 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9949 * LyXAction.C: show the failing pseudo action
9951 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9953 * buffer.C (readFile): Run the lyxconvert script in order to read
9956 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9960 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9962 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9966 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9968 2002-07-22 Herbert Voss <voss@lyx.org>
9971 * lyxlength.[Ch]: add support for the vertical lengths
9973 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9975 * toc.[Ch]: std:: fixes
9977 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9979 * lyxrc.C: do not include lyx_main.h
9981 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9987 * BufferView2.C: include "lyxlex.h"
9990 * bufferparams.h: do not #include "lyxlex.h"
9992 * lyxtextclasslist.C (Add): remove method
9993 (classlist): renamed to classlist_
9995 * paragraph_pimpl.C:
9999 * bufferview_funcs.C:
10004 * toc.C (getTocList): use BufferParams::getLyXTextClass
10006 * toc.C (getTocList): use InsetFloat::addToToc
10008 * toc.[Ch]: new files, containing helper functions to handle table
10011 * lyxfunc.C (dispatch): no need to remove spaces around command
10013 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10014 first command of the sequence; it is not very clever, but I do not
10015 have a better idea, actually
10017 * LyXAction.C (LookupFunc): make sure to remove space at the
10018 beginning and end of the command
10020 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10022 * MenuBackend.C (getMenubar): new method: return the menubar of
10024 (read): treat differently reading of menu and menubar (in
10025 particular, the menubar has no name now)
10026 (Menu::menubar): remove
10028 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10031 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10033 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10034 a bibitem inset in a RTL paragraph.
10036 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10038 * paragraph_pimpl.C: constify
10040 * BufferView_pimpl.C:
10042 * lyxfunc.C: fix dispatch in a nicer way
10044 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10046 * lyxfunc.C (dispatch):
10047 * BufferView_pimpl.C:
10048 * BufferView_pimpl.h:
10050 * BufferView.h: rename Dispatch() to dispatch()
10052 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10054 * lyxlayout.C (Read): honor DependsOn tag
10056 * lyxlayout.[Ch] (depends_on): new method
10058 * version.C.in: update lyx_docversion
10060 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10062 * paragraph.C (validate): remove from here...
10063 * paragraph_pimpl.C (validate): ... and move here
10064 (isTextAt): make it const
10066 * buffer.C (getLists): ws cleanup
10068 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10070 * language.C (read): Use iso8859-1 encoding in latex_lang
10071 (this prevents LyX from crashing when using iso10646-1 encoding).
10073 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10075 * text2.C (toggleInset): if cursor is inside an inset, close the
10076 inset and leave cursor _after_ it
10078 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10080 * lyxfunc.C: move minibuffer completion handling out of here
10082 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10084 * BufferView_pimpl.C:
10085 * LaTeX.C: fix dispatch calls
10087 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10089 * text.C (drawChars): Fix Arabic text rendering.
10091 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10095 * lyxfunc.C: remove message-push/pop
10099 * lyxfunc.C: rationalise some code by removing verboseDispatch
10100 in favour of a bool argument to dispatch()
10102 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10104 * lyx_main.C (init): make sure to read symlinks as absolute paths
10106 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10109 * lyxfunc.C: no need for commandshortcut to be a member
10111 2002-07-15 André Pönitz <poenitz@gmx.net>
10113 * converter.C: add support for $$s (scripts from lib/scripts dir)
10114 * lyx_main.C: white space
10116 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10120 * lyxrc.C: remove second exit confirmation
10122 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10127 * BufferView_pimpl.h:
10128 * BufferView_pimpl.C:
10129 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10131 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10133 * MenuBackend.C (expand): add numeric shortcuts to document menu
10135 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10137 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10139 * lyxfont.C (setLyXFamily):
10146 * buffer.C (asciiParagraph): use ascii_lowercase
10148 2002-07-15 Mike Fabian <mfabian@suse.de>
10150 * lyxlex_pimpl.C (search_kw):
10151 * lyxlex.C (getLongString):
10152 * converter.h (operator<):
10153 * converter.C (operator<):
10154 * buffer.C (parseSingleLyXformat2Token):
10156 * ToolbarDefaults.C (read):
10157 * MenuBackend.C (checkShortcuts):
10159 * LColor.C (getFromGUIName):
10160 (getFromLyXName): use the compare_ascii_no_case instead of
10161 compare_no_case, because in turkish, 'i' is not the lowercase
10162 version of 'I', and thus turkish locale breaks parsing of tags.
10164 2002-07-16 Angus Leeming <leeming@lyx.org>
10166 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10167 now takes a Buffer const & argument.
10169 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10171 * BufferView.C (resize): check there's a buffer to resize
10173 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10175 * lyxfunc.C: remove dead code
10178 * lyxserver.C: use lyx_guii::set_read_callback
10180 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10182 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10183 an inset in a RTL paragraph.
10185 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10187 * lyxfunc.C: repaint after a font size update
10189 2002-07-15 André Pönitz <poenitz@gmx.net>
10191 * lyxlength.C: inBP should be able to return negative values
10193 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10195 * lyxfunc.C: use lyx_gui::update_fonts()
10197 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10199 * lyxfunc.C: use lyx_gui::update_color()
10201 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10207 * lyxrc.C: remove file->new asks for name option, and let
10208 buffer-new take an argument
10210 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10212 * BufferView_pimpl.C: remove unneeded extra repaint()
10214 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10216 * LyXAction.C: allow command-sequence with NoBuffer
10218 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10220 2002-07-10 Angus Leeming <leeming@lyx.org>
10222 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10224 2002-07-09 Angus Leeming <leeming@lyx.org>
10226 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10228 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10230 * lengthcommon.h: whitespace
10232 * lyxfunc.C: update scrollbar after goto paragraph
10234 * lyxtext.h: factor out page break drawing, and fix it so
10235 page break/added space paints as selected nicely
10237 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10239 * BufferView_pimpl.C: add FIXMEs, clean up a little
10241 2002-07-09 André Pönitz <poenitz@gmx.net>
10243 * lyxfont.[Ch]: support for wasy symbols
10245 2002-07-08 André Pönitz <poenitz@gmx.net>
10247 * BufferView_pimpl.C: apply John's patch for #93.
10249 2002-07-05 Angus Leeming <leeming@lyx.org>
10251 * BufferView_pimpl.C (buffer): generate previews if desired.
10253 * LColor.h: add "preview" to the color enum.
10255 * LColor.C (LColor): add a corresponding entry to the items array.
10257 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10260 2002-07-05 Angus Leeming <leeming@lyx.org>
10262 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10263 The body of the code is now in the method that is passed an ostream &
10264 rather than a file name.
10265 Pass an additional only_preamble parameter, useful for the forthcoming
10268 2002-07-03 André Pönitz <poenitz@gmx.net>
10270 * lyxfunc.C: simplify getStatus() a bit for math stuff
10272 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10274 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10276 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10278 * text.C (changeRegionCase): do not change case of all the
10279 document when region ends at paragraph end (bug #461)
10281 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10283 * paragraph.C (startTeXParParams):
10284 (endTeXParParams): add \protect when necessary
10286 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10288 * BufferView_pimpl.C (workAreaExpose): remove warning
10290 2002-06-27 Angus Leeming <leeming@lyx.org>
10292 * Makefile.am: add lyxlayout_ptr_fwd.h.
10294 2002-06-26 André Pönitz <poenitz@gmx.net>
10296 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10298 2002-06-25 Angus Leeming <leeming@lyx.org>
10300 * lyxfunc.C (dispatch): Comment out the call to
10301 grfx::GCache::changeDisplay. The method no longer exists now that the
10302 pixmap generation part of the graphics loader has been moved into
10305 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10307 * text2.C: layout as layout
10309 * text.C: layout as layout
10311 * tabular.C (OldFormatRead): layout as layout
10313 * paragraph_pimpl.C (TeXDeeper): layout as layout
10314 (realizeFont): layout as layout
10316 * paragraph.C (writeFile): layout as layout
10317 (validate): layout as layout
10318 (getFont): layout as layout
10319 (getLabelFont): layout as layout
10320 (getLayoutFont): layout as layout
10321 (breakParagraph): layout as layout
10322 (stripLeadingSpaces): layout as layout
10323 (getEndLabel): layout as layout
10324 (getMaxDepthAfter): layout as layout
10325 (applyLayout): layout as layout
10326 (TeXOnePar): layout as layout
10327 (simpleTeXOnePar): layout as layout
10328 (TeXEnvironment): layout as layout
10329 (layout): layout as layout
10330 (layout): layout as layout
10332 * lyxtextclass.C (compare_name): new functor to work with
10333 shared_ptr, layout as layout
10334 (Read): layout as layout
10335 (hasLayout): layout as layout
10336 (operator): layout as layout
10337 (delete_layout): layout as layout
10338 (defaultLayout): layout as layout
10340 * lyxlayout_ptr_fwd.h: new file
10342 * lyxlayout.C (Read): layout as layout
10344 * lyx_cb.C (MenuInsertLabel): layout as layout
10346 * bufferlist.C (newFile): layout as layout
10348 * buffer.C (readLyXformat2): layout as layout
10349 (parseSingleLyXformat2Token): layout as layout
10350 (insertStringAsLines): layout as layout
10351 (asciiParagraph): layout as layout
10352 (latexParagraphs): layout as layout
10353 (makeLinuxDocFile): layout as layout
10354 (simpleLinuxDocOnePar): layout as layout
10355 (makeDocBookFile): layout as layout
10356 (simpleDocBookOnePar): layout as layout
10357 (getLists): layout as layout
10359 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10361 * CutAndPaste.C (cutSelection): layout as layout
10362 (pasteSelection): layout as layout
10363 (SwitchLayoutsBetweenClasses): layout as layout
10365 * BufferView_pimpl.C (Dispatch): layout as layout
10366 (smartQuote): layout as layout
10368 * BufferView2.C (unlockInset): layout as layout
10370 2002-06-24 André Pönitz <poenitz@gmx.net>
10372 * lyxfunc.C: fix #487
10374 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10378 * lyxfunc.C: remove display_shortcuts, show_banner
10380 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10382 * Buffer_pimpl.C: oops, update on resize
10384 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10391 * BufferView.C: use repaint()
10393 * BufferView_pimpl.h:
10394 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10395 as it's a clearer description. Remove superfluous
10398 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10400 * text.C: fix bug 488. Not ideal, but getting
10401 getWord() to work properly for the insets that
10402 matter is more difficult ...
10404 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10406 * BufferView_pimpl.C:
10409 * lyxfunc.C: remove the six million index lyxfuncs to just
10410 one, and DTRT (bug 458)
10412 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10416 * BufferView_pimpl.h:
10417 * BufferView_pimpl.C: clean up resize() stuff,
10418 and unnecessary updateScreen()s
10420 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10424 * BufferView_pimpl.h:
10425 * BufferView_pimpl.C:
10428 * minibuffer.C: remove focus management of workarea,
10429 not needed. Use screen's greyOut()
10431 2002-06-17 Herbert Voss <voss@lyx.org>
10433 * converter.C: (convert) do not post a message, when converting
10434 fails, let the calling function decide what to do in this case
10436 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10438 * lyxfunc.C: tidy up a little
10440 2002-06-16 <alstrup@diku.dk>
10442 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10443 Got rid of FORMS_H_LOCATION include. Now we are
10446 2002-06-15 LyX Development team <lyx@rilke>
10448 * buffer.[Ch] (sgmlOpenTag):
10449 (sgmlCloseTag): Added support for avoiding pernicious mixed
10450 content. Return number of lines written.
10452 (makeLinuxDocFile):
10453 (makeDocBookFile): Fixed calls to sgml*Tag.
10454 Simple white space clean.
10456 (simpleDocBookOnePar): Simple white space clean.
10458 * tabular.[Ch] (docBook): Renamed to docbook and got another
10459 argument to related with the pernicious mixed content.
10461 (docbookRow): Fixed calls for docbook inset method.
10463 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10465 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10466 so it's X11 independent.
10470 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10472 2002-06-15 Lyx Development team <lyx@electronia>
10474 * intl.h: Renamed getTrans to getTransManager.
10476 2002-06-14 Angus Leeming <leeming@lyx.org>
10478 * Makefile.am: nuke forgotten stl_string_fwd.h.
10480 2002-06-12 Angus Leeming <leeming@lyx.org>
10482 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10484 2002-06-13 Angus Leeming <leeming@lyx.org>
10487 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10489 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10491 * kbmap.C (getiso): add support for cyrillic and greek
10493 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10497 * BufferView_pimpl.h:
10498 * BufferView_pimpl.C: move bogus scrolling logic
10501 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10504 * BufferView_pimpl.C: view->resize() change
10506 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10508 * BufferView_pimpl.C: topCursorVisible
10511 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10515 * lyx_gui.C: move to frontends/
10519 * lyx_main.C: changes from above
10521 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10528 * lyx_main.C: minor tidy
10530 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10532 * BufferView_pimpl.h:
10533 * BufferView_pimpl.C:
10535 * BufferView.C: make painter() const,
10538 * BufferView2.C: use screen() accessor
10541 * lyx_main.C: some minor cleanup
10543 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10545 * BufferView_pimpl.h:
10546 * BufferView_pimpl.C: remove enter/leaveView,
10549 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10554 * BufferView_pimpl.h:
10555 * BufferView_pimpl.C: only construct screen once,
10558 * lyxrc.C: remove pointless comment
10560 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10563 * BufferView.C: remove active() and belowMouse()
10565 * BufferView_pimpl.h:
10566 * BufferView_pimpl.C: use workarea() not workarea_,
10567 and make it use a scoped_ptr instead
10569 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10571 * lyx_gui.C: add debug message on BadWindow
10573 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10575 * sp_spell.C: fdopen is not part of the C++ standard.
10577 * paragraph.C (InsetIterator): use >= instead of ==
10579 2002-06-07 Angus Leeming <leeming@lyx.org>
10581 Fixes needed to compile with Compaq cxx 6.5.
10582 * BufferView_pimpl.C:
10589 * lyxtextclasslist.C:
10594 all c-library variables have been moved into namespace std. Wrap
10595 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10600 Add a using std::abs declaration.
10602 * kbmap.h (modifier_pair):
10603 * paragraph.h (InsetTable, InsetList):
10604 * lyxfont.h (FontBits):
10605 type definition made public.
10607 * bufferlist.C (emergencyWriteAll): the compiler complains that
10608 there is more than one possible lyx::class_fun template to choose from.
10609 I re-named the void specialisation as lyx::void_class_fun.
10611 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10613 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10614 the compiler is is unable to find tostr in write_attribute.
10616 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10618 * buffer.C (sgmlError): hide #warning
10620 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10622 * xtl/*: get rid of xtl, which is not in use anyway
10624 * LyXAction.C (init):
10625 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10626 were unimplemented xtl experimentation
10628 2002-06-04 André Pönitz <poenitz@gmx.net>
10630 * lyxfunc.C: disable array operation on simple formulae
10632 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10634 * converter.C: constify a bit
10636 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10638 * lyx_gui.C: check xforms version correctly
10640 2002-04-30 Herbert Voss <voss@lyx.org>
10642 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10645 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10647 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10648 attempt to register it with a VCS)
10650 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10652 * lyx_main.C (init): honor variables LYX_DIR_13x and
10655 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10659 * lyx_main.C: fix a crash on bad command line,
10660 and give a useful exit status on error
10662 * lyxfunc.C (doImport): allow -i lyx to work
10664 2002-03-30 André Pönitz <poenitz@gmx.net>
10666 * lyxfunc.C: mathed font changes
10668 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10683 * trans_mgr.h: srcdocs, and some minor cleanups
10685 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10687 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10688 call getFont all the time)
10690 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10692 * switch from SigC signals to boost::signals
10694 2002-05-29 André Pönitz <poenitz@gmx.net>
10696 * paragraph_pimpl.C (getChar): don't call size() too often...
10698 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10700 * paragraph_pimpl.C (insertChar): do not try to update tables when
10701 appending (pos == size())
10703 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10704 in order to reduce drastically the number of comparisons needed to
10705 parse a large document
10707 2002-05-29 André Pönitz <poenitz@gmx.net>
10713 * textclasslist.[Ch]:
10714 * sp_ispell.h: whitespace change
10716 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10718 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10719 lyxaction directly now.
10721 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10725 * lyxvc.C: remove unused headers
10727 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10734 * undo_funcs.C: some cleanups. Use shared_ptr
10735 and a template for the undo stacks.
10737 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10739 * BufferView_pimpl.h:
10740 * BufferView_pimpl.C:
10747 * text2.C: use key_state/mouse_state
10749 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10751 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10754 * chset.C: change include order
10755 (loadFile): use boost regex and get rid of LRegex and LSubstring
10757 * Makefile.am (BOOST_LIBS): new variable
10758 (lyx_LDADD): use it
10760 * LaTeX.C: change include order.
10761 (scanAuxFile): use boost regex and get rid of LRegex and
10765 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10770 * FontInfo.C: moved to frontends/xforms/
10773 * FontLoader.C: moved into frontends for GUIIzation
10778 * lyxfunc.C: changes from above
10780 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10782 * LColor.C: remove spurious X include
10784 * BufferView_pimpl.C:
10789 * text2.C: move font metrics to frontends/
10791 2002-05-24 Juergen Vigna <jug@sad.it>
10793 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10794 setting the undo_cursor.
10796 * ParagraphParameters.h: include local includes first.
10798 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10800 * BufferView_pimpl.C:
10801 * BufferView_pimpl.h:
10805 * screen.C: move WorkArea into frontends/
10811 * BufferView2.C: move LyXScreen into frontends/
10815 * lyx_gui.C: move lyxlookup into frontends/xforms/
10817 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10820 * BufferView_pimpl.C:
10830 * bufferview_funcs.C:
10843 * vc-backend.C: move LyX/XFormsView into frontends/
10845 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10857 * text2.C: move Painter to frontends/
10859 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10861 * buffer.C: comment out some some code that depend upon lyx_format
10864 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10865 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10867 * buffer.h (NO_COMPABILITY): turn off compability
10869 * ColorHandler.C: include scoped_array.hpp
10871 * font.C: Use more specific smart_ptr header.
10874 * ShareContainer.h: ditto
10875 * lyx_main.h: ditto
10877 * FontInfo.h: ditto
10878 * BufferView_pimpl.h: ditto
10879 * ColorHandler.h: ditto
10881 * kbmap.C (defkey): change call to shared_ptr::reset
10883 2002-05-21 Juergen Vigna <jug@sad.it>
10885 * buffer.C (insertErtContents): fix to insert ert asis if it is
10886 non empty. Skip it completely if it contains only whitespaces.
10888 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10890 * BufferView_pimpl.C:
10891 * BufferView2.C: clear selection on paste (bug 393)
10893 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10895 * DepTable.C: include ctime
10897 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10899 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10901 2002-05-14 Juergen Vigna <jug@sad.it>
10903 * text.C (breakParagraph): fixed function to honor the keepempty
10904 layout in the right maner and also to permit the right breaking
10905 algorithm on empty or non empyt keepempty paragraphs.
10907 * paragraph.C (breakParagraph): we have to check also if the par
10908 is really empty (!size()) for isempty otherwise we do the wrong
10911 2002-05-10 Juergen Vigna <jug@sad.it>
10913 * buffer.[Ch] : The following are only changes to the ert
10914 compatibility read reading old LaTeX layout and font stuff and
10915 convert it to ERTInsets.
10917 * buffer.h: added isErtInset().
10919 * buffer.C (struct ErtComp): add a fromlayout bool to check
10920 if we're inside a LaTeX layout.
10921 (isErtInset): new helper function.
10922 (insertErtContents): look for other ert insets before this one
10923 and insert the contents there, so that we don't have subsequent
10924 ERT insets with nothing between them. This way we create only one
10925 inset with multiple paragraphs. Also check if we don't insert only
10926 spaces ' ' as they are ignored anyway afterwards in the .tex file
10927 so if we have only spaces we will ignore this latex part in the
10929 (parseSingleLyXformat2Token \\layout): better compatibility when
10930 reading layout-latex stuff.
10931 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10933 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10934 stuff after reading the inset only get the information back from
10937 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10939 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10941 * LaTeXFeatures.C (getBabelOptions): New method.
10943 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10945 * BufferView_pimpl.C (Dispatch): work around missing argument for
10948 2002-05-08 Juergen Vigna <jug@sad.it>
10950 * text.C (leftMargin): handle paragraph leftindent.
10952 * paragraph.C (writeFile): write the new \\leftindent tag.
10953 (validate): handle leftindent code.
10954 (TeXEnvironment): handle paragraphleftindent code again.
10956 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10958 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10959 for paragrap_extra indent code and new token \\leftindent.
10960 (latexParagraphs): handle the leftindent as environment.
10962 * ParameterStruct.h: added leftindent support.
10964 * ParagraphParameters.C (leftIndent): added support functions for
10965 the paragraph left indent.
10967 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10970 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10972 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10975 * text.C (computeBidiTables): No bidi in insetERT.
10977 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10980 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10982 * version.C.in: pre 5
10984 2002-05-02 José Matos <jamatos@fep.up.pt>
10985 * buffer.C (makeDocBookFile): white space changes, add newline to
10987 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10989 * tabular.C (docBook): fix typo.
10991 2002-05-03 Juergen Vigna <jug@sad.it>
10993 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10994 change in LyXText as we can not be sure it was not freed.
10995 (drawOneRow): remove unused code.
10997 * text.C (drawInset): redo the calculation of the need_break_row as
10998 it could have a row which was already freed.
10999 (draw): look at the return value of drawInset and return false if
11000 it also returned false.
11001 (paintRowText): look at the return value of draw and return false if
11002 it also returned false.
11004 * lyxtext.h: added bool return type to drawInset() and draw() so that
11005 if we have a change in the row so that the rowbreak has to be redone
11006 we abort drawing as it will be called again.
11008 2002-05-02 Juergen Vigna <jug@sad.it>
11010 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11011 a change in the maintext also if we're inside an inset.
11012 (Dispatch): set the cursor again after a break line and after the
11013 screen has been updated as it could be we're in a different row.
11015 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11016 to set the cursor behind the pargraph with > size().
11017 (setCursor): check also for the same paragraph when checking where
11018 to put the cursor if we have a NFR inset.
11020 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11021 parts of layout read further up as it still was in the wrong
11024 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11026 * screen.C (drawFromTo): change sine fullRebreak always return
11029 * buffer.C (parseSingleLyXformat2Token): reindent some
11031 * BufferView_pimpl.C (update): change since fullRebreak always
11033 (Dispatch): git rid of the last hardcoded "Standard"s.
11035 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11037 * text2.[Ch] (fullRebreak): make it return void now that we always
11040 2002-04-30 Juergen Vigna <jug@sad.it>
11042 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11043 ert compatibility check for "latex" layout.
11045 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11047 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11048 minipages: use col% instead of p%, and also use the current font.
11049 (makeLaTeXFile): Fix use babel condition.
11050 (parseSingleLyXformat2Token): Correct font when reading old floats.
11052 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11054 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11055 inserting list of floats.
11057 2002-04-25 Herbert Voss <voss@lyx.org>
11059 * MenuBackend.C (expand): don't add the graphics extensions to the
11062 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11064 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11065 non-existing layout, do not complain if it was the default layout
11066 of the original class (bug #342)
11068 2002-04-24 Juergen Vigna <jug@sad.it>
11070 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11071 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11073 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11075 * buffer.C (getBibkeyList): If using \bibliography, return the
11076 option field with the reference itself. Enables us to provide natbib
11077 support when using \bibliography.
11079 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11081 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11083 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11084 natbib is provided by the LaTeX class.
11086 2002-04-23 Juergen Vigna <jug@sad.it>
11088 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11091 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11093 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11095 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11097 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11098 ensuremath around textordmasculine, textordfeminine and
11101 2002-04-19 Juergen Vigna <jug@sad.it>
11103 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11104 reinitializing the buffer otherwise row-dimensions may be wrong.
11105 (update): reset also the selection cursors if they do exits otherwise
11106 their x/y positions may be wrong.
11108 * text2.C (cursorDown): don't enter the inset if we came from a row
11109 above and are one row over the inset.
11111 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11112 really leaving an inset.
11114 2002-04-18 Juergen Vigna <jug@sad.it>
11116 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11117 of the selected paragraph does not have the selected layout also if
11120 * text2.C (setLayout): fixed bug which did not change last selected
11123 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11124 changed the read and substituted \\end_float with \\end_inset!
11126 * BufferView_pimpl.C (cursorPrevious):
11127 (cursorNext): fixed to make it work with rows heigher than the work
11128 area without moving the cursor only the draw of the row.
11129 (workAreaMotionNotify): fix jumping over high rows.
11131 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11133 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11136 2002-04-16 Juergen Vigna <jug@sad.it>
11138 * text2.C (setCursor): set also the irow().
11139 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11141 (cursorDown): support for locking an inset if the x_fix value goes
11142 inside it. That way I can transverse insets too with cursor up/down.
11144 * lyxrow.h: added irow helper function same as other (i) functions.
11146 * BufferView_pimpl.C (cursorPrevious):
11147 (cursorNext): fixed for insets!
11149 2002-04-15 Juergen Vigna <jug@sad.it>
11151 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11152 position otherwise it is wrong in some cases.
11154 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11155 inside the inset before the call.
11157 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11159 * buffer.[Ch] (getBibkeyList): make it const.
11161 2002-04-12 Juergen Vigna <jug@sad.it>
11163 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11165 * text2.C (getCursorX): new helper function
11166 (setCursor): compute also ix_
11167 (setCursorFromCoordinates): set also ix.
11169 * lyxcursor.h: added ix_ and helper functions.
11171 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11173 * buffer.C (insertStringAsLines): dont break paragraph if the this
11174 paragraph is inside an inset which does not permit it!
11176 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11177 also with no chars on this paragraph.
11178 (paintRowText): only paint stuff if it's inside the workarea!
11180 * paragraph.C (breakParagraph): honor keepempty flag and break the
11181 paragraph always below not above.
11183 * BufferView2.C (unlockInset): update the paragraph layout on inset
11184 unlock as we changed paragraph in such a case.
11186 * lyxfind.C (LyXFind): clear the former selection if not found!
11188 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11189 again called in insertChar().
11191 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11192 an inset which uses the whole row!
11193 (rightMargin): ditto.
11194 (insertChar): force a rebreak if we inserted an inset!
11196 2002-03-28 Herbert Voss <voss@lyx.org>
11198 * lyxlength.[Ch]: add inBP() to get the right PS-point
11199 units (BigPoint). With inPixels we have rounding errors
11201 2002-04-11 Juergen Vigna <jug@sad.it>
11203 * text2.C (setCursorFromCoordinates): set iy to the right value.
11204 (setCursor): add check if row->previous exists!
11206 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11207 an old float_type as this was the case in the old code!
11209 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11211 * BufferView2.C (showLockedInsetCursor): use iy
11212 (fitLockedInsetCursor): ditto
11214 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11215 locked insets as there we have the right value now.
11217 * lyxcursor.C: added iy_ variable and iy functions to set to the
11218 baseline of cursor-y of the locked inset.
11220 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11221 (setCursor): fixed for insets which need a full row.
11223 * text.C (rowLastPrintable): don't ignore the last space when before
11224 an inset which needs a full row.
11225 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11226 as last character of a row when before a inset which needs a full row.
11228 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11230 * version.C.in: update date
11232 * text2.C (fullRebreak): try to always return true and see what
11235 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11237 * MenuBackend.C (expand): use Floating::listName
11239 * FloatList.C (FloatList): add listName argument to the built-in
11242 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11243 text associated with the float.
11245 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11247 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11249 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11251 * ShareContainer.h: add a couple of missing typenames.
11253 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11255 * lyxrc.C (getDescription): use _() correctly rather than N_().
11257 2002-03-28 Herbert Voss <voss@lyx.org>
11259 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11260 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11262 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11264 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11265 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11267 2002-03-29 Juergen Vigna <jug@sad.it>
11269 * lyxfunc.C (dispatch): add a missing fitCursor call.
11271 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11272 it was scrolled by a cursor move, so return the bool status.
11274 * BufferView.C (fitCursor): return the bool flag also to the outside
11275 world as this is needed.
11277 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11279 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11280 call the edit() as it is not needed (and wrong) IMO.
11281 (workAreaButtonPress): set the screen_first variable before evt.
11282 unlock the inset as this may change screen_first and then we have
11283 a wrong y position for the click!
11285 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11287 * MenuBackend.C (expand): another translation that I missed
11289 2002-03-28 Juergen Vigna <jug@sad.it>
11291 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11293 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11295 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11297 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11299 * MenuBackend.C (expand): fix export/view/update when there is no
11302 2002-03-27 Herbert Voss <voss@lyx.org>
11304 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11307 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11309 * bufferview_funcs.C (currentState): only show paragraph number
11310 for is DEVEL_VERSION is set.
11312 * lyxfunc.C (dispatch): put warning in INFO channel
11314 * MenuBackend.C (expand): translate the name of floats
11316 * FloatList.C (FloatList): mark the float names for translation
11318 * converter.C (convert): use LibScriptSearch
11320 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11322 * MenuBackend.C (defaults): fix default menu (we might as well get
11325 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11327 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11330 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11332 * lyxvc.C: reorder includes.
11334 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11336 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11339 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11341 * CutAndPaste.C: change layouts earlier on paste
11342 to avoid crashing when calling getFont()
11344 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11346 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11349 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11351 * WorkArea.C: remove 'Pending' debug message.
11353 * most files: ws cleanup
11355 * buffer.[Ch]: ws changes
11357 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11359 2002-03-21 Juergen Vigna <jug@sad.it>
11361 * tabular.C (SetMultiColumn): collapse also the contents of the
11362 cells and set the last border right. Added a Buffer const * param.
11364 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11366 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11369 2002-03-19 Juergen Vigna <jug@sad.it>
11371 * text2.C (clearSelection): reset also xsel_cache.
11373 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11374 where it needs to be called (John tells us to do so too :)
11375 (selectionLost): reset sel_cache.
11377 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11379 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11381 * text2.C (setCursorIntern): put debuging code in INSETS channel
11383 2002-03-19 André Pönitz <poenitz@gmx.net>
11385 * lyxfunc.C: tiny whitespace change
11387 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11389 * ToolbarDefaults.C (init):
11390 * LyXAction.C (init):
11392 * BufferView_pimpl.C (Dispatch):
11393 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11395 2002-03-19 Allan Rae <rae@lyx.org>
11397 * exporter.C (Export): removeAutoInsets before doing anything else.
11398 While I've just introduced a dependency on BufferView this really is
11399 the best place to clean the buffer otherwise you need to cleanup in
11400 a dozen places before calling export or cleanup in a dozen functions
11403 * converter.C (runLaTeX):
11404 (scanLog): Better handling of removeAutoInsets and screen updates.
11406 * lyxfunc.C (dispatch): small whitespace changes
11408 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11410 * WorkArea.C (C_WorkAreaEvent): return a value.
11411 (event_cb): return 1 if we handled the event, 0 otherwise.
11413 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11415 2002-03-18 Juergen Vigna <jug@sad.it>
11417 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11418 (GetAdditionalWidth): ditto.
11419 (RightLine): ditto.
11422 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11423 inset if we're there actually (probably not used right now but this
11424 is the direction to go for unifying code).
11425 (paste): disable code to clear the selection.
11427 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11428 inside an InsetText and move the check further up as it is in the
11431 * text2.C (pasteSelection): set a selection over the pasted text.
11433 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11435 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11436 and libgraphics to build on Cygwin.
11438 2002-03-15 Juergen Vigna <jug@sad.it>
11440 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11441 inserting an Inset into the paragraph. I know this is not the best
11442 fix but we already use current_view in CutAndPaste so we will remove
11443 all of it's using at the same time.
11445 * buffer.C (sgmlError): deactivated function till it is rewritten in
11446 the right mode, now it can create problems.
11448 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11449 before accessing it.
11451 2002-03-14 Juergen Vigna <jug@sad.it>
11453 * undo_funcs.C (textHandleUndo): do the right thing when updating
11454 the inset after the undo/redo.
11456 * text2.C (setCursor): just some testcode for #44 not ready yet.
11458 * undo_funcs.C (textHandleUndo): set the next() and previous()
11459 pointers of the paragraph to 0 before deleting otherwise we have
11460 problems with the Paragraph::[destructor].
11462 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11463 on a paragraph insertion.
11465 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11467 * buffer.C (asciiParagraph): use += operator for char append to
11470 * paragraph.C (getFontSettings): compare >= not just >
11471 (highestFontInRange): ditto
11474 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11476 * paragraph.C: change several algorithm to be more appripriate for
11477 the problem domain. This is lookip in FontList and in the InsetList.
11479 2002-03-13 André Pönitz <poenitz@gmx.net>
11482 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11484 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11489 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11491 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11493 * Painter.C (display): anon helper function, adjust code for this
11495 (pixmap): remove function.
11497 * Painter.h: remove private display variable.
11499 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11501 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11503 * WorkArea.[Ch]: remove figinset_canvas cruft.
11505 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11507 * lyxtextclass.C (operator): add one item cache optimization.
11509 * bufferlist.h: doxy changes
11511 * bufferlist.C: ws changes
11513 * DepTable.[Ch] (ext_exist): place const in the right spot.
11515 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11517 (workAreaExpose): call resizeInsets when the with BufferView changes.
11518 (Dispatch): adjust for protectedBlank removal
11519 (specialChar): call updateInset if the insert went ok.
11521 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11522 specialChar instead.
11524 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11526 * BufferView.h: doxy change
11528 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11530 * lyxtextclass.C (operator[]): remove non-const version
11531 (defaultLayout): remove non-const version
11533 2002-03-12 Juergen Vigna <jug@sad.it>
11535 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11536 did resize the LyXText too.
11538 * buffer.C (readLyXformat2): set layout information on newly allocated
11541 * tabular.C (OldFormatRead): set layout information on the paragraph.
11543 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11545 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11547 2002-03-11 Juergen Vigna <jug@sad.it>
11549 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11551 (resizeCurrentBuffer): force also the insets to resize themselfes.
11552 (moveCursorUpdate): fixed up for InsetText.
11554 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11557 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11558 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11559 value of Dialogs::tooltipsEnabled().
11560 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11562 2002-03-08 Juergen Vigna <jug@sad.it>
11564 * BufferView_pimpl.C (updateInset): update inset inside inset also
11565 if it isn't inside theLockingInset().
11567 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11569 * buffer.C (asciiParagraph): redo some of the word and line length
11571 (getLists): look for Caption instead of caption.
11573 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11575 * buffer.C (Buffer): initialize niceFile to true
11577 (makeLinuxDocFile):
11578 (makeDocBookFile): make sure niceFile is true on exit
11580 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11582 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11584 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11586 * LyXSendto.C: remove.
11587 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11588 * lyx_gui.C: remove now-redundant comment.
11589 * ColorHandler.h: remove forward declaration of class WorkArea.
11590 * lyxfunc.C: remove #include "WorkArea.h".
11592 2002-03-07 Juergen Vigna <jug@sad.it>
11594 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11595 got moved away with the DEPM and also set the inset_owner always
11596 right which before could have been omitted.
11598 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11600 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11601 wanted layout is not found.
11603 2002-03-07 Juergen Vigna <jug@sad.it>
11605 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11607 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11609 * paragraph.C (breakParagraph): use default layout not layout of
11611 (Paragraph): clear ParagraphParameters.
11613 2002-03-06 Juergen Vigna <jug@sad.it>
11615 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11616 otherwise it would not be a valid lenght. Fixed a special case in
11617 the minipage compatibility read where we end the document with a
11620 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11621 was set as it could be 0 for InsetTexts first entry.
11623 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11625 * paragraph.C (writeFile): if layout is empty write out
11626 defaultLayoutName().
11628 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11629 file without named layout we set layout to defaultLayoutName().
11631 2002-03-06 Juergen Vigna <jug@sad.it>
11633 * CutAndPaste.C (copySelection): set layout for new paragraph.
11635 * text.C (prepareToPrint): leave ERT inset left aligned
11636 (leftMargin): don't indent paragraphs inside ERT insets
11638 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11640 * paragraph.C (breakParagraph): dont call clear do the work manually
11642 * paragraph.[Ch] (clear): remove function
11644 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11646 * paragraph.C (Paragraph): dont call clear, the work has already
11649 * lyxtextclass.C (operator): assert if n is empty
11651 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11652 work manually instead.
11654 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11656 * BufferView_pimpl.C: protect selectionLost against text == 0
11658 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11660 * text.C (breakParagraph): fix a setting layout to '0' problem.
11662 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11664 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11665 final location of file, for the included files, and graphics.
11667 2002-03-05 Juergen Vigna <jug@sad.it>
11669 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11671 2002-03-04 Juergen Vigna <jug@sad.it>
11673 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11675 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11676 last column of multicolumn cells.
11677 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11679 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11681 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11682 file if it doesn't go to a temporary file.
11684 * buffer.C (sgmlOpenTag):
11685 (sgmlCloseTag): remove extra newline insertion.
11687 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11689 * text.C (getRowNearY): comment out debug msg
11691 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11693 * text2.C: first -> first_y
11695 * text.C (getRowNearY): add some attemts at a possible
11696 optimization, not working.
11698 * tabular.[Ch]: add BufferParams to several function so that newly
11699 created paragraph can be initialized to he default layotu for the
11702 * tabular-old.C (ReadOld): add buf->params to call of Init
11704 * screen.C: rename text->first to text->first_y
11706 * paragraph.C (breakParagraph): always set layout in the broken
11709 * lyxtextclass.C (Read): remove lowercase
11712 (delete_layout): ditto
11714 * lyxtext.h: rename first -> first_y
11716 * lyxlayout.C (Read): remove lowercase
11719 (obsoleted_by): ditto
11721 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11723 * buffer.C (insertErtContents): add params are to InsetERT
11724 (parseSingleLyXformat2Token): add code to check if a paragraphs
11725 layout really exist.
11726 (parseSingleLyXformat2Token): add params to several inset
11728 (asciiParagraph): remove lowercase, do the layout comparisons with
11731 * BufferView_pimpl.C (cursorNext): first -> first_y
11732 (resizeCurrentBuffer): first -> first_y
11733 (updateScrollbar): first -> first_y
11734 (scrollCB): first -> first_y
11735 (workAreaMotionNotify): first -> first_y
11736 (workAreaButtonPress): first -> first_y
11737 (checkInsetHit): first -> first_y
11738 (cursorPrevious): first -> first_y
11739 (cursorNext): first -> first_y
11740 (Dispatch): add buffer_->params to severl inset contructors
11742 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11744 * lyxlayout.C (Read): remove some debug info that I forgot.
11746 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11747 clean up the code slightly.
11748 (makeLinuxDocFile): ditto
11749 (makeDocBookFile): ditto
11751 * text2.C: layout as string
11753 * text.C: layout as string
11755 * paragraph_pimpl.C: layout as string
11757 * paragraph.[Ch]: layout as string
11759 * lyxtextclasslist.[Ch]: layout as string
11761 * lyxtextclass.[Ch]: layout as string
11763 * lyxtext.h: layout as string
11765 * lyxlayout.[Ch]: layout as string
11767 * lyx_cb.C: layout as string
11769 * bufferview_funcs.C: layout as string
11771 * bufferparams.C: layout as string
11773 * buffer.C: layout as string
11775 * LyXView.[Ch]: layout as string
11777 * LaTeXFeatures.[Ch]: layout as string
11779 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11781 * BufferView_pimpl.C: change current_layout to string, remove
11786 (workAreaButtonRelease): layout as string
11788 * BufferView2.C (unlockInset): adjust
11790 * vspace.C (asLatexCommand): use an explict temp variable.
11792 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11794 * Makefile.am: use FRONTEND_*
11796 2002-03-01 Juergen Vigna <jug@sad.it>
11798 * tabular.C (SetWidthOfMulticolCell): changed to something better
11799 I hope but still work in progress.
11800 (recalculateMulticolumnsOfColumn): renamed function from
11801 recalculateMulticolCells as it is more appropriate now.
11802 (SetWidthOfCell): calculate multicols better.
11804 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11806 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11808 * lyxfunc.C (processKeySym): print sequence also if it is
11809 `deleted' (complete)
11811 * kbsequence.C (print): print sequence even if it is deleted
11812 (complete would be a better word, actually).
11814 * lyxfunc.C (dispatch): print complete options after a prefix key
11816 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11818 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11820 * text2.C (setCharFont): eliminate setCharFont code duplication.
11822 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11824 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11825 LFUN_TABULAR_FEATURE (bug #177)
11827 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11829 * Makefile.am: remove figure.h
11831 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11833 * Bufferview_pimpl.C:
11845 * text2.C: remove #include "lyx_gui_misc.h".
11847 * LaTeX.C: added #include <cstdio>
11849 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11851 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11852 that the paragraph following this one can have.
11854 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11856 * vspace.C (asLatexCommand): fix bogus gcc warning
11858 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11860 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11862 * text2.C (setLayout): get rid of redundant code
11864 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11866 * text2.C (incDepth): make sure depth cannot be increased beyond
11869 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11871 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11872 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11874 * PainterBase.h (image):
11875 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11876 a LyXImage const *.
11878 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11882 * BufferView_pimpl.C:
11883 * BufferView_pimpl.h:
11903 * sp_spell.C: remove fig inset, and the crap house of
11904 cards that follows it
11906 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11911 * os2_errortable.h:
11912 * nt_defines.h: move .h into support/
11914 * vms_defines.h: remove
11916 * WorkArea.C: add space in debug output
11920 * buffer.C: add WITH_WARNINGS
11924 * bufferlist.C: s/retrive/retrieve/, add docs
11933 * chset.C: add docs
11935 * lyxgui.C: add ID to X error handler
11937 * lyxtestclass.c: fix typo
11939 2002-02-26 Juergen Vigna <jug@sad.it>
11941 * tabular_funcs.C (write_attribute): changed so that some default
11942 attributes are not written at all.
11943 (getTokenValue): set default values before trying to read the
11944 value so we have the return value always set as default if we don't
11945 find the token we search for.
11947 * tabular.C (Write): write bools as bools not as strings!
11949 2002-02-22 Juergen Vigna <jug@sad.it>
11951 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11952 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11954 * text.C (leftMargin): don't add an indent for paragraphs inside
11955 tabular cells (fix #208).
11957 2002-02-21 José Matos <jamatos@fep.up.pt>
11959 * tabular.C (docBook): fixed support for long tables.
11961 2002-02-20 Juergen Vigna <jug@sad.it>
11963 * text2.C (getFont): get the drawing font of the Inset if this
11964 paragraph is inside an inset (only important for InsetERT for now).
11966 * buffer.C (insertErtContents): use new lanugage params in ERT
11969 * CutAndPaste.C: commenting out seemingly uneeded code.
11971 2002-02-19 Allan Rae <rae@lyx.org>
11973 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11974 Iterators might be simple to use but they also get invalidated.
11975 (removeAutoInsets): renamed saved cursor tracking variables and added
11976 some comments to clarify what everything does.
11978 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11985 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11986 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11989 * vc-backend.h: remove #include "support/syscall.h"
11993 * converter.C: rearrange #includes in Lars' approved fashion.
11995 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11996 forward declare class Timeout in the header file.
11998 * XFormsView.C: changes due to the above.
12000 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12001 similar to LyXView.
12003 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12004 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12006 2002-02-18 José Matos <jamatos@fep.up.pt>
12008 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12011 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12013 * a lot of small ws changes
12014 * add a lot of using std::XXX
12015 * use std construcs some places where approp.
12016 * use some exisint stuff from lyxfunctional where approp.
12017 * Make file changes to use partial linking (lets test this now...)
12019 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12023 remove #include "support/syscontr.h" as it's redundant. Always has been.
12031 change Systemcalls::System to Systemcalls::Wait and
12032 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12033 No change of functionality, just reflects the stripped down Systemcalls
12036 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12038 * debug.[Ch]: add a GRAPHICS type to the enum.
12040 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12042 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12044 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12047 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12049 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12050 match the changes below.
12052 * text2.C (toggleInset): if there is not editable inset at cursor
12053 position, try to see if cursor is _inside_ a collapsable inset
12056 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12058 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12059 document menu has a nice checkbox
12061 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12063 * lyxlength.C (asLatexString): change PW to output as percent of
12066 * lengthcommon.C: change '%' to 't%'
12068 * lyxfunc.C (dispatch): a few comments from Martin
12070 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12074 * BufferView_pimpl.h:
12075 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12078 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12080 * vspace.C (inPixels): fix compiler warning
12082 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12084 * lyxfunc.C (getStatus): fix status message for disabled commands.
12086 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12088 * BufferView_pimpl.C: fix crash on close buffer
12089 during selection (#227)
12091 2002-01-27 Herbert Voss <voss@lyx.org>
12093 * buffer.C: link old Figure to new graphic inset
12095 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12097 * FontLoader.C (getFontinfo): Change the latex font names in order
12098 to match the names of type1inst.
12100 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12102 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12104 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12105 (extchanged): ditto
12107 (remove_files_with_extension): ditto
12108 (remove_file): ditto
12111 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12112 document is smaller than the work area height. Do not initialize
12113 static variables to 0.
12115 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12117 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12119 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12120 LFUN_LAYOUT_PARAGRAPHS.
12122 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12123 tabular. It is possible to provide a possible cell, which will
12124 typically be the actcell from the corresponding insettabular
12126 * lyxfunc.C (getStatus): small cleanup; disable
12127 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12130 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12132 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12134 * paragraph.C (startTeXParParams):
12135 (endTeXParParams): new methods. The LaTeX code to
12136 start/end paragraph formatting
12137 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12138 empty (fixes bug #200)
12140 * vspace.C (inPixels): adapt to the change below
12141 (inPixels): [later] more cleanups (remove unused variables)
12143 * lyxlength.C (inPixels): change to use a width and a height as
12146 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12148 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12149 Replaced with \paperwidth
12151 * DepTable.C (insert): add std:: qualifier
12153 2002-01-18 Allan Rae <rae@lyx.org>
12155 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12158 * text.C (drawInset): Turned out I didn't know enough about how
12159 rebreaking worked. This fixes most of the redraw problems. I see
12160 an occasional cursor trail when a line is broken now and the cursor
12161 placement can seem out by a few pixels also after a rebreak.
12163 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12165 * buffer.C (parseSingleLyXformat2Token): update because minipage
12166 width is now a LyXLength
12168 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12170 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12173 2002-01-17 Juergen Vigna <jug@sad.it>
12175 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12177 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12178 is set correctly and the inset is updated correctly.
12180 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12182 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12183 the beginning of the loop.
12185 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12187 * lyxrc.C: improve help for use_scalable_fonts
12189 2002-01-17 Allan Rae <rae@lyx.org>
12191 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12193 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12195 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12196 make sure to set their inset_owner to the right value (bug #171)
12198 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12201 * DepTable.C: Implement mtime checking to reduce time spent doing
12204 2002-01-16 Juergen Vigna <jug@sad.it>
12206 * tabular.C (GetAdditionalHeight): one of error fixed.
12208 * lyxrc.C (output): small fix in writing use_pspell.
12210 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12212 * sp_base.h: #include LString.h
12214 2002-01-16 Allan Rae <rae@lyx.org>
12216 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12217 Can someone check this please?
12219 * text.C (drawInset): It was possible that p.row would be removed by
12220 breakAgainOneRow upsetting a few other settings. There may be another
12221 small tweak possible by setting need_break_row = 0 when p.row has been
12222 removed but I don't know enough about the logic here.
12224 2002-01-15 Allan Rae <rae@lyx.org>
12226 * text.C (insertChar): removed conditional truism.
12228 * BufferView2.C (removeAutoInsets): More tweaks.
12229 cur_par_prev could be a stray pointer. Check for trailing empty line
12230 in case last line was cur_par and only had an error inset on it.
12232 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12234 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12237 * vc-backend.C (most methods):
12238 * exporter.C (Export):
12239 * converter.C (convert):
12241 * LyXSendto.C (SendtoApplyCB):
12242 * lyxfunc.C (dispatch):
12246 * lyx_cb.C (AutoSave):
12248 * BufferView_pimpl.C (MenuInsertLyXFile):
12249 * buffer.C (runChktex): use Buffer::filePath().
12251 * buffer.h: rename filename to filename_; rename filepath to
12252 filepath_ and make it private
12253 (filePath): new method
12255 * buffer.C (writeFile): use fileName()
12258 * lyx_main.C (init): fix starting of LyX when the binary is a
12259 link from so,ewhere else.
12261 * minibuffer.C: include <cctype> for isprint
12263 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12265 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12266 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12267 name clash with InsetCollapsable's width function.
12269 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12271 * lastfiles.C: include <iterator>
12273 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12275 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12278 * buffer.C (makeLaTeXFile): ditto.
12279 Also make loop operation more transparent.
12281 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12283 * ToolbarDefaults.C: remove trailing comma closing namespace.
12285 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12287 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12290 * trans.C (Load): comment out unused variable, allowed.
12292 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12294 * minibuffer.[Ch] (append_char): new method to recieve input from the
12295 drop-down completion browser. If a key was pressed, then recieve this
12296 char and append it to the existing string.
12297 (peek_event): modify the positioning data passed to the completion
12298 browser so that it can be placed above the minibuffer rather than below.
12299 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12301 * LyXAction.C (init): alloe error-next for readonly documents.
12303 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12306 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12308 * bufferlist.C (readFile): create the buffer _after_ checking that
12311 * lyxfunc.C (verboseDispatch): fix handling of arguments
12313 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12315 * lyxrc.C: use string::erase() instead of initializing to "".
12318 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12320 * BufferView_pimpl.h:
12321 * BufferView_pimpl.C:
12324 * text2.C: tell X when we have made a selection for copying
12326 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12328 * BufferView_pimpl.C (MenuInsertLyXFile):
12329 * lyxfunc.C (menuNew):
12331 (doImport): add shortcuts to directory buttons
12333 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12336 * lyxfunc.C (setStatusMessage):
12337 (getStatusMessage): new methods
12338 (getStatus):use setStatusMessage instead of setErrorMessage
12339 (dispatch): when function is disabled, set error message here
12340 [instead of in getStatus previously]
12342 * BufferView_pimpl.C (workAreaButtonRelease): update
12343 toolbar/menubar here too.
12345 2002-01-13 Allan Rae <rae@lyx.org>
12347 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12348 Now seems indestructible. Remaining task is to audit all other
12349 code affected by deleteEmptyParagraphMechanism. One small quirk
12350 left is that an empty document with an error in the preamble can
12351 be made to report an error but no error box appears. I don't know
12353 (removeAutoInsets): Improved comments.
12355 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12358 * Thesaurus.C: update for Aiksaurus 0.14
12360 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12362 * text2.C (firstParagraph): removed member function, all uses
12363 replaces with ownerParagraph
12364 (redoParagraphs): here
12365 (updateInset): here
12366 (toggleAppendix): here
12367 * BufferView2.C (insertErrors): here
12368 (setCursorFromRow): here
12370 2002-01-13 Allan Rae <rae@lyx.org>
12372 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12373 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12374 There is still a way to segfault this although you may have to do this
12375 multiple times: Have an InsetERT with an unknown command in it.
12376 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12377 <down-arrow>, <Enter> again, View->DVI, BANG!
12379 * text2.C (setCursor):
12380 (deleteEmptyParagraphMechanism):
12381 * lyxtext.h (setCursor):
12382 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12383 Making use of the return value may help fix other bugs.
12385 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12387 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12389 * LyXView.C (updateMenubar): call MenuBar::update here
12390 (updateToolbar): but not here
12391 (showState): do not update toolbar/menubar
12393 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12394 should need to care about that.
12396 * lyxfunc.C (verboseDispatch): simplify a bit
12397 (getStatus): have a version which takes a pseudoaction, and
12398 another which requires a (kb_action,string).
12400 * LyXAction.C (retrieveActionArg): make it work also when action
12401 is not a pseudo-action.
12402 (getActionName): simplify a bit
12405 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12407 * lyxfunc.C (verboseDispatch): new families of methods with
12408 several ways to specify a command and a bool to indicate whether
12409 the command name and shortcut should be displayed in minibuffer
12410 (eventually, we could extend that to a finer bitmask like
12411 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12412 (dispatch): the pristine dispatch command which just, well,
12413 dispatchs! Note it still sets its result to minibuffer; I'm not
12416 * lyxfunc.h: remove setHintMessage
12418 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12420 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12422 * BufferView_pimpl.C (specialChar): delete new inset if we have
12423 not been able to insert it.
12425 * kbmap.C: revert to using int instead of kb_action, since all we
12426 are dealing with is pseudo-actions.
12428 * LyXAction.C (searchActionArg): change to return int instead of
12429 kb_action, since the result is a pseudoaction.
12431 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12433 * buffer.C (insertErtContents): Fix (partially) the font bug.
12435 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12437 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12438 as the other one is broken on my machine!
12440 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12443 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12445 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12447 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12448 reflect their actual use. Provide compatibility code for older lyxrc
12451 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12453 change names of popup font variables in line with the changes to lyxrc.C
12455 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12457 * buffer.C (asciiParagraph): avoid outputing a word twice after
12460 * lyxrc.C (getDescription): document that document_path and
12461 template_path can be empty.
12463 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12465 * LaTeXFeatures.C (getMacros):
12466 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12468 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12470 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12472 (getPackages): rename feature "floats" to "float". Use an array to
12473 iterate over 'simple' features (i.e. just a \usepackage). Add
12474 handling of "amsmath" (renamed from "amsstyle").
12476 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12478 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12481 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12483 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12484 FuncStaus::FuncStatus & FuncStaus::some_method().
12486 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12488 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12489 of the func_satus stuff. Edited and massaged in various ways by
12492 * lyxfunc.C (getStatus): use FuncStatus
12494 2002-01-08 Juergen Vigna <jug@sad.it>
12496 * text.C (nextBreakPoint): use function Inset::isChar().
12498 * paragraph.C (TeXOnePar): use function
12499 Inset::forceDefaultParagraphs.
12501 * buffer.C (latexParagraphs): use function
12502 Inset::forceDefaultParagraphs.
12504 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12506 * lyx_gui.C (init): set the style of the menu popups to
12507 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12509 2002-01-07 Juergen Vigna <jug@sad.it>
12511 * text.C (setHeightOfRow): small fix
12512 (prepareToPrint): don't look at alignment if we don't have the place
12515 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12517 * box.C: New file. Move the Box methods and functions out of box.h,
12518 following Lars' suggestion.
12520 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12522 * box.h: #include "support/LOstream.h", needed for inlined function.
12525 * lyxtextclasslist.C: added some using std declarations.
12527 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12529 * box.h: make signed dimensions to allow insets wider than
12530 the screen (bug #162)
12532 * BufferView_pimpl.C: add some insetHit debug
12534 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12536 * vc-backend.C: add FIXME
12538 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12540 * lyxfunc.C (getStatus): enable code for showing math font status
12543 2002-01-07 Juergen Vigna <jug@sad.it>
12545 * text.C (nextBreakPoint): removed debug output not needed anymore.
12547 2002-01-06 Juergen Vigna <jug@sad.it>
12549 * text.C (nextBreakPoint): fixed up this function we had this bug
12550 since ever but now hopefully we break row better.
12551 (insertChar): we have to check if an inset is the next char as it
12552 could now happen that a large inset is causing a break.
12554 2002-01-05 Juergen Vigna <jug@sad.it>
12556 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12557 if it doesn't like to be drawed.
12559 2002-01-04 Juergen Vigna <jug@sad.it>
12561 * BufferView2.C (lockInset): forgot to set a cursor.
12563 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12565 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12567 * FormMathsPanel.C:
12570 * form_maths_panel.C:
12571 * form_maths_panel.h:
12572 * form_maths_panel.fd: implemented sub- and super- buttons in math
12575 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12576 (or ^ space) to be used as in TeX (req'd by André).
12578 * lyxfunc.C: Allow ^ and _ again to be used both as
12579 super/subscript (mathed) and as themselves (in text).
12581 2002-01-03 Allan Rae <rae@lyx.org>
12583 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12584 "LyX" or the filename of the current buffer if it has one. This is a
12585 modified form of John Levon's patch.
12587 * XFormsView.C (setWindowTitle): also set icon title.
12589 * LyXView.h (setWindowTitle): signature changed.
12590 * XFormsView.h (setWindowTitle): ditto.
12592 2002-01-02 Juergen Vigna <jug@sad.it>
12594 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12596 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12598 * screen.C (topCursorVisible): introduce a temp var for
12599 text->cursor.row(), handle the case where this row is null. (kindo
12602 * text2.C (setCursor): add a couple of asserts.
12604 * paragraph.h (inset_iterator): add -> operator
12606 * paragraph.[Ch] (autoDeleteInsets): remove member function
12608 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12609 cursor pos correctly and handle inset deletion by itself.
12610 (insertErrors): move iterator declaration out of for expression
12612 * lyxtextclass.C: add <algorithm>
12614 * Makefile.am: added the new files to sources, removed layout.C
12616 * layout.C: removed file
12618 * layout.h: remove LYX_DUMMY_LAYOUT
12620 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12624 * lyxtextclass.[Ch]:
12625 * lyxtextclasslist.[Ch]: new files
12627 * include order changes to a lot of files, also changes because of
12630 2001-12-27 Juergen Vigna <jug@sad.it>
12632 * buffer.C (asciiParagraph): more fixes.
12634 * tabular.C (ascii): make ascii export support export of only the
12635 data separated by a column-delimiter.
12636 (ascii): better support for ascii export.
12638 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12640 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12642 * tabular_funcs.C: use a "using std::getline" instead of the
12643 previous fix from Angus (necessary for cxx + lyxstring)
12645 2001-12-24 Juergen Vigna <jug@sad.it>
12647 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12649 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12650 problems. First check a minipage also if we have some ert-contents
12651 (not only on par->size(), second set the right depth of the paragraph
12652 on the relink to the root-paragraph-list!
12654 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12655 which then did not anymore update the main paragraphs on undo/redo!
12657 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12659 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12660 code. Support all font-changing funcs (even those which are not in
12661 menu currently). Support for reporting font settings in
12662 mathed (disabled until Andre provides a function on mathed's side).
12664 * func_status.h (toggle): small helper function to set toggle
12667 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12669 * tabular_funcs.C: getline -> std::getline
12671 2001-12-21 Juergen Vigna <jug@sad.it>
12673 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12674 accessed and could be 0 (I couldn't generate this but it seems
12677 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12679 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12680 * tabular_funcs.h: here and include iosfwd
12682 2001-12-20 Juergen Vigna <jug@sad.it>
12684 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12685 inside inset but undo_par was.
12687 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12689 * Thesaurus.C: always include <config.h> in sources.
12693 * box.h: do not include <config.h> in header files
12695 * text.C (paintLastRow): remove unused variable
12697 * text.C (transformChar):
12699 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12701 * Painter.C (text):
12702 * font.C (width): rewrite to use uppercase() instead of
12705 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12707 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12709 * lyxfind.C: clean up of find failure position change
12711 2001-12-20 Juergen Vigna <jug@sad.it>
12713 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12715 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12716 (TeXRow): added to LaTeX a single tabular row.
12717 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12718 (Latex): simplified and finally good LT-h/f support.
12719 (various_functions): just small adaptions for LT-h/f support.
12721 * tabular_funcs.[hC]: added and moved here all not classfunctions
12724 2001-12-19 Juergen Vigna <jug@sad.it>
12726 * tabular.[Ch]: better support for longtabular options (not finished
12729 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12731 * text.C (paintLastRow): use the label font instead of the font of
12732 the last character to compute the size of *_BOX. This makes more
12733 sense and avoids a crash with empty paragraphs.
12734 Use Painter::rectangle to draw EMPTY_BOX.
12736 2001-12-19 Juergen Vigna <jug@sad.it>
12738 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12739 the paragraphs if the replaced paragraph is not the first one!
12740 Tried to delete not used paragraphs but does not work yet so for
12741 now it's inside #ifdef's and by default off!
12743 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12745 * MenuBackend.C: include "lyx_main.h" instead of declaring
12746 lastfiles (actually was declared as LastFiles* instead of a
12749 2001-12-17 Juergen Vigna <jug@sad.it>
12751 * tabular.C (AppendColumn): applied John's fix
12753 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12757 * BufferView_pimpl.h:
12758 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12761 * box.h: new start of class for above
12763 * lyxfunc.C: ignore space-only minibuffer dispatches.
12764 Show the command name when it doesn't exist
12766 * minibuffer.C: don't add empty lines to the history
12768 * minibuffer.C: add a space on dropdown completion
12770 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12772 * text.C: fix line above/below drawing in insets
12774 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12776 * lyxlength.C (LyXLength): Initialize private variables.
12778 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12780 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12781 when inserting error insets.
12783 2001-12-13 Juergen Vigna <jug@sad.it>
12785 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12786 actually sometimes the before-paragraph.
12787 (setUndo): don't clear the redostack if we're not actually undoing!
12789 2001-12-06 Juergen Vigna <jug@sad.it>
12791 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12792 and fixed redoing of main paragraph, so we can use it now ;)
12794 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12796 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12798 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12801 2001-12-13 André Pönitz <poenitz@gmx.net>
12804 * undo_func.C: minor cleanup
12806 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12808 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12809 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12810 font in urw-fonts package which is marked as -urw-fontspecific and
12811 does not work (incidentally, changing the encoding in the
12812 fonts.dir of this package to -adobe-fontspecific fixes the
12815 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12816 is a crash when undoing first paragraph (Juergen, please take a
12817 look). THis does not mean the undo fix is wrong, just that it
12820 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12821 the (Paragraph*) version when needed instead of duplicating the
12824 * text.C (workWidth): use Inset::parOwner to find out where the
12825 inset has been inserted. This is a huge performance gain for large
12826 documents with lots of insets. If Inset::parOwner is not set, fall
12827 back on the brute force method
12829 * paragraph_pimpl.C (insertInset):
12830 * paragraph.C (Paragraph):
12831 (cutIntoMinibuffer): set parOwner of insets when
12832 inserting/removing them
12834 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12836 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12842 * mathed/formulabase.C:
12843 * mathed/math_cursor.[Ch]:
12844 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12847 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12849 * lyxlength.[Ch] (operator!=): new function
12851 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12853 * text.C (workWidth): use Inset::parOwner to find out where the
12854 inset has been inserted. This is a huge performance gain for large
12855 documents with lots of insets. If Inset::parOwner is not set, fall
12856 back on the brute force method
12858 * paragraph_pimpl.C (insertInset):
12859 * paragraph.C (Paragraph):
12860 (cutIntoMinibuffer): set parOwner of insets when
12861 inserting/removing them
12863 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12865 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12867 * tabular-old.C (getTokenValue):
12868 * tabular.C (getTokenValue):
12869 (write_attribute): new versions for LyXLength
12870 (everywhere): adjust the use of widths
12872 * tabular.h: change the type of widths from string to LyXLength
12874 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12876 * paragraph.C: fixed missing line number count when exporting
12877 Environments to LaTeX file
12879 * buffer.C: added informational message for checking line numbers.
12881 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12883 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12884 paragraph, do the 'double space' part, but not the 'empty
12887 * text.C (workWidth): small optimization
12888 (getLengthMarkerHeight): use minimal size for negative lengths.
12890 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12892 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12894 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12896 2001-12-11 André Pönitz <poenitz@gmx.net>
12899 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12901 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12903 * text2.C: keep selection on a setFont()
12905 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12907 * lyx_cb.C: another bv->text misuse, from insert label
12909 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12912 * kbsequence.C: re-instate nmodifier mask
12914 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12916 * lyx_main.h: make lyxGUI private.
12918 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12920 * lyxfind.C: place the cursor correctly on failed search
12922 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12924 * text.C (getLengthMarkerHeight): for small heights, the arrows
12925 are not always on top/bottom of the text
12926 (drawLengthMarker): smaller arrows; take the left margin in
12927 account; draw also vfills.
12929 (paintLastRow): remove special code for vfill and standard spaces,
12930 since everything is handled in drawLengthMarker now.
12932 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12934 * buffer.C (insertErtContents): try to handle font and language
12935 interaction a bit better.g
12937 * ColorHandler.C (updateColor): change the hash to cover the whole
12938 LColor enum, ws cleanup
12939 (getGCLinepars): ditto
12940 (getGCLinepars): only lookup in the linecache once.
12942 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12944 * iterators.C (operator++): Make the iterator more robust
12946 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12948 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12950 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12953 * text.C: better added space drawing
12955 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12958 * BufferView2.C: fix layout combo update on inset unlock
12960 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12962 * Makefile.am: don't compile unused files
12964 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12968 * LyXAction.C: remove old LFUN_LAYOUTNO
12970 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12972 * paragraph_pimpl.h:
12973 * paragraph_pimpl.C: isTextAt() doesn't need font param
12975 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12978 * lyxlex.C: little cleanup
12980 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12982 * BufferView_pimpl.C: fix insertAscii for insets
12984 2001-12-05 Juergen Vigna <jug@sad.it>
12986 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12987 set the right font on the "multi" paragraph paste!
12989 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12995 * lyxlength.C: remove out-commented code.
12997 * BufferView_pimpl:
13011 * vc-backend.C: change "while(" to "while ("
13013 * lyxlength.[Ch]: add zero function to check if length is zero or
13015 * lyxgluelength.C: use it
13017 2001-12-05 Allan Rae <rae@lyx.org>
13019 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13020 Works for 2.95.3, from what I understand of Garst's reports this should
13021 work for other g++ versions. We're screwed if the abs(int) definition
13022 changed between bugfix releases of gcc.
13024 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13026 * text.C: fix chapter label offset !
13028 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13031 * text.C: fix hfill at end of line, clean up
13033 2001-12-04 Juergen Vigna <jug@sad.it>
13035 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13036 that we force an update of the inset and it's owners if neccessary.
13038 2001-12-03 Juergen Vigna <jug@sad.it>
13040 * text.C (rowLast): simplified code
13042 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13044 * lyxfunc.C: fix show options on timeout
13046 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13048 * screen.C (topCursorVisible): scroll half a page when the cursor
13049 reached top of bottom of screen
13051 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13053 * minibuffer.C: deactivate on loss of focus
13055 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13057 * vspace.[Ch] (operator!=): add operator.
13059 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13061 * BufferView_pimpl.C: refuse to open an inset when
13062 there's a selection.
13064 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13066 * BufferView_pimpl.C: allow to click on RHS of full row insets
13068 2001-11-30 Juergen Vigna <jug@sad.it>
13070 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13071 insets for undo reasons.
13073 2001-11-28 André Pönitz <poenitz@gmx.net>
13075 * vspace.[Ch]: cosmetical changes
13077 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13087 * kbsequence.C: part re-write of old kb code
13090 * WorkArea.C: remove Lgb_bug_find_hack
13092 2001-11-30 José Matos <jamatos@fep.up.pt>
13094 * buffer.C (makeDocBookFile): add a comment to point a hack.
13095 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13096 Fixed a double write of labels.
13098 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13101 * LaTeX.h Fixed bug in LaTeX class where it would not
13102 re-run latex if no depfiles were changed, but the .dvi was removed.
13104 2001-11-28 André Pönitz <poenitz@gmx.net>
13106 * all the files from the change on 2001/11/26:
13107 use lyx::layout_type instead of LyXTextClass::size_type
13108 use lyx::textclass_type instead of LyXTextClassList::size_type
13110 2001-11-29 Juergen Vigna <jug@sad.it>
13112 * text.C: added support for paragraph::isFreeSpacing()
13114 * buffer.C: same as above
13116 * paragraph.h: inserted isFreeSpacing() function to enable
13117 FreeSpacing inside InsetERT.
13119 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13120 of the paragraph's in the cut/copy buffer to 0!
13122 * text2.C (removeRow): remove the assert as it can!
13124 * lyxtext.h: added helper function firstRow returning firstrow and
13125 made firstrow private again.
13127 * BufferView2.C (lockInset): don't relock if we're already locked!
13129 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13130 the only paragraph.
13131 (removeRow): added Assert::(firstrow)
13133 * debug.C: forgot to add INSETTEXT here.
13135 2001-11-28 Juergen Vigna <jug@sad.it>
13137 * sp_spell.C (initialize): changed error text to more general
13138 spellchecker command use (not only ispell!)
13140 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13142 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13144 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13146 * vspace.C: initialise lyxgluelength on failure
13148 2001-11-28 Allan Rae <rae@lyx.org>
13150 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13151 declaration & definition that looks like a function declaration.
13153 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13155 * BufferView2.C (copy):
13156 (copyEnvironment): do not clear the selection when doing a copy.
13158 * text.C (paintFirstRow): compilation fix
13160 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13162 * tabular.C (Latex): correct line count when writing latex.
13164 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13166 * paragraph_pimpl.h:
13167 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13170 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13174 * LColor.C: change vfillline->added_space
13176 * text.C: add markers and text for added space
13178 * vspace.C: fix comment
13180 2001-11-28 André Pönitz <poenitz@gmx.net>
13182 * paragraph.C: whitespace changes
13183 * all the other files from the change on 2001/11/26:
13184 change *::pos_type into lyx::pos_type
13186 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13188 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13189 language of the document when inserting error insets.
13191 2001-11-26 André Pönitz <poenitz@gmx.net>
13193 * BufferView_pimpl.[Ch]:
13201 * paragraph_pimpl.[Ch]:
13204 * text2.C: reduce header dependencies, introduce type for positions
13206 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13208 * <various>: change to use Alert.h
13210 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13212 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13213 when encountering an unknown token.
13214 (readLyXformat2): Show an error message if there were unknown tokens.
13216 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13219 * BufferView_pimpl.C:
13223 * text2.C: use par->isInset()
13225 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13227 * paragraph_pimpl.h:
13228 * paragraph_pimpl.C: cleanup
13230 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13232 * text2.C (removeRow):
13233 * text.C (setHeightOfRow): remove useless (and costly) call to
13236 2001-11-20 Allan Rae <rae@lyx.org>
13238 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13239 Now need Inset*::checkInsertChar() to return true for appropriate
13240 cases so that the characters in the minibuffer will actually be
13243 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13245 * text.C: change the order of the includes.
13246 (workWidth): initialize it at once.
13247 (workWidth): make maxw unsigned
13248 (setHeightOfRow): remove unused variable (inset)
13249 (selectSelectedWord): remove unused variable (inset)
13250 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13252 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13254 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13255 server is not running.
13257 (closeConnection): add debug info when server is disabled.
13259 * ColorHandler.C (getGCForeground): send debug message to GUI
13262 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13264 * kbmap.C (bind): modify because return conventions of
13265 kb_sequence::parse have changed.
13267 * kbsequence.C (parse): only ignore spaces and not any stupid
13268 control character. This avoids tests like s[i] <= ' ', which are
13269 guaranteed to fail with 8bit characters and signed chars.
13270 Change return code to string::npos when there have been no error
13271 (0 was a bad idea when error is at first character)
13273 2001-11-14 José Matos <jamatos@fep.up.pt>
13276 * buffer.C (simpleDocBookOnePar): removed unused argument.
13278 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13280 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13281 insets which are part of a word. Paragraph::isLetter takes care of
13282 that now. Use Paragraph::isInset to identify insets.
13283 (selectSelectedWord): do not test for hyphenation break.
13285 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13286 that protected spaces are considered as spaces.
13288 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13291 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13294 * lyxserver.C: fix it. and small cleanup.
13296 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13298 * BufferView_pimpl.C: use inline helpers
13301 * LaTeXFeatures.C: fix typos
13304 * Spacing.C: move spacing_string into class
13306 * ToolbarDefaults.C: move stuff into namespace anon
13308 * layout.h: update enum
13310 * lyxfunc.C: use better debug
13312 * minibuffer.h: fix typo
13316 * WorkArea.C: add and use Debug::WORKAREA
13320 * text2.C: code re-organisation, inline helpers
13322 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13324 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13325 std::vector.empty().
13327 2001-11-09 Allan Rae <rae@lyx.org>
13329 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13330 '\n's after tables. Tabular and ERT inset work now makes this no
13333 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13336 * minibuffer.C: fix crash, improve drop-down completion
13338 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13341 * lyxserver.C: invalidate fd's when doing endPipe()
13343 2001-11-08 José Matos <jamatos@fep.up.pt>
13345 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13346 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13349 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13351 2001-11-07 José Matos <jamatos@fep.up.pt>
13354 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13357 * buffer.C (sgmlOpenTag):
13358 * buffer.C (sgmlCloseTag): removed debug info.
13360 * buffer.h (sgmlOpenTag):
13361 * buffer.h (sgmlCloseTag): made public.
13363 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13365 * buffer.C (saveParamsAsDefaults):
13366 * lyx_cb.C (MenuLayoutSave): remove
13368 * LyXAction.C (init):
13370 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13372 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13374 * buffer.C (setPaperStuff): removed from here...
13376 * bufferparams.C (setPaperStuff): ... and moved there.
13378 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13382 * XFormsView.C: add support for drop-down completion
13384 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13386 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13389 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13391 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13394 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13396 * lyx_main.C: change ref to known bugs
13398 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13400 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13401 to work around older babel problems.
13403 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13405 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13407 2001-10-24 Juergen Vigna <jug@sad.it>
13409 * tabular-old.C (ReadOld): below variable changes reflected.
13411 * tabular.[Ch]: added ltType struct for longtable header/footer
13412 defines and changed all instances where they are used. Added
13413 future support for double top/bottom rows.
13415 2001-10-24 José Matos <jamatos@fep.up.pt>
13417 * buffer.h (docbookHandleCaption):
13418 * buffer.C (docbookHandleCaption): removed unused function.
13419 (makeDocBookFile): moved docbook supported version to v4.1.
13421 2001-10-24 José Matos <jamatos@fep.up.pt>
13424 * tabular.C (docbookRow): new function to export docbook code of a row.
13425 (DocBook): now honors the longtable flags.
13427 2001-10-23 José Matos <jamatos@fep.up.pt>
13430 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13431 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13433 * buffer.C (makeLinuxDocFile):
13434 (makeDocBookFile): reworked the preamble, more clean, and with
13435 support for lyx defined entities. Changed the document declaration
13436 to be more XML friendly.
13438 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13439 if we need to output XML that should be done with a filter.
13441 2001-10-22 Juergen Vigna <jug@sad.it>
13443 * sp_pspell.h (class PSpell): add alive function needed in the
13444 controller to see if the spellchecker could be started.
13446 2001-10-22 Juergen Vigna <jug@sad.it>
13448 * buffer.C (insertStringAsLines): modify the font for inserting
13449 chars in certain conditions by calling checkInsertChar(font).
13451 2001-10-19 Juergen Vigna <jug@sad.it>
13453 * text.C (workWidth): use getRow instead of wrong algorithm.
13454 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13456 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13461 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13463 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13465 * text.C (workWidth): do not search for the exact row when
13466 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13467 optimization for big documents.
13469 2001-10-18 Juergen Vigna <jug@sad.it>
13471 * text.C (workWidth): new function with added Inset * parameter.
13473 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13475 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13477 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13478 change return type of getColumnNearX.
13481 * text.C (changeRegionCase): use uppercase/lowercase instead of
13484 (rightMargin): simplify code by factoring out the uses of
13489 (appendParagraph): use Paragraph::size_type
13491 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13493 * vspace.C (asLatexString): add a missing break
13495 2001-10-15 Herbert Voss <voss@perce.de>
13497 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13499 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13501 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13504 2001-10-10 André Pönitz <poenitz@gmx.net>
13506 * lyxfunc.C: removed greek_kb_flag.
13508 2001-10-10 Herbert Voss <voss@perce.de>
13510 * lyx_main.C: delete global string help_lyxdir.
13512 2001-10-09 Herbert Voss <voss@perce.de>
13514 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13516 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13518 * lyx_main.C: added global string help_lyxdir.
13520 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13522 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13524 * lyxrc.C (set_font_norm_type): support iso8859-4
13526 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13528 * LaTeX.C (deplog): add another regex for MikTeX
13530 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13532 * lyxrc.C (set_font_norm_type): support iso8859-3
13534 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13536 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13538 * LaTeXFeatures.C: remove special case of french and index
13540 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13541 before \begin{document}). This solves several incompatibilities.
13543 2001-10-03 Garst Reese <reese@isn.net>
13545 * lyx_cb.C: change CheckTex error msg.
13547 2001-10-03 José Matos <jamatos@fep.up.pt>
13549 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13551 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13553 * .cvsignore: update
13555 * lyx_main.C (commandLineVersionInfo): use new style version info.
13557 * buffer.C (writeFile):
13559 (makeLinuxDocFile):
13560 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13562 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13564 * version.h: update to use stuff in version.C
13566 * version.C.in: new file. Contains version information determined
13567 at compile time. This is a merging of version.h and
13570 2001-10-03 Juergen Vigna <jug@sad.it>
13572 * BufferView_pimpl.C (update): don't change "dirty" status in
13575 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13577 * WorkArea.C (c-tor): re-position version string slightly.
13579 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13581 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13582 revert to previous code.
13584 WorkArea.[Ch]: (show, destroySplash): methods removed.
13586 WorkArea.C: rework code so that it's an amalgam of the codes before and
13587 after the splash screen was moved to WorkArea.
13589 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13592 * vspace.C (inPixels):
13595 * buffer.C (insertStringAsLines):
13596 (asciiParagraph): fix types to be large enough
13598 * lyxlex_pimpl.h: change member status from short to int
13600 * layout.h: fix type of endlabeltype
13603 * kbsequence.C (parse): change return type to string::size_type
13605 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13608 * Bullet.C (bulletSize):
13609 (bulletEntry): do not use short ints as parameters
13611 * BufferView2.C (insertLyXFile): change a char to an int.
13613 * WorkArea.C (WorkArea): remove unneeded floats in computation
13615 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13617 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13619 * paragraph.C (asString): Do not ignore newline/hfill chars when
13620 copying to the clipboard.
13622 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13624 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13625 after a multi-line inset.
13627 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13629 * paragraph.C (validate): Set NeedLyXFootnoteCode
13631 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13633 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13634 and decrease-error to decrease.
13636 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13638 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13639 it more readable (should be equivalent)
13641 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13643 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13645 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13647 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13648 of a cursor (row, etc.) after a character has been deleted
13649 (deleteEmptyParagraphMechanism): call the method above on _all_
13650 cursors held by the LyXText when a double space has been
13653 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13655 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13657 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13659 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13660 background. Use greyOut() and the new show() methods to toggle between
13661 the foreground and background. Add code to remove the splash after
13662 its initial showing.
13664 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13665 (create_forms): no longer call Dialogs::showSplash.
13667 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13669 * .cvsignore: add version_info.h
13671 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13673 * version_info.h.in: new file
13675 * Makefile.am: add version_info.h.in
13677 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13678 version_info.h instead of VERSION_INFO
13680 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13682 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13683 The ERT inset now returns string().
13685 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13687 * lyxtext.h, text.C (selectNextWord): renamed as
13688 selectNextWordToSpellcheck.
13690 * text.C (selectNextWordToSpellcheck): Modified to not select
13691 words inside an ERT inset.
13693 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13695 * lyx_cb.C (MenuLayoutSave): change a bit the question
13697 * sp_base.h: include <sys/types.h>
13699 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13701 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13703 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13705 * several files: fix typos in user-visible strings
13707 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13709 * text2.C (pasteSelection): do not set the selection, since it
13710 will be cleared later. Actually, the intent was to fix the way the
13711 selection was set, but I figured rmoving the code was just as good.
13713 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13715 * FontLoader.C (available): Check if font is available without
13718 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13720 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13722 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13724 * lyxrc.[Ch]: added display_graphics variable and associated code.
13726 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13728 * bufferparams.C (hasClassDefaults): new method. Returns true if
13729 the buffer parameters correspond to known class defaults
13731 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13733 * XFormsView.C (show): set minimum size to the main window.
13735 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13737 * text2.C (copySelection):
13739 * lyxfind.C (LyXReplace):
13740 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13741 LyXText::selectionAsString.
13743 * paragraph.C (asString): add "label" argument to the second form
13745 * text2.C (selectionAsString): add "label" argument and pass it to
13746 Paragraph::asString.
13748 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13750 * lyx_main.C (commandLineHelp): remove version information
13752 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13754 * lyx_main.C: add -version commandline option
13756 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13758 * paragraph.h: make the optional constructor arg required instead.
13759 some modifications to other files because of this.
13761 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13763 * lyxserver.C (C_LyXComm_callback): make it static
13765 * lyx_main.C (error_handler): make it static
13767 * lyx_gui.C (LyX_XErrHandler): make it static
13769 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13771 * WorkArea.C: make the extern "C" methods static.
13773 * Makefile.am (lyx_LDADD): simplify
13775 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13777 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13778 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13780 * LyXAction.C (init):
13781 * lyxfunc.C (dispatch): associated code removal.
13783 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13785 * lyxfont.h (isSymbolFont): shut off warning
13787 * text.C (setHeightOfRow):
13788 (getVisibleRow): fix crash with empty paragraphs which have a
13791 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13793 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13796 2001-09-04 José Matos <jamatos@fep.up.pt>
13799 * tabular.C (docbook): rename docBook method to docbook.
13801 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13803 * Makefile.am: add dependencies to main.o.
13805 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13807 * FontLoader.C (available): Return false if !lyxrc.use_gui
13809 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13811 * FontInfo.C (query):
13812 * converter.C (view):
13813 * importer.C (Import):
13814 * exporter.C (Export): Can not -> cannot.
13816 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13818 * BufferView_pimpl.C: allow to create index inset even if
13821 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13823 * buffer.C (getLists): replace boost::tie code with an explicit pair
13824 as boost::tie can break some compilers.
13826 * iterators.h: Added a std:: declaration to the return type of
13829 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13831 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13834 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13836 * iterators.[Ch]: New files. Provide paragraph iterators.
13838 * buffer.C (changeLanguage): Use paragraph iterators.
13839 (isMultiLingual): ditto
13841 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13843 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13845 * FontLoader.C: Support for cmr font.
13847 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13849 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13850 (available): New method.
13852 * FontInfo.C (getFontname): Use scalable fonts even when
13853 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13856 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13858 * converter.C (Formats::view): reverted! Incorrect fix.
13860 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13862 * converter.C (Formats::view): only output the -paper option
13863 if the dvi viewer is xdvi, thereby fixing bug #233429.
13865 2001-08-23 Herbert Voss <voss@perce>
13867 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13869 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13871 * Spacing.h (Spacing): Set space to Default on in the default
13874 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13876 * vc-backend.h (RCS::versionString): add RCS to version
13877 (CVS::versionString): add CVS to version
13879 * vc-backend.C (scanMaster): do not add CVS to version.
13880 (scanMaster): do not add RCS to version
13882 * lyxvc.C (versionString): new method
13884 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13886 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13888 * Spacing.C (set): initialize fval
13890 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13892 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13895 2001-08-16 Juergen Vigna <jug@sad.it>
13897 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13899 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13901 * BufferView_pimpl.C:
13904 * text2.C: setParagraph takes linespacing now
13906 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13908 * LyxAction.C: add internal LFUN_CITATION_INSERT
13910 * LyXView.C: actually apply fix
13912 * bufferlist.C: fix open non-existent file
13914 * lyxfind.C: fix indentation
13916 * lyxfunc.C: remove unneeded assert, fix typo
13918 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13920 * MenuBackend.C: use "Floatname List"
13922 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13924 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13925 when converting LaTeX layout to insetERT.
13926 Generate a non-collapsed float when reading old float
13928 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13930 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13933 2001-08-13 Juergen Vigna <jug@sad.it>
13935 * text.C (fill): return 0 instead of 20 as this seems to be the more
13938 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13940 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13943 2001-08-13 Juergen Vigna <jug@sad.it>
13945 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13947 (SearchBackward): comment out the unlocking of the inset_owner this
13948 should not be needed!
13950 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13952 * Many files: Remove inherit_language, and add latex_language
13954 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13955 collapsible insets.
13957 2001-08-10 Juergen Vigna <jug@sad.it>
13959 * text.C (prepareToPrint): fixed hfill-width in draw!
13961 * BufferView2.C (selectLastWord): save the selection cursor as this
13962 now is cleared in the function LyXText::clearSelection!
13964 2001-08-08 Juergen Vigna <jug@sad.it>
13966 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13967 BACKSPACE type functions.
13969 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13970 is only cutted from the document but not put in the cut-buffer, where
13971 still the old stuff should be.
13973 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13975 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13977 * tabular.C (SetWidthOfCell): fixed special case where the width
13979 (LeftLine): handle '|' in align_special.
13981 (LeftAlreadyDrawed): ditto
13982 (SetWidthOfCell): ditto
13984 2001-08-07 Juergen Vigna <jug@sad.it>
13986 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13988 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13990 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13991 * lyxlex.[hC]: ditto
13993 2001-08-06 Juergen Vigna <jug@sad.it>
13995 * text.C (getVisibleRow): fix up row clearing a bit.
13997 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13999 * minibuffer.C: make sure the X server sees the changes in the input.
14001 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14003 * paragraph.C (getFont): split into...
14004 (getLabelFont): this
14005 (getLayoutFont): and this
14006 * paragraph_pimpl.C (realizeFont): calling this
14008 * text2.C (getFont): split into...
14009 (getLayoutFont): this
14010 (getLabelFont): and this
14011 (realizeFont): all three calling this
14013 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14016 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14018 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14020 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14022 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14023 layouts from the Quote inset insertion.
14025 2001-08-03 Juergen Vigna <jug@sad.it>
14027 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14029 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14030 only if status not is already CHANGED_IN_DRAW (second level).
14032 * text.C (draw): don't set the need_break_row when inside an
14035 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14037 * buffer.C (parseSingleLyXformat2Token): handle more latex
14040 * bufferview_funcs.[hC]: change function names to
14041 begin with small char, adjust other files.
14043 2001-08-02 André Pönitz <poenitz@gmx.net>
14046 BufferView_pimpl.C: remove broken special code for math-greek
14048 2001-08-02 Juergen Vigna <jug@sad.it>
14050 * BufferView_pimpl.C (update): redone this function so that we
14051 update the text again if there was a CHANGE_IN_DRAW.
14053 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14054 (drawFromTo): added a new internal bool which is used by draw() and
14056 (general): some cursor drawing problems fixed.
14058 2001-08-01 Juergen Vigna <jug@sad.it>
14060 * lyxfind.C (LyXFind): fixed
14061 (SearchForward): ditto
14062 (SearchBackward): ditto
14064 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14065 spurius drawing of the cursor in the main area.
14067 * text2.C (status): small fix which could lead to a segfault!
14068 (clearSelection): remove unneeded BufferView param.
14070 2001-08-01 André Pönitz <poenitz@gmx.net>
14072 * lyxfunc.C: small change due to changed mathed interface
14074 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14076 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14078 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14080 * lyxfunc.c: fail gracefully if file doesn't exist
14085 * BufferView_pimpl.C: IsDirWriteable() proto changed
14087 * LyXView.C: fix updateWindowTitle() to store the last title
14089 2001-07-31 Juergen Vigna <jug@sad.it>
14091 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14092 the font (wrong since using of Paragraph::highestFontInRange).
14094 * paragraph.C (highestFontInRange): added a default_size parameter.
14096 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14097 (setHeightOfRow): reformat
14099 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14101 * converter.[hC] + affected files: move to (inital-char)lowercase
14104 * ParagraphParameters.C (ParagraphParameters): remove commented code
14106 * PainterBase.[Ch]: remove commented code
14108 * LaTeXFeatures.h: add "bool floats" for float.sty
14110 * LaTeXFeatures.C (LaTeXFeatures): init floats
14111 (require): handle float
14112 (getPackages): do it with floats
14114 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14116 * BufferView_pimpl.C (Dispatch): improve handling of
14117 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14119 * commandtags.h: #include lyxfont.h here temporarily to avoid
14122 * bufferlist.h: include LString.h here.
14124 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14126 * text2.C (getStringToIndex): new method.
14128 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14130 * *: Reduced header file dependencies all over.
14132 2001-07-30 Baruch Even <baruch@lyx.org>
14134 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14136 2001-07-29 Baruch Even <baruch@lyx.org>
14138 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14140 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14142 * ParameterStruct.h (endif): add a default constructor to make
14143 sure that all variables is initialized.
14145 * ParagraphParameters.C (ParagraphParameters): adjust
14147 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14149 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14150 index; also, check that there is something to index, and that it
14151 does not span over several paragraphs.
14152 (doubleClick): use WHOLE_WORD_STRICT for double click.
14154 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14156 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14159 2001-07-26 Baruch Even <baruch@lyx.org>
14161 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14162 an InsetFig figure, backwards compatible reading of old figure code.
14164 2001-07-27 Juergen Vigna <jug@sad.it>
14166 * text2.C: font.realize function adaption.
14168 * text.C (draw): add a warnings lyxerr text if needed.
14170 * layout.C: font.realize function adaption.
14172 * language.C: add inherit_language and implement it's handlings
14174 * bufferview_funcs.C (StyleReset): remove language parameter from
14175 font creation (should be language_inherit now).
14177 * bufferparams.C (writeFile): handle ignore_language.
14179 * paragraph.C (getFontSettings): the language has to be resolved
14180 otherwise we have problems in LyXFont!
14182 * lyxfont.C (lyxWriteChanges): added document_language parameter
14183 (update): removed unneeded language parameter
14185 * paragraph.C (validate): fixed wrong output of color-package when
14186 using interface colors for certain fonts in certain environments,
14187 which should not seen as that on the final output.
14189 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14191 * BufferView_pimpl.C:
14196 * LyXAction.C: add thesaurus support
14199 * lyxfind.C: add "once" parameter, for thesaurus, to not
14200 move to the next match
14202 2001-07-26 Juergen Vigna <jug@sad.it>
14204 * lyxfont.C (realize): honor ignore_language too!
14207 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14209 * text.C (draw): one place more for ignore_language to not draw
14212 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14214 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14216 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14218 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14219 the minipage conversion problem.
14221 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14223 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14226 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14228 * BufferView.h: don't forward declare WorkArea
14230 * BufferView.C: don't include WorkArea.h
14232 2001-07-25 André Pönitz <poenitz@gmx.net>
14236 * lyxfunc.C: new LFUN 'math-space'
14238 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14240 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14242 * text2.C (toggleInset): call open/close
14244 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14246 * lyxfunc.C (dispatch): add debug for the disabled case
14248 * font.C (buttonText): make similar to rectText
14250 * buffer.C (readInset): comment out parsing of insetlist and
14253 * PainterBase.C (rectText): small correction
14255 * BufferView_pimpl.C: comment out insettheorem and insetlist
14256 * LyXAction.C: ditto
14257 * commandtags.h: ditto
14259 2001-07-24 Juergen Vigna <jug@sad.it>
14261 * text.C (draw): honor the ignore_language.
14263 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14265 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14267 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14270 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14272 * lyxtext.h: remove unused (and unimplemented) methods
14274 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14276 * text.C (getVisibleRow): honor background color
14279 * Painter.h: remove default color argument for fillRectangle
14281 * text.C (backgroundColor): new method
14283 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14285 * text.C (getVisibleRow): adjust
14287 * font.[Ch] (rectText): new method, metrics
14288 (buttonText): new method, metrics
14290 * PainterBase.[hC]: make rectText and buttonText always draw and take
14293 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14295 * ToolbarDefaults.C (read):
14296 * MenuBackend.C (read): allow escaping in all strings
14298 * BufferView_pimpl.C (insertAndEditInset): new method.
14299 (Dispatch): use insertAndEditInset whenever appropriate.
14301 * BufferView_pimpl.C (insertNote): removed
14303 * BufferView_pimpl.C (smartQuote): new method, moved from
14304 BufferView; if an insetquote cannot be inserted, insert a '"'
14307 * BufferView2.C: remove insertCorrectQuote();
14309 * lyxfunc.C (getStatus): Add support for all remaingin
14310 inset-insert lfuns.
14312 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14314 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14315 command (necessary to pass " as parameter of self-insert.
14317 * text.C (selectWordWhenUnderCursor):
14318 (selectWord): add word_location parameter
14319 (selectWordWhenUnderCursor): same + remove special code for word
14321 (selectNextWord): use kind() to guess type of insetspecialchar,
14324 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14325 (insertErtContents): create ert insets as collapsed.
14326 (readInset): better compatibility code for Info inset.
14328 2001-07-20 Juergen Vigna <jug@sad.it>
14330 * lyxfunc.C (dispatch): use always LyXFind now!
14332 * text2.C (init): add a reinit flag so that the LyXText can be
14333 reinited instead of deleted and reallocated (used in InsetText).
14335 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14341 2001-07-18 Juergen Vigna <jug@sad.it>
14343 * text.C (selectNextWord): handle insets inside inset by calling
14344 always the bv->text functions so that we can go up the_locking_inset!
14346 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14347 in strange locations when inside an inset!
14349 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14350 handling to include insets.
14352 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14354 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14356 * LyXAction.C (init):
14358 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14359 LIGATURE_BREAK, since the name is so stupid.
14361 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14363 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14366 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14368 * sp_form.[Ch]: remove.
14370 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14372 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14375 * src/buffer.C (readInset): ditto.
14377 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14379 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14380 menuSeparator(), endOfSentenceDot(), ldots() and
14381 hyphenationPoint(), which are therefore removed.
14382 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14384 * LyXAction.C (init):
14385 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14387 * paragraph.C (getWord): removed.
14389 * BufferView_pimpl.C (Dispatch): use last word or selection for
14390 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14392 * lyx_main.C (queryUserLyXDir): do not ask before creating
14393 user_dir, except if it has been named explicitely.
14395 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14397 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14398 a document of zero size.
14400 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14402 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14403 approriately in the c-tor and in require().
14404 (getPackages): output the appropriate LaTeX for natbib support.
14406 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14407 variables "use_natbib" and "use_numerical_citations" when reading the
14409 (readInset): read the various natbib cite commands.
14410 (validate): white-space change.
14412 * bufferparams.[Ch]: new variables "bool use_natbib" and
14413 "bool use_numerical_citations".
14414 (writeFile): output them in the LyX file.
14416 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14418 * lyxfunc.C (getStatus): add support for all the inset insertion
14421 * text2.C (insertInset):
14422 * paragraph.C (insetAllowed):
14423 * BufferView_pimpl.C (insertInset): update to take in account the
14424 renaming of insertInsetAllowed
14426 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14428 * text2.C (getInset): new method. returns inset at cursor position.
14430 * BufferView_pimpl.C (Dispatch): changes because of this.
14432 * LyXAction.C (init): rename open-stuff to inset-toggle.
14434 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14436 * text2.C (toggleInset): renamed from openStuff; use
14439 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14441 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14443 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14445 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14447 * buffer.C (readLyXformat2): Add filename to the error dialog
14449 2001-07-18 Juergen Vigna <jug@sad.it>
14451 * tabular.C (GetCellNumber): put an assert here instead of the check!
14453 2001-07-17 Juergen Vigna <jug@sad.it>
14455 * BufferView_pimpl.C (toggleSelection): adapted too.
14457 * text.C (selectNextWord): adapted for use with insets.
14458 (selectSelectedWord): ditto
14460 2001-07-17 Juergen Vigna <jug@sad.it>
14462 * sp_spell.C (PSpell): fix initialitation order.
14464 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14466 * paragraph.C: spacing
14468 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14470 * sp_spell.C: repair language selection for pspell
14472 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14474 * lyxfunc.h: change more methods to begin with lower char.
14476 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14478 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14479 for unknown layouts.
14481 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14483 * buffer.C (readLyXformat2): Generate an error dialog if there are
14486 2001-07-16 Juergen Vigna <jug@sad.it>
14488 * sp_spell.C: always compile ISpell part.
14490 * lyxrc.C: added use_pspell entry and it's handling.
14492 2001-07-13 Juergen Vigna <jug@sad.it>
14494 * sp_spell.C: removed double includes.
14496 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14498 Consistent use of Lsstream.h:
14499 * Lsstream.h: added using std::stringstream for consistencies sake.
14501 * buffer.C: removed using std::stringstream
14503 * lyxfont.C (stateText):
14504 * paragraph.C (asString):
14505 * text.C (selectNextWord, selectSelectedWord):
14506 * text2.C (setCounter):
14507 * vspace.C (asString, asLatexString):
14508 std::ostringstream -> ostringstream.
14510 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14512 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14513 * commandtags.h: add LFUN_HELP_ABOUTLYX
14514 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14516 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14518 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14520 * lyx_gui_misc.C: remove spellchecker
14521 * lyxfunc.C: showSpellchecker
14523 * sp_ispell.h: added
14524 * sp_pspell.h: added
14525 * sp_spell.C: added
14526 * sp_form.[Ch]: removed
14527 * spellchecker.[Ch]: removed
14529 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14531 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14533 (simpleTeXSpecialChars): Simply print the input character without
14534 any special translation if pass_thru is set.
14536 * layout.h: Added bool pass_thru to layout class for being able to
14537 implement pass through of a paragraph for Literate Programming.
14539 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14540 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14541 * layout.C (Read): add "passthru" to list of layout tags and add
14542 code to set the pass_thru boolean when it is read.
14544 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14546 * trans_decl.h: remove allowed from KmodInfo
14548 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14549 remove allowed code
14552 * paragraph_pimpl.C (erase): use boost::prior
14554 * Painter.C (text): use data() instead of c_str() when length is
14556 * WorkArea.C (putClipboard): ditto
14557 * font.h (width): ditto
14559 * BufferView2.C: use it-> instead of (*it). for iterators
14561 * paragraph_pimpl.C: ditto
14562 * paragraph.C: ditto
14563 * minibuffer.C: ditto
14564 * language.C: ditto
14566 * encoding.C: ditto
14567 * counters.C: ditto
14568 * converter.C: ditto
14570 * Variables.C: ditto
14571 * TextCache.C: ditto
14572 * MenuBackend.C: ditto
14573 * LyXAction.C: ditto
14575 * FloatList.C: ditto
14576 * DepTable.C: ditto
14577 * ColorHandler.C (LyXColorHandler): ditto
14579 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14581 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14583 * text2.C (openStuff): reintroduce this method (which had been
14584 nuked in NEW_INSETS frenzy).
14586 * lyxfunc.C (Dispatch): when an action has not been handled, use
14587 its name in the error message, not its number.
14589 * paragraph.C (inInset): change method name to begin with lowercase.
14592 * text2.C: updates because of this.
14594 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14596 * ToolbarDefaults.C (add): add spaces in error message
14598 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14600 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14601 (readLyXformat2): rename return_par to first_par, use lyxlex's
14602 pushToken and remove the manual push handling.
14603 (parseSingleLyXformat2Token): add another ert comp. variable:
14604 in_tabular, rename return_par to first_par. handle newlines better
14606 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14608 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14610 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14612 * text2.C (getParFromID): removed
14614 * buffer.C (getParFromID): new method moved form lyxtext.
14615 * BufferView2.C (insertErrors): adjust
14616 (setCursorFromRow): adjust
14617 * BufferView_pimpl.C (restorePosition): adjust
14618 * lyxfunc.C (Dispatch): adjust
14619 * undo_funcs.C (textUndo): adjust
14621 (textHandleUndo): adjust
14622 (textHandleUndo): adjust
14624 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14626 * buffer.C: up' the LYX_FORMAT
14628 * lyxfont.h: turn NO_LATEX on as default
14630 * buffer.C (insertErtContents): new methods of tex style compability.
14631 (parseSingleLyXformat2Token): use it several places.
14632 * tabular.C (OldFormatRead): and here
14634 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14636 * text2.C: remove some commented code.
14639 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14640 * trans.C: changes because of the above.
14642 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14644 * text2.C (setCounter): Fix counters bug with bibliography layout.
14646 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14648 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14649 own member functions
14650 (simpleTeXSpecialChars): ditto
14652 2001-07-06 Juergen Vigna <jug@sad.it>
14654 * a lot of files: changed the access to LyXText::status and the
14655 call of undo-functions.
14657 * undo.[Ch]: added a inset_id to the undo informations.
14659 * undo_funcs.[Ch]: added and moved here all undo functions.
14661 * lyxtext.h: give the status enum a weight, made status_ a private
14662 variable and made accessor functions for it, removed the whole bunch
14663 of undo-functions as they are now in their own file, make some
14664 functions publically available. Added function ownerParagraph with
14667 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14668 made InInset() a const function, added getParFromID() function.
14670 * buffer.[Ch]: added const version for inset_iterator functions,
14671 added getInsetFromID() function.
14673 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14674 changed undo functions for new version.
14676 2001-07-05 Juergen Vigna <jug@sad.it>
14678 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14679 unknow mechanism does not call the proper constructor but only this
14680 one also if I request the other!?
14682 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14684 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14686 * text2.C (LyXText): use initialization lists.
14688 * lyxtext.h (Selection): initialize set_ and mark_
14689 (init): remove method
14691 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14693 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14695 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14697 * screen.[Ch]: change method names to begin with lowercase
14699 * BufferView_pimpl.C (updateScrollbar): simplify further and
14700 hopefully make it a bit faster.
14702 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14704 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14705 calling directly xforms functions.
14707 * Painter.C (Painter):
14708 * lyx_cb.C (MenuWrite):
14709 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14712 * lyx_gui.C: remove bogus guiruntime extern declaration.
14714 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14716 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14718 (redoDrawingOfParagraph): ditto
14719 (redoParagraphs): ditto
14720 (cutSelection): don't create a object for CutAndPaste use the
14721 static method directly
14722 (pasteSelection): ditto
14724 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14727 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14729 * modifications to some other files because of this.
14731 * Makefile.am (lyx_SOURCES): add XFormsView
14733 * XFormsView.[Ch]: new files
14735 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14736 the main window. Move the gui dependent stuff to XFormsView
14738 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14740 * tabular.C (GetCellInset): update cur_cell also in the row/col
14741 version of this function.
14743 * lyxfunc.C: no need to include figure_form.h here.
14749 * lyxvc.C: no need to include forms.h here.
14751 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14753 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14755 * lyxfunc.C (Dispatch):
14757 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14758 constructor argument.
14760 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14762 * paragraph.C (Paragraph): dont't clear, and just set layout.
14763 (makeSameLayout): use params's copy contructor.
14765 * ParagraphParameters.[Ch] (makeSame): delete method
14767 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14769 * Variables.[Ch]: fix indentation, rename set to isSet
14771 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14773 * lyxfunc.C (Dispatch): fix typo
14775 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14777 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14780 * bufferlist.C: include assert.h for emergencyWrite().
14782 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14784 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14785 give up at last (bug #425202) !
14787 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14793 * spellchecker.C: strip spellchecker options and bring up
14794 preferences tab instead
14796 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14798 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14799 the istringstream constructor
14801 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14803 * paragraph.C (getLayout): fix return value
14805 * paragraph.h: do not declare getLayout as inline.
14807 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14809 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14811 * lyxcursor.h (operator<): new func
14812 (operator>): new func
14813 (operator>=): new func
14814 (operator<=): new func
14816 * text.C (changeCase): use selection.start and selection.end
14817 (changeRegionCase): require from to be <= to. Require par to be a
14820 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14822 2001-06-27 Juergen Vigna <jug@sad.it>
14824 * text.C (cursorLeftOneWord): changed to return the cursor and added
14825 overlay with BufferView * parameter which calls this one.
14827 (selectWord): use new getWord function.
14828 (changeCase): renamed from changeWordCase as and extended to work
14829 also on selections.
14831 * lyxtext.h: added enum word_location
14833 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14834 changeCase as this operates now also on selections.
14836 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14838 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14840 * many files: send debug output to Debug::INFO instead of
14843 * converter.C (View):
14845 (Move): send debug output to Debug::FILES instead of console.
14847 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14849 * lyxfunc.C (getStatus): use func_status
14851 * func_status.h: new header, describing the results of
14852 LyXFunc::getStatus;
14854 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14857 2001-06-25 The LyX Project <jug@sad.it>
14859 * buffer.C (sgmlOpenTag):
14861 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14863 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14865 * text2.C: remove some dead code
14867 * tabular.C (GetCellInset): store the last cell checked (gotten)
14869 * tabular.h: add the helper for the speedup
14871 * lyxtext.h: remove some dead code
14873 2001-06-26 The LyX Project <Asger>
14875 * paragraph.C: Change export to LaTeX of alignment to
14876 \begin{center} and family for better roundtrip work with reLyX.
14878 * Tune the math drawing a bit.
14880 2001-06-25 The LyX Project <Asger>
14882 * LColor.C (LColor): New color for math background. New color
14885 2001-06-25 The LyX Project <jug@sad.it>
14887 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14889 * lyxfunc.C (Open):
14890 * bufferlist.C (newFile): do not restrict to files ending with
14893 * BufferView_pimpl.C (MenuInsertLyXFile):
14895 2001-06-24 The LyX Project <jug@sad.it>
14897 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14900 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14902 * lyxtext.h: rename most methods to begin with a small char.
14903 Lots of changes because of this.
14905 * paragraph.C (Paragraph): do not call fitToSize
14906 (erase): call Pimpl::erase
14907 (insertChar): call Pimpl::insertChar
14908 (insertInset): call Pipl::insertInset
14909 (breakParagraph): do not call fitToSize
14910 (breakParagraphConservative): do not call fitToSize
14911 (fitToSize): remove method
14913 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14915 2001-06-24 The LyX Project <Asger>
14917 * Fix Qt compilation^2
14919 2001-06-24 The LyX Project <jug@sad.it>
14921 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14922 depthHook(getDepth()-1).
14925 * ParagraphParameters.h:
14926 * ParameterStruct.h: change type of depth to unsigned int ==
14927 depth_type. Many adaptations to other files before of that.
14929 2001-06-24 The LyX Project <Asger>
14931 * Fix Qt compilation.
14933 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14935 * paragraph.h: renamed several methods to begin with small letter.
14936 several changes to many parts of the code because of this.
14938 2001-06-23 The LyX Project <jug@sad.it>
14940 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14941 rewritten to discard all double spaces when KeepEmpty is off
14942 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14943 to only handle newlines but not fiddle with spaces and friends.
14945 * lyxfunc.C (MenuNew): when doing 'new from template', use
14946 template_path as default directory
14948 2001-06-23 The LyX Project <Asger>
14950 * Clean-up of header file includes all over
14951 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14953 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14955 * paragraph.h: renamed from lyxparagraph.h
14957 2001-06-23 Asger <lyx@violet.home.sad.it>
14959 * Buffer.h: Removed Buffer::resize
14960 * BufferList.h: Removed BufferList::resize
14961 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14962 the document lazily when we change the width, or the font settings.
14964 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14966 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14968 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14970 * buffer.h: remove out of date comment
14972 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14975 * screen.C: fix "theoretical" GC leak
14977 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14979 * LaTeX.C (scanAuxFile):
14980 (deplog): remove trailing \r when reading stream (useful under
14983 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14985 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14986 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14987 and BufferView::theLockingInset(Inset*), so should use them and not
14988 access bv_->text->the_locking_inset directly.
14990 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14992 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14995 * tex-defs.h: remove old unused file
14997 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14999 * BufferView_pimpl.C: fix typo, remove minibuffer message
15000 when buffer has loaded
15002 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15004 * lyxfunc.C (Dispatch): use stringstream
15005 (MenuNew): use stringstream
15006 (Open): use stringstream
15008 * importer.C (Import): use stringstream
15010 * bufferview_funcs.C (CurrentState): use stringstream
15012 * LaTeX.C (run): use stringstream
15014 * BufferView_pimpl.C (savePosition): use stringstream
15015 (restorePosition): use stringstream
15016 (MenuInsertLyXFile): use stringstream
15018 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15031 * vspace.C: removed // -*- C++ -*- as first line.
15034 * version.h: added // -*- C++ -*- as first line.
15036 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15038 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15040 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15043 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15045 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15048 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15050 * gettext.C: include LString.h even when --disable-nls is on.
15052 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15054 * converter.h (Get): changed argument type from int to
15055 FormatList::size_type to avoid unnecessary conversion.
15057 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15060 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15062 * gettext.h: include LString.h even when --disable-nls is on.
15064 2001-06-07 Juergen Vigna <jug@sad.it>
15066 * text.C (BreakAgain): subst spaces with tabs.
15068 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15069 (resizeInsetsLyXText): set force on resizeLyXText.
15071 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15073 * gettext.h (gettext_init):
15074 (locale_init): use a real definition instead of a macro
15076 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15078 * Bufferview_pimpl.C:
15080 * LColor.C: further lcolor tidies
15082 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15084 * BufferView_pimpl.C (updateScrollbar): simplify.
15086 * BufferView2.C: don't include insets/insetinfo.h, change
15087 prototype for insertInset and call the Pimpl version. let
15088 updateInset call Pimpl version.
15090 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15091 gotoInset to BufferView::Pimpl
15093 2001-06-01 Juergen Vigna <jug@sad.it>
15095 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15096 inside a LockingInset (is the update needed at all?).
15098 2001-05-31 Juergen Vigna <jug@sad.it>
15100 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15101 here not the old one otherwise how should we compare it afterwards
15104 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15109 * FontInfo.C: bring C functions into global namespace when
15112 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15114 * LString.h: make sure config.h has been loaded before LString.h.
15116 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15117 (one for each char read by EatLine!).
15119 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15122 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15124 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15125 to the same as the par we break from
15127 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15129 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15131 * MenuBackend.C (expand): also create menu entries for wide
15132 versions of the floats.
15134 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15136 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15138 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15139 frontends/Makefile.am
15145 * tabular.C (getTokenValue): add std::
15147 * tabular-old.C (getTokenValue): add std::
15148 (getTokenValue): ditto
15149 (getTokenValue): ditto
15151 * screen.C (ToggleSelection): adjust
15153 * lyxtext.h: put selection cursors inside a Selection struct.
15155 * lyxfunc.C (moveCursorUpdate): adjust
15157 * lyxfont.C (latexWriteStartChanges): add std::
15159 * lyxfind.C: adjust
15161 * font.h: delete with(char const *, LyXFont const &)
15163 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15165 * FontInfo.C (getFontname): add std::
15167 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15168 (workAreaButtonPress): adjust
15169 (tripleClick): adjust
15171 (moveCursorUpdate): adjust
15174 * BufferView2.C (gotoInset): adjust
15176 2001-05-30 Juergen Vigna <jug@sad.it>
15178 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15179 to check pspell I add this as default as I now have new pspell
15180 libraries and they seem to use this.
15182 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15184 * text2.C (CutSelection): make the cursor valid before the call to
15187 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15189 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15190 relied on 0 terminated strings and other horrors. Bug found due to
15191 the new assert in lyxstring!
15193 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15196 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15198 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15201 * lyxfunc.C (processKeySym): change method of getting to the
15204 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15205 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15206 * BufferView_pimpl.[Ch]: here as private methods.
15208 2001-05-28 Juergen Vigna <jug@sad.it>
15210 * text.C (SetHeightOfRow): added the update() call again as it is
15211 needed to initialize inset dimensions!
15213 2001-05-16 Juergen Vigna <jug@sad.it>
15215 * text2.C (SetCharFont): Add new function with BufferView * and
15216 bool toggleall parameters for setting insets internal fonts.
15217 (SetFont): Freeze the undo as we may change fonts in Insets and
15218 all this change should be inside only one Undo!
15220 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15221 setting font's in insets as for them we have the SetFont function!
15223 2001-05-15 Juergen Vigna <jug@sad.it>
15225 * text2.C (ClearSelection): to be sure we REALLY don't have any
15228 * tabular.C (TeXCellPreamble): fixed the left border problem for
15231 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15233 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15236 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15238 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15239 LFUN_BREAKPARAGRAPH.
15241 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15242 help test to "internal only", similar for LFUN_INSERT_URL
15244 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15245 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15246 auto_region_delete and deadkeys.
15248 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15251 * LColor.C: remove some dead entries, tidy a little
15253 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15255 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15257 (Dispatch): implement LFUN_ESCAPE
15259 * commandtags.h: add LFUN_ESCAPE
15261 * LyXAction.C (init): add entry for LFUN_ESCAPE
15263 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15264 Remove commented code.
15265 (insertNote): moved here
15266 (open_new_inset): moved here
15268 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15271 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15273 * kbmap.C (findbinding): clean it up and make it work correctly.
15275 * lyx_main.C (init): do not pass argc and argv as parameters
15277 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15279 * buffer.C: fix path for OS/2 & Win32
15283 * lyx_main.C: Added os:: class.
15285 * os2_defines.h: update
15287 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15289 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15290 better by trying again with reduced state.
15292 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15294 * lyxrc.C (read): print error about invalid key sequence only when
15295 debugging (because not all latinX keysyms are known to some X
15298 * kbsequence.C (getiso): add a few std:: qualifiers
15299 (getiso): comment out extra return statement.
15301 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15303 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15305 (Dispatch): enhance the accent inset a bit. (not perfect)
15307 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15309 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15311 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15313 * bufferlist.C (emergencyWrite): fix assert() call
15315 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15317 * text.C (InsertChar): Added trivial patch to only send the "you
15318 can not do multiple spaces this way" message once during a
15321 2001-05-08 Baruch Even <baruch@lyx.org>
15323 * Makefile.am: Changed order of libraries to get LyX to link properly
15324 with the gnome frontend.
15326 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15328 * LaTeXFeatures.h: add a std:: qualifier
15330 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15332 * paragraph.C (String): use stringstream
15334 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15336 * paragraph.C (writeFile): remove footflag arg
15338 * buffer.C (makeLaTeXFile): use stringstream
15339 (latexParagraphs): remove footnot gurba
15341 * LaTeXFeatures.C (getPackages): use stringstream
15342 (getMacros): likewise
15343 (getTClassPreamble): likewise
15344 (getFloatDefinitions): new method
15346 * paragraph.C (writeFile): reindent
15349 * WorkArea.h: revert the xpos + etc changes.
15351 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15353 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15355 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15356 (pasteSelection): likewise
15357 * text2.C (CreateUndo): likewise
15359 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15361 * minibuffer.C (peek_event): temporarily reduce the functionality
15362 of the minibuffer (to allow args on lfuns)
15364 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15365 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15367 * buffer.C (readInset): add compability reading of old float
15368 lists, add reading of new style float list.
15369 (readInset): avoid reevaluation of inscmd.getCmdName()
15370 (getLists): reindent
15372 * MenuBackend.C (MenuItem): implement parsing of
15373 md_floatlistinsert and md_floatinsert.
15374 (expand::LastFiles): move initalizaton of iterators out of loop,
15375 avoid reevaluation.
15376 (expand::Documents): introduce typdedef vector<string> Strings,
15378 (expand::ExportFormats): introduce typedef vector<Format const *>
15379 Formats, and use it.
15380 (expand): implement FloatListInsert and FloatInsert.
15382 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15383 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15384 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15386 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15388 (Dispatch::LFUN_FLOAT_LIST): implement
15390 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15392 * LaTeX.C (run): Fix problem with --export code.
15394 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15396 * BufferView.[Ch] (workarea): removed.
15397 (getClipboard) new method; wrapper for workarea()->getClipboard()
15399 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15402 * WorkArea.h (width, height, xpos, ypos): These methods all
15403 returned the dimensions of the work_area sub-area of WorkArea,
15404 resulting in a position error if the WorkArea were resized. Now
15405 return the dimensions of the entire WorkArea.
15407 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15409 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15411 * LaTeX.C (deplog): correct the syntax of regex reg1
15413 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15415 * undo.C: remove !NEW_INSETS cruft
15417 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15419 * text2.C: remove !NEW_INSETS cruft
15421 * text.C: remove !NEW_INSETS cruft
15423 * tabular.C: remove !NEW_INSETS cruft
15425 * spellchecker.C: remove !NEW_INSETS cruft
15427 * lyxtext.h: remove !NEW_INSETS cruft
15429 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15431 * lyxfunc.C: remove !NEW_INSETS cruft
15433 * lyxfind.C: remove !NEW_INSETS cruft
15435 * lyx_cb.C: remove !NEW_INSETS cruft
15437 * figureForm.C: remove !NEW_INSETS cruft
15439 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15441 * buffer.[Ch]: remove !NEW_INSETS cruft
15443 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15445 * CutAndPaste.C: remove !NEW_INSETS cruft
15447 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15449 * BufferView2.C: remove !NEW_INSETS cruft
15451 * BufferView.h: remove !NEW_INSETS cruft
15453 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15455 * Lsstream.h: include LString.h before the sstream headers to
15456 fix problem with gcc 2.95.3 and lyxstring
15458 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15460 * lyx_main.C: add using directives when needed for C functions
15461 declared in std:: namespace.
15463 2001-04-27 Juergen Vigna <jug@sad.it>
15465 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15466 (SetHeightOfRow): comment out the update call should not be needed!
15468 2001-04-13 Juergen Vigna <jug@sad.it>
15470 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15471 (LyXTabular): tried to minimize operator= operations (and realized
15472 hopfully Lars wish).
15474 2001-04-27 Juergen Vigna <jug@sad.it>
15476 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15478 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15480 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15482 * buffer.C (readInset): hack to make listof algorithm work
15484 * BufferView_pimpl.C: hack to make listof algorithm work
15486 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15488 * LyXAction.C: removed all !NEW_INSETS cruft
15489 (init): moved lfun_item in method
15491 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15493 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15495 * BufferView2.C (theLockingInset): white space.
15497 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15499 * minibuffer.C: include <iostream>
15501 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15503 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15505 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15507 * text.[Ch] (TransposeChars): new method
15509 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15511 * call message directly through LyXView instead of through LyXFunc
15512 * BufferView2.C: adjust
15513 * BufferView_pimpl.C: adjust
15514 * FontLoader.C: adjust
15516 * bufferview_funcs.C: adjust
15517 * converter.C: adjust
15518 * figureForm.C: adjust
15519 * importer.C: adjust
15521 * lyx_gui_misc.C: adjust
15522 * lyxfunc.C: adjust
15525 + more files in subdirs
15527 * lyxparagraph.h (size): move up int file
15530 * adjust all uses of Assert to lyx::Assert.
15532 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15533 lyxfunctional in namespace lyx
15534 * layout.C (hasLayout): ditto
15537 (delete_layout): ditto
15538 (NumberOfClass): ditto
15539 * converter.C (GetFormat): ditto
15544 * bufferlist.C (getFileNames): ditto
15545 (emergencyWriteAll): ditto
15548 * MenuBackend.C (hasSubmenu): ditto
15551 * BufferView_pimpl.C (getInsetByCode): ditto
15553 2001-04-18 Juergen Vigna <jug@sad.it>
15555 * vspace.C (asLatexString): fixed the 100% problem.
15557 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15559 * lyxfunc.C (Dispatch):
15561 * minibuffer.h: add a few std:: qualifiers
15563 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15565 * minibuffer.[Ch]: reimplement so that commands is initiated and
15566 run from lyxfunc, simplified som handling, and made the completion
15567 and history code for complete. wip.
15569 * lyxfunc.C (processKeySym): call message
15570 (miniDispatch): new temporary method
15571 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15572 (LFUN_MESSAGE): implement
15573 (LFUN_MESSAGE_PUSH): implement
15574 (LFUN_MESSAGE_POP): implement
15575 (initMiniBuffer): the initial/defualt minibuffer message.
15577 * lyxfont.[Ch]: inline some more getters
15579 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15581 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15583 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15584 (AutoSave): use LFUN_MESSAGE
15585 (Reconfigure): ditto
15587 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15589 * figureForm.C: use LFUN_MESSAGE
15591 * converter.C (runLaTeX): use LFUN_MESSAGE
15593 * bufferview_funcs.C: use LFUN_MESSAGE
15595 (changeDepth): ditto
15597 * bufferparams.h: use boost::
15599 * bufferlist.h: inherit privately from noncopyable
15601 * bufferlist.C (loadLyXFile): remove some commented code.
15603 * buffer.C (runChktex): use LFUN_MESSAGE
15605 * ShareContainer.h: inherit privately from noncopyable
15607 * ParagraphParameters.[hC] (depth): inline it.
15609 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15611 (message): new method
15612 (messagePush): ditto
15613 (messagePop): ditto
15614 (show): init minibuffer
15615 (showState): direct call
15617 * LaTeX.[Ch]: inherit privately from noncopyable
15618 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15619 instead of WriteStatus.
15621 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15623 * BufferView_pimpl.C (buffer): don't init minibuffer
15624 (workAreaButtonPress): use LFUN_MESSAGE
15625 (workAreaButtonRelease): ditto
15626 (savePosition): ditto
15627 (restorePosition): ditto
15628 (MenuInsertLyXFile): ditto
15629 (workAreaExpose): don't init minibuffer
15630 (update): remove commented code, simplify
15632 * BufferView2.C (openStuff): use LFUN_MESSAGE
15633 (toggleFloat): ditto
15636 (copyEnvironment): ditto
15637 (pasteEnvironment): ditto
15642 (updateInset): remove some commented code
15644 * lastfiles.h: inherit privately from noncopyable
15647 * lyx_main.h: ditto
15649 * lyxlex_pimpl.h: ditto
15651 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15652 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15653 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15655 * LyXAction.h: inherit privately from noncopyable, add methods
15656 func_begin, func_end, returning iterators to the func map.
15658 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15659 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15660 (func_begin): new method
15661 (func_end): new method
15663 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15665 (copySelection): ditto
15666 (pasteSelection): ditto
15668 * BufferView.C: whitespace change
15669 * BufferView.h: inherit privately from noncopyable
15671 2001-04-16 Allan Rae <rae@lyx.org>
15673 * tabular-old.C (l_getline):
15674 * spellchecker.C (sc_check_word):
15675 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15676 an unrecognised preprocessor directive. So ensure they're wrapped.
15678 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15680 * src/exporter.C (Export): Give an error message when path to file
15683 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15685 * LaTeX.C (deplog): Always check that foundfile exists.
15687 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15690 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15692 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15694 * tabular.[Ch] (getLabelList): implement new method
15696 * minibuffer.h: comment ouf setTiimer
15698 * minibuffer.C (ExecutingCB): constify res
15699 (peek_event): constify s
15700 (Set): constify ntext
15701 (Init): constify nicename
15703 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15705 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15706 (savePosition): use two params to Minibuffer::Set
15707 (restorePosition): ditto
15709 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15711 * lyx_main.C: include language.h
15713 * Makefile.am (lyx_main.o): add language.h
15715 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15721 * CutAndPaste.C: include gettext.h
15723 * lyxfont.h: remove old hack with ON and OFF.
15726 * lyxfont.h: do not include language.h...
15731 * bufferview_funcs.C:
15737 * paragraph.C: ... but do it here instead
15739 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15741 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15743 * tabular.C: small reformat
15745 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15748 (BreakParagraph): ditto
15749 (SetOnlyLayout): ditto
15752 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15755 * lastfiles.C: removed most using decl, add std:: where needed
15757 * buffer.C: ws changes
15759 * MenuBackend.C (class compare_format): put into anon namespace
15760 (expand): constify label, names, action, action2
15763 * text.C (SingleWidth): constify font
15764 (IsBoundary): constify rtl2
15765 (GetVisibleRow): constify ww
15767 * LaTeX.C (deplog): constify logfile
15769 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15771 (workAreaExpose): constify widthChange, heightChange
15773 * lyxrow.C (par): moved
15776 * lyxrow.h: as inlines here
15778 * lyxfont.h (shape): moved from lyxfont.C
15779 (emph): moved from lyxfont.C
15781 * lyxfont.C (LyXFont): use initialization list for all
15783 (shape): move to lyxfont.h as inline
15784 (emph): move to lyxfont.h as inline
15787 2001-04-04 Juergen Vigna <jug@sad.it>
15789 * vspace.C: had to include stdio.h for use of sscanf
15791 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15794 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15795 independent of xforms.
15797 2001-04-02 Juergen Vigna <jug@sad.it>
15799 * spellchecker.C: fixed namespace placing!
15801 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15803 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15804 the LyXParagraph * is 0.
15806 2001-03-29 Juergen Vigna <jug@sad.it>
15808 * vspace.C: added support for %, c%, p%, l%.
15809 (stringFromUnit): added helper function.
15810 (asLatexString): changed to give right results for the %-values.
15812 * buffer.C: convert the widthp in a width%.
15814 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15816 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15819 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15820 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15822 * lyx_cb.[Ch]: see above.
15824 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15828 * lyx.[Ch]: replaced by figure_form.[Ch].
15832 * lyxfunc.C: changed headers associated with above changes.
15834 2001-03-27 Juergen Vigna <jug@sad.it>
15836 * BufferView_pimpl.C: set the temporary cursor right!
15838 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15840 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15842 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15844 * LString.h: removed "using std::getline"!
15846 * BufferView_pimpl.C (Dispatch): changes due to changes in
15847 InsetInclude::Params.
15849 * buffer.C (tag_name): removed redundant break statements as they were
15850 producing lots of warnings with my compiler.
15852 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15854 * LString.h: add "using std::getline" when using the real <string>.
15856 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15858 * buffer.C: removed bitset usage.
15859 PAR_TAG moved to an anonymous name space.
15860 (tag_name): new funtion, also in the anonymous namespace.
15861 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15862 (makeDocBookFile): clean code. Completed transition from string arrays
15864 (SimpleDocBookOnePar): code clean.
15866 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15868 * tabular.C: add some comments.
15870 2001-03-22 Juergen Vigna <jug@sad.it>
15872 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15873 compatibility read a bit and fixed bug with minipage in different
15876 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15878 * buffer.C (pop_tag): removed.
15879 (push_tag): removed.
15880 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15881 array replaced with vector. Added support for CDATA sections.
15882 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15884 (makeDocBookFile): XML conformant declaration of CDATA section,
15885 fixed bug related to <emphasis> in the first paragraph char.
15886 (sgmlOpenTag): exclude empty tags.
15887 (sgmlCloseTag): ditto.
15889 * buffer.h (pop_tag): removed.
15890 (push_tag): removed.
15892 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15894 * language.h (Languages): added size_type and size().
15896 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15898 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15899 response on compability reading of minipages. One probliem is that
15900 the old usage of minipages was «flertydig»
15902 * several files here and in subdirs: don't use static at file
15903 scope use anon namespaces instead.
15905 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15907 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15908 LaTeX output. This is necessary for Literate document
15911 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15913 * buffer.C: insert hfill when needed.
15915 * tabular.C (l_getline): use string::erase, small whitespace change.
15917 * BufferView_pimpl.C: try the anon namespace.
15918 * WorkArea.C: ditto
15920 2001-03-16 Juergen Vigna <jug@sad.it>
15922 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15923 otherwise it won't open options-dialogs.
15925 * buffer.C: honor pextraWidth(p) on converting minipages.
15927 * tabular.C (l_getline): changed the functions to strip trailing \r.
15929 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15931 * BufferView_pimpl.C:
15932 * minibuffer..C: added "using SigC::slot" declaration.
15934 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15936 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15942 * paragraph.C: ditto
15944 * lyxtext.h: NO_PEXTRA
15946 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15948 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15949 * ParameterStruct.h: ditto
15950 * ParagraphParameters.h: ditto
15951 * lyxparagraph.h: ditto
15953 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15955 * buffer.C: add compability for minipage alignment.
15956 (latexParagraphs): remove unwanted pextra check.
15958 * several files: remove CXX_WORKING_NAMESPACES
15960 * buffer.C (pop_tag): tie is in namespace boost
15962 * BufferView.h: noncopyable is in namespace boost
15964 * lyx_main.h: ditto
15967 * lastfiles.h: ditto
15968 * bufferlist.h: ditto
15969 * ShareContainer.h: ditto
15971 * LyXAction.h: ditto
15974 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15976 * Merging changes from BRANCH_MVC back into HEAD.
15978 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15980 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15982 * BufferView_pimpl.C: change from intl.C
15986 * Makefile.am: move combox.*
15992 * intl.C: remove dialog (covered by prefs)
15994 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15996 * lyxfunc.C (Dispatch): removed redundant break statement.
15998 2001-03-14 Juergen Vigna <jug@sad.it>
16000 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16002 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16004 * buffer.C: add hack to fix compability reading of minipages.
16006 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16008 * buffer.C (getLists): Cleanup.
16010 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16012 * lyxfont.C (update): don't honor toggleall on font size.
16014 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16018 * Makefile.am: moved to frontends/xforms/
16022 * BufferView_pimpl.C: changes for moved mathpanel
16024 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16026 * gettext.h: fix gettext_init() in --disable-nls
16028 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16030 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16032 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16035 * lyx.h: strip external form
16037 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16039 * BufferView_pimpl.C: add comment, destroySplash()
16041 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16043 * BufferView_pimpl.C:
16047 * lyxfunc.C: use re-worked insetinclude
16049 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16051 * buffer.C: add using std::stringstream.
16053 * lyx_cb.C: readd using std::ios.
16055 * buffer.C: add using std::map.
16057 * BufferView_pimpl.C: add using std::vector.
16059 * ShareContainer.h: add std:: to swap.
16061 * buffer.h: add some typedefs
16062 * buffer.C (getLists): use them
16063 (getLists): renamed from getTocList.
16064 add a counter for the different float types and use it in the
16066 (getLists): use the same counter for the NEW_INSETS and the "non"
16069 * lyx_cb.h: remove unused items, includes, using etc.
16071 * ShareContainer.h: remove some commented code, add more comments
16072 and "documentation".
16074 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16076 * buffer.C (getTocList): make the list also when NEW_INSETS is
16079 * buffer.h: remove TocType
16081 * buffer.C (getTocList): change to return a map<string,
16082 vector<TocItem> >, implement for dynamic number of list.
16084 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16085 * text2.C (PasteSelection): adjust
16086 * CutAndPaste.C (pasteSelection): adjust
16088 * FloatList.C (FloatList): update from the new_insets branch.
16089 * Floating.[Ch]: ditto
16090 * LaTeXFeatures.C: ditto
16092 * lyxlex_pimpl.C: ditto
16094 * paragraph.C (Last): remove when NEW_INSETS is defined.
16096 * other file: changes because of the above.
16098 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16100 * lyxparagraph.h: rename next to next_, previous to previous_,
16101 make them private for NEW_INSETS. Rename Next() to next(),
16102 Previous() to previous().
16104 * other files: changes because of the above.
16106 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16109 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16112 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16114 * main.C (main): pass lyx_localedir to gettext_init().
16116 * gettext.h: remove locale_init and gettext_init macros
16118 * gettext.C (locale_init): new function
16119 (gettext_init): new function
16121 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16124 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16126 * Moved credits to frontends:
16127 * credits.[Ch]: removed
16128 * credits_form.[Ch]: removed
16129 * lyx_gui_misc.C: remove credits stuff
16132 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16134 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16136 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16137 unneeded destructor.
16139 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16140 a standalone pointer again.
16142 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16144 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16150 * ToolbarDefaults.C:
16159 * BufferView_pimpl.C: use new file dialog in GUII
16162 * lyx_cb.C: remove LayoutsCB to Toolbar
16164 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16166 * ShareContainer.h (get): add std:: qualifier
16168 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16170 * ShareContainer.h: define a proper ShareContainer::value_type
16171 type (and use typename to please compaq cxx)
16173 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16175 * lyxparagraph.h: move serveral local vars to
16176 ParameterStruct/ParagraphParameters., use ShareContainer in
16177 FontTable., make vars in FontTable private and add getter and
16180 * paragraph.C: changes because of the above.
16182 * lyxfont.h: remove copy constructor and copy assignment. (the
16183 default ones is ok), move number inside FontBits. move inlines to
16186 * lyxfont.C: add number to initializaton of statics, move several
16187 inlines here. constify several local vars. some whitespace
16188 cleanup. Dont hide outerscope variables.
16190 * Spacing.h: add two new constructors to match the set methods.
16192 * ShareContainer.h: new file, will perhaps be moved to support
16194 * ParameterStruct.h: new file
16196 * ParagraphParameters.h: new file
16198 * ParagraphParameters.C: new file
16200 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16201 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16203 * BufferView_pimpl.C: ParagraphParameter changes.
16204 * buffer.C: Likewise.
16205 * bufferview_funcs.C: Likewise.
16206 * text.C: Likewise.
16207 * text2.C: Likewise.
16209 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16211 * lyxfind.C (LyXReplace): do not redefine default argument in
16213 (IsStringInText): ditto
16214 (SearchForward): ditto
16215 (SearchBackward): ditto
16217 2001-03-06 Juergen Vigna <jug@sad.it>
16219 * lyxfind.C (IsStringInText): put parentes around expressions.
16221 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16223 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16225 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16227 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16229 * stl_string_fwd.h: add comment
16231 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16234 * tabular.C: remove unused DocBook methods
16240 killed DO_USE_DEFAULT_LANGUAGE
16242 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16244 * lyx_gui.C: do not include language.h.
16246 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16247 arguments in function implementation.
16249 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16251 * BufferView_pimpl.C: add <ctime>
16253 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16255 * BufferView_pimpl.C: add using std::find_if
16257 2001-02-27 José Matos <jamatos@fep.up.pt>
16259 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16262 2001-02-11 José Matos <jamatos@fep.up.pt>
16264 * buffer.C (makeDocBookFile): command styles now have a parameter as
16265 "title" by default.
16267 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16269 * layout_forms.[Ch]: removed
16270 * lyx_cb.[Ch]: out character
16271 * lyx_gui.C: out character
16272 * lyx_gui_misc.C: out character
16273 * bufferview_funcs.C: : out character,
16274 added toggleall as parameter in ToggleAndShow
16276 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16278 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16280 * text2.C (SetCurrentFont): Disable number property at boundary.
16282 2001-02-26 Juergen Vigna <jug@sad.it>
16284 * lyxfunc.C (getStatus): added a string argument override function so
16285 that this is correctly called from LyXFunc::Dispatch if it contains a
16286 do_not_use_argument which is used!
16287 (Dispatch): added check for "custom" export and call appropriate func.
16289 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16291 * lyxrc.C: Add language_command_local, language_use_babel and
16292 language_global_options.
16294 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16296 * buffer.C (makeLaTeXFile): Use language_use_babel and
16297 language_global_options.
16299 2001-02-23 Juergen Vigna <jug@sad.it>
16301 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16302 which works with LyXText and putted it inside BufferView. Here now we
16303 only call for that part the BufferView::Dispatch() function.
16305 * BufferView.C (Dispatch): added.
16307 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16308 functions which needs to use a LyXText over from LyXFunc.
16309 (MenuInsertLyXFile): added
16310 (getInsetByCode): added
16311 (moveCursorUpdate): added
16312 (static TEXT): added
16314 2001-02-22 Juergen Vigna <jug@sad.it>
16316 * BufferView_pimpl.C (update): call a status update to see if LyXText
16319 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16321 * vc-backend.C (revert): implement for CVS
16322 (getLog): implement for CVS
16324 2001-02-20 Juergen Vigna <jug@sad.it>
16326 * text2.C (ClearSelection): added BufferView param for inset_owner call
16328 * lyxfunc.C (TEXT): added this function and use it instead of
16329 directly owner->view()-text of getLyXText().
16331 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16333 * src/layout_forms.C: out preamble
16334 * src/layout_forms.h: out preamble
16335 * src/lyx_cb.C: out preamble
16336 * src/lyx_cb.h: out preamble
16337 * src/lyx_gui.C: out preamble
16338 * src/lyx_gui_misc.C: out preamble
16339 * src/lyxfunc.C: connect with guii preamble
16341 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16343 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16345 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16347 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16348 whether to run bibtex.
16350 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16352 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16354 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16356 * Makefile.am (lyx_SOURCES): removed bibforms.h
16358 * vspace.h: doxygen
16360 * text.C (GetVisibleRow): make several local vars const
16362 * tabular.C: small cleanup.
16364 * lyxserver.C (callback): use compare instead of strncmp
16366 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16367 inlines to after class or to paragraph.C
16369 * lyxfont.h: remove friend operator!=
16371 * converter.h: move friend bool operator< to non friend and after
16374 * combox.h: small cleanup
16376 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16377 to inlines after class def.
16379 * buffer.C (pop_tag): use string operations instead of strcmp
16381 * bmtable.c: doxygen, small cleanup
16383 * LaTeX.h: remove friend operator==
16385 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16397 * BufferView_pimpl.C:
16398 * BufferView.[Ch]: remove cruft
16400 2001-02-14 Juergen Vigna <jug@sad.it>
16402 * lyxfunc.C: removed #if 0 unused code
16404 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16406 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16408 * text2.C (SetSelection): added a BufferView * parameter
16410 2001-02-13 Juergen Vigna <jug@sad.it>
16412 * lyxfunc.C (Dispatch): fixed protected blank problem.
16413 * BufferView2.C (protectedBlank): added LyxText * parameter.
16415 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16416 (AppendColumn): same as above for column_info.
16418 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16419 (moveCursorUpdate): use a LyXText param for support of InsetText.
16421 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16422 (tripleClick): ditto
16424 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16426 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16428 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16430 * text2.C (SetSelection): set correct update status if inset_owner
16431 (ToggleFree): ditto
16433 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16435 * tabular.C: remove some commented code.
16437 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16439 * BufferView_pimpl.C: call hideSplash()
16441 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16444 * bibforms.h: remove
16447 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16448 add LFUN_CHILD_CREATE
16450 * counters.h: fix tiny typo
16455 * lyx.C: move splash to frontends/xforms/
16457 * lyx_gui_misc.C: move Include and Bibform to frontends
16459 * lyxvc.h: clarify comment
16461 * vspace.C: tiny housekeeping
16463 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16465 * text.C (PrepareToPrint): RTL Fix.
16467 * paragraph.C (GetUChar): New method.
16468 (String): Use GetUChar.
16470 * buffer.C (asciiParagraph): Use GetUChar.
16472 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16474 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16476 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16479 * buffer.C: rename to getLogName(), handle
16480 build log / latex log nicely
16482 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16485 * MenuBackend.h: remove support for reference menuitem type.
16487 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16489 * BufferView_pimpl.C: housekeeping
16490 * BufferView_pimpl.h:
16495 * minibuffer.h: move Timeout GUI-I
16497 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16499 * lyxrc.C (read): Update converters data-structures.
16501 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16503 * LaTeX.h (operator!=): add operator != for Aux_Info
16505 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16507 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16509 * LaTeXLog.C: deleted, useful code moved to Buffer
16512 * buffer.C: new function getLatexLogName()
16518 * lyxfunc.C: use frontends for LaTeX and VC logs
16520 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16522 * LaTeX.h: yet another std:: that Allan forgot.
16524 * Variables.C (set): renamed from isset(), because this clashes
16525 with some HP-UX macros (grr).
16527 2001-02-06 Allan Rae <rae@lyx.org>
16529 * LaTeX.h: Another bug fix. Missing std:: this time.
16531 2001-02-04 Allan Rae <rae@lyx.org>
16533 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16534 floats problem. I've left it commented out because it's not quite
16535 correct. It should also test that the current object is a table or
16536 figure inset. But I haven't gotten around to figuring out how to do
16537 that. I *think* it'll be something like: "table" == inset.type()
16539 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16542 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16544 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16545 all the citation/databases/styles in the auxilary file.
16546 (run): Rerun latex if there was a babel language error.
16548 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16550 * text.C (Backspace): Preserve the font when changing newline char
16552 (BreakParagraph): If the cursor is before a space, delete the space.
16554 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16556 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16558 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16559 new argument (code).
16560 (ChangeCitationsIfUnique): New method.
16562 * paragraph.C (GetPositionOfInset): Handle bibkey.
16564 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16566 * BufferView_pimpl.h: change type of Position::par_pos to
16567 LyXParagraph::size_type.
16569 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16571 * BufferView_pimpl.C (savePosition, restorePosition): Write
16572 messages to minibuffer.
16574 2001-01-28 José Matos <jamatos@fep.up.pt>
16576 * buffer.C (makeDocBookFile): adds support for document language.
16577 A silly restriction on the name of LatexCommand types where removed.
16578 Added support for CDATA sections, allows to chars unescaped, used
16579 among others in code, to avoid escape < and >.
16581 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16583 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16584 saved positions instrad of a stack. Furthermore, a position is
16585 stored using paragraph id/paragraph position.
16587 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16588 Remove LFUN_REF_BACK.
16590 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16592 * converter.C (dvipdfm_options): New method.
16594 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16596 * vspace.C (isValidLength): Fix for empty input string.
16598 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16600 * LyXAction.C (init): change description of LFUN_FIGURE to
16603 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16605 * LaTeX.C: add using directive
16607 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16609 * MenuBackend.C (expand): Fix the sorting of the formats.
16611 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16613 * lyx_main.C: tiny error message fix
16615 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16617 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16618 calling fl_initialize(). This fixes the problem with ',' as
16619 decimal separator in text files.
16621 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16623 * trans.C (process): Fix the keymap bug.
16625 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16627 * LaTeX.C (scanAuxFiles): New method. Provides support for
16628 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16629 (scanLogFile) Scan for "run BibTeX" messages.
16631 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16632 OT1 font encoding. Also, load the aecompl package if the ae
16635 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16637 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16639 * texrow.C (increasePos): turn two error messages into debug
16642 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16644 * LaTeX.C (scanAux): Handle the \@input macro.
16645 (runBibTeX): Use scanAux().
16647 * language.C (latex_options_): New field.
16649 * LaTeXFeatures.C (getMacros): Add language macros.
16651 * buffer.C (makeLaTeXFile): Small fix.
16653 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16655 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16657 * text2.C: add a using directive.
16659 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16664 * lyxfunc.C: kill LyXBell.
16666 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16668 * text.C (IsBoundary): Remove the error message
16670 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16672 * lyxrc.C (setDefaults): Correct initialization value for
16675 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16677 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16680 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16681 and GotoNextNote().
16683 * src/LyXAction.C: Added reference-next.
16685 * text.C (InsertChar): Use contains instead of strchr.
16687 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16689 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16691 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16692 alignment commands (when needed).
16694 * text.C (InsertChar): Add ':' to number separator chars.