1 2004-12-19 Angus Leeming <leeming@lyx.org>
3 * buffer.C (save): s/slashify_path/internal_path/.
5 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7 * lyxfind.C (findChange): do not search for end of pars, because
8 the change tracker cannot handle this (fixes bug 1719).
10 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
12 * paragraph.[Ch] (autoBreakRows): remove
14 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
16 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
17 avoid using the paragraph one
19 * text2.C (LyXText, insertStringAsLines): adjust
21 2004-12-16 Angus Leeming <leeming@lyx.org>
25 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
27 2004-12-14 Angus Leeming <leeming@lyx.org>
29 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
31 * bufferlist.C (emergencyWrite):
32 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
35 2004-12-14 Angus Leeming <leeming@lyx.org>
37 * main.C: (main): no longer pass pointers to os::init.
39 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
41 * undo.C (textUndoOrRedo): simplify logic, fix a crash
42 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
44 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
47 * text3.C: remove selection_possible global flag
49 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
51 * text2.C (getSelectionSpan): remove
52 (changeDepth, changeDepthAllowed): adjust
54 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
56 * Makefile.am (BOOST_LIBS): use boost variables
58 2004-12-03 José Matos <jamatos@lyx.org>
60 * buffer.C: format up to 238.
62 2004-12-03 José Matos <jamatos@lyx.org>
64 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
66 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
68 * cursor.C (goUpDown): remove call to idxUpDown2
70 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
72 * tabular.[Ch]: use size_t-like types for cell, row and column
75 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
77 * lyxfunc.C (getStatus): do not lose previous information when
78 calling BufferView::getStatus; do not set a default "Command
79 disabled" message at the beginning, but just before returning.
81 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
83 * cursor.h (getStatus): add better comment from src/cursor.C
85 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
87 * text3.C (getStatus): return false when the lfun is not handled
89 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
91 * broken_headers.h: remove
93 * Makefile.am (lyx_SOURCES): remove broken_headers.h
95 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
97 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
100 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
101 top_y_, merge fitcursor with update
102 (updateScrollbar, scrollDocView, fitCursor, center, update): new
105 (workAreaDispatch): adapt to new coord scheme
106 (redoCurrentBuffer): remove
108 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
110 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
113 * coordcache.[Ch]: add paragraph cache and helpers
115 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
118 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
119 (targetX, setTargetX): introduce
121 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
122 baseline -> ascent, as the rest of lyx
124 * lyxtext.h: remove redoParagraphs, updateParPositions,
125 fullRebreak, redoParagraphInternal. move dist to anon namespace in
126 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
127 have ascent/descent (ascent is ascent of first par)
129 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
132 * paragraph.[Ch]: unify dimension handling with the rest of lyx
134 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
136 * pariterator.C: fix infinite loop introduced in par->pit renaming
138 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
139 in insets and LyXText, draw two off-screen paragraphs using
140 NullPainter, and adapt to new coord scheme
144 * text3.C: adapt lfun handlers to the new coord scheme, which
145 means: there's only guaranteed coord information for onscreen pars
146 plus one above and one below. This implies that one can do search
147 from y coordinates in the range [-1,workHeight]
149 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
151 * rename a lot of InsetOld to InsetBase
153 2004-11-25 Angus Leeming <leeming@lyx.org>
155 * BufferView_pimpl.C:
157 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
159 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
161 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
162 call BufferView::getStatus if LCursor::getStatus did nothing
163 (setStatusMessage, getStatusMessage): removed.
165 * FuncStatus.C (message): new methods. Used to provide an error
166 message indicating why a command is disabled.
167 (clear, |=, FuncStatus): update for message.
169 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
171 * lyxfunc.C (dispatch): always call sendDispatchMessage
173 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
176 * BufferView_pimpl.C:
190 * undo.C: par->pit renaming
192 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
194 * tabular.C (cellstruct): use initialization, store a shared_ptr
195 to insettext instead of the insettext directly, adjust to fit.
196 (operator=): new function
198 (rowstruct): use initialization
199 (columnstruct): use initialization
200 (ltType): use initialization
203 * lyxlength.h (swap): new function
205 * LColor.[Ch] (operator=): use the common semantics
207 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
209 * lyxfind.C (findNextChange): update the bufferview after setting
212 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
214 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
215 number of InsetOptArgs has already been inserted.
217 * output_latex.C (latexOptArgInsets): new method. This outputs all
218 the optarg insets, up to the limit defined in the layout file.
219 (optArgInset): removed
220 (TeXOnePar): call latexOptArgInsets; correctly update texrow
222 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
224 * paragraph.C (isLetter): remove special spellchecker-related
225 code; return true also for digits
226 (isWord, isKomma): remove
228 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
229 * lyxfind.C (MatchString()): use isLetter instead of isWord
231 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
233 * pariterator.h (operatir=): comment out un-implemented member
236 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
239 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
241 * lyxfont.h: include LColor.h to satisfy concept checks.
243 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
245 * pariterator.h: add typdefs for value_type, difference_type,
246 pointer and reference to satisfy concept checks. Also add default
247 constructor for same reason.
249 * pariterator.C (operator++): add post-increment operator to
250 satisfy concept checks.
252 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
255 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
257 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
258 checks. Also rename base_type to BaseType to follow naming
261 * FloatList.h: include Floating.h to satisfy concept checks.
263 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
265 * lyxfunc.C (getStatus): when the origin of the request is menu or
266 toolbar, and the LyXView does not have focus, do as if there was
269 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
270 FuncRequest to individual entries of LFUN_SEQUENCE
272 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
274 * output_latex.C (TeXOnePar): override runparams.moving_arg
275 according to the needprotect value of the current paragraph (bug
278 * paragraph.C (simpleTeXOnePar): no need to override
279 runparams.moving_args here
281 2004-11-14 John Spray <spray_john@users.sourceforge.net>
283 * vspace.C: fix off-by-one-error, related to fix #1682
285 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
287 * lengthcommon.C: a more general fix for bug 1682
289 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
291 * text.C (backspace): fix crash
293 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
295 * format.[Ch] (getFormatFromFile): new method
296 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
298 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
300 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
302 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
304 * lyxfunc.C (dispatch): remove the verbose argument
305 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
308 * kbmap.C (defkey): set the origin of func to KEYBOARD
310 * MenuBackend.C (MenuItem):
311 * ToolbarBackend.C (add): set the origin of func to UI
313 * funcrequest.[Ch]: add origin member, which indicates which part
314 of LyX requests an action
316 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
318 * converter.C (move): don't lie in the error message
319 * converter.h (isReachable, move): document
321 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
323 * buffer.C: remove unused using lyx::support::atoi
324 * paragraph_funcs.C: ditto
326 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
328 * bufferlist.C (exists): use bind and equal_to instead of
331 * lyxtextclasslist.C (NumberOfClass): ditto
333 * cursor.C (insert): use for_each instead of explicit for loop
335 * bufferlist.C (getFileNames): use std::transform and
336 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
338 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
341 * buffer.C (changeLanguage): use for_each instead of explicit for
343 (hasParWithID): implement using getParFromID
345 * LaTeXFeatures.C: ws change only
347 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
350 * BufferView_pimpl.C (trackChanges): use for_each instead of
353 2004-11-04 André Pönitz <poenitz@gmx.net>
356 * undo.C (textUndoOrRedo): fix crash when creating undo information.
358 * dociterator.C (asDocIterator): use hard assert again.
360 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
362 * lyxlength.C (asLatexString): rewrite so that it does not use
365 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
367 * text3.C (specialChar, dispatch): make sure cursor moves to the
368 right after inserting an inset
370 2004-11-02 José Matos <jamatos@lyx.org>
372 * output_docbook.C (docbook):
373 * paragraph.C (getID):
374 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
375 garantee that the output is always legal.
377 * tabular.C (docbook):
378 * outputprams.[Ch]: remove mixed contents.
380 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
382 * text2.C (setCounter): prevent endless loop
384 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
386 * exporter.C (copyFile): use the mover instead of support::copy()
387 * exporter.C (Export): pass format and latex name to copyFile()
388 * exporter.h (addExternalFile): document
389 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
391 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
393 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
395 2004-10-30 José Matos <jamatos@lyx.org>
397 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
398 text and no inset or font change. This allows to use CDATA
399 sections just for the whole paragraph.
401 2004-10-30 José Matos <jamatos@lyx.org>
403 * paragraph.C (getFirstWord): remove unused variable.
405 2004-10-30 José Matos <jamatos@lyx.org>
407 * paragraph.C (getFirstWord): the content should always be escaped
409 (simpleDocBookOnePar):
410 * output_docbook.C (makeEnvironment): replace reference to CDATA
413 2004-10-30 José Matos <jamatos@lyx.org>
415 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
417 2004-10-30 José Matos <jamatos@lyx.org>
419 * output_docbook.C (makeParagraphs):
420 * paragraph.[Ch] (emptyTag): for docbook and company, if the
421 standard paragraph has only a given type of content drop the wrapper.
423 2004-10-29 José Matos <jamatos@lyx.org>
425 * output_docbook.C (makeEnvironment):
427 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
429 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
431 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
432 (cleanID): sanitize any id.
434 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
436 * buffer.C, lyxlex_pimpl.C:
437 * lyxlex_pimpl.C (setFile):
438 s/getExtFromContents/getFormatFromContents/
440 2004-10-28 José Matos <jamatos@lyx.org>
442 * output_docbook.C (makeEnvironment): move id to broadest possible
445 * sgml.C (openTag): apply substitution of <> for all attributes.
447 2004-10-28 José Matos <jamatos@lyx.org>
449 * buffer.C (makeLinuxDocFile, makeDocBookFile):
450 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
451 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
453 * sgml.[Ch]: new version for open and closeTag for paragraph and
454 for strings. Now they handle the ids of paragraphs.
456 2004-10-26 Angus Leeming <leeming@lyx.org>
458 * Makefile.am: add mover.[Ch].
460 * converter.C (convert, move): use the new Movers to move external
461 files to the temp directory.
463 * lyx_main.C (init): ensure that the global system_movers data
466 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
469 * mover.[Ch]: new files, defining a Mover as a utility to move an
470 external file between directories and, if necessary, manipulate this
471 file using a helper script.
473 2004-10-25 José Matos <jamatos@lyx.org>
475 * output_docbook.C (makeCommand): merge two if's that tested the
478 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * sgml.C (escapeString): fix warning in a better way
482 2004-10-25 José Matos <jamatos@lyx.org>
484 * sgml.C (escapeString): import the require boosts header file for
485 tie, and avoid a signed unsigned comparison.
487 2004-10-25 José Matos <jamatos@lyx.org>
489 * sgml.h: add #include <string>
491 2004-10-25 José Matos <jamatos@lyx.org>
493 * sgml.[Ch] (escapeString): new function to escape all the string.
495 2004-10-24 José Matos <jamatos@lyx.org>
497 * paragraph.[Ch] (getFirstWord): new function to get the first
498 word. Useful for description.
499 (simpleDocBookOnePar): remove depth argument, add another that
500 says where to start the paragraph.
502 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
503 use the new functions to fix cleanly the support for descriptions.
505 2004-10-24 José Matos <jamatos@lyx.org>
507 * buffer.C (makeLinuxDocFile, makeDocBookFile):
508 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
509 * output_linuxdoc.C (linuxdocParagraphs):
510 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
511 add buffer as argument.
513 2004-10-24 José Matos <jamatos@lyx.org>
515 * output_docbook.C (makeEnvironment, searchEnvironment): place
516 CDATA inside paragraphs and fix scope for listitems.
518 2004-10-24 José Matos <jamatos@lyx.org>
520 * output_docbook.C: remove using statement for stack.
522 2004-10-23 José Matos <jamatos@lyx.org>
524 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
525 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
526 docbook. The new scheme is recursive and makes use of iterators, the
527 same as latex export works.
528 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
529 directly with the paragraph contents. This code was moved up to
530 output_docbook.C (docbookParagraphs).
531 * sgml.C (openTag, closeTag): removed unneeded newlines.
532 (closeEnvTags) removed.
534 2004-10-23 André Pönitz <poenitz@gmx.net>
536 * undo.C (textUndoOrRedo):
537 * dociterator.C (asDocIterator): work around crash
539 * cursor.C (getStatus): replace ASSERT by more verbose error message
540 and manual correction of the problem. Should increase stability
541 while providing more sensible information.
543 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
545 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
547 * bufferlist.C (previous, next): new methods
550 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
552 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
554 * buffer.C (makeDocBookFile): add dsssl stylesheet control
555 entities to preamble.
557 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
559 * messages.C (Pimpl): strip off translation context information
561 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
563 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
564 the cursor is correct (bug 1694)
566 2004-10-13 José Matos <jamatos@lyx.org>
568 * output_docbook.C (docbookParagraphs): fix closing tags in the
571 2004-10-09 José Matos <jamatos@lyx.org>
573 * buffer.C: format up to 237.
574 * bufferparams.C (write): use tostr to convert booleans to strings.
576 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
578 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
580 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
582 * LaTeX.C: implement use of babel language in xindy.
584 2004-10-05 José Matos <jamatos@lyx.org>
586 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
587 Add new translators to help reading and writing the lyx file.
589 2004-10-05 José Matos <jamatos@lyx.org>
591 * ParagraphParameters.C (read):
592 * text.C (readParToken): replace nexToken by more appropriate lex
595 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
597 * LaTeX.C (runMakeIndex):
598 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
599 (usually 'makeindex') configurable.
601 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
602 with a variable rather than with a number.
604 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
606 * output_latex.C (TeXOnePar): make sure font setting is the first
607 thing that gets output (and the last at the end). Should fix bug
610 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
612 * pch.h: use proper signal include
614 * LaTeX.h: Use preferred calling of Boost.Signal
617 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
619 * pch.h: dont include <boost/function/function0.hpp>
621 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
623 * paragraph_pimpl.h: remove usage of ShareContainer
625 * paragraph_pimpl.C: remove initialization of ShareContainer.
627 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
631 * BufferView.C (putSelectionAt): change the semantics when
632 backwards == true: now, this just swaps cursor and anchor wrt the
635 * BufferView.h (putSelectionAt): add some documentation
637 * lyxfind.C (findBackwards): rewrite using while(). In particular,
638 make sure backwardChar is done at least once (to avoid getting
640 (findNextChange): use putSelectionAt in the forward direction
641 (operator()): use Paragraph::isWord
643 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
645 * Spacing.C (set): c_str fix
647 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
649 * lyx_cb.C (Reconfigure): quote the name of configure script in
650 case it contains spaces
652 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
656 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
657 (BOOST_LIBS): use top_buildir when looking for the file
659 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
661 * pch.h: do not use include boost/format.hpp, multiple symbols
662 will result (gcc bug)
665 2004-08-23 José Matos <jamatos@lyx.org>
667 * bufferparams.C (readToken): fix reading of the author field.
669 2004-08-20 José Matos <jamatos@lyx.org>
671 * lyxrc.C: remove support/translator.h inclusion since it is not used.
673 2004-08-20 José Matos <jamatos@lyx.org>
675 * lyxlex.[Ch] (findToken): remove function.
677 * ParagraphParameters.C (findToken):
678 * bufferparams.C (findToken): replace call for previous function
679 with local copy. This local function has one more argument, the
680 read string argument.
682 2004-08-16 José Matos <jamatos@lyx.org>
684 * ParagraphParameters.C (write):
685 * Spacing.C (writeFile):
686 * bufferparams.C (writeLaTeX):
687 * lyx_cb.C (Reconfigure):
688 * paragraph.C (write):
689 * tabular.C (write): remove unnecessary space at end of line.
692 2004-08-16 José Matos <jamatos@lyx.org>
694 * text.C (readParagraph): remove debug message.
696 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
701 * output_plaintext.C (asciiParagraph): set depth correctly
703 * outputparams.h: add member depth
705 * paragraph_funcs.C (ownerPar): remove.
707 * text2.C (setCounter): remove first_pit; comment out some
708 non-working code that uses ownerPar
710 * BufferView.C (getParentLanguage): remove. Not used anymore, and
713 2004-08-16 José Matos <jamatos@lyx.org>
715 * text.C (readParToken, readParagraph, read): report all unknown tokens.
716 For the same level of importance use the same chanel to report problems.
717 (read): add code to deal with \begin_body and \end_body.
720 2004-08-15 José Matos <jamatos@lyx.org>
722 * lyxlex.C (getString): fix comment, buffer::readBody is now
725 * tex-strings.C (string_papersize): Default -> default,
726 Custom -> custom, for consistency with other options.
728 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
732 * Makefile.am: support pch
734 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
736 * text.C (readParToken): remove the static LyXFont variable and
737 pass it as a parameter instead. This fixes a nasty bug where an
738 inset will be inserted with a bad font in some situations
739 (readParagraph): adapt
741 * text2.C (setCounter): reduce number of calls to pars_[pit]
743 * text.C (singleWidth): add an assert, fix a test
745 * rowpainter.C (paintText): reduce number of calls to singleWidth
747 * paragraph.C (isHfill):
750 2004-08-14 André Pönitz <poenitz@gmx.net>
755 * lyxtext.h (several functions): use a Paragraph & argument
758 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
760 * metricsinfo.h: add a new field ltr_pos to PainterInfo
762 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
764 * text.C (singleWidth): remove useless test
766 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
768 * tabular.h: remove bogus comments
770 * tabular.C (getDescentOfRow):
771 (isPartOfMultiColumn): add assertions
773 * lyxlength.C (inPixels): remove #warning
775 2004-08-14 André Pönitz <poenitz@gmx.net>
777 * paragraph.h: inline getChar()
779 * BufferView.h: remove unused declarations
781 2004-08-14 José Matos <jamatos@lyx.org>
783 * Buffer.[Ch] (readDocument): new name for old readBody.
784 * Buffer.C: new file format, new keywords: \begin_document,
785 \begin_header, \begin_body, \end_body.
787 * bufferparams.C (readToken): replace all calls to lex.nextToken
788 by lex.next(). Do the same to eatLine except where really needed.
790 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
791 line when writing to the lyx file.
793 * output_plaintext.C (asciiParagraph): fix Bibliography style
796 * text.C (read): fix end of file handling.
798 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
800 * MenuBackend.C (Menu::operator[]): new method to access
801 individual menu items
802 (Menu::hasFunc): new method. search for an item that corresponds
804 (MenuBackend::specialMenu): new method
805 (MenuBackend::expand): if a special menu has been set, skip
806 entries whose func() appears in this menu
808 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
810 * text3.C: use Debug::DEBUG a bit more
812 * text.C (leftMargin): try to simplify a tiny bit change var x to
813 l_margin. Dont output the wide margins always.
814 (rightMargin): no margin in inner texts
816 * rowpainter.h (nestMargin): new func
817 (changebarMargin): new func
818 (rightMargin): new func
820 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
824 * factory.C (createInset): modify setDrawFrame
826 * cursor.C: use Debug::DEBUG a bit more
828 2004-08-14 André Pönitz <poenitz@gmx.net>
831 * Makefile.am: new files to accomodate an 'external' (x,y)-position
832 cache for all insets in (at least partially) visible (top-level)
835 * BufferView_pimpl.C: reset external coord cache before every update.
836 This means the coord cache only contains valid entries.
838 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
841 * BufferView_pimpl.C (getInsetByCode): move function out of class
842 and change in to a template in anon namespace. Also fix to do what
845 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
848 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
850 (breakParagraph): rename par to par_offset and use a local
851 reference. Add code to keep the language over a rebreak.
852 (breakParagraphConservative): rename par to par_offset, use a
854 (mergeParagraph): ditto
856 (isFirstInSequence): ditto
857 (outerFont): rename pit to par_offset
859 * paragraph.C: ws change
864 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
866 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
869 * paragraph.C (simpleTeXOnePar): when we have a \item with
870 optional argument, enclose the argument with curly brackets (in
871 case it contains a closing square bracket)
875 * text3.C (checkInsetHit): constify
877 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
879 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
882 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
884 Fix toggling of collapsable insets with the mouse (bug 1558)
886 * lyxfunc.C (dispatch): adapt to LCursor changes
888 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
889 make sure that dispatch is not invoked twice
891 * cursor.C (needsUpdate): new method
892 (dispatch): return void
893 (result): new method, to access the DispatchResult of the cursor.
895 2004-08-13 José Matos <jamatos@lyx.org>
897 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
899 2004-08-13 André Pönitz <poenitz@gmx.net>
901 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
903 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
906 2004-08-12 André Pönitz <poenitz@gmx.net>
908 * text3.C: take out the 'cursor right' form insertInset and only
909 do it in those places when it is really needed. Fixes crash on
912 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
914 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
916 * BufferView_pimpl.C (setBuffer): initialize the current font of
917 the underlying LyXText
919 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
921 * kbsequence.C (print): use UI native formatting for menu
924 * text.C (insertChar): call Paragraph::insertChar with a font
927 * paragraph.C (insertInset, insertChar): the version that takes a
928 LyXFont argument is now a wrapper around the other one (the
929 opposite used to be true).
931 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
932 argument. Font setting is done in Paragraph now.
934 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
936 * outputparams.h: add new members intitle and lang.
938 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
939 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
941 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
943 * text3.C (dispatch): remove special handling of button 4 and 5,
944 it is now taken care of in the frontend code.
946 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
948 * Spacing.h: add <string> (STLPort compile fix)
950 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
952 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
954 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
956 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
959 * converter.C (showMessage): inherit from unary_function, make
962 * buffer.C (writeFile): initialize retval
964 * InsetList.h: rename private variable list to list_
965 * InsetList.[Ch]: adjust accordingly.
967 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
969 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
970 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
971 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
972 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
973 * ParagraphParameters.C, LaTeXFeatures.C: replace
974 "support/std_sstream.h" with <sstream>
976 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
978 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
979 * lyxsocket.C (LyXServerSocket): ditto
980 (serverCallback): ditto
982 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
984 * LaTeXFeatures.C: check release date when loading jurabib.
986 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
988 * lyxserver.C (startPipe): call register_socket_callback
989 (endPipe): call unregister_socket_callback
991 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
993 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
994 (LyXServerSocket): register the callback
995 (LyXServerSocket): unregister the callback
996 (fd): delete function
997 (serverCallback): improve error checking and setup the callbacks.
998 (dataCallback): change arg to fd.
999 (writeln): new func (copied fro the client socket) used for server
1001 (LyXDataSocket): simplify
1002 (~LyXDataSocket): close ann unregiser callback
1003 (server): delete function
1004 (fd): delete function
1005 (readln): small changes, improve some std::string usage
1006 (writeln): constify a bit
1008 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1010 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1013 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1015 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1016 after it has been populated
1018 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1020 * text2.C (insertInset): move cursor when inserting inset.
1022 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1024 * kbmap.C (findbindings): a couple of new methods. returns a
1025 container of kb_sequence objects. The real work is done by the
1026 private recursive version
1027 (printbindings): uses findbindings to print out a bracketed list
1028 of bindings (renamed from findbinding).
1030 * MenuBackend.C (binding): use kb_keymap::findbindings
1032 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1034 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1036 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1038 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1040 * paragraph.C (isWord): return true on insets that report
1043 * text.C (getWord): use Paragraph::isWord to decide what is in a
1044 word and what is not; fix bug 1609.
1046 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1048 * tex-strings.C: add "none" to string_paperpackages[], fixes
1049 off-by-one-error in the paperpackage selection.
1052 * tex-strings.[Ch]: char const * string[n]
1053 -> char const * const string[]
1055 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1057 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1058 command, return early.
1060 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1062 * debug.h: add DEBUG to enum and fix size of ANY.
1064 * debug.C: add support for Debug::DEBUG
1065 (showTags): cast errorTags.level to unsigned int
1067 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1068 (redoCurrentBuffer): ditto
1069 (updateScrollbar): ditto
1070 * cursor.C (dispatch): ditto
1071 * text2.C (setLayout): ditto
1073 (updateCounters): ditto
1075 (deleteEmptyParagraphMechanism): ditto
1077 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1079 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1080 annotations to cleanup the Makefile slightly.
1082 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1084 * lyxrc.C: do not set user_email to a default value but use empty
1085 instead. The entry used to be translated, which does not work
1086 since at the point where lyxrc is constructed there is no
1087 translation service available
1089 * messages.C (getLocaleDir): remove and use directly
1090 lyx_localedir() instead
1092 2004-06-02 Angus Leeming <leeming@lyx.org>
1094 Fix crash caused by dereferencing null pointer 'exportdata' in
1095 OutputParams by creating a new ExportData variable on the heap,
1096 storing it in a boost::shared_ptr.
1097 The crash was triggered when generating an Instant Preview
1098 of an external inset.
1100 * Makefile.am: add outputparams.C
1102 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1103 (c-tor): allocate memory to it.
1105 * exporter.C (c-tor): associated changes.
1107 2004-06-01 Angus Leeming <leeming@lyx.org>
1109 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1110 contains data before calling isInset(0). (Bug 1513.)
1112 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1114 * exporter.C (checkOverwrite): new method
1115 * exporter.C (copyFile): new method
1116 * exporter.C (Export): copy referenced files to the document dir
1117 * exporter.[Ch]: new class ExportedFile
1118 * exporter.[Ch]: new class ExportData. Contains currently the
1119 names of referenced external files
1120 * outputparams.h: add exportdata member.
1122 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1124 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1127 2004-05-19 Angus Leeming <leeming@lyx.org>
1132 * lyxfunc.C: small changes due to the introduction of namespace
1133 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1135 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1137 * text3.C (dispatch): supress update when only moving the cursor
1138 * cursor.C (selHandle): remove commented code
1140 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1142 * paragraph.C (startTeXParParams): correct column count
1143 * CutAndPaste.C (pasteSelection): remove const_cast
1144 * output_docbook.C (docbookParagraphs): remove const_cast
1145 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1146 const_cast and return ParagraphList::const_iterator
1147 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1148 * output_plaintext.C (writeFileAscii): remove const_cast
1149 * paragraph.[Ch] (simpleTeXOnePar): make const
1150 * paragraph_funcs.C (outerPar): use const iterators
1151 * paragraph_pimpl.C (validate): use const iterators
1152 * text.C (setHeightOfRow): use const iterators
1154 2004-05-17 Angus Leeming <leeming@lyx.org>
1157 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1159 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1160 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1161 if the citation engine has changed.
1163 2004-05-14 José Matos <jamatos@lyx.org>
1165 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1166 if the textclass does not provide it. Have it different for sgml and
1168 support the language of document.
1169 * output_docbook.C (docbookParagraphs):
1170 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1171 first anchor as the id of the paragraph, remove special case code.
1172 * sgml.C (escapeChar): escape only < & >.
1174 2004-05-14 Angus Leeming <leeming@lyx.org>
1176 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1177 dependencies on src/frontends/controllers/biblio.h. Define a
1178 CiteEngine_enum wrapper class to enable the enum to be forward
1181 2004-05-12 Angus Leeming <leeming@lyx.org>
1183 * buffer.C: up LYX_FORMAT to 234.
1184 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1185 use_numerical_citations with a single biblio::CiteEngine cite_engine
1187 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1189 2004-05-13 José Matos <jamatos@lyx.org>
1192 * converter.C (Converter, readFlags): add xml member.
1193 * outputparams.h: add XML flavor.
1194 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1196 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1198 * lyxfunc.C (dispatch):
1199 (getStatus): fix handling of LFUN_SEQUENCE
1201 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1203 * debug.C (showLevel): do not forget the end-of-line marker
1205 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1207 * kbmap.C (read): do not stop parsing a bind file when an error
1210 2004-04-29 Angus Leeming <leeming@lyx.org>
1215 * text2.C: wrap a bunch of #warning statements
1216 inside #ifdef WITH_WARNINGS blocks.
1218 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1220 * buffer.C: increment format to 233.
1222 2004-04-28 Angus Leeming <leeming@lyx.org>
1224 * BufferView_pimpl.C:
1227 s/updateToolbar()/updateToolbars()/
1228 s/Toolbar.h/Toolbars.h/
1230 2004-04-28 Angus Leeming <leeming@lyx.org>
1232 * BufferView.[Ch] (c-tor):
1233 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1234 No longer passes these data to the WorkArea generator.
1236 2004-04-28 Angus Leeming <leeming@lyx.org>
1238 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1240 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1242 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1244 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1246 * output_latex.C (TeXEnvironment): make sure that there is a line
1247 break before \end{foo} for the last paragraph of a document
1248 (TeXOnePar): if the paragraph is at the end of the document (or
1249 inset) and the language has to be reset, then make sure that the
1250 line break is _before_ the language command, not after (fixes bug
1251 1225); also make sure that the language reset command is the first
1252 thing after the paragraph (to ensure proper nesting of
1253 environments and thus fix bug 1404)
1255 2004-04-21 John Levon <levon@movementarian.org>
1258 * ToolbarBackend.C: make "name" be a programmatic name
1259 and a gui_name field.
1261 * lyxfunc.C: display the minibuffer on M-x
1263 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1265 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1268 2004-04-19 Angus Leeming <leeming@lyx.org>
1270 * BufferView_pimpl.C (setBuffer): changed preview interface.
1272 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1275 2004-04-19 John Levon <levon@movementarian.org>
1277 * BufferView_pimpl.C:
1278 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1280 2004-04-05 Angus Leeming <leeming@lyx.org>
1282 * text.C (redoParagraphs): add call to updateCounters(), thereby
1283 fixing the missing "Figure #:" label from the caption of a
1286 2004-04-13 Angus Leeming <leeming@lyx.org>
1288 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1289 cursor is clicked out of an inset.
1291 2004-04-13 Angus Leeming <leeming@lyx.org>
1293 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1294 than an InsetOld one.
1296 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1298 * format.[Ch]: add editor to Format
1299 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1300 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1302 2004-04-08 André Pönitz <poenitz@gmx.net>
1304 * metricsinfo.h: remove PainterInfo::width member
1306 2004-04-08 Angus Leeming <leeming@lyx.org>
1308 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1309 "\providecommand" rather than "\newcommand", thereby preventing
1310 clashes with packages that define "\boldsymbol" themselves.
1313 2004-04-08 Angus Leeming <leeming@lyx.org>
1315 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1316 thereby squashing an unnecessary warning.
1318 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1320 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1323 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1325 * BufferView.C (setCursor): call redoParagraph (some insets could
1327 (putSelectionAt): remove the 'double update' trick
1329 * BufferView_pimpl.C (fitCursor): call refreshPar
1330 (workAreaDispatch): remove an uneeded update call
1331 (dispatch): remove some manual update calls
1333 * cursor.[Ch]: remove cached_y_, updatePos
1334 (selHandle): set noUpdate when appropriate
1336 * lyxfunc.C (dispatch): track if we need an update
1338 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1340 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1341 (paintSelection): cheap optimization, do not call cursorX when not
1343 (paintPars): change signature
1346 (paintTextInset): adjust
1350 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1352 * lengthcommon.C: compilation fix: remove explicit array size from
1353 unit_name[] and friends
1355 2004-04-05 Angus Leeming <leeming@lyx.org>
1357 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1359 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1360 present only for the preferences dialog.
1361 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1363 2004-04-05 Angus Leeming <leeming@lyx.org>
1365 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1366 to enable the frontends to export changes to lyxrc correctly.
1368 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1370 2004-04-07 André Pönitz <poenitz@gmx.net>
1372 * cursor.[Ch] (selClear, adjust): remove math
1374 * cursor_slice.C: more agressive assert
1377 * BufferView_pimpl.C: rework mouse event dispatch
1384 2004-04-05 André Pönitz <poenitz@gmx.net>
1386 * cursor.[Ch] (valign, halign...): remove unneeded functions
1388 2004-04-05 Angus Leeming <leeming@lyx.org>
1390 * lyxlength.[Ch] (unit_name et al.): const-correct.
1392 2004-04-05 Angus Leeming <leeming@lyx.org>
1394 * BufferView_pimpl.C:
1403 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1405 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1407 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1409 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1411 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1412 * BufferView_pimpl.[Ch] (getStatus)
1413 * BufferView.[Ch] (getStatus): add
1414 * lyxfunc.C (getStatus): move lfuns handled in
1415 BufferView::dispatch to te function above
1416 * Cursor.C (setSelection): set selection() = true
1418 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1420 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1422 2004-03-31 Angus Leeming <leeming@lyx.org>
1424 * lyxfunc.C (dispatch): Fall through to the generic
1425 Dialogs::show("preamble").
1427 2004-03-31 Angus Leeming <leeming@lyx.org>
1429 * lyxfunc.C (dispatch): Fall through to the generic
1430 Dialogs::show("spellchecker").
1432 2004-03-31 Angus Leeming <leeming@lyx.org>
1434 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1437 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1442 * insetiterator.[Ch]:
1447 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1449 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1451 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1452 insets where we are putting the cursor.
1454 2004-03-31 Angus Leeming <leeming@lyx.org>
1457 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1459 * lyxrc.[Ch] (read, write): overloaded member functions taking
1460 a std::[io]stream arguments.
1462 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1464 2004-03-31 Angus Leeming <leeming@lyx.org>
1466 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1467 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1469 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1470 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1472 2004-03-31 Angus Leeming <leeming@lyx.org>
1474 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1475 the LFUN_ALL_INSETS_TOGGLE code.
1477 2004-03-30 Angus Leeming <leeming@lyx.org>
1479 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1480 has died. Fall through to the generic Dialogs::show("document").
1482 2004-03-30 Angus Leeming <leeming@lyx.org>
1485 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1486 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1488 * lyxfunc.C (getStatus, dispatch): define the actions for these
1489 lfuns. Little more than a cut and pste job from ControlDocument.C
1491 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1493 2004-03-30 Angus Leeming <leeming@lyx.org>
1496 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1497 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1499 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1500 open/closed state of ollapsable insets. Usage:
1502 all-inset-toggle <state> <name>, where
1503 <state> == "open" || "closed" || "toggle" and
1504 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1506 * lyxtext.h, text2.C (toggleInset): removed.
1508 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1509 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1510 now passes LFUN_INSET_TOGGLE to the found inset.
1512 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1513 is now invoked as "all-insets-toggle toggle branch".
1515 2004-03-30 Angus Leeming <leeming@lyx.org>
1519 * pariterator.[Ch]: added/corrected header blurb.
1521 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1523 * dociterator.[Ch]: add an inset_ member
1524 (backwardPos): implemented
1525 (backwardPos, forwardPos): use inset_ when the stack is empty.
1526 (doc_iterator_begin, doc_iterator_end): implemented
1527 * pariterator.[Ch]: adjust, add begin, end
1528 * insetiterator.[Ch]: adjust, add begin, end
1532 * BufferView_pimpl.C:
1533 * CutAndPaste.C: adjust
1535 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1537 * buffer.C: increment file format to 232.
1538 * LaTeXFeatures.C: add bibtopic package.
1539 * bufferparams.[Ch]: param \use_bibtopic.
1541 * lyxrc.[Ch]: add lyxrc bibtex_command
1542 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1544 * buffer.C: increment file format to 231.
1546 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1548 * dociterator.C: implement forwardPar
1549 * iterators.[Ch]: remove, replaced by
1550 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1552 * BufferView_pimpl.C:
1555 * bufferview_funcs.C:
1561 * Makefile.am: adjust
1563 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1565 * CutAndPaste.C (pasteSelection): fix 2 crashes
1566 (eraseSelection): fix a crash
1567 * paragraph_funcs.C: remove a warning
1569 2004-03-28 Angus Leeming <leeming@lyx.org>
1572 * LyXAction.C (init): new LFUN_PRINT.
1574 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1576 2004-03-27 Angus Leeming <leeming@lyx.org>
1579 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1581 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1583 2004-03-27 Angus Leeming <leeming@lyx.org>
1585 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1586 insetlist always contains non-null pointers to insets.
1588 2004-03-26 Angus Leeming <leeming@lyx.org>
1590 * src/BufferView_pimpl.C:
1591 * src/CutAndPaste.C:
1594 * src/output_plaintext.C:
1595 * src/outputparams.h:
1596 * src/paragraph_funcs.C:
1600 * src/frontends/controllers/ControlErrorList.C:
1601 * src/frontends/gtk/FileDialogPrivate.C:
1602 * src/frontends/gtk/GPainter.C:
1603 * src/frontends/gtk/GToolbar.C:
1604 * src/frontends/qt2/QRef.C:
1605 * src/mathed/math_scriptinset.C: squash compiler warnings.
1607 2004-03-26 Angus Leeming <leeming@lyx.org>
1609 * ispell.C (LaunchIspell::start):
1610 * lyx_cb.C (AutoSaveBuffer::start):
1611 invoke run(DontWait) rather than runNonBlocking().
1613 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1615 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1617 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1619 * kbsequence.C (print): adjust
1621 * kbmap.C (printKeySym): rename and change signature
1622 (printKey): use LyXKeySym::print()
1624 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1626 * undo.C: add using std::advance to compile for stlport
1628 2004-03-24 Angus Leeming <leeming@lyx.org>
1630 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1631 it leads to a crash when no buffer is present.
1633 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1634 Martin Vermeer <martin.vermeer@hut.fi>
1636 * lyxfunc.C (dispatch):
1637 * bufferparams.C (readToken): use the new LColor::setColor
1639 * LColor.[Ch] (setColor): new version that takes two strings as
1640 argument and creates a new color entry if necessary
1642 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1644 * buffer.C (makeLaTeXFile): if the main latex file that is
1645 processed is usually a subdocument of some master, then pretend
1646 for a while that it is actually the master
1648 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1650 * buffer.C (getLabelList):
1651 (getBibkeyList): use getMasterBuffer()
1652 (getMasterBuffer): new method. Returns the main document in the
1653 case where one is using included documents.
1655 2004-03-25 André Pönitz <poenitz@gmx.net>
1659 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1661 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1663 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1664 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1666 * ParameterStruct.h: merge with ParagraphParameters
1668 * lyxtext.h: remove LyXText::parOffset() and getPar()
1670 * text3.C: Remove all 'manual' update calls. We do now one per user
1671 interaction which is completely sufficient.
1675 * BufferView_pimpl.C:
1676 * FontIterator.[Ch]:
1678 * ParagraphParameters.[Ch]:
1683 * cursor_slice.[Ch]:
1690 * output_docbook.[Ch]:
1691 * output_latex.[Ch]:
1692 * output_linuxdoc.[Ch]:
1693 * output_plaintext.[Ch]:
1695 * paragraph_funcs.[Ch]:
1696 * paragraph_pimpl.[Ch]:
1704 * frontends/controllers/ControlDocument.C:
1705 * frontends/controllers/ControlErrorList.C:
1706 * frontends/controllers/ControlSpellchecker.C:
1709 * insets/insetbase.h:
1710 * insets/insetbibitem.C:
1711 * insets/insetbox.C:
1712 * insets/insetbranch.C:
1713 * insets/insetcaption.C:
1714 * insets/insetcharstyle.C:
1715 * insets/insetcharstyle.h:
1716 * insets/insetcollapsable.C:
1717 * insets/insetcollapsable.h:
1718 * insets/insetert.C:
1719 * insets/insetfloat.C:
1720 * insets/insetfoot.C:
1721 * insets/insetmarginal.C:
1722 * insets/insetnote.C:
1723 * insets/insetoptarg.C:
1724 * insets/insettabular.C:
1725 * insets/insettext.C:
1726 * insets/insettext.h:
1727 * insets/insetwrap.C:
1728 * mathed/math_mboxinset.C:
1729 * mathed/math_nestinset.C:
1730 * mathed/math_scriptinset.C:
1731 * mathed/math_scriptinset.h:
1734 2004-03-24 Angus Leeming <leeming@lyx.org>
1736 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1737 deal with any child processes that have finished but are waiting to
1738 communicate this fact to the rest of LyX.
1740 2004-03-24 Angus Leeming <leeming@lyx.org>
1742 64-bit compile fixes.
1744 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1745 (c-tor): pass lyx::pos_types rather than ints.
1747 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1750 * text.C (Delete): compile fix.
1751 (getPar): ensure that function declaration is the same as that in
1754 2004-03-23 Angus Leeming <leeming@lyx.org>
1756 * ispell.C (LaunchIspell):
1757 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1758 a boost::shred_ptr rather than a std::auto_ptr.
1760 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1762 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1763 handle LFUN_FILE_INSERT_*
1765 * lyxrc.C (setDefaults, getDescription, output, read):
1766 * lyxrc.h: remove ps_command
1768 2004-03-22 Angus Leeming <leeming@lyx.org>
1770 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1771 Ensure that error_handler is processed once only and that all data
1772 is saved before attempting to output any warning messages.
1774 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1776 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1778 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1780 2004-03-19 André Pönitz <poenitz@gmx.net>
1782 * cursor.[Ch] (reset): take main text inset as argument
1784 * BufferView: adjust
1785 * BufferView_pimpl.C: adjust
1787 * paragraph.[Ch]: fix completely broken operator=()
1789 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1791 * LColor.C (getFromLyXName): make sure that the color name is used
1794 2004-03-17 Angus Leeming <leeming@lyx.org>
1797 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1799 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1800 dialog and to kill a forked process.
1802 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1804 * text2.C (setCursorFromCoordinates): fix font problem
1806 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1808 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1809 bogus "rebuild cursor" code
1811 2004-03-11 André Pönitz <poenitz@gmx.net>
1813 * buffer.[Ch]: use InsetText instead of LyXText as container for
1816 * dociterator.[Ch]: drop the BufferView * member which is not needed
1817 anymore after the change to buffer.C
1819 * paragraph_funcs.C:
1823 * BufferView_pimpl.[Ch]:
1825 * cursor_slice.[Ch]: adjust
1827 * text3.C: fix bug in mathDispatch
1829 2004-03-08 André Pönitz <poenitz@gmx.net>
1831 * undo.[Ch]: use 'StableDocumentIterator' as base for
1834 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1837 * bufferparams.[Ch]: add jurabib support and param.
1839 * LaTeX.C: add FIXME/comment.
1841 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1843 * buffer.C: increment file format to 230.
1845 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1847 * cursor.C (dispatch): avoid infinite loops
1849 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1851 * rowpainter.C (paintSelection): fix x coordinates
1853 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1855 * text.C (rowBreakPoint): fix breaking before displayed insets
1857 2004-03-01 André Pönitz <poenitz@gmx.net>
1859 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1861 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1865 * BufferView_pimpl.C:
1873 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1879 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1880 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1882 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1884 * Bidi.[Ch] (computeTables): const correctness
1885 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1886 fill_hfill, fill_label_hfill and x from Row
1887 * lyxtext.h: prepareToPrint returns a RowMetrics
1888 * rowPainter.C: adjust
1889 * text.C (prepareToPrint): use width, not textWidth. adjust
1890 (redoParagraphInternal, cursorX): adjust
1891 * text2.C (getColumnNearX): adjust
1892 (init): put a default value to the top LyXText::width
1894 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1896 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1898 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1900 * lyxtext.h: add FontIterator class
1902 * text.C (FontIterator, operator*, operator->, operator++): add
1903 (rowBreakPoint, setRowWidth): adjust (fixing a
1906 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1908 * BufferView_pimpl.C (workAreaDispatch): allow also
1909 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1911 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1913 * text.C (rowBreakPoint): fix a bug showing with very large insets
1915 2004-02-25 André Pönitz <poenitz@gmx.net>
1918 * cursor.[Ch]: move some mathed specific code to mathed
1920 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1922 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1923 use_tempdir in preferences
1924 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1926 * lyx_main.C: ensure that tempdir is valid
1927 * lyxlex.h: correct typo
1928 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1929 * paragraph.[Ch] (isMultiLingual): make const
1930 * cursor.[Ch] (openable): make const
1932 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1934 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1936 2004-02-20 André Pönitz <poenitz@gmx.net>
1938 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1940 * cursor.[Ch]: prepare for localized getStatus()
1946 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1948 2004-02-20 André Pönitz <poenitz@gmx.net>
1950 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1952 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1954 * text2.C (setCursorFromCoordinates): switch to absolute coords
1956 (cursorDown): adjust
1957 * text3.C (dispatch): adjust
1959 2004-02-16 André Pönitz <poenitz@gmx.net>
1961 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1964 * cursor_slice.[Ch]: remove unneeded acessor function
1966 * lyxtext.h: rename rtl() to isRTL()
1974 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1976 * rowpainter.C (paintSelection): coord fix
1978 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1980 * Spacing.C: compile fix
1982 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1984 * cursor.C (dispatch): restore current_ before returning
1986 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1988 * text2.C (cursorUp, cursorDown): fix coords
1991 2004-02-12 André Pönitz <poenitz@gmx.net>
1996 * text3.C: add LCursor & parameter to most cursor movement functions
1997 remove usage of LyXText::cursorRow() and cursorPar()
1999 * cursor.[Ch]: add textRow() needed members
2002 * BufferView_pimpl.C:
2005 * BufferView_pimpl.C: adjust
2007 2004-02-11 André Pönitz <poenitz@gmx.net>
2011 * BufferView_pimpl.C: shift undo/redo handling
2013 * cursor.[Ch]: fix mathed crash
2016 * lyxtext.h: move selectionAsText to LCursor
2024 * rowpainter.C: fix excessive drawing
2026 2004-02-06 André Pönitz <poenitz@gmx.net>
2029 * BufferView_pimpl.[Ch]:
2030 * text3.C: move some text specific LFUN handling
2032 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2034 * text3.C (checkInsetHit): adjust coords
2035 * text2.C (getColumnNearX): adjust coords
2036 (edit): adjust coords
2037 * text.C (getRowNearY): add two asserts
2039 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2042 * format.C: add using std::distance to compile on gcc 2.95/stlport
2044 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2046 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2048 2004-02-04 André Pönitz <poenitz@gmx.net>
2050 * BufferView.[Ch] (insertInset):
2051 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2056 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2058 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2059 on the default clause of the switch
2060 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2061 wasn't catched by LCursor::dispatch
2063 2004-02-03 André Pönitz <poenitz@gmx.net>
2066 * cursor.[Ch]: some additional asserts
2068 * undo.[Ch]: remove LyXText dependency in interface
2072 * lyxtext.h (firstPar, lastPar): remove dead functions
2077 * paragraph.[Ch]: adjust
2079 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2081 * lyxfind.C (find): fix argument order in call to ::find
2083 2004-02-02 André Pönitz <poenitz@gmx.net>
2085 * cursor.[Ch]: remove direct access to anchor
2087 * text.C: remove findText() hack
2089 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2091 * iterators.[Ch] (lockPath): remove in favour of...
2092 * BufferView.[Ch] (setCursor): this addition
2093 * BufferView.C (putSelectionAt): adjust
2094 * undo.C (performUndoOrRedo): adjust
2095 * lyxfunc.C (dispatch): adjust
2097 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2099 * iterators.C (lockPath): add a missing slice
2100 * undo.C (performUndoOrRedo): remove redundant positioning code
2102 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2104 * vc-backend.C (scanMaster): ";" -> ';'
2106 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2108 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2109 std::binary_function
2111 * lyxtextclass.C (compare_name): rename to...
2112 (LayoutNamesEqual): ...this
2114 * lyxlex_pimpl.C (compare_tags): inherit from
2115 std::binary_function, put back into anon namespace
2117 * lyxfind.C (MatchString): inherig from std::binary_function
2118 (findChange): use empty() istead of !size()
2120 * format.C (FormatNamesEqual): new functor
2127 * converter.C (compare_Converter): rename to...
2128 (ConverterEqual): ...this, and fixup a bit.
2129 (getConverter): use it, and make function const
2130 (getNumber): use it, and make function const
2134 * bufferlist.C: add using boost::bind
2136 * MenuBackend.C (MenuNamesEqual): new functor
2137 (hasMenu): use it, and make function const
2138 (hasSubmenu): use nested bind to get rid of compare_memfun.
2140 2004-01-30 André Pönitz <poenitz@gmx.net>
2142 * BufferView_pimpl.C:
2145 * cursor_slice.[Ch]:
2148 * paragraph_funcs.C:
2149 * paragraph_funcs.h:
2153 * text3.C: move some of the edit(x,y) handling to the insets
2154 some coordinate changes.
2156 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2158 * text.C: add using statements for std::advance and std::distance
2160 * paragraph.C: add using statement for std::distance
2162 * lyxfind.C: add using statement for std::advance
2164 * cursor.C (region): remove std:: from swap
2165 (openable): use nucleus in stead of operator->
2167 * BufferView.C: add using statements for std::distance and std::swap
2169 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2171 * iterators.C: Remove the pimple, move the needed structures to
2172 the header file. Create accessor for the positions stack.
2173 (asPosIterator): remove function
2175 * PosIterator.C (PosIterator): move constructors to top of file
2176 (PosIterator): reimplement the constructor taking a ParIterator in
2178 (setFrom): new function
2179 (operator!=): inline it
2181 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2183 * lyxfind.C (replaceAll): use std::advance
2185 * iterators.h: inherit from std::iterator.
2187 * PosIterator.C (advance, distance): remove
2188 * PosIterator.h: interit from std::iterator.
2190 2004-01-26 André Pönitz <poenitz@gmx.net>
2193 * BufferView_pimpl.[Ch]:
2197 * bufferview_funcs.C:
2207 * output_linuxdoc.C:
2208 * output_plaintext.C:
2210 * paragraph_funcs.[Ch]:
2211 * paragraph_pimpl.[Ch]:
2217 * text3.C: more IU: dumps most of the rest of the mathcursor
2218 implementation into cursor.[Ch]; "globalize" a bit of it.
2220 2004-01-25 Angus Leeming <leeming@lyx.org>
2222 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2224 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2226 * LaTeXFeatures.h: add nice_ and nice() const
2227 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2229 2004-01-20 André Pönitz <poenitz@gmx.net>
2232 * BufferView_pimpl.C:
2234 * bufferview_funcs.C:
2236 * cursor_slice.[Ch]:
2247 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2248 LCursor and mathcursor parts to LCursor and InsetBase.
2250 2004-01-15 André Pönitz <poenitz@gmx.net>
2252 * cursor_slice.[Ch]: add a few covienience functions
2254 * funcrequest.[Ch]: remove BufferView * member
2256 * BufferView_pimpl.C:
2263 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2265 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2267 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2268 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2270 2004-01-13 André Pönitz <poenitz@gmx.net>
2273 * lyxtext.h: hide cursor and selection anchor behind accessor function
2276 * BufferView_pimpl.[Ch]:
2278 * bufferview_funcs.C:
2288 * cursor_slice.[Ch]: some integer type changes for inset unification
2290 * lyxcursor.[hC]: remove, it's CursorSlice now.
2293 * BufferView_pimpl.[Ch]:
2294 * bufferview_funcs.C:
2300 * textcursor.[Ch]: adjust
2302 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2304 * text2.C (undoSpan): add and use
2305 * text.C (breakParagraph): use undoSpan (fix bug 578)
2308 2004-01-08 Angus Leeming <leeming@lyx.org>
2310 * BufferView_pimpl.C (MenuInsertLyXFile):
2311 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2312 * lyxfunc.C (menuNew, open, doImport):
2313 FileFilterList change to the FileDialog open and save functions.
2315 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2317 * ShareContainer.h: make isEqual and isUnique adaptable
2319 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2321 2004-01-07 Angus Leeming <leeming@lyx.org>
2324 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2326 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2328 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2329 functions replacing find, replace and replaceAll.
2331 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2332 LFUN_WORDFIND(FORWARD|BACKWARD).
2334 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2336 * text.C (breakParagraph): remove an outdated #warning
2338 2004-01-07 André Pönitz <poenitz@gmx.net>
2340 * lyxfind.C: somewhat clearer logic
2342 * text.C: prevent crash in cursorX on unitialized row cache
2344 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2346 * lyxcursor.[Ch] (operator>): add
2347 * textcursor.C (selStart, selEnd): use std::min and std::max
2349 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2351 * Chktex.C: include boost/format.hpp
2353 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2355 * InsetList.C: replace functor MathcIt with adaptable functor
2357 (insetIterator): modify accordingly
2359 * BranchList.h: move the BranchNamesEqual functor here from...
2360 * BranchList.C: ... to here
2362 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2364 (add): replace a finding loop with std::find_if.
2366 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2368 * output_docbook.C: moving LatexParam functionality into
2371 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2373 * buffer.C: increment format to 229.
2375 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2378 * lyx_sty.[Ch]: remove minipageindent_def
2384 * text3.C: remove LFUN_INSET_MINIPAGE
2386 2003-12-28 Angus Leeming <leeming@lyx.org>
2388 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2390 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2392 * text2.C (setParagraph): fix off-by-one crash
2394 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2396 * output_docbook.C: header stuff for AGU
2398 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2400 * text2.C (redoCursor): remove
2403 * BufferView_pimpl.C: remove calls to redoCursor and
2404 setCursor(cursor.par(), cursor.pos()) all around
2406 2003-12-15 Angus Leeming <leeming@lyx.org>
2408 * buffer.C: up the format to 228.
2410 2003-12-15 André Pönitz <poenitz@gmx.net>
2412 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2417 * BufferView_pimpl.C:
2426 2003-12-15 Angus Leeming <leeming@lyx.org>
2428 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2429 than getFromGUIName to manipulate the color.
2431 2003-12-14 Angus Leeming <leeming@lyx.org>
2433 * BranchList.[Ch]: minimize the API.
2434 (Branch::getBranch, getColor): now return a 'const &'.
2435 (Branch::setSelected) now returns a bool set to true if the
2436 selection status changes.
2437 (BranchList::clear, size, getColor, setColor, setSelected,
2438 allBranches, allSelected, separator): removed.
2439 (BranchList::find): new functions, returning the Branch with
2441 (BranchList::add, remove): return a bool indicating that
2442 the operation was successful.
2444 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2445 new InsetBranch::isBranchSlected member function.
2447 * LColor.[Ch]: mimimize the API.
2448 (fill): renamed as addColor and made private.
2449 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2450 versions of these functions taking a string arg have been removed.
2452 * bufferparams.C (readToken):
2453 * lyxfunc.C (dispatch):
2454 * lyxrc.C (read): changes due to the altered BranchList and
2457 * factory.C (createInset, readInset): changes due to altered
2460 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2463 * lyxfunc.C: remove insetminipage. "minipage-insert"
2464 now produces a frameless minipage box inset.
2466 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2468 * textcursor.[Ch] (selStart,selEnd): add new methods
2469 remove selection::start, end, use LyXCursor::operator<
2470 * lyxcursor.[Ch] (operator<): add
2471 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2472 * BufferView.[Ch] (unsetXSel): add
2473 * text2.C (clearSelection): use unsetXSel,adjust
2476 * rowpainter.C: adjust
2477 * bufferview_funcs.C (put_selection_at): adjust
2479 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2481 * BufferView_pimpl.C: small coord. correction
2483 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2485 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2486 dragging over the splash screen.
2488 2003-12-11 Angus Leeming <leeming@lyx.org>
2490 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2491 as it is now handled in LyXText::dispatch.
2493 * text3.C (doInsertInset): remove a level of nesting.
2495 2003-12-11 Angus Leeming <leeming@lyx.org>
2497 * factory.C (createInset): changes due to the changed interface to
2498 InsetCommandMailer::string2params.
2500 2003-12-10 Angus Leeming <leeming@lyx.org>
2502 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2503 'dialog-show-new-inset <inset name>'
2505 2003-12-10 Angus Leeming <leeming@lyx.org>
2507 * buffer.C: up the format to 227.
2509 * factory.C: the box inset is now identified simply by 'Box'.
2511 2003-12-10 Angus Leeming <leeming@lyx.org>
2513 * buffer.C: up the format to 226.
2515 * factory.C: the note inset is now identified simply by 'Note'.
2517 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2519 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2520 when a pit is enough. Standarize a couple of loops.
2522 2003-12-05 Angus Leeming <leeming@lyx.org>
2524 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2525 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2526 data to the re-worked "log" dialog.
2528 2003-12-03 André Pönitz <poenitz@gmx.net>
2534 * paragraph_funcs.C:
2536 * text2.C: use Inset::getText instead of Inset::getParagraph
2538 2003-12-03 André Pönitz <poenitz@gmx.net>
2542 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2543 InsetText::read() as LyXText::read()
2545 2003-12-02 Angus Leeming <leeming@lyx.org>
2547 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2548 type. Add a comment in the implementation that the function uses
2549 the stream's bad() function rather than fail() as the std::streams
2552 2003-12-02 André Pönitz <poenitz@gmx.net>
2554 * lyxlex.[Ch]: make interface more similar to std::stream
2556 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2558 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2560 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2562 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2564 * vspace.[Ch]: remove VSpace::NONE
2566 2003-12-01 André Pönitz <poenitz@gmx.net>
2569 * lyxtext.h: move ParagraphList member to LyXText
2570 rename LyXText::ownerParagraphs to LyXText::paragraph
2573 * bufferview_funcs.C:
2583 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2585 * undo.C: fix cursor positioning
2587 2003-12-01 John Levon <levon@movementarian.org>
2589 * BufferView_pimpl.C: fix a crash on exit with
2592 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2594 * BranchList.C: fix setSelected() method.
2596 2003-11-28 André Pönitz <poenitz@gmx.net>
2598 * ParagraphParameters.[Ch]:
2599 * ParameterStruct.h: remove space above/below from Paragraph to
2602 * BufferView_pimpl.C:
2608 * paragraph_funcs.C:
2614 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2616 * factory.C: Syntax change for CharStyles
2618 2003-11-28 André Pönitz <poenitz@gmx.net>
2623 * buffer.[Ch]: move LyXText member
2625 2003-11-28 André Pönitz <poenitz@gmx.net>
2627 * BufferView.[Ch]: make LyXText * text a private member
2629 * BufferView_pimpl.C:
2640 * output_plaintext.C: cleanup
2642 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2645 * lyxtextclass.[Ch]: parametrize SGML document header
2647 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2650 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2653 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2655 * text2.C (setFont): rework using PosIterator (no more recursive)
2656 (setCharFont): no more needed
2657 (setLayout): no more selection cursors fiddling (done by redoCursor)
2658 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2659 destroy remaining ones)
2661 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2663 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2665 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2668 * text3.C: adjust + re-allow multi par depth changes
2669 * textcursor.C: simplify a bit
2671 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2677 * src/output_docbook.C:
2678 * src/output_latex.C:
2683 * src/text2.C: Introducing a number of tags parametrizing various
2684 XML formats that we may want to support
2686 2003-11-25 André Pönitz <poenitz@gmx.net>
2688 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2690 * lyxtext.h (leftMargin/rightMargin): simplify interface
2697 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2699 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2700 master file to any child files. Fixes bug 546.
2702 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2704 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2706 2003-11-24 André Pönitz <poenitz@gmx.net>
2708 * rowpainter.C: simplification
2710 * text2.C (updateCounters): remove call to redoParagraph on
2711 changed labels as this is far too expensive.
2713 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2715 * converter.C (convert): fix a crash: this function gets
2716 called with buffer == 0 from importer code.
2718 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2720 * text3.C (cursorPrevious): make sure that we do not compare
2721 iterators form different containers.
2724 * rowpainter.C (paintSelection): make sure that we do not compare
2725 iterators from different containers.
2727 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2728 iterators from different ParagraphList containers.
2731 * text2.C (LyXText): change order of initialization slightly
2732 (operator=): new function. copy all variables except cache_par_
2733 (moveUp): make sure that we do not compare iterators from
2734 different ParagraphList constainers.
2737 * text.C (firstPar): new function
2738 (lastPar): new function
2739 (endPar): new function
2741 * lyxtext.h: move things around and group public functions, public
2742 variables, private functions, private variables
2744 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2746 * factory.C: change call to InsetERT constructor to avoid
2747 additional invocation of method status
2748 * text2.C (toggleInset): remove redundant update() call
2749 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2750 instead of a Bufferview pointer
2752 2003-11-21 André Pönitz <poenitz@gmx.net>
2754 * rowpainter.C: simplification
2756 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2758 * text3.C (dispatch): make possible to extend a word/row selection
2761 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2763 * lyxtext.h: x0_,y0_ -> xo_,yo_
2764 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2765 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2766 * rowpainter.C (paintRows): paint full paragraphs
2768 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2770 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2773 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2775 * lyxtext.h: add x0_, y0_
2776 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2777 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2779 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2781 * text2.C (setCursorIntern): move the x_target update here *
2782 * text3.C: change some bv() to true/false in calls to
2783 cursorUp/Down/Right/Left
2784 * cursor.C: use helper function.
2786 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2788 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2789 * paragraph_funcs.[Ch]: correct comment
2790 * rowpainter.C: do not paint selections away from bv->cursor()
2791 Fix a long standing selection painting bug.
2792 * text3.C: generalize mouse-selection code to LyXTexts other that
2794 * textcursor.C: do not use y coords if we can use par offsets
2796 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2798 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2799 cursor position after e.g. inset insert)
2801 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2803 * lyxfind.C (replace): adjust to locking removal + some
2806 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2808 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2811 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2814 * output_docbook.C: XML sanitation: new layout
2815 parameters InnerTag and CommandDepth
2817 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2819 * BufferView_pimpl.C:
2821 * text3.C: Fix the insertion and modification of button-style
2824 2003-11-13 André Pönitz <poenitz@gmx.net>
2826 * InsetList.[Ch]: remove deleteLyXText
2828 * paragraph.[Ch]: cache beginOfBody position
2833 * text3.C: remove superfluous update() calls
2837 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2839 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2840 * BufferView.C (fitLockedInsetCursor): remove
2841 * cursor.[Ch] (getDim): add
2842 * text.C (getRowNearY): add faster version
2843 * text3.C: remove some update calls
2845 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2857 * text3.C: The Character Style /XML short element patch.
2859 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2862 * factory.C: Small step to solving 'unable to insert some insets'
2865 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2867 * cursor.[Ch] (updatePos): new function for updating the y
2868 position of the tip inset
2869 * bufferview_funcs.C (put_selection_at):
2870 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2872 2003-11-11 André Pönitz <poenitz@gmx.net>
2874 * text.C: remove big comment on invalid Paragraph pointers as it is
2877 2003-11-11 André Pönitz <poenitz@gmx.net>
2879 * text_funcs.[Ch]: merge with ...
2887 * Makefile.am: remove text_funcs.[Ch]
2889 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2891 * cursor.C (getPos): return absolute cached y coord
2893 * BufferView_pimpl.C (fitCursor): new simplistic code
2894 (workAreaDispatch): add a fitCursor call
2896 2003-11-10 André Pönitz <poenitz@gmx.net>
2899 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2901 2003-11-10 André Pönitz <poenitz@gmx.net>
2903 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2904 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2905 indicate that the cursor needs to leave an inset
2907 * lyxtext.h: remove inset locking
2909 * cursor.[Ch]: re-implement functionality provided by inset locking
2912 * BufferView_pimpl.[Ch]:
2914 * bufferview_funcs.[Ch]:
2926 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2928 * PosIterator.[Ch]: replace the stack with a vector, add inset
2930 * iterators.[C]: adjust
2932 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2934 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2936 * paragraph_funcs.C (readParToken): put the correct id in the
2937 error item, not the id of the top paragraph
2939 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2941 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2942 * bufferview_funcs.C (put_selection_at): use the above
2944 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2946 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2948 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2950 * output_linuxdoc.h:
2951 * output_plaintext.h:
2953 * output_docbook.h: add #include statements
2955 2003-11-05 José Matos <jamatos@lyx.org>
2957 * output_docbook.[Ch]:
2958 * output_latex.[Ch]:
2959 * output_linuxdoc.[Ch]:
2960 * output_plaintext.[Ch]: New files for output formats.
2961 * output.[Ch]: New file for helper functions.
2964 * paragraph_funcs.[Ch]: output functions moved to new files.
2966 * outputparams.h: rename of latexrunparams.h
2974 * paragraph_funcs.[Ch]:
2975 * paragraph_pimpl.[Ch]:
2976 * tabular.[Ch]: rename ascii to plaintext
2977 and LatexRunParams to OutputParams.
2979 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2981 * iterators.[Ch] (text): require bv argument
2982 * undo.C (recordUndo):
2983 * lyxfunc.C (dispatch):
2984 * bufferview_funcs.C (put_selection_at): adjust
2986 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2988 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2990 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2992 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2995 2003-11-04 André Pönitz <poenitz@gmx.net>
2997 * cursor.[Ch]: restructure
3000 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3002 * iterators.[Ch] (asCursor): remove
3004 * lfuns.h: remove LFUN_INSET_EDIT
3010 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3012 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3014 * lyxfind.[Ch]: complete overhaul
3015 * BufferView_pimpl.C:
3017 * paragraph.[Ch] (insert): add
3019 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3023 * text.C: remove dead spellcheck code
3025 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3027 * dispatchresult.h: add a val setter
3029 * cursor.C (dispatch): use a tempvar for data_[i]
3031 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3033 * PosIterator.[Ch]: compile fix
3035 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3037 * text.C (cursorPar): deactivate the cursor cache
3039 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3041 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3043 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3045 * text3.C (dispatch): adjust for new DisptchResult semantics.
3047 * lyxfunc.C (dispatch): handle update when return from
3048 Cursor::dispatch, adjust for new DispatchResult semantics.
3050 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3051 DispatchResult(true) mean to not update. Add class functions for
3052 setting dispatched and update, as well as reading.
3054 * cursor.C (dispatch): don't handle update here
3056 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3058 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3059 * trans_mgr.C: adjust
3061 * paragraph_funcs.C (readParToken): exception safety
3063 * lyxvc.h: store the vcs pointer in a scoped_ptr
3066 * lyxsocket.C (serverCallback): exception safety
3068 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3070 * ispell.C (clone): make it return a auto_ptr
3072 * factory.C (createInset): exception safety
3073 (readInset): exception safety
3075 * bufferlist.C (newBuffer): exception safety
3077 * Thesaurus.C (Thesaurus): use initialization for aik_
3079 * MenuBackend.C (expandToc): exception safety.
3081 2003-11-03 André Pönitz <poenitz@gmx.net>
3085 * bufferview_funcs.C: remove getInsetFromId()
3088 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3094 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3096 * PosIterator.C (distance, advance): new
3097 * bufferview_funcs.[Ch] (put_selection_at): new
3098 * iterators.[Ch] (lockPath): new
3100 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3102 * iterators.[Ch] (asPosIterator): added
3103 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3104 * PosIterator.[Ch]: added
3106 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3110 * cursor.C (dispatch):
3111 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3113 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3114 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3115 contructor, add a class function dispatched. Remove operator>=
3117 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3119 * debug.C: only use the default constructor for debugstream
3122 * main.C (main): include debug.h and setup the lyxerr streambuf
3125 2003-10-31 José Matos <jamatos@lyx.org>
3127 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3129 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3130 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3131 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3132 * paragraph_pimpl.C (simpleTeXSpecialC):
3133 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3134 add LatexRunParams argument.
3136 * exporter.C (Export): change call accordingly.
3138 * latexrunparams.h: add new member to take care of the other backends.
3139 2003-10-30 José Matos <jamatos@lyx.org>
3141 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3142 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3143 factorise code for paragraph output.
3145 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3148 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3150 * text3.C (dispatch):
3151 * lyxfunc.C (dispatch):
3152 * cursor.C (dispatch):
3153 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3155 * dispatchresult.h: make the dispatch_result_t ctor explicit
3157 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3160 * buffer.C: small refactoring of docbook stuff
3162 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3164 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3167 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3170 operator dispatch_result_t, and operators for == != and >=
3172 * cursor.C (dispatch): adjust for operator dispatch_result_t
3173 removal. comment out call to update
3175 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3177 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3185 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3188 * dispatchresult.h: new file, DispatchResult broken out of
3191 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3193 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3195 * text.C (rowBreakPoint): put a hack inside #if 0
3197 2003-10-28 André Pönitz <poenitz@gmx.net>
3201 * paragraph_funcs.C:
3204 * text2.C: general cleanup (lots of small stuff)
3206 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3208 * text2.C (cursorEnd): simple fix to the "end key goes to one
3209 before the end on last row" bug
3211 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3213 * text.C (backspace): fix the "zombie characters"
3215 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3217 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3219 2003-10-27 André Pönitz <poenitz@gmx.net>
3221 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3223 * factory.C: handle new InsetPagebreak, InsetLine
3225 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3226 and move handling into new InsetPagebreak, InsetLine
3228 * BufferView_pimpl.C:
3230 * ParagraphParameters.C:
3231 * ParameterStruct.h:
3236 * paragraph_funcs.C:
3237 * paragraph_pimpl.C:
3243 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3246 * lyxrow_funcs.[Ch]:
3252 * text3.C: remove lastPos uses in favour of Row::endpos
3254 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3256 * undo.C (performUndoOrRedo): fix two crashes by setting a
3257 cursor by hand and reordering some calls. Use bv->lockInset instead
3258 of inset->edit because the latter loses cursor information
3260 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3262 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3264 (rowBreakPoint): fix width. change point to point + 1.
3265 Add a missing check.
3267 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3270 * lyxfunc.C: fix (at least partly) the problems
3271 with the Nav menu and headers inside branch insets
3274 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3276 * paragraph.C (getChar): add strong asserts
3278 * lyxrow_funcs.C (lastPos): remove hideous hack
3280 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3281 (fill): adjust to that (avoid an infinite loop)
3283 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3285 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3287 2003-10-23 André Pönitz <poenitz@gmx.net>
3289 * RowList_fwd.h: change list<> to vector<> to gain speed
3290 after suggestion from Alfredo
3292 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3294 * lyxtext.h: move the bidi stuff from here...
3297 * Bidi.[Ch]: ... to here
3299 2003-10-23 André Pönitz <poenitz@gmx.net>
3302 * text.C (isLastRow, isFirstRow): new functions
3304 * paragraph.h: new width cache member
3306 * rowpainter.C: replace RowList::iterator with Row & where possible
3308 * lyxfunc.C: replace several view()->text with a single call
3310 * toc.C: fix 'unused' warning
3312 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3314 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3315 when woring with stream::pos_type
3316 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3318 2003-10-22 André Pönitz <poenitz@gmx.net>
3321 * text.C: use Row & instead of RowList::iterator
3323 * lyxrow.h: rename end() to endpos()
3329 2003-10-22 Angus Leeming <leeming@lyx.org>
3331 * buffer.[Ch] (fully_loaded): new member function, returning true
3332 only when the file has been loaded fully.
3333 Used to prevent the premature generation of previews and by the
3334 citation inset to prevent computation of the natbib-style label.
3336 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3337 templates are all set up.
3339 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3341 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3343 * text.C: fixed an "oops" in the "is a bit silly"
3346 2003-10-21 André Pönitz <poenitz@gmx.net>
3348 * FuncStatus.[Ch]: small stuff, whitespace
3350 * lyxfont.[Ch]: operator<<() for debug reasons
3354 * lyxtext.h: whitespace, spelling
3356 * paragraph.C: naming of variables
3359 * text2.C: small stuff
3362 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3364 * text.C: (1) finish off the inset display() work;
3365 (2) fix the "is a bit silly" bug (accessing char
3368 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3370 * text.C: re-introduce display() for insets, fixing the
3371 various bugs (stretch of line above, math inset
3374 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3376 * text.C (rightMargin): remove spurious semicolon
3378 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3381 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3383 * text3.C: fix one crash due to wrong cursor def
3385 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3387 * vc-backend.C (scanMaster): make the regex static
3389 * LaTeX.C (scanAuxFile): make the regexs static
3391 * text3.C (doInsertInset, dispatch, dispatch):
3392 * text2.C (cursorUp, cursorDown):
3393 * text.C (selectNextWordToSpellcheck):
3394 * BufferView_pimpl.C (dispatch):
3395 * lyxfunc.C (dispatch): localDispatch -> dispatch
3397 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3399 * lyxsocket.C: include <cerrno>
3401 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3403 * lyxfunc.C (dispatch): remove textcache stuff
3405 * bufferlist.C (release): remove textcache stuff
3408 * TextCache.C: delete file
3409 * TextCache.h: delete file
3411 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3413 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3414 delete of the bv_->text.
3415 (resizeCurrentBuffer): remove texcache stuff
3416 (workAreaResize): ditto
3418 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3420 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3423 2003-10-16 André Pönitz <poenitz@gmx.net>
3430 * text3.C: speed up by storing y positions per paragraph plus per-row
3431 offset instead of having a 'full' y position in the row.
3433 2003-10-15 André Pönitz <poenitz@gmx.net>
3437 * undo.[Ch]: make undo aware of inner insets
3439 2003-10-14 Angus Leeming <leeming@lyx.org>
3441 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3442 static member functions LyX::ref() and LyX::cref.
3443 (lastfiles): new accessor functions for the new lastfiles_ member var.
3444 (addLyXView, views_): add a new LyXView to the list of views_.
3445 (updateInset): loop over all LyXViews to call their own updateInset
3446 member function, returning a pointer to the Buffer owning the inset.
3448 * BufferView_pimpl.C (loadLyXFile):
3449 * MenuBackend.C (expandLastfiles):
3450 * bufferlist.C (MenuWrite, QuitLyX):
3451 lastfiles is no longer a global variable.
3452 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3454 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3455 static function. Access through LyX::cref().emergencyCleanup().
3457 2003-10-14 André Pönitz <poenitz@gmx.net>
3459 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3461 * undo.[Ch]: restoring part of 'undo in insets'
3464 * undo_funcs.[Ch]: merge with undo.[Ch]
3466 * tabular.C: small cleansing stuff
3468 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3470 * paragraph_funcs.C (readParToken): report unknown insets as error
3471 boxes. Use the outer paragraph as location (also for unknown
3474 * factory.C (readInset): do not abort on reading an unknown inset.
3475 Eat it and return 0.
3477 2003-10-13 Angus Leeming <leeming@lyx.org>
3479 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3481 * lyxrc.C: displayTranslator is now a function,
3482 declared in GraphicsTypes.h.
3484 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3486 * format.C: new placeholder $$a to pass the socket address.
3488 * bufferlist.[Ch]: new function getBufferFromTmp.
3490 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3491 files in the temporary dir.
3493 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3495 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3497 * Makefile.am: add lyxsocket.[Ch].
3499 * lyx_main.C (error_handler): handle SIGPIPE.
3501 2003-10-13 André Pönitz <poenitz@gmx.net>
3503 * BufferView_pimpl.C:
3508 * undo_funcs.[Ch]: use paroffset_type instead of
3509 ParagraphList::iterators to prevent multiple conversion
3510 (and get a more robust interface)
3512 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3514 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3516 * text3.C (dispatch): ditto
3518 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3520 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3521 move the onlyfile, use onlyfile instead of foundfile in a couple
3524 * DepTable.C (update): flush the error stream a bit more
3526 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3528 * lyxserver.C (callback): adjust
3530 * lyxfunc.C (getStatus): add a missing brace in commented code
3531 (ensureBufferClean): reindent
3532 (dispatch): delete version taking a string
3534 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3536 * LaTeX.C (deplog): move found file handlig from here...
3537 (handleFoundFile): .. to new function here.
3538 (deplog): make sure to discover several files mentioned on the
3541 2003-10-10 André Pönitz <poenitz@gmx.net>
3548 * text3.C: fix some of the tabular crashes
3550 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3552 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3554 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3556 2003-10-09 André Pönitz <poenitz@gmx.net>
3558 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3561 * BufferView_pimpl.C:
3562 * bufferview_funcs.C:
3573 * undo_funcs.C: adjust
3575 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3577 * text2.C (incrementItemDepth): new function, use a backtracking
3578 algorithm to discover the correct item depth.
3579 (resetEnumCounterIfNeeded): new function, use a backtracking
3580 algorithm to discover if counter reset is needed.
3581 (setCounter): use them. Simplify a bit. Add different labels for
3582 different item depths for itemize.
3584 * paragraph.C (Paragraph): remove initialization of enumdepth
3587 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3588 enumerate and itemize. Change the type of itemdepth to signed char.
3590 2003-10-08 André Pönitz <poenitz@gmx.net>
3592 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3597 * tabular.[Ch]: fix crash after 'row-insert'
3599 2003-10-08 Angus Leeming <leeming@lyx.org>
3601 Fix doxygen warnings.
3603 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3604 Remove CutAndPaste:: prefix from header file declaration.
3606 * LColor.h (fill): remove LColor:: prefix from declaration.
3608 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3609 use lyx::depth_type rather than Paragraph::depth_type so that
3610 header file and .C file match.
3612 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3614 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3615 * aspell.C: \file aspell_local.C -> \file aspell.C
3616 * gettext.C: \file gettext.C -> \file src/gettext.C
3617 * gettext.h: \file gettext.h -> \file src/gettext.h
3618 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3619 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3620 * text.C: \file text.C -> \file src/text.C
3622 * toc.C: move comment so that doxygen is not confused.
3624 2003-10-07 Angus Leeming <leeming@lyx.org>
3626 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3628 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3631 * aspell_local.h: add forgotten std::string's.
3633 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3640 * text3.C: The Box patch. Fancybox support, minipage, parbox
3642 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3648 * ParagraphParameters.h:
3658 * lyxtextclasslist.h:
3661 * paragraph_pimpl.C:
3662 * textcursor.h: add <string> and other small fixes to make Lars'
3663 std::string patch compile with STLport.
3665 2003-10-06 Angus Leeming <leeming@lyx.org>
3667 * LColor.h: Add missing #include <string>.
3669 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3671 * All most all file in all subdirs: Make <string> be the prefered
3672 way of getting to std::string, add using declarations.
3674 2003-10-06 André Pönitz <poenitz@gmx.net>
3676 * metricsinfo.C: initialize LyXFont before changing attribute.
3677 (fixes the 'math in \emph is upright' bug)
3679 2003-10-06 André Pönitz <poenitz@gmx.net>
3681 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3683 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3686 * paragraph_pimpl.C: Small fixes to build using STLport
3688 2003-10-02 André Pönitz <poenitz@gmx.net>
3691 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3693 2003-10-01 André Pönitz <poenitz@gmx.net>
3695 * factory.C: assert early
3697 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3699 * lyx_main.C: remove the global debug object
3701 * debug.h: adjust for new debugstream
3703 * debug.C: adjust for new debugstream and keep the global debug
3706 2003-09-22 Angus Leeming <leeming@lyx.org>
3708 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3709 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3710 an incomplete class LyXFont.
3712 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3714 * factory.C: bug fix in branches
3716 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3718 * lyxfunc.C (processKeySym): adjust
3720 (dispatch): change arg name from ev to func, adjust
3721 (sendDispatchMessage): ditto
3723 * lyx_main.C (defaultKeyBindings): adjust keybindings
3724 (deadKeyBindings): ditto
3726 * kbsequence.C (addkey): return a FuncRequest
3728 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3730 * kbmap.C (bind): take a FuncRequest as arg, adjust
3733 (defkey): change to take a FuncRequest as arg, adjust
3734 (findbinding): take a FuncRequest as arg, adjust.
3736 * funcrequest.h (operator=): added
3738 * funcrequest.C (FuncRequest): default kb_action changed from
3739 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3741 * buffer.C (dispatch): simplify
3742 (dispatch): adjust to take a FuncRequest as arg, adjust
3744 * boost.C (assertion_failed): change assertion message slightly
3746 * ToolbarBackend.C (read): simplify
3748 * MenuBackend.C (binding): adjust call to findbinding, add a
3749 message if no binding is found.
3751 (expandToc): correct by adding a empty FuncRequest
3753 * LyXAction.C: include <boost/assert.hpp>
3754 (isPseudoAction): delete function
3755 (LookupFunc): change name to...
3756 (lookupFunc): this. change return type to FuncRequest.
3757 (getActionName): take kb_action as arg, simplify
3758 (funcHasFlag): add an assert, simplify.
3760 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3762 * toc.C (action): return a FuncRequest, simplify
3764 * lyxfunc.C (processKeySym): adjust
3765 (getStatus): delete version that takes an int.
3767 (dispatch): delete version that takes action as int
3769 (sendDispatchMessage): simplify and adjust
3771 * funcrequest.C (getArg): take unsigned int as arg
3773 * ToolbarBackend.C (read): adjust
3774 (add): delete version that takes func as a string.
3775 (getIton): take a FuncRequest as arg
3777 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3780 * MenuBackend.C (MenuItem): add a new construct that only takes a
3781 Kind, simplify the constructor use for submenus.
3783 (expandLastfiles): adjust
3784 (expandDocuments): adjust
3785 (expandFormats): adjust
3786 (expandFloatListInsert): adjust
3787 (expandFloatInsert): adjust
3788 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3790 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3791 Remove class variables lyx_pseudo_map and lyx_arg_map
3793 * LyXAction.C (searchActionArg): delete function
3794 (getPseudoAction): delete function
3795 (retrieveActionArg): delete function
3796 (LookupFunc): make it return kb_action, simplify.
3797 (getActionName): simplify
3799 * factory.C (createInset): fix new bug
3801 2003-09-19 Angus Leeming <leeming@lyx.org>
3803 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3804 masterFilename_ parameter in the include inset.
3806 * factory.C (createInset): changes due to the changes to InsetInclude.
3808 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3810 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3812 2003-09-18 Angus Leeming <leeming@lyx.org>
3815 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3816 Inset::fillWithBibKeys.
3817 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3819 2003-09-18 Angus Leeming <leeming@lyx.org>
3821 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3823 (ctor): pass and store a 'Buffer const &'
3824 (buffer): new member function.
3826 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3827 '*this' to the LaTeXFeatures ctor.
3829 2003-09-18 Angus Leeming <leeming@lyx.org>
3835 * text.C: rename EnumLColor as LColor_color.
3837 2003-09-18 Angus Leeming <leeming@lyx.org>
3839 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3840 remove #include "insets/insetbase.h" from cursor.h.
3842 2003-09-18 Angus Leeming <leeming@lyx.org>
3844 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3845 InsetOld_code to remove #include "inset.h".
3847 * iterators.C: add #include "insets/inset.h"
3849 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3851 * BufferView.C: remove more locking stuff that apparently doesn't
3852 do anything sensible.
3854 2003-09-16 André Pönitz <poenitz@gmx.net>
3857 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3860 2003-09-16 Angus Leeming <leeming@lyx.org>
3862 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3864 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3867 * paragraph.h: remove #include "lyxfont.h". Forward declare
3870 2003-09-16 Angus Leeming <leeming@lyx.org>
3872 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3873 of support/textutils.h.
3874 (isWord): move the contents of support/textutils.h's IsWordChar here.
3880 * text2.C: add #include "paragraph.h".
3883 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3885 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3891 * LaTeX.C: use namespace alias for lyx::support::os
3893 2003-09-16 Angus Leeming <leeming@lyx.org>
3896 * bufferview_funcs.C:
3899 * paragraph_pimpl.C:
3901 * text.C: add #include "LColor.h".
3903 2003-09-16 Angus Leeming <leeming@lyx.org>
3905 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3906 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3908 Store the FontBits::color variable as an int rather than as an
3909 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3912 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3913 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3914 string calls together.
3916 * lyxrc.C: add #include "LColor.h".
3918 2003-09-15 Angus Leeming <leeming@lyx.org>
3920 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3923 2003-09-15 Angus Leeming <leeming@lyx.org>
3925 * LColor.h: add an EnumLColor wrapper for LColor::color.
3927 * lyxfont.[Ch] (color, setColor, realColor):
3928 * lyxtext.h, text.C (backgroundColor):
3929 pass EnumLColor args to/from the functions, rather than LColor::color
3933 * lyxtext.h: forward declare EnumLColor.
3935 * lyx_main.C: add #include "LColor.h".
3937 2003-09-15 Angus Leeming <leeming@lyx.org>
3939 * .cvsignore: add lyx-gtk.
3941 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3946 * ParagraphParameters.C
3950 * bufferview_funcs.C
3960 * vc-backend.C: remove usage of STRCONV
3962 2003-09-15 Angus Leeming <leeming@lyx.org>
3964 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3965 explicitly define the color passed to the painter.
3967 2003-09-15 Angus Leeming <leeming@lyx.org>
3969 * bufferparams.C (BufferParams): reorder member initializers to avoid
3972 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3974 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3975 * text.C (updateRowPositions): remove an unusual nop
3977 2003-09-12 André Pönitz <poenitz@gmx.net>
3979 * BufferView_pimpl.C:
3988 * Counters.[Ch]: finish the 'automatic counters' job
3990 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3992 * aspell.C: include <boost/assert.cpp> (compile fix)
3994 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3996 * boost.C (assertion_failed): use lyx::support::abort instead of
3999 2003-09-10 Angus Leeming <leeming@lyx.org>
4001 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4002 with their _fwd progeny.
4004 2003-09-09 Angus Leeming <leeming@lyx.org>
4006 134 files throughtout the source tree: replace 'using namespace abc;'
4007 directives with the appropriate 'using abc::xyz;' declarations.
4009 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4011 * boost.C (emergencyCleanup): moved here from LAssert.c
4012 (assertion_failed): new function, called by BOOST_ASSERT
4014 * several files: change Assert to BOOST_ASSERT
4016 2003-09-09 Angus Leeming <leeming@lyx.org>
4018 * buffer.[Ch]: Add an Impl class and move Buffer's member
4019 variables into it. As a result move several header files out of
4022 Add header files to lots of .C files all over the tree as a result.
4024 2003-09-09 Angus Leeming <leeming@lyx.org>
4026 * buffer.[Ch]: make Buffer's member variables private. Add
4029 Lots of changes all over the tree as a result.
4031 2003-09-08 Angus Leeming <leeming@lyx.org>
4033 * graph.C: #include <config.h>.
4035 2003-09-08 Angus Leeming <leeming@lyx.org>
4039 * BufferView_pimpl.C:
4068 * toc.C: remove redundant using directives.
4070 2003-09-07 Angus Leeming <leeming@lyx.org>
4072 * LaTeXFeatures.h: remove #include "support/types.h".
4073 * ToolbarBackend.h: remove #include <algorithm>.
4074 * changes.h: remove #include <ctime>.
4075 * debug.h: remove #include <iosfwd>.
4076 * graph.h: remove #include "support/std_string.h".
4077 * lyx_main.h: remove #include <csignal>.
4078 * lyxlex_pimpl.h: remove #include <fstream>.
4079 * sgml.h: remove #include <algorithm>, <utility>.
4080 * toc.h: remove #include "support/std_ostream.h".
4081 Add #include <iosfwd>.
4083 2003-09-07 Angus Leeming <leeming@lyx.org>
4085 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4087 * converter.h: forward declare LatexRunParams.
4088 * encoding.h: remove #include "lyxrc.h".
4089 * lyxtext.h: remove #include "LColor.h".
4090 * lyxtextclass.h: remove #include "support/types.h".
4091 * trans.h: remove #include "tex-accent.h".
4092 * trans_mgr.h: remove #include "tex-accent.h".
4093 * insets/inset.h: remove #include "support/types.h", <vector>.
4094 * insets/insetcollapsable.h: remove #include "LColor.h".
4095 * insets/insetinclude.h: remove #include "dimension.h".
4096 * insets/insetlatexaccent.h: remove #include "dimension.h".
4097 * insets/insetoptarg.h:: remove #include "insettext.h".
4098 * insets/insettext.h: remove #include "dimension.h",
4099 <boost/shared_ptr.hpp>
4101 * insets/renderers.h: add #include "dimension.h".
4102 * insets/updatableinset.h: add #include "support/types.h".
4104 * many .C files: Associated changes.
4106 2003-09-06 Angus Leeming <leeming@lyx.org>
4108 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4109 one, inside testInvariant.
4111 * PrinterParams.C: new file.
4112 * PrinterParams.[Ch]: move the function bodies out of line.
4114 2003-09-06 Angus Leeming <leeming@lyx.org>
4116 * ParagraphParameters.h: forward declare ParameterStruct rather than
4117 including its header file.
4118 (depth): moved out-of-line.
4120 2003-09-06 Angus Leeming <leeming@lyx.org>
4122 * BufferView_pimpl.h:
4125 * lyxfunc.h: forward declare LyXKeySym rather than
4126 #include "frontends/LyXKeySym.h".
4128 * BufferView_pimpl.C:
4131 * lyxfunc.C: associated changes.
4133 2003-09-06 Angus Leeming <leeming@lyx.org>
4135 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4136 As a result, can remove the #include "insets/inset.h" from BufferView.h
4138 2003-09-06 Angus Leeming <leeming@lyx.org>
4140 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4141 As a result, can remove the #include "insets/inset.h" from BufferView.h
4143 2003-09-06 Angus Leeming <leeming@lyx.org>
4149 * bufferview_funcs.C:
4150 * BufferView_pimpl.C:
4155 * ParagraphParameters.C:
4160 * frontends/controllers/ControlDocument.C:
4161 * insets/insetcaption.C: rearrange the #includes into some sort of
4164 * buffer.h: remove #includes ErrorList.h, undo.h
4166 2003-09-06 Angus Leeming <leeming@lyx.org>
4168 * support/types.h: add a 'depth_type' typedef, used to store the
4169 nesting depth of a paragraph.
4172 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4173 defining explicitly.
4176 * paragraph_funcs.h:
4177 * ParagraphParameters.h:
4178 * sgml.h: use lyx::depth_type rather than Paragraph or
4179 ParameterStruct's depth_type.
4182 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4185 * BufferView_pimpl.C:
4187 * ParagraphParameters.C:
4190 * bufferview_funcs.C:
4197 * frontends/LyXView.C:
4198 * frontends/controllers/ControlDocument.C:
4199 * frontends/controllers/ControlErrorList.C:
4200 * insets/insetbibitem.C:
4201 * insets/insetbranch.C:
4202 * insets/insetcaption.C:
4203 * insets/insetcollapsable.C:
4204 * insets/insetenv.C:
4205 * insets/insetert.C:
4206 * insets/insetfloat.C:
4207 * insets/insetfoot.C:
4208 * insets/insetfootlike.C:
4209 * insets/insetnewline.C:
4210 * insets/insetquotes.C:
4211 * insets/insettabular.C:
4212 * insets/insettext.C:
4213 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4215 * frontends/controllers/ControlChanges.C: #include "changes.h".
4217 2003-09-06 Angus Leeming <leeming@lyx.org>
4219 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4220 than #including paragraph.h.
4223 * RowList.h: deleted. Superfluous.
4233 * insets/insettext.h: use ParagraphList_fwd.h rather than
4236 * paragraph.h: don't forward declare ParagraphList.
4239 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4240 rather than ParagraphList.h. paragraph.h is still needed for the
4241 Paragraph::depth_type parameters.
4243 * textcursor.h: enable it to compile stand-alone in light of the
4246 * bufferview_funcs.C:
4258 * frontends/controllers/ControlParagraph.C:
4259 * frontends/controllers/ControlTabular.C:
4260 * insets/insetmarginal.C:
4261 * insets/insetminipage.C:
4262 * insets/insetnote.C:
4263 * insets/insetoptarg.C: add header files needed to compile again.
4265 2003-09-06 Angus Leeming <leeming@lyx.org>
4267 * RowList_fwd.h: new file, forward-declaring Row rather than
4268 #including lyxrow.h.
4273 * insets/insettext.h: use it instead of RowList.h
4275 * bufferview_funcs.C:
4282 * text3.C: #include "RowList.h".
4284 2003-09-05 Angus Leeming <leeming@lyx.org>
4286 * factory.C (createInset):
4287 * vspace.C (c-tor): replace sscanf call with an istringstream.
4288 * ispell.C: re-add missing HP/UX headers.
4289 * lyxserver.C: re-add missing os2 headers.
4291 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4300 * text3.C: re-add missing system headers, needed for 2.95.2.
4302 2003-09-05 Angus Leeming <leeming@lyx.org>
4304 Changes most place everywhere due to the removal of using directives
4305 from support/std_sstream.h.
4307 2003-09-05 Angus Leeming <leeming@lyx.org>
4309 Replace LString.h with support/std_string.h,
4310 Lsstream.h with support/std_sstream.h,
4311 support/LIstream.h with support/std_istream.h,
4312 support/LOstream.h with support/std_ostream.h.
4314 Changes resulting throughout the tree.
4316 2003-09-05 Angus Leeming <leeming@lyx.org>
4318 * sgml.h: ensure that the header file can be compiled stand-alone.
4319 * *.C: strip out redundant #includes. (320 in total.)
4321 2003-09-04 Angus Leeming <leeming@lyx.org>
4323 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4324 here (from getPackages).
4326 * debug.[Ch]: add a new EXTERNAL tag.
4328 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4330 * text2.C (cursorEnd): simplify
4332 (getColumnNearX): adjust
4334 * text.C (computeBidiTables): adjust
4337 * rowpainter.C (paintChars): adjust
4338 (paintSelection): adjust
4339 (paintChangeBar): adjust
4342 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4344 (numberOfSeparators): adjust
4346 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4352 * text3.C: Restricts the mouse click functionality
4353 of insets like bibtex, include, toc and floatlist to the visible
4354 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4355 up the dialogs. Cursor has to be in front of the inset (i.e.
4356 start of row) for this to function.
4358 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4360 * bufferview_funcs.C (currentState): output row information
4362 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4364 * bufferview_funcs.C (currentState): output paragraph position
4366 2003-09-04 Angus Leeming <leeming@lyx.org>
4368 * FloatList.h: move out #include "Floating.h".
4369 * LaTeX.h: move out #include "DepTable.h".
4370 * LyXAction.h: move out #include "funcrequest.h".
4371 * buffer.h: move out #include "author.h", "iterators.h".
4372 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4373 * lyx_main.h: move out #include "errorlist.h".
4374 * lyxfunc.h: move out #include "FuncStatus.h".
4375 * lyxtext: move out #include "lyxcursor.h".
4376 * paragraph_pimpl.h: move out #include "counters.h".
4378 2003-09-03 Angus Leeming <leeming@lyx.org>
4380 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4381 preamble_snippets list, enabling us to add snippets to the preamble
4382 only if the snippet was not there already.
4384 2003-09-04 Angus Leeming <leeming@lyx.org>
4386 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4388 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4390 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4393 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4395 * BranchList.C: point fix, earlier forgotten
4397 2003-09-02 Angus Leeming <leeming@lyx.org>
4399 * box.C (contains): renamed from 'contained' after a fantastic
4402 2003-09-02 John Levon <levon@movementarian.org>
4408 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4410 2003-09-02 John Levon <levon@movementarian.org>
4412 * text2.C: simplification of cursorEnd(), including partial
4415 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4417 * buffer.C (readFile): add a space
4419 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4421 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4423 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4425 * buffer.C (readFile): new function, take a filename and a
4426 ParagraphList::iterator
4428 (readFile): adjust, make it private. don't use setStream, make
4429 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4430 always contain the filename.
4432 * BufferView.C (insertLyXFile): simplify and make it work for
4435 2003-08-30 John Levon <levon@movementarian.org>
4437 * Makefile.am: fix dist (from Kayvan)
4439 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4441 * most files: change to use const Buffer refs
4443 2003-08-27 André Pönitz <poenitz@gmx.net>
4445 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4446 on top of ownerPar().
4448 2003-08-27 John Levon <levon@movementarian.org>
4450 * funcrequest.C: properly initialise POD members
4452 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4454 * lyxtext.h (top_y): move top_y from here
4459 * BufferView_pimpl.[Ch]: to here
4460 * frontends/screen.C:
4461 * insets/insettabular.C:
4462 * insets/insettext.C: adjust
4463 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4465 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4468 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4470 2003-08-26 André Pönitz <poenitz@gmx.net>
4472 * paragraph_func.[Ch] (outerPar): new function
4475 * paragraph_funcs.C:
4476 * paragraph_funcs.h:
4477 * paragraph_pimpl.C:
4478 * text2.C: remove Inset::par_owner
4480 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4485 * text2.C: eliminates the needFullRow/display() stuff
4486 altogether, putting the logic in metrics/draw in the insets.
4488 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4490 * text2.C (redoParagraphInternal, redoParagraphs):
4491 * text.C (redoParagraph): add a call to updateRowPositions at the
4492 end of each 'metrics-like' call. Remove all others.
4493 (getRow): remove the 'y-computing' version.
4494 (getRowNearY): do not compute nor return the real y. Solve the
4495 'y < 0' problem and simplify.
4497 2003-08-22 Angus Leeming <leeming@lyx.org>
4499 * *.[Ch]: clean-up of licence and author blurbs.
4500 Also move config.h out of a few .h files and into a few .C files.
4502 2003-08-22 André Pönitz <poenitz@gmx.net>
4504 * lyxrow.[Ch]: add x_ and *fill_ members
4509 * text2.C: adjust/remove prepareToPrint() calls
4511 2003-08-22 André Pönitz <poenitz@gmx.net>
4513 * lyxrow.[Ch]: add end_ member
4515 * lyxrow_funcs.C: use LyXRow::end_
4517 * lyxtext.h (singleWidth): add LyXFont parameter
4520 * text2.C: adjust LyXText::singleWidth() calls
4522 * text.C (redoParagraph): simplify row breaking logic
4525 2003-08-19 André Pönitz <poenitz@gmx.net>
4527 * funcrequest.C: initialize button_ member
4530 * rowpainter.[Ch]: interface consolidation
4532 2003-08-18 André Pönitz <poenitz@gmx.net>
4535 * BufferView_pimpl.C:
4537 * paragraph_funcs.C:
4539 * text3.C: remove LyXScreen::draw() and fitCursor calls
4541 * BranchList.h: remove spurious semicolons
4543 * MenuBackend.C: fix branchlist related crash
4545 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4553 * bufferparams.[Ch]:
4557 * text3.C: implements the 'branch inset'
4558 idea. This allows the output of various versions of a document
4559 from a single source version, selectively outputing or suppressing
4560 output of parts of the text.
4561 This implementation contains a 'branch list editor' in a separate
4562 tab of the document settings dialog. Branches are user definable
4563 and have a "display colour" to distinguish them on-screen.
4565 ColorHandler was somewhat cleaned up.
4566 (1) make possible a dynamically growing LColor list by allowing
4567 the graphic context cache to grow along (vector);
4568 (2) eliminate an IMHO unnecessary step in colour allocation.
4570 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4572 * BufferView_pimpl.C: compile fix
4574 2003-08-15 André Pönitz <poenitz@gmx.net>
4576 * rowpainter.C: remove extra metrics calls
4578 * lyxtext.h: merge the two constructors into a single one,
4579 pass reference to owner's par list
4581 * BufferView_pimpl.C:
4585 2003-08-15 André Pönitz <poenitz@gmx.net>
4587 * lyxrow_funcs.[Ch]:
4590 * paragraph_funcs.C:
4595 * text_funcs.C: split LyXText::rowlist_ into individual
4596 Paragraph::rows_ chunks
4599 * BufferView_pimpl.[Ch]:
4602 * text3.C: remove toggleSelection()
4604 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4606 * bufferlist.C: beautify two alerts (shorter text of buttons)
4607 * buffer.C: Remove redundant ' ' from message
4609 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4610 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4611 rename VALIGN_CENTER to VALIGN_MIDDLE
4613 2003-08-11 André Pönitz <poenitz@gmx.net>
4615 * lyxtext.h (getPar):
4616 * text.C: new function
4618 2003-08-11 André Pönitz <poenitz@gmx.net>
4621 * tracer.[Ch]: remove unneeded files
4623 * InsetList.[Ch]: remove resizeInsetsLyXText()
4628 * text3.C: merge insertParagraphs() and appendParagraph()
4629 remove breakAgain(), update()
4631 * BufferView_pimpl.[Ch]:
4632 * bufferview_funcs.[Ch]:
4636 * tabular.C: adjust after text & InsetList changes.
4638 2003-08-08 André Pönitz <poenitz@gmx.net>
4640 * text.C (insertChar, backspace): replace rowlist fiddling
4641 with rebreak of full par
4644 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4645 checkParagraph, updateInset): removed
4647 2003-08-07 André Pönitz <poenitz@gmx.net>
4650 * text3.C: merge some LFUN handlers, remove dead code
4652 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4654 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4656 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4658 * text2.C (DEPM): fix part of bug 1255 and 1256
4660 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4662 * BufferView_pimpl.C (workAreaDispatch): change to use
4663 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4664 that are no mouse related.
4666 2003-08-05 André Pönitz <poenitz@gmx.net>
4669 * BufferView_pimpl.[Ch]:
4670 * bufferview_funcs.C:
4672 * text3.C: rip out "deep update"
4674 * textcursor.[Ch] (last_sel_cursor): remove unused member
4676 2003-08-04 André Pönitz <poenitz@gmx.net>
4679 * BufferView_pimpl.[Ch]:
4680 * ParagraphParameters.C:
4681 * bufferview_funcs.C:
4687 * text3.C: replace "complicated" BufferView::update(...) calls with
4690 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4692 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4694 * Makefile.am (lyx_SOURCES): add paper.h
4696 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4698 * Makefile.am: move things around so that both lyx-qt and
4699 lyx-xforms can be built (according to --with-frontend). Then lyx
4700 is a symbolic link to lyx-[firstfrontend]
4702 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4704 * Always use std::endl with lyxerr
4706 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4708 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4710 2003-08-01 André Pönitz <poenitz@gmx.net>
4713 * BufferView_pimpl.[Ch]:
4715 * text3.C: merge BufferView::repaint() and BufferView::update()
4717 2003-08-01 José Matos <jamatos@lyx.org>
4719 * buffer.[Ch]: file_format is no longer a buffer data element.
4721 2003-08-01 André Pönitz <poenitz@gmx.net>
4726 * text2.C: make redoParagraph more independent of current cursor
4728 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4730 * text2.C: remove unneeded members
4732 2003-07-30 André Pönitz <poenitz@gmx.net>
4734 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4736 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4737 create a single function...
4739 * paragraph_funcs.C (moveItem): ... here.
4742 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4744 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4746 * LColor.[Ch]: Add comment and greyedout logical colors.
4748 2003-07-30 André Pönitz <poenitz@gmx.net>
4750 * tabular.C: don't use Assert too heavily. This crashes where it
4753 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4755 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4756 is disabled (bug 1232)
4758 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4760 * factory.C: limited 'arg' scope
4762 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4764 * factory.C: fixed Note submenu issues
4766 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4768 * factory.C: submenu for Note/Comment/Greyedout
4770 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4773 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4775 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4778 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4779 greyedout. Patch provided by Jürgen Spitzmüller.
4781 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4783 * kbmap.C (read): fix error message when reading bind files
4785 2003-07-29 Angus Leeming <leeming@lyx.org>
4787 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4788 certainly does not do what it purports to do. I am doing it, and
4789 us, a favour by killing it.
4791 2003-07-28 José Matos <jamatos@lyx.org>
4793 * buffer.C (readBody, do_writeFile):
4794 * paragraph.C(readParagraph): \end_document replaces \the_end.
4796 2003-07-29 André Pönitz <poenitz@gmx.net>
4799 * BufferView_pimpl.[Ch]:
4803 * textcursor.[Ch]: remove toggleToggle & Co
4805 2003-07-28 José Matos <jamatos@fep.up.pt>
4807 * buffer.C (readParagraph):
4808 * params_func (readParToken, readParagraph):
4809 * paragraph.C (write): \layout -> \begin_layout.
4811 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4813 * lyxlex_pimpl.C (setFile): clean up slightly.
4815 * bufferparams.h: add compressed var
4817 * buffer_funcs.C (readFile): adjust for LyXLex change
4818 (newFile): ditto + simplify
4820 * buffer.C (writeFile): handle writing of compressed files
4822 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4823 Check if the file is compressed and set a bufferparm if so.
4825 * Makefile.am (lyx_LDADD): remove explicit -lz
4827 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4829 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4830 makeDocBookFile): put the real LyX version in the first line of
4834 * version.C.in: remove lyx_docversion
4836 * tabular.C (write_attribute): add a template-based version to
4837 write enums properly
4839 2003-07-28 André Pönitz <poenitz@gmx.net>
4844 * text3.C: use doubles again for x-coordinates. They are needed.
4846 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4848 * messages.C (getLocaleDir): use lyx_localedir()
4850 * lyxlex_pimpl.C (setFile): compress stuff
4852 * buffer.C (writeFile): add some compression stuff
4853 (do_writeFile): new func, dont call expliti close... will this
4856 * Makefile.am (lyx_LDADD): add -lz
4858 2003-07-28 José Matos <jamatos@fep.up.pt>
4860 * buffer.C: increment file format.
4861 * paragraph_funcs (readParagraph, readParToken):
4862 * paragraph.C (readParagraph): add \end_layout.
4864 2003-07-27 Angus Leeming <leeming@lyx.org>
4866 * Makefile.am: remove special casing for configure-time setting of
4867 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4869 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4870 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4872 2003-07-26 André Pönitz <poenitz@gmx.net>
4874 * paragraph_func.[Ch]:
4875 * paragraph.C (realizeFont): inline it whereever it is used
4880 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4883 2003-07-26 André Pönitz <poenitz@gmx.net>
4887 * text2.C: get rid of LyXText::need_break_row
4889 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4891 * toc.[Ch]: put namespace toc inside namespace lyx
4893 * MenuBackend.C (expandToc2): adjust for lyx::toc
4896 * lyxfunc.C (dispatch): adjust for lyx::find
4898 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4899 lyx::find instead. Reorganize a bit.
4900 (LyXReplace): rename to replace
4901 (LyXFind): rename to find
4903 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4906 2003-07-26 André Pönitz <poenitz@gmx.net>
4908 * text.C (setHeightOfRow): restrict scope of temporary variable
4910 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4911 code (never has been used?)
4913 2003-07-27 Asger Alstrup <alstrup@local>
4915 * text.C (fill): Optimise algorithm to exploit that we can reuse
4916 the LyXFont for many characters.
4917 (setHeightOfRow): Same thing.
4918 (rowBreakPoint): Same thing.
4920 2003-07-26 Asger Alstrup <alstrup@local>
4922 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4924 * text.C (singleWidth): Spurious font copying in hot-spot
4925 singleWidth avoided. Reorder tests for arabic for efficiency.
4927 * text.C (fill): handle empty paragraphs better.
4929 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4932 * encoding.h: add includes
4934 * lyxrc.C: remove reading of bind files
4936 * lyx_main.C (init): setup bindings and menus only if we have a
4939 * kbmap.C (read): new method. Do the actual reading of bind
4942 * converter.C (dvipdfm_options):
4945 (output): adapt PAPER_* enums.
4947 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4949 * bufferparams.h: remove paper-related enums from there
4951 * paper.h: New file. A trivial header file to hold paper-related
4952 enums. It should later expand to contain many paper-related
4955 * lyxrc.C: declare extern displayTranslator
4957 2003-07-27 José Matos <jamatos@fep.up.pt>
4959 * tabular.[Ch] (linuxdoc): add support for tables and figures
4962 2003-07-27 José Matos <jamatos@fep.up.pt>
4964 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4965 consistency in both functions.
4966 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4968 2003-07-26 Asger Alstrup <alstrup@local>
4970 * rowpainter.C (paintRows): Change algorithm to work directly on
4971 the insets rather than asking every character in the document
4972 whether its an inset.
4974 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4976 * buffer.C (openFileWrite): factorize some code
4978 2003-07-26 Angus Leeming <leeming@lyx.org>
4981 * lyx_main.[Ch]: replace occurances of system_tempdir with
4984 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4986 * rename Inset to InsetOld
4988 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4990 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4991 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4992 which I think is a bit clearer. EDIT is gone, since it was
4993 premature optimisation, and broken for mathed anyway.
4994 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4995 with cursor positioning in insets as well (math insets still do not
4996 work, but that's a different story anyway.) It mysteriously
4997 crashes sometimes with undo in the first paragraph, but I'm fairly
4998 confident that this is a compiler bug.
5000 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5002 * paragraph.C (Paragraph): adjust for new clone return type
5004 (copyIntoMinibuffer): ditto
5006 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5008 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5009 by not having a special case, and always doing a full rebreak of
5010 the document after undo.
5012 2003-07-23 Angus Leeming <leeming@lyx.org>
5014 * factory.C (createInset): InsetExternal::setParams now takes a
5017 2003-07-23 Angus Leeming <leeming@lyx.org>
5019 * factory.C (createInset): changed interface to the external and
5020 graphics mailers' string2params functions.
5022 2003-07-23 Angus Leeming <leeming@lyx.org>
5024 * factory.C (createInset): pass a
5025 Buffer const * parameter to InsetExternalMailer's string2params.
5027 2003-07-22 John Levon <levon@movementarian.org>
5029 * Thesaurus.h: include the right aiksaurus header
5031 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5033 * MenuBackend.C (expand): check menu shortcuts unconditionally
5035 2003-07-21 Angus Leeming <leeming@lyx.org>
5037 * factory.C (createInset): pass a
5038 buffer_path parameter to InsetGraphicsMailer's string2params.
5040 2003-07-21 Angus Leeming <leeming@lyx.org>
5042 * BufferView_pimpl.C (buffer):
5045 * lyxfunc.C (dispatch):
5046 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5047 rather than the grfx shortcut.
5049 2003-07-21 André Pönitz <poenitz@gmx.net>
5051 * rowpainter.C: remove unused variables
5054 * tabular_funcs.h: move to tabular.C
5055 * Makefile.am: adjust
5057 * tabular.[Ch]: basic optical cleaning
5059 * author.h: pass references, not values
5061 2003-07-18 André Pönitz <poenitz@gmx.net>
5069 * text3.C: two-phase drawing for InsetText and InsetTabular
5070 some float -> int changes.
5072 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5074 * lyx_main.C: fix the fix
5076 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5078 * lyx_main.C: fix a crash in batch mode if no files specified
5081 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5083 * format.[Ch] (papersize): moved to BufferParams
5084 * converter.[Ch] (dvips_options): moved to BufferParams
5085 (dvipdfm_options): moved to anon namespace
5086 * bufferparams.[Ch]: added above functions.
5088 2003-07-17 André Pönitz <poenitz@gmx.net>
5092 * text2.C: don't call inset->update() anymore
5094 * metricsinfo.[Ch]: add convenience constructor
5096 2003-07-16 André Pönitz <poenitz@gmx.net>
5101 * text2.C: replace the LyXCursor::irow_ member with
5102 on-demand computation of the value
5104 2003-07-16 John Levon <levon@movementarian.org>
5106 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5108 2003-07-15 André Pönitz <poenitz@gmx.net>
5111 * text2.C: remove no more needed refresh_row
5113 2003-07-15 André Pönitz <poenitz@gmx.net>
5118 * text3.C: refresh_status tristate -> need_update bool
5120 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5122 * lyxtext.h (init): remove reinit argument (act as if always true)
5123 * text2.C: adjust to that
5125 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5127 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5128 * text3.C: use it to delete selections in some cases
5129 (bugs 441, 673, 702, 954).
5131 2003-07-14 André Pönitz <poenitz@gmx.net>
5133 * rowpainter.[Ch]: reduce interface
5135 2003-07-14 André Pönitz <poenitz@gmx.net>
5137 * BufferView_pimpl.C:
5138 * text2.C: adjust after removing unused BufferView * argument
5140 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5142 * text2.C (init): fix a crash fired on resize
5144 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5146 * buffer.[Ch]: added new closing signal
5147 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5148 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5149 BufferView::Pimpl via the closing the signal
5151 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5153 * buffer.[Ch]: take out all bv-related from buffer
5155 * BufferView_pimpl.[Ch]: connect to new signals
5156 * CutAndPaste.C: removed useless asserts
5157 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5160 * lyxfunc.C: moved view-related funciontality from vc here
5161 * paragraph.C: removed outdated comments
5164 2003-07-10 André Pönitz <poenitz@gmx.net>
5166 * BufferView_pimpl.C:
5170 * text2.C: remove InsetText::InnerCache, clean up consequences
5172 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5174 * ispell.C: fix two typos in error messages
5176 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5178 * Extend Note inset to other forms of annotation like Comment
5179 and Greyedout. Right button click gives dialog.
5181 Files modified or added (+):
5185 * ControlNote.[Ch] +
5187 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5188 frontends/controllers
5192 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5194 * aspell.C: add missing namespace lyx::support
5196 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5198 * BufferView.[Ch] (newFile): Add
5199 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5200 * LaTeX.[Ch] (message): added this signal and use it
5201 * buffer.[Ch] (busy, message): added these signals and use them
5202 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5206 * importer.C: use buffer signals instead of direct bv calling
5207 * lyx_cb.[Ch] (ShowMessage): removed
5210 * paragraph_funcs.C:
5211 * text2.C: use buffer signals
5213 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5215 * introduce namespace lyx::graphics
5217 2003-07-02 André Pönitz <poenitz@gmx.net>
5219 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5221 2003-07-01 André Pönitz <poenitz@gmx.net>
5228 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5229 text*.C to text_func.C
5231 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5233 * introduce namespace lyx::support
5235 2003-06-30 André Pönitz <poenitz@gmx.net>
5240 * text.C: re-enable --with-included-string
5242 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5244 * textcursor.C: add <config.h>
5246 * text.C (getWord): remove const from word_location arg
5248 * lyxvc.C (getLogFile): fix const type order
5250 * lyxtext.h: remove const from word_location arg, add arg name
5252 * lyxlayout.h: currect type on labeltype.
5254 * importer.C: correct \file
5256 * converter.C (intToFormat): use std:: on ret val, ws changes
5258 * bufferlist.h: correct \file
5260 * buffer.C (makeLinuxDocFile): fix const type order
5261 (makeDocBookFile): ditto
5262 (fillWithBibKeys): use std:: on stdlib args.
5264 * CutAndPaste.C: fix authors.
5265 (availableSelections): use std:: on return vector
5267 2003-06-27 André Pönitz <poenitz@gmx.net>
5269 * BufferView_pimpl.C:
5270 * bufferview_funcs.C:
5278 * text3.C: remove LyXCursor::row_ member
5281 * text.C: rename fullRebreak() to partialRebreak() and implement
5282 a fullRebreak() that really bereks fully
5284 * textcursor.h: new struct for cursor-related data
5286 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5288 * lyx_main.C (LyX): get full path of document loaded on the
5291 2003-06-26 André Pönitz <poenitz@gmx.net>
5293 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5294 remove unused/broken operator>,<,>=.
5296 * text.C: remove only use of broken operator<= in an Assert().
5298 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5300 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5301 moved errorlist_.clear to showErrorList
5303 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5305 * converter.C (scanLog, runLaTeX):
5306 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5307 move the bv->showErrorList call to the callers
5308 * lyxfunc.C: i.e. here...
5310 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5311 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5312 namespace, the second to...
5313 * buffer_funcs (BufferFormat, parseErrors): added
5314 * errorlist.C (ErrorList(TeXErrors const &)): removed
5316 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5318 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5320 2003-06-24 "Garst R. Reese" <reese@isn.net>
5324 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5326 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5328 * version.C.in: change docversion to 1.4
5330 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5332 * buffer.C: fix a bug just introduced
5334 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5336 * buffer.[Ch]: added the parseError signal and use it, removed
5338 * BufferView.[Ch] (addError): moved to ...
5339 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5340 to the Buffer::parseError signal to catch (guess what) parse errors
5341 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5343 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5345 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5346 ability to create a buffer and to return an existing one from
5347 the list. Moved these functions to...
5348 * buffer_funcs.[Ch]: added
5349 * BufferView.[Ch] (loadLyXFile): added
5350 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5351 job removed from bufferlist::loadLyXFile.
5352 * buffer.C (setReadOnly): make it work without view
5353 (i.e added an if (users))
5355 2003-06-19 Angus Leeming <leeming@lyx.org>
5358 * LyXAction.C (init):
5359 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5360 with LFUN_DIALOG_SHOW <name> <data>.
5362 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5364 * CutAndPaste.C (availableSelections): small compilation fix for
5365 ancient (gcc 2.9x) compilers
5367 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5369 * text3.C (cursorNext): add tmp var
5371 * text2.C (updateCounters): for function calling out of for clause
5372 (replaceSelectionWithString): ditto
5373 (insertStringAsParagraphs): ditto
5374 (getColumnNearX): add tmp var
5375 (setCursorFromCoordinates): add tmp var
5376 (cursorDownParagraph): add tmp var
5377 (deleteEmptyParagraphMechanism): add tmp var
5379 * text.C (insertChar): add tmp var
5381 * rowpainter.C (paintDepthBar): add tmp var
5383 * CutAndPaste.C (availableSelections): potentially check all
5384 paragraphs in a cut to fill the shown strings.
5386 2003-06-18 André Pönitz <poenitz@gmx.net>
5388 * kbmap.[Ch]: use vector<> instead of list<>
5390 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5392 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5393 pasteSelection with index
5395 * text2.C (pasteSelection): modify, call pasteSelection with index
5397 * paragraph.C (asString): reimplement version with no interval to
5398 call the one with interval.
5400 * lyxtext.h: add index arg to pasteSelection
5402 * MenuBackend.C (MenuItem): handle PasteRecent
5403 (Menu::read::Menutags): add md_pasterecent
5405 (expandPasteRecent): new function
5408 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5410 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5412 (availableSelections): new function
5414 2003-06-17 Angus Leeming <leeming@lyx.org>
5416 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5418 2003-06-17 Angus Leeming <leeming@lyx.org>
5421 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5423 * lyxfunc.C (dispatch): invoke it.
5425 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5427 * iterators.C (operator++, ParPosition): reintroduce some
5428 const_cast for the benefit of older compilers.
5430 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5432 * text3.C (dispatch): do not modify clipboard when doing
5433 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5434 LFUN_DELETE_SKIP on a selection selection
5436 2003-06-16 André Pönitz <poenitz@gmx.net>
5442 * tabular.[Ch]: IU of clone() and getLabelList();
5444 2003-06-13 André Pönitz <poenitz@gmx.net>
5446 * tabular.h: compactification
5448 2003-06-12 André Pönitz <poenitz@gmx.net>
5452 * tabular_funcs.h: some renaming plus whitespace
5454 2003-06-12 André Pönitz <poenitz@gmx.net>
5457 * BufferView_pimpl.C:
5463 * toc.C: Return a Paragraph & for ParIterator::operator*()
5465 2003-06-11 John Levon <levon@movementarian.org>
5469 * ToolbarBackend.C: add "Toolbars" section and
5472 2003-06-10 Angus Leeming <leeming@lyx.org>
5475 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5477 * lyxfunc.C (dispatch): invoke it.
5479 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5481 * main.C: protect <ios> with HAVE_IOS
5482 (main): protect sync_with_stdio with HAVE_IOS
5484 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5486 * text2.C (cutSelection): adjust
5487 (pasteSelection): adjust
5489 * messages.C: handle get of empty string
5491 * main.C (main): use sync_with_stdio(false)
5493 * lyxfunc.C (dispatch): adjust
5495 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5496 (WriteAs): remove unneeded BufferView arg.
5498 * bufferparams.h: use correct types on papersize, papersize2 and
5501 * bufferparams.C (readToken): adjust for type
5502 (writeLaTeX): add missing cases to switch.
5504 * bufferlist.C (quitWriteBuffer): adjust
5507 * buffer.C (asciiParagraph): remove some commented code.
5509 * CutAndPaste.C: remove current_view extern variable.
5510 (cutSelection): add BufferParams arg.
5511 (eraseSelection): add BufferParams arg.
5512 (pasteSelection): add Buffer const & arg
5514 2003-06-07 John Levon <levon@movementarian.org>
5517 * paragraph_funcs.C:
5518 * paragraph_pimpl.C:
5522 * paragraph.C: allow InsetERT to freely space lines,
5523 and some consolidation of code
5525 2003-06-06 José Matos <jamatos@fep.up.pt>
5527 * buffer.C (makeDocBookFile): fix bug #821
5529 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5531 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5533 2003-06-04 Angus Leeming <leeming@lyx.org>
5535 * buffer.C: bump format to 224.
5537 2003-06-05 André Pönitz <poenitz@gmx.net>
5539 * text2.C (redoParagraphs): remove two const_cast<>
5541 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5543 * ParagraphList.h: remove last remnants of NO_STD_LIST
5545 2003-06-03 Angus Leeming <leeming@lyx.org>
5547 * factory.C (createInset): small change to the way InsetExternal's params
5550 2003-06-04 André Pönitz <poenitz@gmx.net>
5552 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5554 * paragraph_pimpl.h:
5555 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5557 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5559 * undo_funcs.C: make some simple cases of undo work again
5561 2003-06-03 John Levon <levon@movementarian.org>
5563 * ispell.C: HPUX doesn't have sys/select.h
5566 2003-06-03 John Levon <levon@movementarian.org>
5568 * CutAndPaste.C: update tabular and include inset
5573 * paragraph.C: remove owningBuffer(), don't pass Buffer
5576 * factory.C: insetGraphicsParams changed
5578 2003-06-02 John Levon <levon@movementarian.org>
5584 * text3.C: remove insetparent
5586 2003-06-02 John Levon <levon@movementarian.org>
5589 * buffer.C: fix inset_iterator.end(), move out of line
5592 2003-06-01 John Levon <levon@movementarian.org>
5594 * text3.C: use a proper cut/paste when doing inset
5595 insert (from Jürgen Spitzmüller)
5597 2003-06-01 John Levon <levon@movementarian.org>
5599 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5601 2003-05-30 André Pönitz <poenitz@gmx.net>
5603 * rowpainter.C: unify second drawing phase
5605 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5607 * trans_mgr.C: remove one case of current_view
5609 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5611 * paragraph_funcs.h: remove paragraph.h include
5613 * paragraph.h: delete NO_STD_LIST stuff
5615 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5617 * buffer.h: remove paragraph.h include
5619 * ParagraphList.C: delete file
5621 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5623 * toc.C (getTocList): adjust
5625 * paragraph_pimpl.C (validate): adjust
5627 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5629 * paragraph.C (Paragraph): adjust
5630 (getPositionOfInset): use const_iterator, adjust
5631 (bibitem): use const_iterator, adjust
5632 (setInsetOwner): adjust
5634 * iterators.C (operator++): adjust
5636 * InsetList.[Ch]: Replace selfmade iterator with standard
5637 vector::iterator also introduce const_iterator. Remove getPos,
5638 getInset and setInset from InsetTable. Adjust accordingly.
5640 * BufferView.C (lockInset): adjust
5641 (ChangeInsets): adjust
5643 * tabular.[Ch]: delete commented same_id functions
5645 2003-05-28 John Levon <levon@movementarian.org>
5647 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5649 2003-05-28 André Pönitz <poenitz@gmx.net>
5651 * metricsinfo.[Ch]: remove 'fullredraw' member
5653 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5655 * lyxtextclass.C (operator): remove caching.
5657 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5661 * text2.C (cursorBottom): adjust
5662 (setCounter): use ParagraphList::find, adjust
5664 * text.C (workWidth): use ParagraphList::find, adjust
5666 * lyxcursor.C (LyXCursor): adjust
5668 * buffer.C (inset_iterator): adjust
5670 * ParagraphList.h: make iterator(value_type) private, make
5671 ParagraphList a friend of iterator.
5673 * ParagraphList.C (find): new function
5675 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5677 2003-05-27 André Pönitz <poenitz@gmx.net>
5679 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5681 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5683 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5685 2003-05-26 John Levon <levon@movementarian.org>
5687 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5689 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5691 * remove same_id from function signatures, adjust.
5693 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5695 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5697 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5699 * paragraph.C (Paragraph): get rid of same_ids parameter
5701 * ParagraphList.C (insert): adjust
5704 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5706 * paragraph_funcs.C (breakParagraph): adjust
5707 (breakParagraphConservative): adjust
5709 * buffer.C (readParagraph): adjust
5711 * ParagraphList.C (insert): take a reference instead of a pointer
5714 * paragraph.[Ch] (id): new function
5716 * bufferlist.C (newFile): adjust
5718 * ParagraphList.C (ParagraphList): adjust
5720 (push_back): take a reference instead of a pointer.
5722 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5724 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5727 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5728 set else use old code.
5730 * ParagraphList.C: remove all NO_NEXT code and only compile this
5731 code of NO_STD_LIST is set.
5733 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5735 * BufferView_pimpl.C:
5745 * graphics/GraphicsConverter.C:
5746 * graphics/PreviewLoader.C: header adjustment
5748 2003-05-23 Angus Leeming <leeming@lyx.org>
5750 * LaTeXFeatures.[Ch] (useBabel): new method.
5751 * bufferparams.C (writeLaTeX): use it.
5753 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5755 * ParagraphList.h (set): remove unused function.
5757 2003-05-23 André Pönitz <poenitz@gmx.net>
5760 * BufferView_pimpl.C:
5764 * undo_funcs.C: setUndo reworked
5766 * iterators.[Ch]: add access to topmost ParagraphList
5768 * lyxtext.[Ch] (workWidth): add a const
5770 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5772 * texrow.[Ch] (increasePos): remove function
5773 * exporter.C (export): removed unused var and outdated comment
5775 2003-05-23 Angus Leeming <leeming@lyx.org>
5777 * latexrunparams.h: rename fragile as moving_arg.
5778 * paragraph.C (simpleTeXOnePar): ditto.
5779 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5781 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5783 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5785 (textUndoOrRedo): comment out a currently unused var.
5787 * paragraph.h (NO_NEXT): enable NO_NEXT
5789 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5791 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5793 * exporter.C (Export): adjust for removeAutoInsets removal.
5795 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5797 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5799 * BufferView.[Ch] (removeAutoInsets): delete function
5801 2003-05-22 Angus Leeming <leeming@lyx.org>
5803 * latexrunparams.h: add a free_spacing variable.
5805 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5806 to pass moving_arg, as the data is stored in runparams.fragile.
5808 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5809 to Inset::latexOptional or to simpleTeXOnePar.
5811 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5812 free_spacing arg to Inset::latexOptional.
5814 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5817 2003-05-22 Angus Leeming <leeming@lyx.org>
5819 * latexrunparams.h: add fragile and use_babel variables.
5821 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5822 * buffer.C (makeLaTeXFile): store this returned value in
5823 runparams.use_babel, thus passing it to the inset::latex methods.
5825 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5826 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5828 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5829 longer has a fragile arg, as it is stored in runparams.fragile.
5831 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5832 moving_arg parameter as the data is stored in runparams.fragile.
5834 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5835 a fragile parameter as the data is stored in runparams.fragile.
5837 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5839 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5841 2003-05-22 Angus Leeming <leeming@lyx.org>
5843 * latexrunparams.h: add a 'bool nice' which defaults to false.
5845 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5846 now encapsulated within runparams.
5848 * bufferlist.C (updateIncludedTeXfiles):
5849 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5851 2003-05-22 Angus Leeming <leeming@lyx.org>
5853 * latexrunparams.h: new file containing struct LatexRunParams.
5854 * Makefile.am: add new file.
5856 * LaTeX.[Ch] (c-tor, run):
5857 * buffer.[Ch] (makeLaTeXFile):
5858 * bufferlist.[Ch] (updateIncludedTeXfiles):
5859 * converter.C (convert, scanLog):
5860 * converter.[Ch] (runLaTeX):
5861 * exporter.C (Export):
5862 * paragraph.[Ch] (simpleTeXOnePar):
5863 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5864 * paragraph_funcs.[Ch] (latexParagraphs):
5865 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5866 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5867 pass around a LatexRunParams parameter.
5869 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5871 * paragraph.[Ch]: remove unused constructor
5873 * ParagraphList.C (erase): new function, taking two iterators
5875 2003-05-22 André Pönitz <poenitz@gmx.net>
5877 * undo_funcs.C: remove duplicated code
5879 * iterator.[Ch]: operator=
5881 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5883 * tabular.C (SetMultiColumn): ws changes
5885 * rowpainter.C (paintFirst): get rid of a ->previous
5887 * lyx_cb.C (getPossibleLabel): parlist simplification
5889 * BufferView.C (ChangeInsets): simplify slightly.
5891 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5893 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5894 * lfuns.h: new LFUN_SPACE
5895 * lyxfunc.C: protected space has a new lfun
5896 * paragraph_funcs.C: read new space insets
5898 * factory.C: handle new space insets
5900 2003-05-22 André Pönitz <poenitz@gmx.net>
5903 * BufferView_pimpl.C:
5906 * undo_funcs.C: return a ParIterator from getParFromID.
5908 * iterators.[Ch]: add two const's
5910 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5912 * toc.C (getTocList): adjust
5914 * iterators.[Ch]: rework for parlist
5916 * buffer.C (par_iterator_begin): adjust
5917 (par_iterator_end): adjust
5919 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5921 * BufferView.C (removeAutoInsets): adjust
5922 (ChangeInsets): adjust
5924 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5926 * text.C (top_y): fix bug 1110
5928 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5930 * errorlist.[Ch]: added
5933 * BufferView_pimpl.C:
5934 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5937 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5939 * Makefile.am: ensure that lyx is relinked upon changes to the
5940 various "convenience" libs.
5942 2003-05-20 Angus Leeming <leeming@lyx.org>
5944 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5945 files are compiled in alphabetical order again.
5947 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5949 2003-05-19 Angus Leeming <leeming@lyx.org>
5951 * gettext.[Ch]: remove "char const * _(char const *)".
5953 2003-05-19 André Pönitz <poenitz@gmx.net>
5955 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5964 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5966 2003-05-19 André Pönitz <poenitz@gmx.net>
5970 * lyxtextclass.[Ch]:
5972 * paragraph_funcs.[Ch]:
5974 * text3.C: more insetenv work
5976 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5978 * ParagraphParameters.C (params2string): small bug fixed
5980 2003-05-16 André Pönitz <poenitz@gmx.net>
5983 * bufferview_funcs.C: patch from Kornel Benko to prevent
5984 crash when _(...) is called twice in a statement
5986 2003-05-16 André Pönitz <poenitz@gmx.net>
5993 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5995 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5997 * lyx_main.C (init): remove spurious static_cast
5999 2003-05-14 André Pönitz <poenitz@gmx.net>
6001 * BufferView.C: fix format string
6003 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6005 * BufferView.[Ch] (insertErrors): removed
6006 * BufferView.[Ch] (showErrorList): added
6007 * buffer.C (runChkTeX):
6008 * converter.C (scanLog): call showErrorList instead of inserterrors
6010 2003-05-13 André Pönitz <poenitz@gmx.net>
6012 * BufferView_pimpl.C:
6014 * bufferview_func.C:
6021 * tabular_funcs.h: tostr() from its own header
6023 * ParagraphParameters.C:
6028 * text3.C: STRCONV()
6030 2003-05-12 André Pönitz <poenitz@gmx.net>
6033 * BufferView_pimpl.C:
6037 * ParagraphParameters.C:
6041 * bufferview_funcs.C:
6054 * paragraph_funcs.C:
6058 * text3.C: boost::format -> bformat all over the place
6061 2003-05-09 André Pönitz <poenitz@gmx.net>
6063 * LColor.[Ch]: Pimpl the #include <map> away
6065 2003-05-09 John Levon <levon@movementarian.org>
6067 * bufferlist.C: never remove emergency saves
6069 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6071 * Makefile.am: better lib building
6073 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6075 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6077 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6078 (simpleTeXSpecialChars): adjust
6079 (simpleTeXSpecialChars): adjust
6080 * paragraph.C (simpleTeXOnePar): adjust
6081 * buffer.C (makeLaTeXFile): adjust
6083 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6085 * text2.C (changeDepth): parlist cleanup
6086 (getColumnNearX): ditto
6088 * rowpainter.C (getLabelFont): parlist cleanup
6090 * bufferlist.C (newFile): parlist cleanup
6092 * CutAndPaste.C (eraseSelection): parlist cleanup
6094 * BufferView_pimpl.C (trackChanges): parlist cleanup
6097 * BufferView.C (lockInset): parlist cleanup.
6098 (ChangeInsets): ditto
6100 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6102 * CutAndPaste.h: Update file header.
6104 * CutAndPaste.C: Update file header.
6105 Store the parts cut out of the Document in a limited_stack.
6106 (copySelection): adjust
6107 (pasteSelection): new function, takes the index in the limited stack.
6108 (nrOfParagraphs): adjust
6109 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6110 simplify error inset insertion.
6111 (checkPastePossible): adjust
6113 2003-05-06 John Levon <levon@movementarian.org>
6115 * text2.C: don't cast wrap inset to float
6117 2003-05-05 André Pönitz <poenitz@gmx.net>
6120 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6122 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6123 few naked Paragraph *.
6125 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6127 * bufferparams.C: Output warning if a document with missing
6128 TeX document class is loaded
6129 * exporter.C: Disable TeX exports if the document class is missing
6132 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6133 isTeXClassAvailable()
6135 2003-05-03 John Levon <levon@movementarian.org>
6138 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6139 explicit cursor show/hide
6141 * BufferView_pimpl.h:
6142 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6143 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6145 * lyxfunc.C: hide cursor before dispatching.
6150 * text3.C: remove explicit cursor hides
6152 2003-05-02 André Pönitz <poenitz@gmx.net>
6154 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6157 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6160 * text2.C: tiny whitespace
6162 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6164 * undo_funcs.C: almost only ws changes.
6166 * ParagraphList.C (splice): just return if pl is empty.
6168 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6170 * ParagraphList.C (splice): new function.
6172 * CutAndPaste.C (pasteSelection): use it
6174 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6176 * CutAndPaste.C (pasteSelection): remove the last next and
6177 previous from this file.
6179 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6181 * CutAndPaste.C (pasteSelection): more clean up, user proper
6182 ParagraphList functions for pasteing.
6184 * ParagraphList.C (insert): new function, three arg insert
6186 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6188 * ParagraphList.C (insert): new function, three arg insert
6190 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6193 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6197 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6199 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6201 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6203 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6204 (copySelection): clean up a bit.
6205 (pasteSelection): use make_pair
6207 * ParagraphList.C (ParagraphList): implement copy constructor
6208 (operator=): implement, base on copy constructor.
6211 * paragraph.C (erase): return a bool
6213 * paragraph_pimpl.C (erasePos): remove function, move contents...
6214 (erase): ... here. Return a bool.
6215 (erase): call erase instead of erasePos.
6217 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6219 * ParagraphList.h: define PitPosPair
6220 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6221 ParagraphList, fix a bug on pasting multiple pars
6222 * text2.C: change interface to C&P
6224 2003-04-30 André Pönitz <poenitz@gmx.net>
6226 * undo_func.C: revert part of yesterday's patch 2
6228 2003-04-30 John Levon <levon@movementarian.org>
6230 * LColor.C: s/tabular/table/
6232 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6234 * text3.C (dispatch): do not convert iterator -> pointer
6235 * undo_funcs.C (setCursorParUndo): ditto
6236 * text_funcs.C (transposeChars): ditto
6238 * text2.C (setLayout): ws changes only
6240 * text.C (breakParagraph): do not convert iterator -> pointer
6242 (acceptChange): ditto
6243 (rejectChange): ditto
6248 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6251 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6253 * text3.C (gotoInset): YABG (yet another bad getChar)
6255 2003-04-29 André Pönitz <poenitz@gmx.net>
6257 * paragraph.h: make operator= private unimplemented as long as
6260 * ParagraphList.C: whitespace
6263 * paragraph_pimpl.[Ch]:
6264 * paragraph_funcs.C:
6266 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6269 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6271 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6273 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6274 * paragraph.[Ch] (erase):
6275 * paragraph_pimpl.[Ch] (erase): change return type and value
6276 * text2.C (cutSelection): some rework
6278 2003-04-28 John Levon <levon@movementarian.org>
6280 * bufferlist.C: changes for unsaved changes dialog
6282 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6284 * bufferlist.C (newFile): set language (messages_) for new
6287 * buffer.C (readFile): ws changes only.
6289 2003-04-28 André Pönitz <poenitz@gmx.net>
6294 * BufferView_pimpl.C:
6295 * BufferView.C: getParFromID related ParagraphList::iterator changes
6297 2003-04-28 André Pönitz <poenitz@gmx.net>
6299 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6302 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6304 * messages.C: remove one more localedir class variable.
6306 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6308 * messages.C (getLocaleDir): singleton generation function
6310 (Messages): add a default constructor.
6312 * main.C (main): do not setup localedir here, do not call
6315 * gettext.C (_): use it.
6316 (gettext_init): delete funciton
6318 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6320 * gettext.C (getLyXMessages): new singleton generating function.
6322 * buffer.C (updateDocLang): adjust
6324 * Makefile.am (messages.o): add target
6325 (main.o): remove target
6327 2003-04-27 John Levon <levon@movementarian.org>
6332 * lyxvc.C: specify cancel button in Alert::prompt
6334 2003-04-26 John Levon <levon@movementarian.org>
6339 * LyXAction.C: add LFUN_INSET_SETTINGS
6341 * lyxfunc.C: don't enable tabular-feature when there's
6342 just any locking inset
6344 2003-04-26 John Levon <levon@movementarian.org>
6346 * bufferlist.C: re-add Cancel to buffer close question
6348 * lyxfunc.C: fix import UI a bit
6350 2003-04-25 John Levon <levon@movementarian.org>
6352 * gettext.C: remove the broken asserts for now
6354 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6356 * messages.C: make case where setlocale cannot comply work better.
6358 * buffer.C (updateDocLang): new function
6359 (changeLanguage): use it
6362 * text2.C (setCounter): use B_ a bit.
6364 * lyxlayout.C (Read): be sure to trim the label strings.
6366 * messages.C (Messages): fix typo in comment
6368 * buffer.C (readFile): set message_ after file is loaded.
6369 (makeDocBookFile): remove double return
6370 (changeLanguage): reset message_ upon language change.
6371 (B_): new func, use this to get translated buffer strings.
6373 * main.C: add myself and Jean Marc as authors.
6375 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6377 * messages.[hC]: pimplify Messages, and three different pimpls to be
6378 used in different circumstances.
6380 * gettext.[Ch]: change for use with new message code.
6382 2003-04-24 André Pönitz <poenitz@gmx.net>
6384 * factory.C: support for eqref
6386 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6388 * messages.[Ch]: add missing char
6390 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6392 * messages.[Ch]: New files
6394 2003-04-18 John Levon <levon@movementarian.org>
6398 * BufferView_pimpl.C:
6402 * text2.C: remove layout-copy/paste (bug 778)
6404 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6406 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6408 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6410 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6411 if they succeed. Act accordingly.
6413 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6415 * text2.C (setCharFont): adjust
6416 (setCounter): adjust
6417 (insertStringAsLines): adjust
6419 * text.C (leftMargin): adjust
6420 (setHeightOfRow): adjust
6422 * rowpainter.C (paintFirst): adjust
6425 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6427 (isFirstInSequence): ditto
6428 (getEndLabel): ditto
6431 * paragraph.C (getParLanguage): comment out some hard stuff.
6433 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6435 (simpleDocBookOnePar): ditto
6436 (makeDocBookFile): use ParagraphList::iterator
6438 * CutAndPaste.C (pasteSelection): adjust
6440 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6442 * text2.C (getFont): adjust
6443 (getLayoutFont): adjust
6444 (getLabelFont): adjust
6446 * paragraph_funcs.C (TeXOnePar): adjust
6448 * buffer.C (simpleLinuxDocOnePar): adjust
6449 (simpleDocBookOnePar): adjust
6451 * CutAndPaste.C (pasteSelection): adjust
6453 * BufferView.C (getEncoding): adjust
6455 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6457 2003-04-16 John Levon <levon@movementarian.org>
6459 * lyxfind.C: use parlist stuff for search/changes
6461 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6463 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6465 * text2.C (deleteEmptyParagraphMechanism): adjust
6467 * text2.[Ch] (ownerParagraph): delete func (both of them
6469 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6471 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6473 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6475 * ParagraphList.C: prepare for NO_NEXT
6477 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6479 * text2.C (getFont): adjust
6480 (getLayoutFont): adjust
6481 (getLabelFont): adjust
6483 * paragraph.C (getFont): adjust
6484 (getLabelFont): adjust
6485 (getLayoutFont): adjust
6487 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6489 2003-04-15 John Levon <levon@movementarian.org>
6493 * lyx_main.C: handle Include in .ui files
6495 2003-04-15 John Levon <levon@movementarian.org>
6497 * MenuBackend.C: make the doc files length shorter
6500 * ToolbarBackend.C: handle toolbar placement flags,
6503 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6505 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6508 * paragraph_funcs.C (TeXOnePar): adjust
6510 * paragraph.C (getLabelFont): add outerfont arg, adjust
6511 (getLayoutFont): ditto
6512 (simpleTeXOnePar): adjust
6514 * paragraph_pimpl.C (realizeFont): delete func
6516 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6518 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6519 row argument, constify cur argument.
6521 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6523 * text2.C (getFont): adjust
6524 (getLayoutFont): adjust
6525 (getLabelFont): adjust
6527 * paragraph_funcs.C (TeXOnePar): adjust
6528 (outerFont): new func...
6529 (realizeFont): ...moved out from here, changed this to facilitate
6532 * paragraph.C (getFont): take outerfont as arg, adjust
6533 (simpleTeXOnePar): add outerfont arg, adjust
6535 * buffer.C (simpleLinuxDocOnePar): adjust
6536 (simpleDocBookOnePar): adjust
6538 * CutAndPaste.C (pasteSelection): adjust
6540 * BufferView.C (getEncoding): adjust
6542 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6544 * text2.C (setCharFont): adjust
6545 (setCounter): adjust
6547 * text.C (leftMargin): adjust
6548 (setHeightOfRow): adjust
6550 * rowpainter.C (paintFirst): adjust
6553 * paragraph_pimpl.C (realizeFont): adjust
6555 * paragraph.C (isFirstInSequence): move from here...
6556 * paragraph_funcs.C (isFirstInSequence): ...to here
6558 * paragraph.C (outerHook): move from here...
6559 * paragraph_funcs.C (outerHook): ...to here
6561 * paragraph.C (depthHook): move from here...
6562 * paragraph_funcs.C (depthHook): ...to here
6564 * paragraph.C (getEndLabel): move from here...
6565 * paragraph_funcs.C (getEndLabel): ...to here
6567 * text2.C (realizeFont): move from here...
6568 * paragraph_funcs.C (realizeFont): ...to here
6570 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6572 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6574 2003-04-14 Angus Leeming <leeming@lyx.org>
6576 * LColor.[Ch]: scrap LColor mathcursor.
6578 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6580 * lyxlex.[Ch] (text): delete function
6581 * trans.C (Load): adjust
6582 * paragraph_funcs.C (readParToken): adjust
6584 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6586 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6587 vector<char> instead of a char[].
6589 * lyxlex_pimpl.C (getString): adjust
6591 (lex): use getString
6595 * lyxlex.C (text): use pimpl_->getString()
6599 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6601 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6602 (makeFontEntriesLayoutSpecific): temp var for par.size()
6603 (setLayout): temp var for ownerParagraphs().end()
6604 (fullRebreak): temp var for rows().end()
6605 (selectionAsString): temp var for boost::next(startpit), realize
6606 that the while really is a regular for loop.
6607 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6608 setCursor in one place.
6609 (setParagraph): temp vr for ownerParagraphs().end()
6610 (updateCounters): make the while loop a for loop
6611 (cutSelection): temp var for ownerParagraphs().end()
6612 (updateInset): make the do {} while() a regular for loop
6613 (getCursorX): use temp vars
6614 (setCurrentFont): use temp vars
6615 (getColumnNearX): use temp vars
6617 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6619 * text.C (transformChar): use temp var for getChar
6620 (computeBidiTables): use temp var for row->par()
6621 (fill): move temp vars for row->par() and pit->layout() earlier in
6623 (labelFill): use temp var for row->par()
6624 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6625 asc and desc, realize that pit never changes and that firstpit is
6626 just a duplicate and not needed. Exchange rit->par() with pit in a
6628 (breakAgain): use a temp var for boost::next(rit)
6629 (breakAgainOneRow): ditto
6630 (breakParagraph): use a temp var for rows().begin()
6631 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6632 (cursorRightOneWord): use temp var for cursor.par() and
6633 cursor.pos(), remove usage of tmpcursor.
6634 (cursorLeftOneWord): use temp var for cursor.par() and
6635 cursor.pos() only set cur at end of function.
6637 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6639 * text.C, text2.C: exchange all usage of Paragraph::next with
6640 boost::next(ParagraphList::iterator)
6642 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6644 * text2.C (cursorTop): simplify implementation
6645 (cursorBottom): ditto
6646 (setParagraph): use ParagraphList::iterator
6647 (setCurrentFont): adjust
6648 (getColumnNearX): adjust
6649 (cursorRight): adjust
6650 (cursorLeft): remove usage of Paragraph::previous
6651 (cursorUpParagraph): ditto
6652 (deleteEmptyParagraphMechanism): slight cleanup
6654 * text.C (isBoundary): take a Paragraph const & instead of a
6656 (addressBreakPoint): ditto
6657 (leftMargin): remove usage of Paragraph::previous.
6658 (setHeightOfRow): ditto
6659 (cursorLeftOneWord): ditto
6660 (selectNextWordToSpellcheck): ditto
6663 (breakParagraph): remove one usage of Paragraph::next
6664 (redoParagraph): ditto
6665 (acceptChange): ditto
6666 (insertChar): adjust
6667 (rowBreakPoint): adjust
6669 * bufferview_funcs.C (toggleAndShow): adjust
6671 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6673 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6674 methods to access it.
6676 * text.C: Added updateRowPositions to compute all row positions.
6677 Make top_y and getRowNearY() to use the cached y position
6679 2003-04-11 John Levon <levon@movementarian.org>
6681 * text.C (rowBreakPoint): reintroduce the labelEnd
6682 checks, code copied from the row fill stuff. Deep voodoo.
6684 * text.C (fill): add a comment and debugging for the
6687 2003-04-11 John Levon <levon@movementarian.org>
6689 * text.C: make sure fullrow insets get wrapped to the next line,
6690 even when they're in a manual label
6692 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6694 * text2.C (insertParagraph): make it take ParagraphList::iterator
6696 (setLayout): make it return ParagraphList::iterator
6697 (redoParagraphs): ditto
6699 (checkParagraph): ditto
6701 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6703 * text2.C: adjust several funcs.
6704 (realizeFont): take a ParagraphList::iterator as arg.
6705 (getLayoutFont): ditto
6706 (getLabelFont): ditto
6707 (setCharFont): ditto
6709 * text.C: adjust several funcs.
6711 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6713 * text.C (selectNextWordToSpellcheck): don't accidentally
6716 2003-04-10 John Levon <levon@movementarian.org>
6718 * ToolbarBackend.C (getIcon): special handling for
6721 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6723 * text2.C (cursorRight): a getChar assert fixed
6725 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6727 * text2.C (getFont): change to take a ParagraphList::iterator
6728 instead of Paragraph*
6729 Adjust several functions.
6731 * text.C (transformChar): change to take a ParagraphList::iterator
6732 instead of Paragraph*
6733 (singleWidth): ditto
6734 Adjust several functions.
6736 * rowpainter.C: adjust several functions
6737 * rowpainter.h:store a ParagraphList::iterator and not a
6741 2003-04-09 John Levon <levon@movementarian.org>
6746 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6747 and the "help" bits as well
6749 2003-04-09 John Levon <levon@movementarian.org>
6752 * ToolbarBackend.C: allow multiple toolbars
6754 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6756 * undo_funcs.C (setCursorParUndo): adjust
6758 * text_funcs.C (transposeChars): adjust
6760 * text3.C (gotoNextInset): adjust
6763 * text2.C (setLayout): adjust
6764 (changeDepth): adjust
6766 (redoParagraphs): adjust
6767 (selectionAsString): adjust
6768 (setParagraph): adjust
6769 (insertInset): adjust
6770 (cutSelection): adjust
6771 (copySelection): adjust
6772 (pasteSelection): adjust
6773 (insertStringAsLines): adjust
6774 (updateInset): adjust
6775 (setCursor): change to take a ParagraphList::iterator parameter
6776 (setCursorIntern): change to take a ParagraphList::iterator parameter
6777 (setCurrentFont): adjust
6778 (cursorLeft): adjust
6779 (cursorRight): adjust
6780 (deleteEmptyParagraphMechanism): adjust
6782 * text.C (breakParagraph): adjust
6783 (insertChar): adjust
6784 (acceptChange): adjust
6785 (rejectChange): adjust
6786 (selectNextWordToSpellcheck): adjust
6787 (changeCase): adjust
6791 * lyxfind.C (SearchForward): adjust
6792 (SearchBackward): adjust
6793 (nextChange): adjust
6795 * lyxcursor.C (par): adjust
6797 * lyxcursor.h: store a ParagraphList::iterator instead of a
6800 * lyx_cb.C (getPossibleLabel): adjust
6802 * bufferview_funcs.C (toggleAndShow): adjust
6804 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6807 * BufferView.C (removeAutoInsets): adjust
6808 (lockedInsetStoreUndo): adjust
6810 2003-04-09 John Levon <levon@movementarian.org>
6812 * ToolbarBackend.C: try icon without argument
6813 if with argument fails
6815 2003-04-08 John Levon <levon@movementarian.org>
6818 * ToolbarBackend.C: add getIcon(), handle tooltip,
6819 and change from "Icon" to "Item".
6821 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6823 * BufferView.C (lockInset): another bad getchar crunched
6825 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6827 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6830 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6832 * lyxfind.C (searchForward, searchBackwards): bug 782
6834 2003-04-07 John Levon <levon@movementarian.org>
6836 * paragraph.C: remove dead comment
6838 * text.C: remove troublesome depth-fiddling code
6839 in leftMargin() and rightMargin() (bug 1017)
6841 * text.C: fix breaking of rows in nested lists
6844 * text2.C (updateCounters): fix up depth values
6847 2003-04-07 John Levon <levon@movementarian.org>
6849 * BufferView_pimpl.C: clear message when doc finishes resizing,
6850 and after a mouse event
6852 * lyxfunc.C: clear message after exiting inset
6854 2003-04-07 John Levon <levon@movementarian.org>
6856 * bufferview_funcs.C: show math status not outside
6857 status in the statusbar
6859 2003-04-07 John Levon <levon@movementarian.org>
6861 * lyxfunc.C: note status changed after a depth change
6863 2003-04-04 Angus Leeming <leeming@lyx.org>
6865 * LaTeX.h: move AuxInfo operator==, != out of line.
6866 Remove LaTeX virtual destructor; nothing derives from it.
6867 Move operator()() out of public area and rename it startscript().
6868 Change protected for private.
6870 2003-04-04 Angus Leeming <leeming@lyx.org>
6873 * text2.C: remove unneeded #includes.
6875 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6877 * text2.C (dEPM): fix the heigth of the next row
6879 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6881 * text.C: squashed an invalid getChar requester + some ws changes
6883 2003-04-03 John Levon <levon@movementarian.org>
6885 * bufferview_funcs.h:
6886 * bufferview_funcs.C:
6889 * text2.C: make getStatus work for the env depth lfuns
6891 2003-04-03 John Levon <levon@movementarian.org>
6893 * bufferview_funcs.h:
6894 * bufferview_funcs.C:
6897 * text2.C: parlistize decDepth(), by merging it with incDepth()
6899 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6901 * lyxrow.h: store a ParagraphList::iterator instead of a
6902 Paragraph* and adjust other class functions to suit.
6904 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6907 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6909 * text2.C (setCursor): do not anchor to cursor row for the time being
6911 2003-04-02 John Levon <levon@movementarian.org>
6918 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6920 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6922 * paragraph.h: make ParagraphList and ParagraphList::iterator
6923 friends of Paragraph.
6925 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6927 * ParagraphList.C: Use the private next_ and previous_ from
6930 2003-04-01 John Levon <levon@movementarian.org>
6934 * Makefile.am: rename, remove defaults gunk
6937 * MenuBackend.C: remove defaults gunk
6940 * Languages.C: remove defaults gunk
6943 * lyx_main.C: error out if files couldn't be found.
6945 2003-04-02 John Levon <levon@movementarian.org>
6947 * text2.C: make incDepth() use parlist
6949 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6951 * undo_funcs.C (firstUndoParagraph): adjust
6953 * text3.C (gotoInset): adjust
6954 (dispatch): adjust, and rewrite loop.
6956 * text2.C (init): adjust, and rewrite loop.
6957 (redoParagraphs): adjust
6958 (updateInset): adjust, and rewrite loop.
6959 (deleteEmptyParagraphMechanism): adjust
6961 * tabular.C (LyXTabular): adjust
6962 (SetMultiColumn): adjust
6965 * lyxtext.[Ch] (ownerParagraph): delete function
6966 (ownerParagraphs): new function returns a ParagraphList.
6968 * BufferView.C (removeAutoInsets): adjust
6969 (insertErrors): adjust
6970 (setCursorFromRow): adjust
6972 2003-04-01 Angus Leeming <leeming@lyx.org>
6974 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6977 2003-04-02 John Levon <levon@movementarian.org>
6983 * text_funcs.C: make transposeChars a free function
6985 * lyxrow_funcs.C: remove wrong comment
6987 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6990 * rowpainter.C: adjust
6995 * lyxrow_funcs. [Ch]: new files
6997 * lyxrow.[Ch]: remove next and previous pointers
6998 (next,previous): remove accessor functions
6999 (isParEnd): move to lyxrow_funcs
7000 (lastPos): move to lyxrow_funcs
7001 (nextRowIsAllInset): move to lyxrow_funcs
7002 (lastPrintablePos): move to lyxrow_funcs
7003 (numberOfSeparators): move to lyxrow_funcs
7004 (numberOfHfills): move to lyxrow_funcs
7005 (numberOfLabelHfills): move to lyxrow_funcs
7006 (hfillExpansion): move to lyxrow_funcs
7010 * bufferview_funcs.C (toggleAndShow): adjust
7012 * RowList.h: Remove class RowList from file leave just a
7015 * RowList.C: delete file
7017 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7020 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * text3.C (cursorPrevious): adjust
7023 (cursorNext): adjust
7026 * text2.C (redoHeightOfParagraph): adjust
7027 (redoDrawingOfParagraph): adjust
7030 * text.C (breakParagraph): adjust
7031 (insertChar): adjust
7034 * rowpainter.C (RowPainter): adjust
7035 (leftMargin): simplify and adjust
7036 (most rowpainter functions): adjust.
7038 * rowpainter.h: store the row as RowList::iterator not as Row*
7040 * lyxcursor.C (row): taka RowList::iterator as arg
7043 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7046 2003-04-01 Angus Leeming <leeming@lyx.org>
7048 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7049 stuff like bool Bool.
7051 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7053 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7056 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7061 * lyxtext.h (rows): drop one version and leve a const variant that
7062 returns a RowList::iterator.
7064 2003-03-31 Angus Leeming <leeming@lyx.org>
7066 * text.C (fill): ensure that the signature is the same as that in the
7069 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * text2.C (redoParagraphs): adjust
7072 (updateCounters): adjust
7073 (checkParagraph): adjust
7074 (getColumnNearX): adjust and reformat a bit.
7076 * text.C (top_y): adjust
7078 (leftMargin): adjust
7079 (prepareToPrint): adjust
7081 (getRowNearY): adjust
7083 * lyxtext.h: make rowlist_ mutable.
7085 * RowList.h: add const_iterator
7086 * RowList.C: adjust for RowList::const_iterator.
7088 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7091 2003-03-31 John Levon <levon@movementarian.org>
7094 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7096 * lyx_main.C: set default fonts from using lyx_gui funcs
7098 * exporter.C: pdf_mode moved from lyxrc
7101 * lyxfunc.C: changes from above
7103 2003-03-31 John Levon <levon@movementarian.org>
7105 * lyx_main.C: fix to the last fix
7107 2003-03-31 John Levon <levon@movementarian.org>
7109 * bufferlist.C: "Load original" -> "Load Original"
7115 * format.C: more Alert cleanups
7117 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7119 * text2.C (removeParagraph): make it take a RowList::iterator as
7121 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7122 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7124 * text.C (anchor_row): make it take a RowList::iterator as arg,
7126 (computeBidiTables): make it take a const reference to Row instead
7127 of Row pointer, adjust.
7128 (leftMargin): make it take a RowList::iterator as arg, adjust.
7129 (rowBreakPoint): adjust
7130 (breakAgainOneRow): make it take a RowList::iterator as arg,
7132 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7134 * bufferview_funcs.C (toggleAndShow): adjust
7136 2003-03-30 John Levon <levon@movementarian.org>
7140 * boost-inst.C: moved to support
7142 * several files: changes as a result
7144 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7146 * text2.C (LyXText): adjust.
7148 (removeRow): make it take a RowList::iterator as arg, adjust.
7149 (fullRebreak): adjust
7150 (deleteEmptyParagraphMechanism): adjust
7151 (clearPaint): adjust
7154 * text.C (top_y): adjust
7155 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7156 (breakAgain): make it take a RowList::iterator as arg, adjust.
7157 (breakParagraph): adjust
7158 (insertChar): adjust
7161 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7162 need_break_row, and refresh_row.
7164 * text3.C (dispatch): adjust
7166 * text2.C (checkParagraph): adjust
7168 (setCursorFromCoordinates): adjust
7170 * text.C (top_y): adjust
7172 (getRow): make it return a RowList::iterator, adjust
7173 (getRowNearY): make it return a RowList::iterator, adjust
7175 * text2.C (init): adjust
7176 (insertRow): remove function
7177 (insertParagraph): adjust
7178 (redoParagraphs): adjust
7179 (fullRebreak): adjust
7180 (updateCounters): adjust
7182 * text.C (top_y): rewrite to use RowList iterators.
7184 (setHeightOfRow): rewrite to sue RowList iterators.
7185 (appendParagraph): adjust
7186 (breakAgain): adjust
7187 (breakAgainOneRow): adjust
7188 (breakParagraph): adjust
7190 (getRowNearY): adjust, and remove commented code.
7192 * lyxtext.h (firstRow): delete function
7193 (lastRow): delete function
7194 (rows): new function (const and non-const versions.)
7195 (insertRow): delete function
7197 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7199 2003-03-29 John Levon <levon@movementarian.org>
7201 * BufferView_pimpl.C: always update scrollbar top
7202 because pasting text when we're anchored could mean we
7203 miss an update altogether
7205 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7207 * text2.C (init): use rowlist_.end() and not 0.
7208 (insertRow): change to take a RowList::iterator as arg, adjust
7210 (insertParagraph): change to take a RowList::iterator as arg,
7212 (redoParagraphs): remove some debug msgs.
7214 * text.C (appendParagraph): change to take a RowList::iterator
7215 arg, adjust for this.
7216 (breakAgain): add an assert
7217 (breakAgainOneRow): ditto
7219 2003-03-29 John Levon <levon@movementarian.org>
7221 * text2.C: do not clear selection after inc/decDepth
7224 2003-03-29 John Levon <levon@movementarian.org>
7227 * buffer.C: fix broken strerrors according to Lars
7229 2003-03-29 John Levon <levon@movementarian.org>
7231 * converters.C: more Alert cleanups
7233 2003-03-29 John Levon <levon@movementarian.org>
7235 * bufferview_funcs.C: remove pointless Alert
7237 * buffer.C: fix confusing error message when
7238 a template is chmoded 000
7240 2003-03-29 John Levon <levon@movementarian.org>
7244 * BufferView_pimpl.C: Alert fixes
7248 * tabular-old.C: remove unused table compat reading
7250 2003-03-29 John Levon <levon@movementarian.org>
7255 * lyx_cb.C: more Alert cleanups
7257 * lyxfunc.C: don't allow chktex if not latex document
7259 2003-03-29 John Levon <levon@movementarian.org>
7263 * buffer.C: warnings pushed down from support/,
7266 2003-03-29 John Levon <levon@movementarian.org>
7268 * lyxfunc.C: safety check for C-r (revert)
7270 2003-03-29 John Levon <levon@movementarian.org>
7273 * bufferlist.C: several UI fixes using Alert::prompt.
7274 Fix the pointless looping quit code. Fix stupid revert
7279 * lyx_cb.C: use Alert::prompt
7281 * lyx_main.C: remove a silly question
7283 * lyxfunc.C: remove a couple of silly questions,
7286 2003-03-28 John Levon <levon@movementarian.org>
7288 * text2.C: fix bug 974 (End on empty par)
7290 2003-03-28 John Levon <levon@movementarian.org>
7292 * BufferView_pimpl.C:
7294 * lfuns.h: remove do-nothing math greek lfuns
7296 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7298 * lyxgluelength.h (isValidGlueLength): add default arg on
7299 parameter 2. Remove default arg from friend in class.
7301 * lyxlength.h (isValidLength): add default arg on parameter 2.
7302 Remove default arg from friend in class.
7304 * text2.C (LyXText): adjust, initialize refresh_row.
7308 (insertParagraph): adjst
7309 (redoParagraphs): adjust
7310 (fullRebreak): adjust
7311 (updateCounters): adjust
7312 (deleteEmptyParagraphMechanism): first attempt at fixing a
7315 * text.C (top_y): adjust
7316 (setHeightOfRow): adjust
7318 (getRowNearY): adjust
7320 * lyxtext.h: include RowList.h
7321 (~LyXText): not needed anymore, deleted.
7322 (firstRow): modify for RowList
7323 (lastRow): new function
7324 Delete firstrow and lastrow class variables, add a Rowlist
7325 rowlist_ class variable.
7327 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7330 * RowList.C (insert): fix case where it == begin().
7332 2003-03-26 Angus Leeming <leeming@lyx.org>
7334 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7335 the thesaurus dialog.
7337 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7339 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7341 * RowList.[Ch]: new files
7343 * ParagraphList.C (erase): handle the case where it == begin
7346 2003-03-25 John Levon <levon@movementarian.org>
7350 * aspell.C: add new aspell support
7353 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7356 2003-03-25 Angus Leeming <leeming@lyx.org>
7359 * LyXAction.C (init): new LFUN_INSET_INSERT.
7361 * BufferView_pimpl.C (dispatch): split out part of the
7362 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7364 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7367 2003-03-25 Angus Leeming <leeming@lyx.org>
7369 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7371 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7374 * text3.C: remove useless row->height(0)
7376 2003-03-25 John Levon <levon@movementarian.org>
7380 * text3.C: rename the refreshing stuff to better names
7382 2003-03-24 John Levon <levon@movementarian.org>
7384 * BufferView_pimpl.h:
7385 * BufferView_pimpl.C: update layout choice on a mouse
7388 2003-03-23 John Levon <levon@movementarian.org>
7390 * Makefile.am: fix commandtags.h reference
7392 2003-03-22 John Levon <levon@movementarian.org>
7394 * BufferView_pimpl.C:
7399 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7401 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7404 * text.C: take the rtl methods out of line
7406 2003-03-21 André Pönitz <poenitz@gmx.net>
7408 * metricsinfo.[Ch]: new files containing structures to be passed around
7409 during the two-phase-drawing...
7411 2003-03-21 André Pönitz <poenitz@gmx.net>
7413 * lyxtextclass.C: read 'environment' tag.
7415 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7417 * text2.C (removeRow): fix bug 964
7419 2003-03-20 John Levon <levon@movementarian.org>
7423 * text2.C: paint cleanups. Inset::update() dropped font
7426 2003-03-19 John Levon <levon@movementarian.org>
7428 * lyxfunc.C: only fitcursor/markDirty if available()
7430 2003-03-19 John Levon <levon@movementarian.org>
7432 * commandtags.h: rename to ...
7434 * lfuns.h: ... this, and renumber / cleanup
7436 2003-03-19 John Levon <levon@movementarian.org>
7438 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7439 fit the cursor after an lfun
7443 * BufferView_pimpl.h:
7444 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7446 * LyXAction.C: layout-character should have ReadOnly
7448 * ParagraphParameters.C:
7450 * bufferview_funcs.C:
7457 * undo_funcs.C: changes from above
7459 2003-03-18 John Levon <levon@movementarian.org>
7461 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7462 remove it from update()
7464 * lyxfunc.C: update layout choice after an lfun
7466 * text3.C: remove extra updateLayoutChoice()s
7468 2003-03-18 John Levon <levon@movementarian.org>
7470 * text.C: top_y change means full repaint, fix
7471 a drawing bug with cursor movement
7473 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7477 * text2.C: anchor row on setCursor
7479 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7481 * lyxtext.h: remove almost all mutable keywords
7484 * text3.C: remove const keywords accordingly
7486 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7488 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7490 (TeXEnvironment): ditto
7493 2003-03-17 John Levon <levon@movementarian.org>
7495 * text.C (rowBreakPoint): remove attempt to fix displayed
7496 math insets inside a manual label
7498 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7500 * lyxtext.h: remove BufferView* as first arg from almost all class
7502 * other files: adjust.
7504 2003-03-17 John Levon <levon@movementarian.org>
7508 * text2.C: more paint cleanups
7510 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7513 * rowpainter.C: remove "smart" background painting code
7515 2003-03-16 John Levon <levon@movementarian.org>
7520 * text3.C: add helper functions for setting refresh_row/y
7522 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7524 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7525 newline inset which *can* get inserted in the pass_thru layouts.
7526 This is primarily for literate documents.
7528 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7530 * buffer.C: increment LYX_FORMAT to 223
7532 2003-03-14 André Pönitz <poenitz@gmx.net>
7534 * textclass.h: prepare for environment handling, ws changes
7535 * lyxlayout.C: read latexheader and latexfooter tags
7537 2003-03-14 John Levon <levon@movementarian.org>
7539 * text2.C: rewrite ::status() a bit
7541 2003-03-13 John Levon <levon@movementarian.org>
7543 * lyxtext.h: add some docs
7545 2003-03-13 John Levon <levon@movementarian.org>
7550 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7552 2003-03-13 John Levon <levon@movementarian.org>
7554 * text3.C: fix appendix redrawing
7556 2003-03-13 John Levon <levon@movementarian.org>
7558 * text.C (setHeightOfRow):
7560 * rowpainter.C: make appendix mark have the text
7561 "Appendix" so the user knows what it is
7564 * LColor.C: s/appendixline/appendix/ from above
7566 2003-03-13 John Levon <levon@movementarian.org>
7568 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7570 * text.C: fix a getChar(pos) bug properly
7572 2003-03-13 Angus Leeming <leeming@lyx.org>
7575 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7576 Probably only temporary. Let's see how things pan out.
7578 * BufferView.C (unlockInset):
7579 * BufferView_pimpl.C (fitCursor):
7580 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7582 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7583 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7585 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7586 new functions that convert ParagraphParameters to and from a string.
7588 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7589 BufferView::Pimpl's dispatch.
7590 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7592 2003-03-13 André Pönitz <poenitz@gmx.net>
7596 * factory.C: make it aware of InsetEnv
7598 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7600 * text2.C (setCursor): never ask for one past last
7601 (setCursor): add some debugging messages.
7603 * text.C (singleWidth): never ask for one past last
7604 (singleWidth): ditto
7606 (rightMargin): ditto
7607 (rowBreakPoint): ditto
7608 (setHeightOfRow): ditto
7609 (prepareToPrint): ditto
7611 * rowpainter.C (paintBackground): never ask for one past last
7612 (paintText): never ask for one past last
7614 * paragraph_pimpl.C (getChar): make the assert stricter, never
7615 allow the one past last pos to be taken
7617 * paragraph.C (getChar): ws changes only
7619 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7620 (numberOfSeparators): ditto
7621 (numberOfHfills): ditto
7623 2003-03-12 John Levon <levon@movementarian.org>
7629 * paragraph_funcs.C: fix per-buffer authorlists
7631 2003-03-12 John Levon <levon@movementarian.org>
7633 * text.C: fix newline in right address
7635 2003-03-12 Angus Leeming <leeming@lyx.org>
7637 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7638 duplicate those in LyXFunc::dispatch.
7642 * ToolbarDefaults.C:
7643 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7644 Add LFUN_FONTFREE_UPDATE.
7646 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7647 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7649 * bufferview_func.[Ch]: several new functions to facilliate
7650 transfer of data to and from the character dialog.
7652 2003-03-12 John Levon <levon@movementarian.org>
7657 * paragraph_funcs.C:
7658 * paragraph_pimpl.C:
7662 * text3.C: remove META_NEWLINE in favour of an inset
7665 * rowpainter.C: remove paintNewline (done by inset)
7667 2003-03-12 John Levon <levon@movementarian.org>
7669 * paragraph_pimpl.C: complain about bad getChar()s
7670 for a while at least
7672 2003-03-12 John Levon <levon@movementarian.org>
7675 * buffer.C: move paragraph read into a separate function,
7676 a little renaming to reflect that.
7679 * bufferparams.C: remove the author_ids map, not necessary now
7682 * factory.C: moved Buffer::readInset to here
7684 * paragraph_funcs.h:
7685 * paragraph_funcs.C: readParagraph free function moved from
7688 * tabular.C: name change
7690 2003-03-12 John Levon <levon@movementarian.org>
7693 * ParagraphParameters.C: move par params input to
7696 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7697 behave like a normal read from the stream wrt reading
7698 a line vs. a \\token
7700 2003-03-12 John Levon <levon@movementarian.org>
7703 * ParagraphParameters.h:
7704 * ParagraphParameters.C: move output code to a
7707 2003-03-12 John Levon <levon@movementarian.org>
7709 * BufferView.C (insertLyXFile):
7712 * tabular.C: use a parlist iterator for creating the
7715 2003-03-12 John Levon <levon@movementarian.org>
7717 * buffer.C: make current_change static local not
7720 2003-03-12 John Levon <levon@movementarian.org>
7722 * buffer.C: fix insertStringAsLines for change tracking
7724 2003-03-12 John Levon <levon@movementarian.org>
7731 * bufferparams.C: move author list into params. Rename some
7732 functions. Move the header reading into a separate token
7733 loop. Move the header token reading into BufferParams.
7735 2003-03-12 John Levon <levon@movementarian.org>
7737 * changes.C: put debug inside lyxerr.debugging() checks
7739 2003-03-11 André Pönitz <poenitz@gmx.net>
7741 * factory.C: make it aware of InsetHFill
7743 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7745 * buffer.C (latexParagraphs): move function from here...
7746 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7749 2003-03-10 Angus Leeming <leeming@lyx.org>
7751 * LyXAction.C (init): fix bug in poplating array with multiple entries
7752 with the same LFUN (spotted by JMarc).
7754 2003-03-10 John Levon <levon@movementarian.org>
7757 * text2.C: move getColumnNearX() near its
7760 2003-03-10 John Levon <levon@movementarian.org>
7762 * text.C: fix break before a minipage
7764 2003-03-10 John Levon <levon@movementarian.org>
7766 * text.C: fix the last commit
7768 2003-03-09 John Levon <levon@movementarian.org>
7772 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7773 bug 365 (don't break before insets unless needed). Don't
7774 return a value > last under any circumstances.
7776 2003-03-09 Angus Leeming <leeming@lyx.org>
7778 * BufferView_pimpl.C (trackChanges, dispatch): call
7779 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7781 2003-03-09 Angus Leeming <leeming@lyx.org>
7783 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7784 than Dialogs::showAboutlyx().
7786 2003-03-09 Angus Leeming <leeming@lyx.org>
7788 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7789 than Dialogs::showTabularCreate().
7791 2003-03-09 John Levon <levon@movementarian.org>
7795 * text2.C: 3rd arg to nextBreakPoint was always the same.
7798 2003-03-08 John Levon <levon@movementarian.org>
7805 * text2.C: Remove the "main" bit from the "main body"
7808 2003-03-08 John Levon <levon@movementarian.org>
7810 * text.C (leftMargin): The left margin of an empty
7811 manual label paragraph should not include the label width
7814 * text.C (prepareToPrint): don't attempt to measure hfills
7815 for empty manual label paragraphs - the answer should be 0
7817 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7819 * CutAndPaste.C: remove commented code and reindent.
7821 2003-03-08 John Levon <levon@movementarian.org>
7824 * lyxfunc.C: move reloadBuffer()
7827 * BufferView.C: to here
7829 * lyxvc.C: add comment
7832 * vc-backend.C: call bv->reload() to avoid
7833 getStatus() check on MENURELOAD
7835 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7837 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7838 to an old format .dep file.
7840 2003-03-07 Angus Leeming <leeming@lyx.org>
7842 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7843 when the LFUN_MOUSE_RELEASE should have been handled by
7844 inset->localDispatch.
7846 2003-03-07 Angus Leeming <leeming@lyx.org>
7848 * BufferView_pimpl.C (dispatch):
7849 * LyXAction.C (init):
7850 * ToolbarDefaults.C (init):
7852 * lyxfunc.C (getStatus):
7853 remove LFUN_INSET_GRAPHICS.
7855 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7857 2003-03-07 Angus Leeming <leeming@lyx.org>
7860 * LyXAction.C (init):
7861 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7863 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7866 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7868 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7869 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7871 2003-03-07 Angus Leeming <leeming@lyx.org>
7873 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7876 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7878 * ParagraphList.C (front): new function
7881 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7883 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7884 and top_row_offset_. removed var first_y.
7886 * text2.C (LyXText, removeRow):
7888 * BufferView_pimpl.C:
7889 use these methods instead of using first_y
7891 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7893 * text2.C (pasteSelection): adjust for checkPastePossible
7895 * CutAndPaste.C: remove Paragraph * buf and replace with
7896 ParagraphList paragraphs.
7897 (DeleteBuffer): delete
7898 (cutSelection): change the tc type to textclass_type
7899 (copySelection): change the tc type to textclass_type
7900 (copySelection): adjust for ParagraphList
7901 (pasteSelection): change the tc type to textclass_type
7902 (pasteSelection): adjust for Paragraphlist
7903 (nrOfParagraphs): simplify for ParagraphList
7904 (checkPastePossible): simplify for ParagraphList
7905 (checkPastePossible): remove unused arg
7907 * ParagraphList.C (insert): handle the case where there are no
7910 * CutAndPaste.h: make CutAndPaste a namespace.
7912 * text3.C (dispatch): adjust
7914 * text.C (breakParagraph): add a ParagraphList as arg
7916 * paragraph_funcs.C (breakParagraph): change to take a
7917 BufferParams and a ParagraphList as args.
7918 (breakParagraphConservative): ditto
7919 (mergeParagraph): ditto
7920 (TeXDeeper): add a ParagraphList arg
7921 (TeXEnvironment): ditto
7924 * buffer.C (readLyXformat2): adjust
7925 (insertStringAsLines): adjust
7926 (latexParagraphs): adjust
7928 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7929 (cutSelection): adjust
7930 (pasteSelection): adjust
7932 * BufferView_pimpl.C (insertInset): adjust
7934 2003-03-05 Angus Leeming <leeming@lyx.org>
7937 * LyXAction.C (init):
7938 * BufferView_pimpl.C (dispatch):
7939 * lyxfunc.C (getStatus):
7940 remove LFUN_CHILD_INSERT.
7942 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7944 2003-03-05 Angus Leeming <leeming@lyx.org>
7947 * LyXAction.C (init):
7948 * src/factory.C (createInset):
7949 * lyxfunc.C (getStatus):
7950 * text3.C (dispatch):
7951 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7953 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7955 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7957 * ParagraphList.C (insert): handle insert right before end()
7958 (erase): fix cases where it can be first or last paragraph.
7960 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7962 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7963 Paragraph::next and Paragraph::previous
7966 * text.C (breakParagraph): adjust
7968 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7969 BufferParams& as arg.
7970 (breakParagraph): use ParagraphList::insert
7971 (breakParagraphConservative): take a Buffer* instead of a
7972 BufferParams& as arg.
7973 (breakParagraphConservative): use ParagraphList::insert.
7975 * buffer.C (insertStringAsLines): un-const it
7976 (insertStringAsLines): adjust
7978 * ParagraphList.C (insert): new function
7980 * CutAndPaste.C (pasteSelection): adjust
7982 * text.C (backspace): adjust
7984 * tabular.C (SetMultiColumn): adjust
7986 * CutAndPaste.C (cutSelection): adjust
7987 (pasteSelection): adjust
7989 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7990 Buffer const * as arg
7992 * ParagraphList.C (erase): new function
7993 * paragraph_funcs.C (mergeParagraph): use it
7994 (mergeParagraph): make it take a Buffer* instead of a
7995 BufferParams* as arg
7997 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7999 (breakParagraphConservative): ditto
8001 * paragraph.h: remove the breakParagraph friend
8003 * paragraph.C (eraseIntern): new function
8004 (setChange): new function
8006 * paragraph_funcs.C (mergeParagraph): make it take a
8007 ParagraphList::iterator instead of a Paragraph *, adjust
8010 * paragraph.h: move an #endif so that the change tracking stuff
8011 also works in the NO_NEXT case.
8013 2003-03-04 Angus Leeming <leeming@lyx.org>
8016 * LyXAction.C: new LFUN_INSET_MODIFY.
8018 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8019 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8021 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8023 * several files: ws changes only
8025 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8026 (TeXEnvironment): ditto
8029 * buffer.C (makeLaTeXFile): adjust
8030 (latexParagraphs): make it take ParagraphList::iterator as args
8032 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8034 * buffer.C (latexParagraphs): adjust
8036 * paragraph.C (TeXOnePar): move function...
8037 (optArgInset): move function...
8038 (TeXEnvironment): move function...
8039 * paragraph_pimpl.C (TeXDeeper): move function...
8040 * paragraph_funcs.C: ...here
8042 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8044 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8046 * buffer.C (readInset): remove compability code for old Figure and
8049 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8051 * buffer.C: ws changes
8054 * BufferView_pimpl.C: ditto
8057 * bufferlist.h: ditto
8061 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8063 * converter.[Ch]: split into itself +
8066 * Makefile.am: += graph.[Ch] + format.[Ch]
8073 * lyxrc.C: added #include "format.h"
8075 2003-02-27 Angus Leeming <leeming@lyx.org>
8077 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8080 * factory.C (createInset): add "label" to the factory.
8082 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8083 string and do no more.
8085 2003-02-27 Angus Leeming <leeming@lyx.org>
8088 * LyXAction.C (init):
8089 * factory.C (createInset):
8090 * BufferView_pimpl.C (dispatch):
8091 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8093 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8095 * lyxfunc.C (dispatch):
8096 * text3.C (dispatch): pass name to params2string.
8098 2003-02-26 Angus Leeming <leeming@lyx.org>
8100 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8102 Rearrange the ~includes. Strip out the unnecessary ones.
8104 * factory.C (createInset): reformat.
8105 create new insets for the various LFUN_XYZ_APPLY lfuns.
8107 2003-02-26 John Levon <levon@movementarian.org>
8110 * lyxrow.C: add isParStart,isParEnd helpers
8112 * paragraph.h: make isInserted/DeletedText take refs
8114 * paragraph_funcs.h:
8115 * paragraph_funcs.C: remove #if 0'd code
8120 * text.C: use lyxrow helpers above.
8121 Move draw and paint routines to RowPainter.
8122 Make several methods use refs not pointers.
8123 Make backgroundColor() const.
8124 Add markChangeInDraw(), isInInset().
8125 Merge changeRegionCase into changeCase.
8126 Make workWidth() shouldn't-happen code into an Assert.
8129 * rowpainter.C: new class for painting a row.
8132 * vspace.C: make inPixels take a ref
8134 2003-02-26 Angus Leeming <leeming@lyx.org>
8136 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8139 2003-02-25 John Levon <levon@movementarian.org>
8141 * ispell.C: give the forked command a more accurate name
8143 2003-02-22 John Levon <levon@movementarian.org>
8146 * toc.C: make TocItem store an id not a Paragraph *
8149 2003-02-21 Angus Leeming <leeming@lyx.org>
8151 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8152 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8153 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8154 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8155 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8156 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8158 * BufferView_pimpl.C (dispatch):
8159 * LyXAction.C (init):
8160 * factory.C (createInset):
8161 * lyxfunc.C (getStatus, dispatch):
8162 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8164 2003-02-21 Angus Leeming <leeming@lyx.org>
8166 * BufferView_pimpl.C (MenuInsertLyXFile):
8167 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8168 * lyxfunc.C (menuNew, open, doImport):
8169 no longer pass a LyXView & to fileDlg.
8171 2003-02-21 Angus Leeming <leeming@lyx.org>
8173 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8174 * LyXAction.C: change, BIBKEY to BIBITEM.
8175 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8176 Change InsetBibKey to InsetBibitem.
8177 Change BIBKEY_CODE to BIBITEM_CODE.
8178 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8179 * factory.C: replace insetbib.h with insetbibitem.h.
8180 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8181 * paragraph.C: replace insetbib.h with insetbibitem.h.
8182 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8183 Change bibkey() to bibitem().
8184 * text.C: remove insetbib.h.
8185 * text2.C: replace insetbib.h with insetbibitem.h.
8186 change bibkey() to bibitem().
8187 * text3.C: remove insetbib.h.
8188 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8190 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8192 * lyxrc.C (output): enclose user email in quotes (in case there are
8195 2003-02-18 John Levon <levon@movementarian.org>
8197 * buffer.h: add std::
8199 2003-02-17 John Levon <levon@movementarian.org>
8205 * pspell.C: reworking. Especially in ispell, a large
8206 number of clean ups and bug fixes.
8208 * lyxfunc.C: fix revert to behave sensibly
8210 2003-02-17 André Pönitz <poenitz@gmx.net>
8213 * commandtags.h: new LFUN_INSERT_BIBKEY
8223 * paragraph_func.C: remove special bibkey handling
8225 2003-02-17 John Levon <levon@movementarian.org>
8227 * text.C (Delete): fix case where delete at the end of
8228 the very first paragraph would not merge the pars
8230 2003-02-17 John Levon <levon@movementarian.org>
8232 * lyxrow.C: fix lastPrintablePos()
8234 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8236 * bufferparams.C (writeLaTeX): add a std:here
8238 * buffer.C: and remove a using directive there
8240 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8242 * buffer.C (makeLaTeXFile): move the code that generates the
8245 * bufferparams.C (writeLaTeX): ... in this new method
8247 * LaTeXFeatures.C (getEncodingSet): make const
8248 (getLanguages): make const
8250 * MenuBackend.C (binding): returns the binding associated to this
8252 (add): sets the status of each item by calling getStatus. Adds
8254 (read): add support for OptSubMenu
8255 (expand): remove extra separator at the end of expanded menu
8257 2003-02-15 John Levon <levon@movementarian.org>
8260 * BufferView_pimpl.C:
8262 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8263 inset code that had no actual effect. Remove unneeded status
8266 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8268 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8271 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8273 * text.C (drawLengthMarker): also draw an arrow marker for
8274 symbolic lengths (medskip...)
8276 2003-02-14 John Levon <levon@movementarian.org>
8279 * tabular.C: better method names
8281 2003-02-14 John Levon <levon@movementarian.org>
8283 * BufferView_pimpl.C:
8288 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8289 it's a more accurate name. Remove some pointless uses.
8291 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8293 * text2.C (LyXText): change order of initilizers to shut off
8296 2003-02-14 John Levon <levon@movementarian.org>
8298 * buffer.C: use ParIterator for getParFromID()
8302 * paragraph_pimpl.h:
8303 * paragraph_pimpl.C: remove unused getParFromID()
8305 2003-02-14 John Levon <levon@movementarian.org>
8307 * buffer.C: remove some very old #if 0'd parse code
8309 2003-02-13 John Levon <levon@movementarian.org>
8313 * text2.C: move hfillExpansion(), numberOfSeparators(),
8314 rowLast(), rowLastPrintable(), numberofHfills(),
8315 numberOfLabelHfills() ...
8318 * lyxrow.C: ... to member functions here.
8323 * text.C: remove LyXText::beginningOfMainBody(), and call
8324 p->beginningOfMainBody() directly. Move the check for
8325 LABEL_MANUAL into the latter.
8332 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8338 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8339 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8341 2003-02-13 John Levon <levon@movementarian.org>
8343 * CutAndPaste.C: remove debug
8345 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8347 * paragraph.C (asString): remove two unused variables
8349 * lyxtextclass.C (readTitleType):
8351 (LyXTextClass): handle new members titletype_ and titlename_
8353 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8355 2003-02-09 John Levon <levon@movementarian.org>
8358 * buffer.C: replace hand-coded list with a map for the dep clean
8360 2003-02-08 John Levon <levon@movementarian.org>
8362 * LaTeX.C: consolidate code into showRunMessage() helper
8364 2003-02-08 John Levon <levon@movementarian.org>
8369 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8370 and pass the size in explicitly
8372 * BufferView_pimpl.h:
8373 * BufferView_pimpl.C:
8375 * BufferView.C: add getCurrentChange()
8377 * BufferView_pimpl.h:
8378 * BufferView_pimpl.C: handle change lfuns
8380 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8381 for changes. Mark pasted paragraphs as new.
8383 * support/lyxtime.h:
8384 * support/lyxtime.C:
8385 * DepTable.C: abstract time_t as lyx::time_type
8388 * LColor.C: add colours for new text, deleted text, changebars
8390 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8391 package use "usenames" option.
8395 * LyXAction.C: add change lfuns
8399 * author.C: author handling
8402 * buffer.C: add a per-buffer author list, with first entry as
8403 current author. Handle new .lyx tokens for change tracking. Output
8404 author list to .lyx file. Output dvipost stuff to .tex preamble.
8405 Bump lyx format to 222.
8408 * bufferlist.C: add setCurrentAuthor() to reset current author details
8412 * bufferparams.C: add param for tracking
8414 * bufferview_funcs.C: output change info in minibuffer
8418 * changes.C: add change-tracking structure
8421 * debug.C: add CHANGES debug flag
8424 * lyxfind.C: add code for finding the next change piece
8427 * lyxrc.C: add user_name and user_email
8430 * lyxrow.C: add a metric for the top of the text line
8433 * text.C: implement accept/rejectChange()
8436 * text.C: paint changebars. Paint new/deleted text in the chosen
8437 colours. Strike through deleted text.
8441 * paragraph_pimpl.h:
8442 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8443 in the current change to the insert functions. Rework erase to
8444 mark text as deleted, adding an eraseIntern() and a range-based
8445 erase(). Implement per-paragraph change lookup and
8448 * paragraph_funcs.C: Fixup paste for change tracking.
8450 * tabular.C: mark added row/columns as new.
8452 * text.C: fix rowLast() to never return -1. Don't allow
8453 spellchecking of deleted text. Track transpose changes. Don't
8454 allow paragraph break or merge where appropriate.
8456 * text2.C: leave cursor at end of selection after a cut.
8458 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8460 * text.C (getLengthMarkerHeight):
8461 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8462 visible on screen too.
8464 2003-02-07 John Levon <levon@movementarian.org>
8466 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8468 2003-02-05 Angus Leeming <leeming@lyx.org>
8470 * lyxserver.C (read_ready): revert my patch of 11 September last year
8471 as it sends PC cpu through the roof. Presumably this means that
8472 the lyxserver will no longer run on an Alpha...
8474 2003-01-30 Angus Leeming <leeming@lyx.org>
8476 * factory.C (createInset): create an InsetCommandParam of type "index"
8477 and use it to 'do the right thing'.
8479 * text2.C (getStringToIndex): ensure that cursor position is always
8480 reset to the reset_cursor position.
8482 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8484 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8487 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8491 * lyxfunc.C: Output messages with identical spelling, punctuation,
8494 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8496 * MenuBackend.C (expandFormats): List only viewable export formats
8499 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8502 * lyxfunc.C (getStatus): Make sure that formats other than
8503 "fax" can also be disabled
8505 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8507 * text3.C (dispatch): put the lfuns that insert insets in 3
8508 groups, and call doInsertInset with appropriate arguments.
8509 (doInsertInset): new function, that creates an inset and inserts
8510 it according to some boolean parameters.
8512 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8514 * buffer.C (readFile): remember to pass on 'par' when calling
8515 readFile recursively.
8517 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8519 * MenuBackend.C (expandFormats): add "..." to import formats.
8521 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8523 * paragraph.C (asString): Remove XForms RTL hacks.
8525 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8526 * buffer.C: fix typo
8528 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8530 * Makefile.am (LIBS): delete var
8531 (lyx_LDADD): add @LIBS@ here instead.
8533 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8535 * Clarify the meaning of "wheel mouse jump"
8537 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8539 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8542 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8544 * importer.C (Loaders): do not preallocate 3 elements in the
8545 vector, since one ends up with 6 elements otherwise
8547 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8549 * DepTable.C (write): write the file name as last element of the
8550 .dep file (because it may contain spaces)
8551 (read): read info in the right order
8553 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8555 * paragraph_pimpl.C (simpleTeXBlanks):
8556 (simpleTeXSpecialChars):
8557 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8559 * tabular.C (latex): add some missing case statements. Reindent.
8561 * MenuBackend.C (expandToc): remove unused variable.
8563 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8572 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8575 2003-01-05 John Levon <levon@movementarian.org>
8578 * BufferView.C: add getEncoding()
8581 * kbsequence.C: do not store last keypress
8584 * lyxfunc.C: store last keypress here instead. Pass encoding
8587 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8589 * lyx_main.C (init): remove annoying error message when following
8590 symbolic links (bug #780)
8592 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8594 * text.C (insertChar):
8595 * lyxrc.C (getDescription): remove extra spaces
8597 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8599 * lyxrc.C (getDescription): remove extra spaces
8601 2002-12-20 John Levon <levon@movementarian.org>
8603 * text3.C: hack fix for page up/down across tall rows
8605 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8607 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8610 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8612 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8613 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8614 thesaurus is not compiled in
8616 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8618 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8620 2002-12-16 Angus Leeming <leeming@lyx.org>
8623 * lyx_main.C (init): remove override_x_deadkeys stuff.
8625 2002-12-12 John Levon <levon@movementarian.org>
8627 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8628 insert. Only remove shift modifier under strict
8631 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8633 * MenuBackend.C (expandToc): fix crash.
8635 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8637 * MenuBackend.C (expandToc): gettext on float names.
8639 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8641 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8642 implement bool empty() [bug 490]
8644 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8646 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8648 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8650 * several files: ws changes
8652 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8654 * text2.C (setCounter): clean up a bit, use boost.format.
8655 (updateCounters): initialize par upon declaration.
8657 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8658 if the layout exists. We do not just store the layout any more.
8659 (SwitchLayoutsBetweenClasses): use boost.format
8661 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8663 * converter.C (convert): if from and to files are the same, use a
8664 temporary files as intermediary
8666 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8669 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8671 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8673 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8675 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8677 * tabular.C (asciiPrintCell): use string(size, char) instead of
8680 * sgml.C (openTag): fix order of arguments to string constructor
8683 * lyxfunc.C (dispatch): use boost.format
8685 * lots of files: change "c" -> 'c'
8687 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8689 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8691 2002-11-25 Angus Leeming <leeming@lyx.org>
8693 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8695 * lyx_main.C (init): compile fix.
8697 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8699 * lyx_cb.C (start): boost.formatify
8700 do not include <iostream>
8702 * lengthcommon.C: ws only
8704 * boost-inst.C,BoostFormat.h: add more explict instantations
8706 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8708 * lots of files: handle USE_BOOST_FORMAT
8710 2002-11-21 John Levon <levon@movementarian.org>
8712 * pspell.C: fix compile
8714 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8716 * lyxfunc.C (dispatch): use boost::format
8720 * lyxfont.C (stateText): use boost::format
8722 * lyx_main.C (LyX): use boost::format
8724 (queryUserLyXDir): ditto
8727 (typedef boost::function): use the recommened syntax.
8729 * importer.C (Import): use boost::format
8731 * debug.C (showLevel): use boost::format
8733 * converter.C (view): use boost::format
8738 * bufferview_funcs.C (currentState): use boost::format
8740 * bufferlist.C (emergencyWrite): use boost::format
8742 * buffer.C (readLyXformat2): use boost::format
8743 (parseSingleLyXformat2Token): ditto
8745 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8747 * LaTeX.C (run): use boost::format
8749 * Chktex.C (scanLogFile): use boost::format
8751 * BufferView_pimpl.C (savePosition): use boost::format
8752 (restorePosition): ditto
8753 (MenuInsertLyXFile): ditto
8755 * BoostFormat.h: help file for explicit instation.
8757 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8759 * tabular.C (latex): Support for block alignment in fixed width
8762 2002-11-17 John Levon <levon@movementarian.org>
8764 * BufferView_pimpl.C:
8766 * lyxfunc.C: split filedialog into open/save
8768 2002-11-08 Juergen Vigna <jug@sad.it>
8770 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8771 by my last patch (hopefully).
8773 2002-11-08 John Levon <levon@movementarian.org>
8782 * toc.C: ParConstIterator, and use it (from Lars)
8784 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8786 * lyxtextclass.[Ch]: revise and add doxygen comments
8788 2002-11-07 John Levon <levon@movementarian.org>
8790 * text.C: fix progress value for spellchecker
8792 * toc.C: fix navigate menu for insetwrap inside minipage
8794 * paragraph_funcs.C: added FIXME for suspect code
8796 2002-11-07 John Levon <levon@movementarian.org>
8798 * BufferView_pimpl.C: fix redrawing of insets
8801 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8803 * text2.C (updateCounters): fix bug 668
8805 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8807 * text3.C (dispatch): Do not make the buffer dirty when moving the
8810 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8812 * vc-backend.C: STRCONV
8815 * text2.C (setCounter): STRCONV
8817 * paragraph.C (asString): STRCONV
8819 * lyxlength.C (asString): STRCONV
8820 (asLatexString): ditto
8822 * lyxgluelength.C (asString): STRCONV
8823 (asLatexString): ditto
8825 * lyxfunc.C (dispatch): STRCONV
8828 * lyxfont.C (stateText): STRCONV
8830 * importer.C (Import): STRCONV
8832 * counters.C (labelItem): STRCONV
8833 (numberLabel): ditto
8834 (numberLabel): remove unused ostringstream o
8839 * bufferview_funcs.C (currentState): STRCONV
8841 * buffer.C (readFile): STRCONV
8842 (asciiParagraph): ditto
8843 (makeLaTeXFile): ditto
8845 * Spacing.C (writeEnvirBegin): STRCONV
8847 * LaTeXFeatures.C (getLanguages): STRCONV
8848 (getPackages): ditto
8850 (getBabelOptions): ditto
8851 (getTClassPreamble): ditto
8852 (getLyXSGMLEntities): ditto
8853 (getIncludedFiles): ditto
8857 (scanAuxFile): ditto
8860 * LString.h: add the STRCONV macros
8862 * BufferView_pimpl.C (savePosition): STRCONV
8863 (restorePosition): ditto
8864 (MenuInsertLyXFile): ditto
8866 * vc-backend.C (scanMaster): change from submatch[...] to
8869 * funcrequest.C: include config.h
8871 * factory.C: include config.h
8873 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8875 * box.C: include config.h
8877 * LaTeX.C (scanAuxFile): change from submatch[...] to
8881 2002-10-25 Angus Leeming <leeming@lyx.org>
8883 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8885 * ispell.[Ch] (setError): new method.
8886 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8887 Use setError() insetead of goto END.
8889 * lyx_cb.C (AutoSave): move out child process into new class
8892 2002-10-30 John Levon <levon@movementarian.org>
8894 * text3.C: make start appendix undoable
8896 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8898 * lyxlength.C (inPixels): Fix returned value.
8900 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8903 2002-10-24 Angus Leeming <leeming@lyx.org>
8905 * lyxgluelength.h: no need to forward declare BufferParams
8906 or BufferView, so don't.
8908 2002-10-21 John Levon <levon@movementarian.org>
8910 * BufferView.C: menuUndo ->undo, redo
8912 * BufferView.h: document, remove dead, make some methods private
8914 * paragraph_funcs.h:
8915 * paragraph_funcs.C:
8916 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8921 * sgml.C: move sgml open/close tag into sgml.C
8923 * bufferview_funcs.h: unused prototype
8926 * lyxfunc.C: remove unused
8929 * text.C: remove unused
8931 2002-10-21 John Levon <levon@movementarian.org>
8935 * BufferView_pimpl.h:
8936 * BufferView_pimpl.C: fix mouse wheel handling based on
8937 patch from Darren Freeman
8939 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8941 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8943 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8945 * lyxlength.C (inPixels): Fix hanfling of negative length.
8946 Fix LyXLength::MU case.
8948 2002-10-16 John Levon <levon@movementarian.org>
8950 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8952 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8954 * converter.C (view): add support for $$i (file name) and $$p
8955 (file path) for the viewer command. If $$i is not specified, then
8956 it is appended to the command (for compatibility with old syntax)
8958 2002-10-14 Juergen Vigna <jug@sad.it>
8960 * undo_funcs.C (textHandleUndo): alter the order in which the
8961 new undopar is added to the LyXText, as we have to set first
8962 the right prev/next and then add it as otherwise the rebuild of
8963 LyXText is not correct. Also reset the cursor to the right paragraph,
8964 with this IMO we could remove the hack in "redoParagraphs()".
8966 2002-10-09 Angus Leeming <leeming@lyx.org>
8968 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8969 to turn off an optimisation if a new inset is to be inserted.
8971 2002-10-11 André Pönitz <poenitz@gmx.net>
8973 * lyxtext.h: make some functions public to allow access
8974 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8976 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8978 * text3.C (dispatch): when changing layout, avoid an infinite loop
8981 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8983 * lyxrc.C (read): treat a viewer or converter command of "none" as
8986 * MenuBackend.C (expandFormats): for an update, also allow the
8987 formats that are not viewable
8989 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8990 script if it is newer than the lyxrc.defaults in user directory
8992 2002-10-07 André Pönitz <poenitz@gmx.net>
8994 * text.C: Vitaly Lipatov's small i18n fix
8996 2002-09-25 Angus Leeming <leeming@lyx.org>
8998 * ispell.h: doxygen fix.
9000 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9002 * buffer.h (readFile): Add a new argument to the method, to allow
9003 reading of old-format templates.
9005 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9007 * toc.C (getTocList): Get TOC from InsetWrap.
9009 2002-09-16 John Levon <levon@movementarian.org>
9011 * lyxfunc.C: check tabular for cut/copy too
9013 2002-09-12 John Levon <levon@movementarian.org>
9018 * factory.C: add header
9020 * paragraph_funcs.h:
9021 * paragraph_funcs.C: cleanup
9023 2002-09-11 John Levon <levon@movementarian.org>
9025 * PrinterParams.h: odd/even default to true
9027 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9029 * PrinterParams.h: update printer parameters for new xforms dialog
9031 2002-09-11 Angus Leeming <leeming@lyx.org>
9033 * lyxserver.C (read_ready): re-write to make it more transparent
9034 and to make it work in coherent fashion under Tru64 Unix.
9036 2002-09-11 André Pönitz <poenitz@gmx.net>
9040 * text3.C: implement LFUN_WORDSEL
9042 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9044 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9045 make floatlist_ a boost::shared_ptr<FloatList>
9047 * lyxtextclass.C: include FloatList.h
9048 (LyXTextClass): initialize floatlist_
9049 (TextClassTags): add TC_NOFLOAT
9050 (Read): match "nofloat" to TC_NOFLOAT and use it.
9051 (readFloat): modify call to floatlist_
9055 * FloatList.[Ch] (FloatList): remove commented out float
9057 (erase): new function
9059 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9061 * MenuBackend.C (expandToc): fix crash when there is no document
9064 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9066 * many files: Add insetwrap.
9068 2002-09-09 John Levon <levon@movementarian.org>
9070 * text2.C: remove confusing and awkward depth wraparound
9072 2002-09-09 John Levon <levon@movementarian.org>
9074 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9077 * buffer.C: remove getIncludeonlyList()
9080 * lyxfunc.C: remove headers
9082 2002-09-09 Juergen Vigna <jug@sad.it>
9084 * text.C (getColumnNearX): fix form Michael this is most
9085 probably a cut&paste bug.
9087 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9089 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9091 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9092 references, ws changes.
9094 * text2.C (init): update counters after init
9095 (insertParagraph): no need to set counter on idividual paragraphs.
9096 (setCounter): access the counters object in the textclass object
9097 on in the buffer object.
9098 (updateCounters): ditto
9100 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9101 shared_ptr<Counters> to avoid loading counters.h in all
9103 (LyXTextClass): initialize ctrs_
9104 (TextClassTags): add TC_COUNTER, and ...
9105 (Read): use it here.
9106 (CounterTags): new tags
9107 (readCounter): new function
9108 (counters): new funtion
9109 (defaultLayoutName): return a const reference
9111 * counters.C (Counters): remove contructor
9112 (newCounter): remove a couple of unneeded statements.
9113 (newCounter): simplify a bit.
9114 (numberLabel): some small formatting changes.
9116 * buffer.[Ch]: remove all traces of counters, move the Counters
9117 object to the LyXTextClass.
9119 2002-09-06 Alain Castera <castera@in2p3.fr>
9121 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9122 package to set the horizontal alignment on fixed width columns.
9125 * lyx_sty.h: added tabularnewline macro def.
9127 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9129 2002-09-06 John Levon <levon@movementarian.org>
9131 * LyXAction.C: tooltips for sub/superscript
9133 * MenuBackend.C: a bit more verbose
9135 * lyxfunc.C: tiny clean
9137 * undo_funcs.C: document undo_frozen
9139 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9141 * counters.C (Counters): add missing algorithm counter.
9143 * text2.C (setCounter): lookup the counter with layouts latexname
9144 instead of by section number.
9145 (setCounter): use a hackish way to lookup the correct enum
9147 a float name->type change
9148 reset enum couners with counter name directly instead of depth value.
9150 * counters.C (Counters): remove the push_backs, change to use the
9151 float type not the float name.
9152 (labelItem): remove unused string, float name->type change
9154 * counters.h: don't include vector, loose the enums and sects vectors
9156 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9158 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9159 (Read): add float->TC_FLOAT to textclassTags
9160 (Read): and handle it in the switch
9161 (readFloat): new function
9163 * FloatList.C (FloatList): comment out the hardcoded float
9166 * lyxlayout.h: ws change.
9168 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9170 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9172 2002-09-03 Angus Leeming <leeming@lyx.org>
9174 * BufferView_pimpl.h: qualified name is not allowed in member
9175 declaration: WorkArea & Pimpl::workarea() const;
9177 * factory.C: added using std::endl directive.
9179 * text3.C: added using std::find and std::vector directives.
9181 2002-08-29 André Pönitz <poenitz@gmx.net>
9184 * text2.C: remove unused member number_of_rows
9187 * BufferView2.C: remove file, move contents to...
9188 * BufferView.C: ... here
9190 * BufferView_pimpl.C:
9191 * factory.C: move more inset creation to factory
9193 * vspace.C: avoid direct usage of LyXText, ws changes
9196 don't provide direct access to WorkArea, use two simple
9197 acessors haveSelction() and workHeight() instead
9200 2002-08-29 John Levon <levon@movementarian.org>
9202 * BufferView_pimpl.C (dispatch): do not continue when
9205 2002-08-28 André Pönitz <poenitz@gmx.net>
9207 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9210 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9212 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9214 * buffer.C: increment LYX_FORMAT to 221
9216 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9217 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9219 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9221 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9223 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9225 * factory.C (createInset): use LyXTextClass::floats
9227 * MenuBackend.C (expandFloatListInsert):
9228 (expandFloatInsert):
9231 * text2.C (setCounter):
9233 * LaTeXFeatures.C (useFloat):
9234 (getFloatDefinitions):
9236 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9238 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9239 floatlist_, with accessor floats().
9241 * FloatList.h: remove global FloatList
9243 2002-08-26 André Pönitz <poenitz@gmx.net>
9245 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9249 * BufferView_pimpl.C:
9250 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9252 2002-08-25 John Levon <levon@movementarian.org>
9254 * LyXAction.C: fix margin note description
9256 2002-08-24 John Levon <levon@movementarian.org>
9260 * bufferview_funcs.C:
9262 * undo_funcs.C: cleanups
9264 * lyxfunc.C: disable CUT/COPY when no selection
9266 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9268 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9269 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9271 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9272 Add backward compatibility to "mono", "gray" and "no".
9274 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9276 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9277 (and file_format >= 200).
9279 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9281 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9283 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9285 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9287 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9289 * BufferView_pimpl.C:
9296 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9297 inset and code to make it work with the paragraph code. The inset
9298 can be anywhere in the paragraph, but will only do the expected
9299 thing in LaTeX if the layout file contains the parameter line
9301 (or more generally, a nonzero value) for that layout.
9303 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9305 * paragraph.h: remove the declaration of undefined counters class
9308 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9310 * text2.C (setCounter): fixed enumeration mis-count as reported by
9311 Dr. Richard Hawkins.
9313 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9315 * paragraph_funcs.h: remove some unneeded includes
9317 * text.C (backspace): pasteParagraph now in global scipe
9319 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9320 (pasteSelection): ditto
9322 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9323 * paragraph_funcs.C (pasteParagraph): ... here
9325 2002-08-20 André Pönitz <poenitz@gmx.net>
9327 * commandtags.h: new LFUNs for swapping/copying table row/colums
9330 * lyxfunc.C: support for new lfuns
9332 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9335 * buffer.[Ch]: remove NO_COMPABILITY stuff
9337 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9339 * boost.C (throw_exception): new file, with helper function for
9340 boost compiled without exceptions.
9345 * ParameterStruct.h:
9346 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9348 * bufferlist.C (emergencyWriteAll): use boost bind
9350 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9352 * text.C: include paragraph_funcs.h
9353 (breakParagraph): breakParagraph is now in global scope
9355 * paragraph_funcs.[Ch]: new files
9357 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9360 * buffer.C: include paragraph_funcs.h
9361 (insertStringAsLines): breakParagraph is now in global scope
9363 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9366 * CutAndPaste.C: include paragraph_funcs.h
9367 (cutSelection): breakParagraphConservative is now in global scope
9368 (pasteSelection): ditto
9370 * buffer.h: declare oprator== and operator!= for
9371 Buffer::inset_iterator
9373 * bufferlist.C (emergencyWrite): don't use fmt(...)
9375 * text3.C: add using std::endl
9377 * BufferView.C (moveCursorUpdate): remove default arg
9379 2002-08-20 André Pönitz <poenitz@gmx.net>
9381 * buffer.[Ch]: move inline functions to .C
9384 * BufferView_pimpl.C:
9386 * buffer.[Ch]: use improved inset_iterator
9389 * paragraph.[Ch]: write one paragraph at a time
9391 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9393 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9394 style if style is not specified.
9396 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9398 * text2.C (setCounter): when searching for right label for a
9399 caption, make sure to recurse to parent insets (so that a caption
9400 in a minipage in a figure float works) (bug #568)
9402 2002-08-20 André Pönitz <poenitz@gmx.net>
9404 * text3.C: new file for LyXText::dispatch() and helpers
9406 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9408 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9410 2002-08-19 André Pönitz <poenitz@gmx.net>
9413 * text.C: new LyXText::dispatch()
9415 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9417 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9419 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9421 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9424 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9426 * Makefile.am: use $(variables) instead of @substitutions@
9428 2002-08-15 André Pönitz <poenitz@gmx.net>
9431 * BufferView_pimpl.C: streamlining mathed <-> outer world
9435 * LyXAction.C: remove unused LFUN_MATH
9437 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9439 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9441 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9443 * paragraph.C (Paragraph): reformat a bit
9444 (cutIntoMinibuffer): use builtin InsetList function instad of
9448 * buffer.C: include boost/bind.hpp, add using std::for_each
9449 (writeFileAscii): use ParagraphList iterators
9450 (validate): use for_each for validate traversal of paragraphs
9451 (getBibkeyList): use ParagraphList iterators
9452 (resizeInsets): use for_each to resizeInsetsLyXText for all
9454 (getParFromID): use ParagraphList iterators
9456 * BufferView2.C (lockInset): use paragraph list and iterators
9458 2002-08-14 John Levon <levon@movementarian.org>
9460 * lyxserver.C: remove spurious xforms include
9462 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9464 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9466 2002-08-13 André Pönitz <poenitz@gmx.net>
9469 * lyxfunc.C: further cleaning
9471 2002-08-13 André Pönitz <poenitz@gmx.net>
9473 * funcrequest.h: new constructor
9475 * funcrequest.C: move stuff here from .h
9478 * BufferView_pimpl.C:
9481 * lyxfunc.C: subsequent changes
9483 * lyxfunc.h: new view() member function
9485 * lyxfunc.C: subsequent changes
9487 2002-08-13 Angus Leeming <leeming@lyx.org>
9490 * BufferView_pimpl.C:
9498 changes due to the changed LyXView interface that now returns references
9499 to member variables not pointers.
9501 2002-08-13 Angus Leeming <leeming@lyx.org>
9503 * WordLangTuple (word, lang_code): return references to strings,
9508 * lyxtext.h: forward-declare WordLangTuple.
9513 * text.C: #include "WordLangTuple.h".
9516 * text.C: (selectNextWordToSpellcheck): constify return type.
9518 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9524 * paragraph_pimpl.h:
9527 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9529 Made updateCounter always count from start of buffer, and removed
9530 second argument (par).
9531 Reverted floats number display to '#'. Perhaps I'll try again when the
9532 code base is sanitized a bit.
9534 2002-08-12 Angus Leeming <leeming@lyx.org>
9536 * buffer.[Ch] (getLabelList): constify.
9538 2002-08-07 André Pönitz <poenitz@gmx.net>
9540 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9542 * funcrequest.h: extension to keep mouse (x,y) position
9544 2002-08-12 Juergen Vigna <jug@sad.it>
9546 * BufferView2.C (insertErrors): forbid undo when inserting error
9549 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9551 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9553 * ParagraphList.[Ch]: new files
9555 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9557 * BufferView2.C (lockInset): ParagraphList changes
9560 * bufferlist.C: ditto
9564 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9566 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9567 unused class variable counter_,
9569 * paragraph.[Ch] (getFirstCounter): delete unused function
9571 * counters.C: include LAssert.h
9572 (reset): add a new function with no arg, change other version to
9573 not have def. arg and to not allow empty arg.
9575 * text2.C (setCounter): remove empty arg from call to Counters::reset
9577 2002-08-11 John Levon <levon@movementarian.org>
9579 * Makefile.am: add WordLangTuple.h
9581 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9583 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9584 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9586 * insets/insettext.C: InsetList changes
9588 * graphics/GraphicsSupport.C (operator()): InsetList changes
9590 * toc.C (getTocList): InsetList changes
9592 * paragraph_pimpl.[Ch]: InsetList changes
9594 * paragraph.[Ch]: InsetList changes
9596 * buffer.C (inset_iterator): InsetList changes
9597 (setParagraph): ditto
9598 * buffer.h (inset_iterator): ditto
9599 * iterators.C (operator++): ditto
9600 * iterators.h: ditto
9602 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9604 * InsetList.[Ch]: new files, most InsetList handling moved out of
9607 * BufferView2.C (removeAutoInsets): InsetList changes
9609 (ChangeInsets): ditto
9611 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9613 * paragraph_pimpl.h (empty): new function
9615 * paragraph.[Ch] (empty): new function
9617 * other files: use the new Paragraph::empty function
9619 2002-08-09 John Levon <levon@movementarian.org>
9621 * lyxtext.h: remove unused refresh_height
9623 2002-08-09 John Levon <levon@movementarian.org>
9630 * paragraph.C: move sgml char escaping out of paragraph
9633 * paragraph.C: remove id setter
9637 * paragraph_pimpl.C: remove dead tex_code_break_column
9639 * bufferview_funcs.C: small cleanup
9641 * lyxfunc.C: remove dead proto
9643 * lyxtext.h: make some stuff private. Remove some dead stuff.
9645 * lyxgluelength.C: make as[LyX]String() readable
9647 2002-08-08 John Levon <levon@movementarian.org>
9652 * ToolbarDefaults.C:
9655 * toc.C: lyxaction cleanup
9657 2002-08-08 John Levon <levon@movementarian.org>
9659 * BufferView2.C: small cleanup
9662 * lyxfind.C: move unnecessary header into the .C
9664 2002-08-08 John Levon <levon@movementarian.org>
9666 * funcrequest.h: just tedious nonsense
9669 * lyx_main.C: cleanups
9672 * vspace.C: remove dead header lyx_main.h
9674 2002-08-07 Angus Leeming <leeming@lyx.org>
9677 * paragraph_pimpl.h:
9678 Forward declare class Counters in paragraph.h by moving the ctrs member
9679 variable into Paragraph::Pimpl.
9680 (counters): new method, returning a reference to pimpl_->ctrs.
9682 * text2.C: ensuing changes.
9684 2002-08-07 John Levon <levon@movementarian.org>
9686 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9688 * BufferView_pimpl.C: announce X selection on double/triple
9691 * lyx_main.C: use correct bool in batch dispatch
9693 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9695 2002-08-07 André Pönitz <poenitz@gmx.net>
9697 * funcrequest.h: new class to wrap a kb_action and its argument
9700 * BufferView_pimpl[Ch]:
9704 * lyxrc.C: subsequent changes
9707 2002-08-07 John Levon <levon@movementarian.org>
9709 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9710 document options change.
9712 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9717 * makefile.am: move counters functionality over from
9718 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9720 2002-08-06 John Levon <levon@movementarian.org>
9722 * WordLangTuple.h: new file for word + language code tuple
9733 * BufferView2.C: use WordLangTuple
9736 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9738 2002-08-06 John Levon <levon@movementarian.org>
9740 * lyx_main.C: fix cmdline batch handling
9742 2002-08-06 André Pönitz <poenitz@gmx.net>
9744 * lyxrc.C: set default for show_banner to true
9746 2002-08-06 John Levon <levon@movementarian.org>
9748 * pspell.C: fix a crash, and allow new aspell to work
9750 2002-08-06 John Levon <levon@movementarian.org>
9753 * kbmap.C: small cleanup
9756 * vspace.C: add const
9758 2002-08-05 John Levon <levon@movementarian.org>
9760 * LyXAction.C: back to tabular-insert
9762 2002-08-04 John Levon <levon@movementarian.org>
9765 * BufferView.C: cosmetic change
9767 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9777 * BufferView2.C: purge all "Lyx" not "LyX" strings
9780 * lyxcursor.C: attempt to add some documentation
9785 * ToolbarDefaults.C:
9786 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9787 merge with LFUN_TABULAR_INSERT
9794 * pspell.C: split up i/pspell implementations into separate
9795 files, many cleanups
9797 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9799 * text2.C: some cleanup
9801 * lyxfunc.C: don't check for isp_command == "none" any more, it
9802 didn't make any sense
9804 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9809 * makefile.am: move counters functionality over
9810 from text2.C/paragraph.[Ch] to counters.[Ch], and
9812 2002-08-02 John Levon <levon@movementarian.org>
9814 * buffer.C: s/lyxconvert/lyx2lyx/
9816 2002-08-02 Angus Leeming <leeming@lyx.org>
9818 * lyxlex.C: revert John's change as it breaks reading of the user
9821 2002-08-02 Angus Leeming <leeming@lyx.org>
9823 * importer.C (Import):
9824 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9825 changes due to LyXView::view() now returning a boost::shared_ptr.
9827 2002-08-02 John Levon <levon@movementarian.org>
9829 * lyxlex.C: small cleanup
9831 2002-08-02 John Levon <levon@movementarian.org>
9833 * text2.C (status): small cleanup, no logic change
9835 2002-08-01 John Levon <levon@movementarian.org>
9838 * buffer.C (writeFile): don't output alerts, caller
9842 * lyx_cb.C: from above
9844 * lyxfunc.C: allow to open non-existent files
9846 2002-07-31 John Levon <levon@movementarian.org>
9848 * lyxserver.C: don't let incidental errors get
9851 2002-07-30 John Levon <levon@movementarian.org>
9853 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9855 2002-07-30 John Levon <levon@movementarian.org>
9858 * lyxserver.C: remove I/O callback too
9860 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9862 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9865 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9867 * many files: strip,frontStrip -> trim,ltrim,rtrim
9869 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9871 * PrinterParams.h: remove extern containsOnly, and include
9872 support/lstrings.h instead.
9874 * LaTeX.C (scanAuxFile): modify because of strip changes
9876 * buffer.C (makeLaTeXFile): ditto
9877 * bufferparams.C (writeFile): ditt
9878 * lyxfont.C (stateText): ditto
9879 * lyxserver.C (read_ready): ditto
9880 * vc-backend.C (scanMaster): ditto
9882 * BufferView_pimpl.h: ws changes
9884 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9886 2002-07-26 André Pönitz <poenitz@gmx.net>
9888 * kb_sequence.C: remove unnedred usings
9890 2002-07-26 Juergen Vigna <jug@sad.it>
9892 * lyxfind.C (LyXReplace): we have to check better if the returned
9893 text is not of theLockingInset()->getLockingInset().
9895 2002-07-25 Juergen Vigna <jug@sad.it>
9897 * lyxfind.C (LyXReplace): don't replace if we don't get the
9900 * undo_funcs.C (createUndo): remove debugging code.
9902 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9904 * buffer.C (parseSingleLyXformat2Token): Use default placement
9905 when reading old floats.
9907 * FloatList.C (FloatList): Change the default placement of figure
9908 and tables to "tbp".
9910 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9912 * MenuBackend.C: using std::max
9914 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9916 * MenuBackend.C (expandToc):
9917 (expandToc2): code moved from xforms menu frontend. It is now
9918 generic and TOCs are transparent to menu frontends.
9920 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9922 * toc.C (getTocList): protect against buf=0
9924 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9925 Menu as first parameter. Now, this calls itself recursively to
9926 expand a whole tree (this will be useful for TOC handling)
9927 (expandFloatInsert): remove 'wide' version of floats
9929 * MenuBackend.h (submenuname): returns the name of the submenu.
9930 (submenu): returns the submenu itself, provided it has been
9931 created by MenuBackend::expand
9933 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9935 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9936 insets which have noFontChange == true. (bug #172)
9938 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9940 * BufferView_pimpl.C: add connection objects and use them...
9943 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9945 * MenuBackend.C (expandLastfiles):
9948 (expandFloatListInsert):
9949 (expandFloatInsert):
9950 (expand): split expand in parts
9952 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9954 * lyx_gui.C: use lyx_gui::exit()
9956 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9958 * LyXAction.C: show the failing pseudo action
9960 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9962 * buffer.C (readFile): Run the lyxconvert script in order to read
9965 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9969 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9971 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9975 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9977 2002-07-22 Herbert Voss <voss@lyx.org>
9980 * lyxlength.[Ch]: add support for the vertical lengths
9982 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9984 * toc.[Ch]: std:: fixes
9986 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9988 * lyxrc.C: do not include lyx_main.h
9990 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9996 * BufferView2.C: include "lyxlex.h"
9999 * bufferparams.h: do not #include "lyxlex.h"
10001 * lyxtextclasslist.C (Add): remove method
10002 (classlist): renamed to classlist_
10004 * paragraph_pimpl.C:
10008 * bufferview_funcs.C:
10013 * toc.C (getTocList): use BufferParams::getLyXTextClass
10015 * toc.C (getTocList): use InsetFloat::addToToc
10017 * toc.[Ch]: new files, containing helper functions to handle table
10020 * lyxfunc.C (dispatch): no need to remove spaces around command
10022 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10023 first command of the sequence; it is not very clever, but I do not
10024 have a better idea, actually
10026 * LyXAction.C (LookupFunc): make sure to remove space at the
10027 beginning and end of the command
10029 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10031 * MenuBackend.C (getMenubar): new method: return the menubar of
10033 (read): treat differently reading of menu and menubar (in
10034 particular, the menubar has no name now)
10035 (Menu::menubar): remove
10037 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10040 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10042 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10043 a bibitem inset in a RTL paragraph.
10045 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10047 * paragraph_pimpl.C: constify
10049 * BufferView_pimpl.C:
10051 * lyxfunc.C: fix dispatch in a nicer way
10053 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10055 * lyxfunc.C (dispatch):
10056 * BufferView_pimpl.C:
10057 * BufferView_pimpl.h:
10059 * BufferView.h: rename Dispatch() to dispatch()
10061 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10063 * lyxlayout.C (Read): honor DependsOn tag
10065 * lyxlayout.[Ch] (depends_on): new method
10067 * version.C.in: update lyx_docversion
10069 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10071 * paragraph.C (validate): remove from here...
10072 * paragraph_pimpl.C (validate): ... and move here
10073 (isTextAt): make it const
10075 * buffer.C (getLists): ws cleanup
10077 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10079 * language.C (read): Use iso8859-1 encoding in latex_lang
10080 (this prevents LyX from crashing when using iso10646-1 encoding).
10082 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10084 * text2.C (toggleInset): if cursor is inside an inset, close the
10085 inset and leave cursor _after_ it
10087 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10089 * lyxfunc.C: move minibuffer completion handling out of here
10091 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10093 * BufferView_pimpl.C:
10094 * LaTeX.C: fix dispatch calls
10096 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10098 * text.C (drawChars): Fix Arabic text rendering.
10100 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10104 * lyxfunc.C: remove message-push/pop
10108 * lyxfunc.C: rationalise some code by removing verboseDispatch
10109 in favour of a bool argument to dispatch()
10111 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10113 * lyx_main.C (init): make sure to read symlinks as absolute paths
10115 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10118 * lyxfunc.C: no need for commandshortcut to be a member
10120 2002-07-15 André Pönitz <poenitz@gmx.net>
10122 * converter.C: add support for $$s (scripts from lib/scripts dir)
10123 * lyx_main.C: white space
10125 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10129 * lyxrc.C: remove second exit confirmation
10131 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10136 * BufferView_pimpl.h:
10137 * BufferView_pimpl.C:
10138 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10140 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10142 * MenuBackend.C (expand): add numeric shortcuts to document menu
10144 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10146 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10148 * lyxfont.C (setLyXFamily):
10155 * buffer.C (asciiParagraph): use ascii_lowercase
10157 2002-07-15 Mike Fabian <mfabian@suse.de>
10159 * lyxlex_pimpl.C (search_kw):
10160 * lyxlex.C (getLongString):
10161 * converter.h (operator<):
10162 * converter.C (operator<):
10163 * buffer.C (parseSingleLyXformat2Token):
10165 * ToolbarDefaults.C (read):
10166 * MenuBackend.C (checkShortcuts):
10168 * LColor.C (getFromGUIName):
10169 (getFromLyXName): use the compare_ascii_no_case instead of
10170 compare_no_case, because in turkish, 'i' is not the lowercase
10171 version of 'I', and thus turkish locale breaks parsing of tags.
10173 2002-07-16 Angus Leeming <leeming@lyx.org>
10175 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10176 now takes a Buffer const & argument.
10178 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10180 * BufferView.C (resize): check there's a buffer to resize
10182 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10184 * lyxfunc.C: remove dead code
10187 * lyxserver.C: use lyx_guii::set_read_callback
10189 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10191 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10192 an inset in a RTL paragraph.
10194 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10196 * lyxfunc.C: repaint after a font size update
10198 2002-07-15 André Pönitz <poenitz@gmx.net>
10200 * lyxlength.C: inBP should be able to return negative values
10202 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10204 * lyxfunc.C: use lyx_gui::update_fonts()
10206 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10208 * lyxfunc.C: use lyx_gui::update_color()
10210 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10216 * lyxrc.C: remove file->new asks for name option, and let
10217 buffer-new take an argument
10219 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10221 * BufferView_pimpl.C: remove unneeded extra repaint()
10223 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10225 * LyXAction.C: allow command-sequence with NoBuffer
10227 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10229 2002-07-10 Angus Leeming <leeming@lyx.org>
10231 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10233 2002-07-09 Angus Leeming <leeming@lyx.org>
10235 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10237 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10239 * lengthcommon.h: whitespace
10241 * lyxfunc.C: update scrollbar after goto paragraph
10243 * lyxtext.h: factor out page break drawing, and fix it so
10244 page break/added space paints as selected nicely
10246 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10248 * BufferView_pimpl.C: add FIXMEs, clean up a little
10250 2002-07-09 André Pönitz <poenitz@gmx.net>
10252 * lyxfont.[Ch]: support for wasy symbols
10254 2002-07-08 André Pönitz <poenitz@gmx.net>
10256 * BufferView_pimpl.C: apply John's patch for #93.
10258 2002-07-05 Angus Leeming <leeming@lyx.org>
10260 * BufferView_pimpl.C (buffer): generate previews if desired.
10262 * LColor.h: add "preview" to the color enum.
10264 * LColor.C (LColor): add a corresponding entry to the items array.
10266 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10269 2002-07-05 Angus Leeming <leeming@lyx.org>
10271 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10272 The body of the code is now in the method that is passed an ostream &
10273 rather than a file name.
10274 Pass an additional only_preamble parameter, useful for the forthcoming
10277 2002-07-03 André Pönitz <poenitz@gmx.net>
10279 * lyxfunc.C: simplify getStatus() a bit for math stuff
10281 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10283 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10285 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10287 * text.C (changeRegionCase): do not change case of all the
10288 document when region ends at paragraph end (bug #461)
10290 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10292 * paragraph.C (startTeXParParams):
10293 (endTeXParParams): add \protect when necessary
10295 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10297 * BufferView_pimpl.C (workAreaExpose): remove warning
10299 2002-06-27 Angus Leeming <leeming@lyx.org>
10301 * Makefile.am: add lyxlayout_ptr_fwd.h.
10303 2002-06-26 André Pönitz <poenitz@gmx.net>
10305 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10307 2002-06-25 Angus Leeming <leeming@lyx.org>
10309 * lyxfunc.C (dispatch): Comment out the call to
10310 grfx::GCache::changeDisplay. The method no longer exists now that the
10311 pixmap generation part of the graphics loader has been moved into
10314 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10316 * text2.C: layout as layout
10318 * text.C: layout as layout
10320 * tabular.C (OldFormatRead): layout as layout
10322 * paragraph_pimpl.C (TeXDeeper): layout as layout
10323 (realizeFont): layout as layout
10325 * paragraph.C (writeFile): layout as layout
10326 (validate): layout as layout
10327 (getFont): layout as layout
10328 (getLabelFont): layout as layout
10329 (getLayoutFont): layout as layout
10330 (breakParagraph): layout as layout
10331 (stripLeadingSpaces): layout as layout
10332 (getEndLabel): layout as layout
10333 (getMaxDepthAfter): layout as layout
10334 (applyLayout): layout as layout
10335 (TeXOnePar): layout as layout
10336 (simpleTeXOnePar): layout as layout
10337 (TeXEnvironment): layout as layout
10338 (layout): layout as layout
10339 (layout): layout as layout
10341 * lyxtextclass.C (compare_name): new functor to work with
10342 shared_ptr, layout as layout
10343 (Read): layout as layout
10344 (hasLayout): layout as layout
10345 (operator): layout as layout
10346 (delete_layout): layout as layout
10347 (defaultLayout): layout as layout
10349 * lyxlayout_ptr_fwd.h: new file
10351 * lyxlayout.C (Read): layout as layout
10353 * lyx_cb.C (MenuInsertLabel): layout as layout
10355 * bufferlist.C (newFile): layout as layout
10357 * buffer.C (readLyXformat2): layout as layout
10358 (parseSingleLyXformat2Token): layout as layout
10359 (insertStringAsLines): layout as layout
10360 (asciiParagraph): layout as layout
10361 (latexParagraphs): layout as layout
10362 (makeLinuxDocFile): layout as layout
10363 (simpleLinuxDocOnePar): layout as layout
10364 (makeDocBookFile): layout as layout
10365 (simpleDocBookOnePar): layout as layout
10366 (getLists): layout as layout
10368 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10370 * CutAndPaste.C (cutSelection): layout as layout
10371 (pasteSelection): layout as layout
10372 (SwitchLayoutsBetweenClasses): layout as layout
10374 * BufferView_pimpl.C (Dispatch): layout as layout
10375 (smartQuote): layout as layout
10377 * BufferView2.C (unlockInset): layout as layout
10379 2002-06-24 André Pönitz <poenitz@gmx.net>
10381 * lyxfunc.C: fix #487
10383 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10387 * lyxfunc.C: remove display_shortcuts, show_banner
10389 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10391 * Buffer_pimpl.C: oops, update on resize
10393 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10400 * BufferView.C: use repaint()
10402 * BufferView_pimpl.h:
10403 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10404 as it's a clearer description. Remove superfluous
10407 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10409 * text.C: fix bug 488. Not ideal, but getting
10410 getWord() to work properly for the insets that
10411 matter is more difficult ...
10413 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10415 * BufferView_pimpl.C:
10418 * lyxfunc.C: remove the six million index lyxfuncs to just
10419 one, and DTRT (bug 458)
10421 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10425 * BufferView_pimpl.h:
10426 * BufferView_pimpl.C: clean up resize() stuff,
10427 and unnecessary updateScreen()s
10429 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10433 * BufferView_pimpl.h:
10434 * BufferView_pimpl.C:
10437 * minibuffer.C: remove focus management of workarea,
10438 not needed. Use screen's greyOut()
10440 2002-06-17 Herbert Voss <voss@lyx.org>
10442 * converter.C: (convert) do not post a message, when converting
10443 fails, let the calling function decide what to do in this case
10445 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10447 * lyxfunc.C: tidy up a little
10449 2002-06-16 <alstrup@diku.dk>
10451 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10452 Got rid of FORMS_H_LOCATION include. Now we are
10455 2002-06-15 LyX Development team <lyx@rilke>
10457 * buffer.[Ch] (sgmlOpenTag):
10458 (sgmlCloseTag): Added support for avoiding pernicious mixed
10459 content. Return number of lines written.
10461 (makeLinuxDocFile):
10462 (makeDocBookFile): Fixed calls to sgml*Tag.
10463 Simple white space clean.
10465 (simpleDocBookOnePar): Simple white space clean.
10467 * tabular.[Ch] (docBook): Renamed to docbook and got another
10468 argument to related with the pernicious mixed content.
10470 (docbookRow): Fixed calls for docbook inset method.
10472 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10474 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10475 so it's X11 independent.
10479 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10481 2002-06-15 Lyx Development team <lyx@electronia>
10483 * intl.h: Renamed getTrans to getTransManager.
10485 2002-06-14 Angus Leeming <leeming@lyx.org>
10487 * Makefile.am: nuke forgotten stl_string_fwd.h.
10489 2002-06-12 Angus Leeming <leeming@lyx.org>
10491 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10493 2002-06-13 Angus Leeming <leeming@lyx.org>
10496 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10498 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10500 * kbmap.C (getiso): add support for cyrillic and greek
10502 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10506 * BufferView_pimpl.h:
10507 * BufferView_pimpl.C: move bogus scrolling logic
10510 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10513 * BufferView_pimpl.C: view->resize() change
10515 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10517 * BufferView_pimpl.C: topCursorVisible
10520 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10524 * lyx_gui.C: move to frontends/
10528 * lyx_main.C: changes from above
10530 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10537 * lyx_main.C: minor tidy
10539 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10541 * BufferView_pimpl.h:
10542 * BufferView_pimpl.C:
10544 * BufferView.C: make painter() const,
10547 * BufferView2.C: use screen() accessor
10550 * lyx_main.C: some minor cleanup
10552 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10554 * BufferView_pimpl.h:
10555 * BufferView_pimpl.C: remove enter/leaveView,
10558 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10563 * BufferView_pimpl.h:
10564 * BufferView_pimpl.C: only construct screen once,
10567 * lyxrc.C: remove pointless comment
10569 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10572 * BufferView.C: remove active() and belowMouse()
10574 * BufferView_pimpl.h:
10575 * BufferView_pimpl.C: use workarea() not workarea_,
10576 and make it use a scoped_ptr instead
10578 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10580 * lyx_gui.C: add debug message on BadWindow
10582 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10584 * sp_spell.C: fdopen is not part of the C++ standard.
10586 * paragraph.C (InsetIterator): use >= instead of ==
10588 2002-06-07 Angus Leeming <leeming@lyx.org>
10590 Fixes needed to compile with Compaq cxx 6.5.
10591 * BufferView_pimpl.C:
10598 * lyxtextclasslist.C:
10603 all c-library variables have been moved into namespace std. Wrap
10604 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10609 Add a using std::abs declaration.
10611 * kbmap.h (modifier_pair):
10612 * paragraph.h (InsetTable, InsetList):
10613 * lyxfont.h (FontBits):
10614 type definition made public.
10616 * bufferlist.C (emergencyWriteAll): the compiler complains that
10617 there is more than one possible lyx::class_fun template to choose from.
10618 I re-named the void specialisation as lyx::void_class_fun.
10620 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10622 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10623 the compiler is is unable to find tostr in write_attribute.
10625 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10627 * buffer.C (sgmlError): hide #warning
10629 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10631 * xtl/*: get rid of xtl, which is not in use anyway
10633 * LyXAction.C (init):
10634 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10635 were unimplemented xtl experimentation
10637 2002-06-04 André Pönitz <poenitz@gmx.net>
10639 * lyxfunc.C: disable array operation on simple formulae
10641 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10643 * converter.C: constify a bit
10645 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10647 * lyx_gui.C: check xforms version correctly
10649 2002-04-30 Herbert Voss <voss@lyx.org>
10651 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10654 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10656 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10657 attempt to register it with a VCS)
10659 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10661 * lyx_main.C (init): honor variables LYX_DIR_13x and
10664 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10668 * lyx_main.C: fix a crash on bad command line,
10669 and give a useful exit status on error
10671 * lyxfunc.C (doImport): allow -i lyx to work
10673 2002-03-30 André Pönitz <poenitz@gmx.net>
10675 * lyxfunc.C: mathed font changes
10677 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10692 * trans_mgr.h: srcdocs, and some minor cleanups
10694 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10696 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10697 call getFont all the time)
10699 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10701 * switch from SigC signals to boost::signals
10703 2002-05-29 André Pönitz <poenitz@gmx.net>
10705 * paragraph_pimpl.C (getChar): don't call size() too often...
10707 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10709 * paragraph_pimpl.C (insertChar): do not try to update tables when
10710 appending (pos == size())
10712 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10713 in order to reduce drastically the number of comparisons needed to
10714 parse a large document
10716 2002-05-29 André Pönitz <poenitz@gmx.net>
10722 * textclasslist.[Ch]:
10723 * sp_ispell.h: whitespace change
10725 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10727 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10728 lyxaction directly now.
10730 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10734 * lyxvc.C: remove unused headers
10736 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10743 * undo_funcs.C: some cleanups. Use shared_ptr
10744 and a template for the undo stacks.
10746 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10748 * BufferView_pimpl.h:
10749 * BufferView_pimpl.C:
10756 * text2.C: use key_state/mouse_state
10758 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10760 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10763 * chset.C: change include order
10764 (loadFile): use boost regex and get rid of LRegex and LSubstring
10766 * Makefile.am (BOOST_LIBS): new variable
10767 (lyx_LDADD): use it
10769 * LaTeX.C: change include order.
10770 (scanAuxFile): use boost regex and get rid of LRegex and
10774 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10779 * FontInfo.C: moved to frontends/xforms/
10782 * FontLoader.C: moved into frontends for GUIIzation
10787 * lyxfunc.C: changes from above
10789 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10791 * LColor.C: remove spurious X include
10793 * BufferView_pimpl.C:
10798 * text2.C: move font metrics to frontends/
10800 2002-05-24 Juergen Vigna <jug@sad.it>
10802 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10803 setting the undo_cursor.
10805 * ParagraphParameters.h: include local includes first.
10807 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10809 * BufferView_pimpl.C:
10810 * BufferView_pimpl.h:
10814 * screen.C: move WorkArea into frontends/
10820 * BufferView2.C: move LyXScreen into frontends/
10824 * lyx_gui.C: move lyxlookup into frontends/xforms/
10826 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10829 * BufferView_pimpl.C:
10839 * bufferview_funcs.C:
10852 * vc-backend.C: move LyX/XFormsView into frontends/
10854 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10866 * text2.C: move Painter to frontends/
10868 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10870 * buffer.C: comment out some some code that depend upon lyx_format
10873 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10874 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10876 * buffer.h (NO_COMPABILITY): turn off compability
10878 * ColorHandler.C: include scoped_array.hpp
10880 * font.C: Use more specific smart_ptr header.
10883 * ShareContainer.h: ditto
10884 * lyx_main.h: ditto
10886 * FontInfo.h: ditto
10887 * BufferView_pimpl.h: ditto
10888 * ColorHandler.h: ditto
10890 * kbmap.C (defkey): change call to shared_ptr::reset
10892 2002-05-21 Juergen Vigna <jug@sad.it>
10894 * buffer.C (insertErtContents): fix to insert ert asis if it is
10895 non empty. Skip it completely if it contains only whitespaces.
10897 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10899 * BufferView_pimpl.C:
10900 * BufferView2.C: clear selection on paste (bug 393)
10902 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10904 * DepTable.C: include ctime
10906 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10908 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10910 2002-05-14 Juergen Vigna <jug@sad.it>
10912 * text.C (breakParagraph): fixed function to honor the keepempty
10913 layout in the right maner and also to permit the right breaking
10914 algorithm on empty or non empyt keepempty paragraphs.
10916 * paragraph.C (breakParagraph): we have to check also if the par
10917 is really empty (!size()) for isempty otherwise we do the wrong
10920 2002-05-10 Juergen Vigna <jug@sad.it>
10922 * buffer.[Ch] : The following are only changes to the ert
10923 compatibility read reading old LaTeX layout and font stuff and
10924 convert it to ERTInsets.
10926 * buffer.h: added isErtInset().
10928 * buffer.C (struct ErtComp): add a fromlayout bool to check
10929 if we're inside a LaTeX layout.
10930 (isErtInset): new helper function.
10931 (insertErtContents): look for other ert insets before this one
10932 and insert the contents there, so that we don't have subsequent
10933 ERT insets with nothing between them. This way we create only one
10934 inset with multiple paragraphs. Also check if we don't insert only
10935 spaces ' ' as they are ignored anyway afterwards in the .tex file
10936 so if we have only spaces we will ignore this latex part in the
10938 (parseSingleLyXformat2Token \\layout): better compatibility when
10939 reading layout-latex stuff.
10940 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10942 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10943 stuff after reading the inset only get the information back from
10946 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10948 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10950 * LaTeXFeatures.C (getBabelOptions): New method.
10952 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10954 * BufferView_pimpl.C (Dispatch): work around missing argument for
10957 2002-05-08 Juergen Vigna <jug@sad.it>
10959 * text.C (leftMargin): handle paragraph leftindent.
10961 * paragraph.C (writeFile): write the new \\leftindent tag.
10962 (validate): handle leftindent code.
10963 (TeXEnvironment): handle paragraphleftindent code again.
10965 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10967 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10968 for paragrap_extra indent code and new token \\leftindent.
10969 (latexParagraphs): handle the leftindent as environment.
10971 * ParameterStruct.h: added leftindent support.
10973 * ParagraphParameters.C (leftIndent): added support functions for
10974 the paragraph left indent.
10976 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10979 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10981 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10984 * text.C (computeBidiTables): No bidi in insetERT.
10986 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10989 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10991 * version.C.in: pre 5
10993 2002-05-02 José Matos <jamatos@fep.up.pt>
10994 * buffer.C (makeDocBookFile): white space changes, add newline to
10996 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10998 * tabular.C (docBook): fix typo.
11000 2002-05-03 Juergen Vigna <jug@sad.it>
11002 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11003 change in LyXText as we can not be sure it was not freed.
11004 (drawOneRow): remove unused code.
11006 * text.C (drawInset): redo the calculation of the need_break_row as
11007 it could have a row which was already freed.
11008 (draw): look at the return value of drawInset and return false if
11009 it also returned false.
11010 (paintRowText): look at the return value of draw and return false if
11011 it also returned false.
11013 * lyxtext.h: added bool return type to drawInset() and draw() so that
11014 if we have a change in the row so that the rowbreak has to be redone
11015 we abort drawing as it will be called again.
11017 2002-05-02 Juergen Vigna <jug@sad.it>
11019 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11020 a change in the maintext also if we're inside an inset.
11021 (Dispatch): set the cursor again after a break line and after the
11022 screen has been updated as it could be we're in a different row.
11024 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11025 to set the cursor behind the pargraph with > size().
11026 (setCursor): check also for the same paragraph when checking where
11027 to put the cursor if we have a NFR inset.
11029 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11030 parts of layout read further up as it still was in the wrong
11033 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11035 * screen.C (drawFromTo): change sine fullRebreak always return
11038 * buffer.C (parseSingleLyXformat2Token): reindent some
11040 * BufferView_pimpl.C (update): change since fullRebreak always
11042 (Dispatch): git rid of the last hardcoded "Standard"s.
11044 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11046 * text2.[Ch] (fullRebreak): make it return void now that we always
11049 2002-04-30 Juergen Vigna <jug@sad.it>
11051 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11052 ert compatibility check for "latex" layout.
11054 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11056 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11057 minipages: use col% instead of p%, and also use the current font.
11058 (makeLaTeXFile): Fix use babel condition.
11059 (parseSingleLyXformat2Token): Correct font when reading old floats.
11061 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11063 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11064 inserting list of floats.
11066 2002-04-25 Herbert Voss <voss@lyx.org>
11068 * MenuBackend.C (expand): don't add the graphics extensions to the
11071 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11073 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11074 non-existing layout, do not complain if it was the default layout
11075 of the original class (bug #342)
11077 2002-04-24 Juergen Vigna <jug@sad.it>
11079 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11080 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11082 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11084 * buffer.C (getBibkeyList): If using \bibliography, return the
11085 option field with the reference itself. Enables us to provide natbib
11086 support when using \bibliography.
11088 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11090 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11092 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11093 natbib is provided by the LaTeX class.
11095 2002-04-23 Juergen Vigna <jug@sad.it>
11097 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11100 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11102 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11104 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11106 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11107 ensuremath around textordmasculine, textordfeminine and
11110 2002-04-19 Juergen Vigna <jug@sad.it>
11112 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11113 reinitializing the buffer otherwise row-dimensions may be wrong.
11114 (update): reset also the selection cursors if they do exits otherwise
11115 their x/y positions may be wrong.
11117 * text2.C (cursorDown): don't enter the inset if we came from a row
11118 above and are one row over the inset.
11120 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11121 really leaving an inset.
11123 2002-04-18 Juergen Vigna <jug@sad.it>
11125 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11126 of the selected paragraph does not have the selected layout also if
11129 * text2.C (setLayout): fixed bug which did not change last selected
11132 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11133 changed the read and substituted \\end_float with \\end_inset!
11135 * BufferView_pimpl.C (cursorPrevious):
11136 (cursorNext): fixed to make it work with rows heigher than the work
11137 area without moving the cursor only the draw of the row.
11138 (workAreaMotionNotify): fix jumping over high rows.
11140 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11142 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11145 2002-04-16 Juergen Vigna <jug@sad.it>
11147 * text2.C (setCursor): set also the irow().
11148 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11150 (cursorDown): support for locking an inset if the x_fix value goes
11151 inside it. That way I can transverse insets too with cursor up/down.
11153 * lyxrow.h: added irow helper function same as other (i) functions.
11155 * BufferView_pimpl.C (cursorPrevious):
11156 (cursorNext): fixed for insets!
11158 2002-04-15 Juergen Vigna <jug@sad.it>
11160 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11161 position otherwise it is wrong in some cases.
11163 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11164 inside the inset before the call.
11166 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11168 * buffer.[Ch] (getBibkeyList): make it const.
11170 2002-04-12 Juergen Vigna <jug@sad.it>
11172 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11174 * text2.C (getCursorX): new helper function
11175 (setCursor): compute also ix_
11176 (setCursorFromCoordinates): set also ix.
11178 * lyxcursor.h: added ix_ and helper functions.
11180 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11182 * buffer.C (insertStringAsLines): dont break paragraph if the this
11183 paragraph is inside an inset which does not permit it!
11185 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11186 also with no chars on this paragraph.
11187 (paintRowText): only paint stuff if it's inside the workarea!
11189 * paragraph.C (breakParagraph): honor keepempty flag and break the
11190 paragraph always below not above.
11192 * BufferView2.C (unlockInset): update the paragraph layout on inset
11193 unlock as we changed paragraph in such a case.
11195 * lyxfind.C (LyXFind): clear the former selection if not found!
11197 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11198 again called in insertChar().
11200 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11201 an inset which uses the whole row!
11202 (rightMargin): ditto.
11203 (insertChar): force a rebreak if we inserted an inset!
11205 2002-03-28 Herbert Voss <voss@lyx.org>
11207 * lyxlength.[Ch]: add inBP() to get the right PS-point
11208 units (BigPoint). With inPixels we have rounding errors
11210 2002-04-11 Juergen Vigna <jug@sad.it>
11212 * text2.C (setCursorFromCoordinates): set iy to the right value.
11213 (setCursor): add check if row->previous exists!
11215 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11216 an old float_type as this was the case in the old code!
11218 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11220 * BufferView2.C (showLockedInsetCursor): use iy
11221 (fitLockedInsetCursor): ditto
11223 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11224 locked insets as there we have the right value now.
11226 * lyxcursor.C: added iy_ variable and iy functions to set to the
11227 baseline of cursor-y of the locked inset.
11229 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11230 (setCursor): fixed for insets which need a full row.
11232 * text.C (rowLastPrintable): don't ignore the last space when before
11233 an inset which needs a full row.
11234 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11235 as last character of a row when before a inset which needs a full row.
11237 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11239 * version.C.in: update date
11241 * text2.C (fullRebreak): try to always return true and see what
11244 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11246 * MenuBackend.C (expand): use Floating::listName
11248 * FloatList.C (FloatList): add listName argument to the built-in
11251 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11252 text associated with the float.
11254 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11256 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11258 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11260 * ShareContainer.h: add a couple of missing typenames.
11262 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11264 * lyxrc.C (getDescription): use _() correctly rather than N_().
11266 2002-03-28 Herbert Voss <voss@lyx.org>
11268 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11269 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11271 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11273 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11274 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11276 2002-03-29 Juergen Vigna <jug@sad.it>
11278 * lyxfunc.C (dispatch): add a missing fitCursor call.
11280 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11281 it was scrolled by a cursor move, so return the bool status.
11283 * BufferView.C (fitCursor): return the bool flag also to the outside
11284 world as this is needed.
11286 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11288 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11289 call the edit() as it is not needed (and wrong) IMO.
11290 (workAreaButtonPress): set the screen_first variable before evt.
11291 unlock the inset as this may change screen_first and then we have
11292 a wrong y position for the click!
11294 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11296 * MenuBackend.C (expand): another translation that I missed
11298 2002-03-28 Juergen Vigna <jug@sad.it>
11300 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11302 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11304 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11306 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11308 * MenuBackend.C (expand): fix export/view/update when there is no
11311 2002-03-27 Herbert Voss <voss@lyx.org>
11313 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11316 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11318 * bufferview_funcs.C (currentState): only show paragraph number
11319 for is DEVEL_VERSION is set.
11321 * lyxfunc.C (dispatch): put warning in INFO channel
11323 * MenuBackend.C (expand): translate the name of floats
11325 * FloatList.C (FloatList): mark the float names for translation
11327 * converter.C (convert): use LibScriptSearch
11329 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11331 * MenuBackend.C (defaults): fix default menu (we might as well get
11334 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11336 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11339 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11341 * lyxvc.C: reorder includes.
11343 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11345 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11348 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11350 * CutAndPaste.C: change layouts earlier on paste
11351 to avoid crashing when calling getFont()
11353 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11355 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11358 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11360 * WorkArea.C: remove 'Pending' debug message.
11362 * most files: ws cleanup
11364 * buffer.[Ch]: ws changes
11366 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11368 2002-03-21 Juergen Vigna <jug@sad.it>
11370 * tabular.C (SetMultiColumn): collapse also the contents of the
11371 cells and set the last border right. Added a Buffer const * param.
11373 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11375 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11378 2002-03-19 Juergen Vigna <jug@sad.it>
11380 * text2.C (clearSelection): reset also xsel_cache.
11382 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11383 where it needs to be called (John tells us to do so too :)
11384 (selectionLost): reset sel_cache.
11386 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11388 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11390 * text2.C (setCursorIntern): put debuging code in INSETS channel
11392 2002-03-19 André Pönitz <poenitz@gmx.net>
11394 * lyxfunc.C: tiny whitespace change
11396 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11398 * ToolbarDefaults.C (init):
11399 * LyXAction.C (init):
11401 * BufferView_pimpl.C (Dispatch):
11402 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11404 2002-03-19 Allan Rae <rae@lyx.org>
11406 * exporter.C (Export): removeAutoInsets before doing anything else.
11407 While I've just introduced a dependency on BufferView this really is
11408 the best place to clean the buffer otherwise you need to cleanup in
11409 a dozen places before calling export or cleanup in a dozen functions
11412 * converter.C (runLaTeX):
11413 (scanLog): Better handling of removeAutoInsets and screen updates.
11415 * lyxfunc.C (dispatch): small whitespace changes
11417 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11419 * WorkArea.C (C_WorkAreaEvent): return a value.
11420 (event_cb): return 1 if we handled the event, 0 otherwise.
11422 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11424 2002-03-18 Juergen Vigna <jug@sad.it>
11426 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11427 (GetAdditionalWidth): ditto.
11428 (RightLine): ditto.
11431 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11432 inset if we're there actually (probably not used right now but this
11433 is the direction to go for unifying code).
11434 (paste): disable code to clear the selection.
11436 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11437 inside an InsetText and move the check further up as it is in the
11440 * text2.C (pasteSelection): set a selection over the pasted text.
11442 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11444 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11445 and libgraphics to build on Cygwin.
11447 2002-03-15 Juergen Vigna <jug@sad.it>
11449 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11450 inserting an Inset into the paragraph. I know this is not the best
11451 fix but we already use current_view in CutAndPaste so we will remove
11452 all of it's using at the same time.
11454 * buffer.C (sgmlError): deactivated function till it is rewritten in
11455 the right mode, now it can create problems.
11457 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11458 before accessing it.
11460 2002-03-14 Juergen Vigna <jug@sad.it>
11462 * undo_funcs.C (textHandleUndo): do the right thing when updating
11463 the inset after the undo/redo.
11465 * text2.C (setCursor): just some testcode for #44 not ready yet.
11467 * undo_funcs.C (textHandleUndo): set the next() and previous()
11468 pointers of the paragraph to 0 before deleting otherwise we have
11469 problems with the Paragraph::[destructor].
11471 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11472 on a paragraph insertion.
11474 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11476 * buffer.C (asciiParagraph): use += operator for char append to
11479 * paragraph.C (getFontSettings): compare >= not just >
11480 (highestFontInRange): ditto
11483 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11485 * paragraph.C: change several algorithm to be more appripriate for
11486 the problem domain. This is lookip in FontList and in the InsetList.
11488 2002-03-13 André Pönitz <poenitz@gmx.net>
11491 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11493 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11498 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11500 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11502 * Painter.C (display): anon helper function, adjust code for this
11504 (pixmap): remove function.
11506 * Painter.h: remove private display variable.
11508 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11510 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11512 * WorkArea.[Ch]: remove figinset_canvas cruft.
11514 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11516 * lyxtextclass.C (operator): add one item cache optimization.
11518 * bufferlist.h: doxy changes
11520 * bufferlist.C: ws changes
11522 * DepTable.[Ch] (ext_exist): place const in the right spot.
11524 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11526 (workAreaExpose): call resizeInsets when the with BufferView changes.
11527 (Dispatch): adjust for protectedBlank removal
11528 (specialChar): call updateInset if the insert went ok.
11530 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11531 specialChar instead.
11533 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11535 * BufferView.h: doxy change
11537 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11539 * lyxtextclass.C (operator[]): remove non-const version
11540 (defaultLayout): remove non-const version
11542 2002-03-12 Juergen Vigna <jug@sad.it>
11544 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11545 did resize the LyXText too.
11547 * buffer.C (readLyXformat2): set layout information on newly allocated
11550 * tabular.C (OldFormatRead): set layout information on the paragraph.
11552 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11554 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11556 2002-03-11 Juergen Vigna <jug@sad.it>
11558 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11560 (resizeCurrentBuffer): force also the insets to resize themselfes.
11561 (moveCursorUpdate): fixed up for InsetText.
11563 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11566 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11567 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11568 value of Dialogs::tooltipsEnabled().
11569 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11571 2002-03-08 Juergen Vigna <jug@sad.it>
11573 * BufferView_pimpl.C (updateInset): update inset inside inset also
11574 if it isn't inside theLockingInset().
11576 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11578 * buffer.C (asciiParagraph): redo some of the word and line length
11580 (getLists): look for Caption instead of caption.
11582 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11584 * buffer.C (Buffer): initialize niceFile to true
11586 (makeLinuxDocFile):
11587 (makeDocBookFile): make sure niceFile is true on exit
11589 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11591 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11593 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11595 * LyXSendto.C: remove.
11596 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11597 * lyx_gui.C: remove now-redundant comment.
11598 * ColorHandler.h: remove forward declaration of class WorkArea.
11599 * lyxfunc.C: remove #include "WorkArea.h".
11601 2002-03-07 Juergen Vigna <jug@sad.it>
11603 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11604 got moved away with the DEPM and also set the inset_owner always
11605 right which before could have been omitted.
11607 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11609 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11610 wanted layout is not found.
11612 2002-03-07 Juergen Vigna <jug@sad.it>
11614 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11616 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11618 * paragraph.C (breakParagraph): use default layout not layout of
11620 (Paragraph): clear ParagraphParameters.
11622 2002-03-06 Juergen Vigna <jug@sad.it>
11624 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11625 otherwise it would not be a valid lenght. Fixed a special case in
11626 the minipage compatibility read where we end the document with a
11629 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11630 was set as it could be 0 for InsetTexts first entry.
11632 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11634 * paragraph.C (writeFile): if layout is empty write out
11635 defaultLayoutName().
11637 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11638 file without named layout we set layout to defaultLayoutName().
11640 2002-03-06 Juergen Vigna <jug@sad.it>
11642 * CutAndPaste.C (copySelection): set layout for new paragraph.
11644 * text.C (prepareToPrint): leave ERT inset left aligned
11645 (leftMargin): don't indent paragraphs inside ERT insets
11647 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11649 * paragraph.C (breakParagraph): dont call clear do the work manually
11651 * paragraph.[Ch] (clear): remove function
11653 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11655 * paragraph.C (Paragraph): dont call clear, the work has already
11658 * lyxtextclass.C (operator): assert if n is empty
11660 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11661 work manually instead.
11663 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11665 * BufferView_pimpl.C: protect selectionLost against text == 0
11667 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11669 * text.C (breakParagraph): fix a setting layout to '0' problem.
11671 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11673 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11674 final location of file, for the included files, and graphics.
11676 2002-03-05 Juergen Vigna <jug@sad.it>
11678 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11680 2002-03-04 Juergen Vigna <jug@sad.it>
11682 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11684 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11685 last column of multicolumn cells.
11686 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11688 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11690 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11691 file if it doesn't go to a temporary file.
11693 * buffer.C (sgmlOpenTag):
11694 (sgmlCloseTag): remove extra newline insertion.
11696 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11698 * text.C (getRowNearY): comment out debug msg
11700 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11702 * text2.C: first -> first_y
11704 * text.C (getRowNearY): add some attemts at a possible
11705 optimization, not working.
11707 * tabular.[Ch]: add BufferParams to several function so that newly
11708 created paragraph can be initialized to he default layotu for the
11711 * tabular-old.C (ReadOld): add buf->params to call of Init
11713 * screen.C: rename text->first to text->first_y
11715 * paragraph.C (breakParagraph): always set layout in the broken
11718 * lyxtextclass.C (Read): remove lowercase
11721 (delete_layout): ditto
11723 * lyxtext.h: rename first -> first_y
11725 * lyxlayout.C (Read): remove lowercase
11728 (obsoleted_by): ditto
11730 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11732 * buffer.C (insertErtContents): add params are to InsetERT
11733 (parseSingleLyXformat2Token): add code to check if a paragraphs
11734 layout really exist.
11735 (parseSingleLyXformat2Token): add params to several inset
11737 (asciiParagraph): remove lowercase, do the layout comparisons with
11740 * BufferView_pimpl.C (cursorNext): first -> first_y
11741 (resizeCurrentBuffer): first -> first_y
11742 (updateScrollbar): first -> first_y
11743 (scrollCB): first -> first_y
11744 (workAreaMotionNotify): first -> first_y
11745 (workAreaButtonPress): first -> first_y
11746 (checkInsetHit): first -> first_y
11747 (cursorPrevious): first -> first_y
11748 (cursorNext): first -> first_y
11749 (Dispatch): add buffer_->params to severl inset contructors
11751 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11753 * lyxlayout.C (Read): remove some debug info that I forgot.
11755 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11756 clean up the code slightly.
11757 (makeLinuxDocFile): ditto
11758 (makeDocBookFile): ditto
11760 * text2.C: layout as string
11762 * text.C: layout as string
11764 * paragraph_pimpl.C: layout as string
11766 * paragraph.[Ch]: layout as string
11768 * lyxtextclasslist.[Ch]: layout as string
11770 * lyxtextclass.[Ch]: layout as string
11772 * lyxtext.h: layout as string
11774 * lyxlayout.[Ch]: layout as string
11776 * lyx_cb.C: layout as string
11778 * bufferview_funcs.C: layout as string
11780 * bufferparams.C: layout as string
11782 * buffer.C: layout as string
11784 * LyXView.[Ch]: layout as string
11786 * LaTeXFeatures.[Ch]: layout as string
11788 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11790 * BufferView_pimpl.C: change current_layout to string, remove
11795 (workAreaButtonRelease): layout as string
11797 * BufferView2.C (unlockInset): adjust
11799 * vspace.C (asLatexCommand): use an explict temp variable.
11801 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11803 * Makefile.am: use FRONTEND_*
11805 2002-03-01 Juergen Vigna <jug@sad.it>
11807 * tabular.C (SetWidthOfMulticolCell): changed to something better
11808 I hope but still work in progress.
11809 (recalculateMulticolumnsOfColumn): renamed function from
11810 recalculateMulticolCells as it is more appropriate now.
11811 (SetWidthOfCell): calculate multicols better.
11813 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11815 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11817 * lyxfunc.C (processKeySym): print sequence also if it is
11818 `deleted' (complete)
11820 * kbsequence.C (print): print sequence even if it is deleted
11821 (complete would be a better word, actually).
11823 * lyxfunc.C (dispatch): print complete options after a prefix key
11825 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11827 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11829 * text2.C (setCharFont): eliminate setCharFont code duplication.
11831 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11833 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11834 LFUN_TABULAR_FEATURE (bug #177)
11836 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11838 * Makefile.am: remove figure.h
11840 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11842 * Bufferview_pimpl.C:
11854 * text2.C: remove #include "lyx_gui_misc.h".
11856 * LaTeX.C: added #include <cstdio>
11858 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11860 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11861 that the paragraph following this one can have.
11863 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11865 * vspace.C (asLatexCommand): fix bogus gcc warning
11867 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11869 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11871 * text2.C (setLayout): get rid of redundant code
11873 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11875 * text2.C (incDepth): make sure depth cannot be increased beyond
11878 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11880 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11881 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11883 * PainterBase.h (image):
11884 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11885 a LyXImage const *.
11887 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11891 * BufferView_pimpl.C:
11892 * BufferView_pimpl.h:
11912 * sp_spell.C: remove fig inset, and the crap house of
11913 cards that follows it
11915 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11920 * os2_errortable.h:
11921 * nt_defines.h: move .h into support/
11923 * vms_defines.h: remove
11925 * WorkArea.C: add space in debug output
11929 * buffer.C: add WITH_WARNINGS
11933 * bufferlist.C: s/retrive/retrieve/, add docs
11942 * chset.C: add docs
11944 * lyxgui.C: add ID to X error handler
11946 * lyxtestclass.c: fix typo
11948 2002-02-26 Juergen Vigna <jug@sad.it>
11950 * tabular_funcs.C (write_attribute): changed so that some default
11951 attributes are not written at all.
11952 (getTokenValue): set default values before trying to read the
11953 value so we have the return value always set as default if we don't
11954 find the token we search for.
11956 * tabular.C (Write): write bools as bools not as strings!
11958 2002-02-22 Juergen Vigna <jug@sad.it>
11960 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11961 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11963 * text.C (leftMargin): don't add an indent for paragraphs inside
11964 tabular cells (fix #208).
11966 2002-02-21 José Matos <jamatos@fep.up.pt>
11968 * tabular.C (docBook): fixed support for long tables.
11970 2002-02-20 Juergen Vigna <jug@sad.it>
11972 * text2.C (getFont): get the drawing font of the Inset if this
11973 paragraph is inside an inset (only important for InsetERT for now).
11975 * buffer.C (insertErtContents): use new lanugage params in ERT
11978 * CutAndPaste.C: commenting out seemingly uneeded code.
11980 2002-02-19 Allan Rae <rae@lyx.org>
11982 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11983 Iterators might be simple to use but they also get invalidated.
11984 (removeAutoInsets): renamed saved cursor tracking variables and added
11985 some comments to clarify what everything does.
11987 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11994 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11995 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11998 * vc-backend.h: remove #include "support/syscall.h"
12002 * converter.C: rearrange #includes in Lars' approved fashion.
12004 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12005 forward declare class Timeout in the header file.
12007 * XFormsView.C: changes due to the above.
12009 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12010 similar to LyXView.
12012 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12013 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12015 2002-02-18 José Matos <jamatos@fep.up.pt>
12017 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12020 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12022 * a lot of small ws changes
12023 * add a lot of using std::XXX
12024 * use std construcs some places where approp.
12025 * use some exisint stuff from lyxfunctional where approp.
12026 * Make file changes to use partial linking (lets test this now...)
12028 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12032 remove #include "support/syscontr.h" as it's redundant. Always has been.
12040 change Systemcalls::System to Systemcalls::Wait and
12041 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12042 No change of functionality, just reflects the stripped down Systemcalls
12045 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12047 * debug.[Ch]: add a GRAPHICS type to the enum.
12049 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12051 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12053 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12056 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12058 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12059 match the changes below.
12061 * text2.C (toggleInset): if there is not editable inset at cursor
12062 position, try to see if cursor is _inside_ a collapsable inset
12065 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12067 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12068 document menu has a nice checkbox
12070 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12072 * lyxlength.C (asLatexString): change PW to output as percent of
12075 * lengthcommon.C: change '%' to 't%'
12077 * lyxfunc.C (dispatch): a few comments from Martin
12079 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12083 * BufferView_pimpl.h:
12084 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12087 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12089 * vspace.C (inPixels): fix compiler warning
12091 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12093 * lyxfunc.C (getStatus): fix status message for disabled commands.
12095 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12097 * BufferView_pimpl.C: fix crash on close buffer
12098 during selection (#227)
12100 2002-01-27 Herbert Voss <voss@lyx.org>
12102 * buffer.C: link old Figure to new graphic inset
12104 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12106 * FontLoader.C (getFontinfo): Change the latex font names in order
12107 to match the names of type1inst.
12109 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12111 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12113 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12114 (extchanged): ditto
12116 (remove_files_with_extension): ditto
12117 (remove_file): ditto
12120 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12121 document is smaller than the work area height. Do not initialize
12122 static variables to 0.
12124 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12126 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12128 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12129 LFUN_LAYOUT_PARAGRAPHS.
12131 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12132 tabular. It is possible to provide a possible cell, which will
12133 typically be the actcell from the corresponding insettabular
12135 * lyxfunc.C (getStatus): small cleanup; disable
12136 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12139 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12141 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12143 * paragraph.C (startTeXParParams):
12144 (endTeXParParams): new methods. The LaTeX code to
12145 start/end paragraph formatting
12146 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12147 empty (fixes bug #200)
12149 * vspace.C (inPixels): adapt to the change below
12150 (inPixels): [later] more cleanups (remove unused variables)
12152 * lyxlength.C (inPixels): change to use a width and a height as
12155 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12157 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12158 Replaced with \paperwidth
12160 * DepTable.C (insert): add std:: qualifier
12162 2002-01-18 Allan Rae <rae@lyx.org>
12164 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12167 * text.C (drawInset): Turned out I didn't know enough about how
12168 rebreaking worked. This fixes most of the redraw problems. I see
12169 an occasional cursor trail when a line is broken now and the cursor
12170 placement can seem out by a few pixels also after a rebreak.
12172 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12174 * buffer.C (parseSingleLyXformat2Token): update because minipage
12175 width is now a LyXLength
12177 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12179 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12182 2002-01-17 Juergen Vigna <jug@sad.it>
12184 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12186 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12187 is set correctly and the inset is updated correctly.
12189 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12191 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12192 the beginning of the loop.
12194 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12196 * lyxrc.C: improve help for use_scalable_fonts
12198 2002-01-17 Allan Rae <rae@lyx.org>
12200 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12202 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12204 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12205 make sure to set their inset_owner to the right value (bug #171)
12207 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12210 * DepTable.C: Implement mtime checking to reduce time spent doing
12213 2002-01-16 Juergen Vigna <jug@sad.it>
12215 * tabular.C (GetAdditionalHeight): one of error fixed.
12217 * lyxrc.C (output): small fix in writing use_pspell.
12219 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12221 * sp_base.h: #include LString.h
12223 2002-01-16 Allan Rae <rae@lyx.org>
12225 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12226 Can someone check this please?
12228 * text.C (drawInset): It was possible that p.row would be removed by
12229 breakAgainOneRow upsetting a few other settings. There may be another
12230 small tweak possible by setting need_break_row = 0 when p.row has been
12231 removed but I don't know enough about the logic here.
12233 2002-01-15 Allan Rae <rae@lyx.org>
12235 * text.C (insertChar): removed conditional truism.
12237 * BufferView2.C (removeAutoInsets): More tweaks.
12238 cur_par_prev could be a stray pointer. Check for trailing empty line
12239 in case last line was cur_par and only had an error inset on it.
12241 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12243 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12246 * vc-backend.C (most methods):
12247 * exporter.C (Export):
12248 * converter.C (convert):
12250 * LyXSendto.C (SendtoApplyCB):
12251 * lyxfunc.C (dispatch):
12255 * lyx_cb.C (AutoSave):
12257 * BufferView_pimpl.C (MenuInsertLyXFile):
12258 * buffer.C (runChktex): use Buffer::filePath().
12260 * buffer.h: rename filename to filename_; rename filepath to
12261 filepath_ and make it private
12262 (filePath): new method
12264 * buffer.C (writeFile): use fileName()
12267 * lyx_main.C (init): fix starting of LyX when the binary is a
12268 link from so,ewhere else.
12270 * minibuffer.C: include <cctype> for isprint
12272 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12274 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12275 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12276 name clash with InsetCollapsable's width function.
12278 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12280 * lastfiles.C: include <iterator>
12282 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12284 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12287 * buffer.C (makeLaTeXFile): ditto.
12288 Also make loop operation more transparent.
12290 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12292 * ToolbarDefaults.C: remove trailing comma closing namespace.
12294 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12296 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12299 * trans.C (Load): comment out unused variable, allowed.
12301 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12303 * minibuffer.[Ch] (append_char): new method to recieve input from the
12304 drop-down completion browser. If a key was pressed, then recieve this
12305 char and append it to the existing string.
12306 (peek_event): modify the positioning data passed to the completion
12307 browser so that it can be placed above the minibuffer rather than below.
12308 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12310 * LyXAction.C (init): alloe error-next for readonly documents.
12312 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12315 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12317 * bufferlist.C (readFile): create the buffer _after_ checking that
12320 * lyxfunc.C (verboseDispatch): fix handling of arguments
12322 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12324 * lyxrc.C: use string::erase() instead of initializing to "".
12327 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12329 * BufferView_pimpl.h:
12330 * BufferView_pimpl.C:
12333 * text2.C: tell X when we have made a selection for copying
12335 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12337 * BufferView_pimpl.C (MenuInsertLyXFile):
12338 * lyxfunc.C (menuNew):
12340 (doImport): add shortcuts to directory buttons
12342 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12345 * lyxfunc.C (setStatusMessage):
12346 (getStatusMessage): new methods
12347 (getStatus):use setStatusMessage instead of setErrorMessage
12348 (dispatch): when function is disabled, set error message here
12349 [instead of in getStatus previously]
12351 * BufferView_pimpl.C (workAreaButtonRelease): update
12352 toolbar/menubar here too.
12354 2002-01-13 Allan Rae <rae@lyx.org>
12356 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12357 Now seems indestructible. Remaining task is to audit all other
12358 code affected by deleteEmptyParagraphMechanism. One small quirk
12359 left is that an empty document with an error in the preamble can
12360 be made to report an error but no error box appears. I don't know
12362 (removeAutoInsets): Improved comments.
12364 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12367 * Thesaurus.C: update for Aiksaurus 0.14
12369 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12371 * text2.C (firstParagraph): removed member function, all uses
12372 replaces with ownerParagraph
12373 (redoParagraphs): here
12374 (updateInset): here
12375 (toggleAppendix): here
12376 * BufferView2.C (insertErrors): here
12377 (setCursorFromRow): here
12379 2002-01-13 Allan Rae <rae@lyx.org>
12381 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12382 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12383 There is still a way to segfault this although you may have to do this
12384 multiple times: Have an InsetERT with an unknown command in it.
12385 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12386 <down-arrow>, <Enter> again, View->DVI, BANG!
12388 * text2.C (setCursor):
12389 (deleteEmptyParagraphMechanism):
12390 * lyxtext.h (setCursor):
12391 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12392 Making use of the return value may help fix other bugs.
12394 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12396 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12398 * LyXView.C (updateMenubar): call MenuBar::update here
12399 (updateToolbar): but not here
12400 (showState): do not update toolbar/menubar
12402 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12403 should need to care about that.
12405 * lyxfunc.C (verboseDispatch): simplify a bit
12406 (getStatus): have a version which takes a pseudoaction, and
12407 another which requires a (kb_action,string).
12409 * LyXAction.C (retrieveActionArg): make it work also when action
12410 is not a pseudo-action.
12411 (getActionName): simplify a bit
12414 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12416 * lyxfunc.C (verboseDispatch): new families of methods with
12417 several ways to specify a command and a bool to indicate whether
12418 the command name and shortcut should be displayed in minibuffer
12419 (eventually, we could extend that to a finer bitmask like
12420 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12421 (dispatch): the pristine dispatch command which just, well,
12422 dispatchs! Note it still sets its result to minibuffer; I'm not
12425 * lyxfunc.h: remove setHintMessage
12427 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12429 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12431 * BufferView_pimpl.C (specialChar): delete new inset if we have
12432 not been able to insert it.
12434 * kbmap.C: revert to using int instead of kb_action, since all we
12435 are dealing with is pseudo-actions.
12437 * LyXAction.C (searchActionArg): change to return int instead of
12438 kb_action, since the result is a pseudoaction.
12440 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12442 * buffer.C (insertErtContents): Fix (partially) the font bug.
12444 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12446 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12447 as the other one is broken on my machine!
12449 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12452 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12454 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12456 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12457 reflect their actual use. Provide compatibility code for older lyxrc
12460 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12462 change names of popup font variables in line with the changes to lyxrc.C
12464 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12466 * buffer.C (asciiParagraph): avoid outputing a word twice after
12469 * lyxrc.C (getDescription): document that document_path and
12470 template_path can be empty.
12472 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12474 * LaTeXFeatures.C (getMacros):
12475 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12477 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12479 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12481 (getPackages): rename feature "floats" to "float". Use an array to
12482 iterate over 'simple' features (i.e. just a \usepackage). Add
12483 handling of "amsmath" (renamed from "amsstyle").
12485 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12487 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12490 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12492 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12493 FuncStaus::FuncStatus & FuncStaus::some_method().
12495 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12497 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12498 of the func_satus stuff. Edited and massaged in various ways by
12501 * lyxfunc.C (getStatus): use FuncStatus
12503 2002-01-08 Juergen Vigna <jug@sad.it>
12505 * text.C (nextBreakPoint): use function Inset::isChar().
12507 * paragraph.C (TeXOnePar): use function
12508 Inset::forceDefaultParagraphs.
12510 * buffer.C (latexParagraphs): use function
12511 Inset::forceDefaultParagraphs.
12513 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12515 * lyx_gui.C (init): set the style of the menu popups to
12516 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12518 2002-01-07 Juergen Vigna <jug@sad.it>
12520 * text.C (setHeightOfRow): small fix
12521 (prepareToPrint): don't look at alignment if we don't have the place
12524 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12526 * box.C: New file. Move the Box methods and functions out of box.h,
12527 following Lars' suggestion.
12529 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12531 * box.h: #include "support/LOstream.h", needed for inlined function.
12534 * lyxtextclasslist.C: added some using std declarations.
12536 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12538 * box.h: make signed dimensions to allow insets wider than
12539 the screen (bug #162)
12541 * BufferView_pimpl.C: add some insetHit debug
12543 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12545 * vc-backend.C: add FIXME
12547 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12549 * lyxfunc.C (getStatus): enable code for showing math font status
12552 2002-01-07 Juergen Vigna <jug@sad.it>
12554 * text.C (nextBreakPoint): removed debug output not needed anymore.
12556 2002-01-06 Juergen Vigna <jug@sad.it>
12558 * text.C (nextBreakPoint): fixed up this function we had this bug
12559 since ever but now hopefully we break row better.
12560 (insertChar): we have to check if an inset is the next char as it
12561 could now happen that a large inset is causing a break.
12563 2002-01-05 Juergen Vigna <jug@sad.it>
12565 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12566 if it doesn't like to be drawed.
12568 2002-01-04 Juergen Vigna <jug@sad.it>
12570 * BufferView2.C (lockInset): forgot to set a cursor.
12572 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12574 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12576 * FormMathsPanel.C:
12579 * form_maths_panel.C:
12580 * form_maths_panel.h:
12581 * form_maths_panel.fd: implemented sub- and super- buttons in math
12584 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12585 (or ^ space) to be used as in TeX (req'd by André).
12587 * lyxfunc.C: Allow ^ and _ again to be used both as
12588 super/subscript (mathed) and as themselves (in text).
12590 2002-01-03 Allan Rae <rae@lyx.org>
12592 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12593 "LyX" or the filename of the current buffer if it has one. This is a
12594 modified form of John Levon's patch.
12596 * XFormsView.C (setWindowTitle): also set icon title.
12598 * LyXView.h (setWindowTitle): signature changed.
12599 * XFormsView.h (setWindowTitle): ditto.
12601 2002-01-02 Juergen Vigna <jug@sad.it>
12603 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12605 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12607 * screen.C (topCursorVisible): introduce a temp var for
12608 text->cursor.row(), handle the case where this row is null. (kindo
12611 * text2.C (setCursor): add a couple of asserts.
12613 * paragraph.h (inset_iterator): add -> operator
12615 * paragraph.[Ch] (autoDeleteInsets): remove member function
12617 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12618 cursor pos correctly and handle inset deletion by itself.
12619 (insertErrors): move iterator declaration out of for expression
12621 * lyxtextclass.C: add <algorithm>
12623 * Makefile.am: added the new files to sources, removed layout.C
12625 * layout.C: removed file
12627 * layout.h: remove LYX_DUMMY_LAYOUT
12629 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12633 * lyxtextclass.[Ch]:
12634 * lyxtextclasslist.[Ch]: new files
12636 * include order changes to a lot of files, also changes because of
12639 2001-12-27 Juergen Vigna <jug@sad.it>
12641 * buffer.C (asciiParagraph): more fixes.
12643 * tabular.C (ascii): make ascii export support export of only the
12644 data separated by a column-delimiter.
12645 (ascii): better support for ascii export.
12647 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12649 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12651 * tabular_funcs.C: use a "using std::getline" instead of the
12652 previous fix from Angus (necessary for cxx + lyxstring)
12654 2001-12-24 Juergen Vigna <jug@sad.it>
12656 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12658 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12659 problems. First check a minipage also if we have some ert-contents
12660 (not only on par->size(), second set the right depth of the paragraph
12661 on the relink to the root-paragraph-list!
12663 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12664 which then did not anymore update the main paragraphs on undo/redo!
12666 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12668 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12669 code. Support all font-changing funcs (even those which are not in
12670 menu currently). Support for reporting font settings in
12671 mathed (disabled until Andre provides a function on mathed's side).
12673 * func_status.h (toggle): small helper function to set toggle
12676 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12678 * tabular_funcs.C: getline -> std::getline
12680 2001-12-21 Juergen Vigna <jug@sad.it>
12682 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12683 accessed and could be 0 (I couldn't generate this but it seems
12686 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12688 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12689 * tabular_funcs.h: here and include iosfwd
12691 2001-12-20 Juergen Vigna <jug@sad.it>
12693 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12694 inside inset but undo_par was.
12696 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12698 * Thesaurus.C: always include <config.h> in sources.
12702 * box.h: do not include <config.h> in header files
12704 * text.C (paintLastRow): remove unused variable
12706 * text.C (transformChar):
12708 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12710 * Painter.C (text):
12711 * font.C (width): rewrite to use uppercase() instead of
12714 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12716 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12718 * lyxfind.C: clean up of find failure position change
12720 2001-12-20 Juergen Vigna <jug@sad.it>
12722 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12724 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12725 (TeXRow): added to LaTeX a single tabular row.
12726 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12727 (Latex): simplified and finally good LT-h/f support.
12728 (various_functions): just small adaptions for LT-h/f support.
12730 * tabular_funcs.[hC]: added and moved here all not classfunctions
12733 2001-12-19 Juergen Vigna <jug@sad.it>
12735 * tabular.[Ch]: better support for longtabular options (not finished
12738 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12740 * text.C (paintLastRow): use the label font instead of the font of
12741 the last character to compute the size of *_BOX. This makes more
12742 sense and avoids a crash with empty paragraphs.
12743 Use Painter::rectangle to draw EMPTY_BOX.
12745 2001-12-19 Juergen Vigna <jug@sad.it>
12747 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12748 the paragraphs if the replaced paragraph is not the first one!
12749 Tried to delete not used paragraphs but does not work yet so for
12750 now it's inside #ifdef's and by default off!
12752 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12754 * MenuBackend.C: include "lyx_main.h" instead of declaring
12755 lastfiles (actually was declared as LastFiles* instead of a
12758 2001-12-17 Juergen Vigna <jug@sad.it>
12760 * tabular.C (AppendColumn): applied John's fix
12762 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12766 * BufferView_pimpl.h:
12767 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12770 * box.h: new start of class for above
12772 * lyxfunc.C: ignore space-only minibuffer dispatches.
12773 Show the command name when it doesn't exist
12775 * minibuffer.C: don't add empty lines to the history
12777 * minibuffer.C: add a space on dropdown completion
12779 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12781 * text.C: fix line above/below drawing in insets
12783 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12785 * lyxlength.C (LyXLength): Initialize private variables.
12787 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12789 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12790 when inserting error insets.
12792 2001-12-13 Juergen Vigna <jug@sad.it>
12794 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12795 actually sometimes the before-paragraph.
12796 (setUndo): don't clear the redostack if we're not actually undoing!
12798 2001-12-06 Juergen Vigna <jug@sad.it>
12800 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12801 and fixed redoing of main paragraph, so we can use it now ;)
12803 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12805 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12807 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12810 2001-12-13 André Pönitz <poenitz@gmx.net>
12813 * undo_func.C: minor cleanup
12815 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12817 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12818 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12819 font in urw-fonts package which is marked as -urw-fontspecific and
12820 does not work (incidentally, changing the encoding in the
12821 fonts.dir of this package to -adobe-fontspecific fixes the
12824 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12825 is a crash when undoing first paragraph (Juergen, please take a
12826 look). THis does not mean the undo fix is wrong, just that it
12829 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12830 the (Paragraph*) version when needed instead of duplicating the
12833 * text.C (workWidth): use Inset::parOwner to find out where the
12834 inset has been inserted. This is a huge performance gain for large
12835 documents with lots of insets. If Inset::parOwner is not set, fall
12836 back on the brute force method
12838 * paragraph_pimpl.C (insertInset):
12839 * paragraph.C (Paragraph):
12840 (cutIntoMinibuffer): set parOwner of insets when
12841 inserting/removing them
12843 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12845 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12851 * mathed/formulabase.C:
12852 * mathed/math_cursor.[Ch]:
12853 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12856 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12858 * lyxlength.[Ch] (operator!=): new function
12860 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12862 * text.C (workWidth): use Inset::parOwner to find out where the
12863 inset has been inserted. This is a huge performance gain for large
12864 documents with lots of insets. If Inset::parOwner is not set, fall
12865 back on the brute force method
12867 * paragraph_pimpl.C (insertInset):
12868 * paragraph.C (Paragraph):
12869 (cutIntoMinibuffer): set parOwner of insets when
12870 inserting/removing them
12872 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12874 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12876 * tabular-old.C (getTokenValue):
12877 * tabular.C (getTokenValue):
12878 (write_attribute): new versions for LyXLength
12879 (everywhere): adjust the use of widths
12881 * tabular.h: change the type of widths from string to LyXLength
12883 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12885 * paragraph.C: fixed missing line number count when exporting
12886 Environments to LaTeX file
12888 * buffer.C: added informational message for checking line numbers.
12890 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12892 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12893 paragraph, do the 'double space' part, but not the 'empty
12896 * text.C (workWidth): small optimization
12897 (getLengthMarkerHeight): use minimal size for negative lengths.
12899 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12901 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12903 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12905 2001-12-11 André Pönitz <poenitz@gmx.net>
12908 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12910 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12912 * text2.C: keep selection on a setFont()
12914 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12916 * lyx_cb.C: another bv->text misuse, from insert label
12918 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12921 * kbsequence.C: re-instate nmodifier mask
12923 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12925 * lyx_main.h: make lyxGUI private.
12927 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12929 * lyxfind.C: place the cursor correctly on failed search
12931 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12933 * text.C (getLengthMarkerHeight): for small heights, the arrows
12934 are not always on top/bottom of the text
12935 (drawLengthMarker): smaller arrows; take the left margin in
12936 account; draw also vfills.
12938 (paintLastRow): remove special code for vfill and standard spaces,
12939 since everything is handled in drawLengthMarker now.
12941 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12943 * buffer.C (insertErtContents): try to handle font and language
12944 interaction a bit better.g
12946 * ColorHandler.C (updateColor): change the hash to cover the whole
12947 LColor enum, ws cleanup
12948 (getGCLinepars): ditto
12949 (getGCLinepars): only lookup in the linecache once.
12951 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12953 * iterators.C (operator++): Make the iterator more robust
12955 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12957 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12959 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12962 * text.C: better added space drawing
12964 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12967 * BufferView2.C: fix layout combo update on inset unlock
12969 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12971 * Makefile.am: don't compile unused files
12973 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12977 * LyXAction.C: remove old LFUN_LAYOUTNO
12979 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12981 * paragraph_pimpl.h:
12982 * paragraph_pimpl.C: isTextAt() doesn't need font param
12984 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12987 * lyxlex.C: little cleanup
12989 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12991 * BufferView_pimpl.C: fix insertAscii for insets
12993 2001-12-05 Juergen Vigna <jug@sad.it>
12995 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12996 set the right font on the "multi" paragraph paste!
12998 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13004 * lyxlength.C: remove out-commented code.
13006 * BufferView_pimpl:
13020 * vc-backend.C: change "while(" to "while ("
13022 * lyxlength.[Ch]: add zero function to check if length is zero or
13024 * lyxgluelength.C: use it
13026 2001-12-05 Allan Rae <rae@lyx.org>
13028 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13029 Works for 2.95.3, from what I understand of Garst's reports this should
13030 work for other g++ versions. We're screwed if the abs(int) definition
13031 changed between bugfix releases of gcc.
13033 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13035 * text.C: fix chapter label offset !
13037 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13040 * text.C: fix hfill at end of line, clean up
13042 2001-12-04 Juergen Vigna <jug@sad.it>
13044 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13045 that we force an update of the inset and it's owners if neccessary.
13047 2001-12-03 Juergen Vigna <jug@sad.it>
13049 * text.C (rowLast): simplified code
13051 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13053 * lyxfunc.C: fix show options on timeout
13055 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13057 * screen.C (topCursorVisible): scroll half a page when the cursor
13058 reached top of bottom of screen
13060 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13062 * minibuffer.C: deactivate on loss of focus
13064 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13066 * vspace.[Ch] (operator!=): add operator.
13068 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13070 * BufferView_pimpl.C: refuse to open an inset when
13071 there's a selection.
13073 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13075 * BufferView_pimpl.C: allow to click on RHS of full row insets
13077 2001-11-30 Juergen Vigna <jug@sad.it>
13079 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13080 insets for undo reasons.
13082 2001-11-28 André Pönitz <poenitz@gmx.net>
13084 * vspace.[Ch]: cosmetical changes
13086 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13096 * kbsequence.C: part re-write of old kb code
13099 * WorkArea.C: remove Lgb_bug_find_hack
13101 2001-11-30 José Matos <jamatos@fep.up.pt>
13103 * buffer.C (makeDocBookFile): add a comment to point a hack.
13104 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13105 Fixed a double write of labels.
13107 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13110 * LaTeX.h Fixed bug in LaTeX class where it would not
13111 re-run latex if no depfiles were changed, but the .dvi was removed.
13113 2001-11-28 André Pönitz <poenitz@gmx.net>
13115 * all the files from the change on 2001/11/26:
13116 use lyx::layout_type instead of LyXTextClass::size_type
13117 use lyx::textclass_type instead of LyXTextClassList::size_type
13119 2001-11-29 Juergen Vigna <jug@sad.it>
13121 * text.C: added support for paragraph::isFreeSpacing()
13123 * buffer.C: same as above
13125 * paragraph.h: inserted isFreeSpacing() function to enable
13126 FreeSpacing inside InsetERT.
13128 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13129 of the paragraph's in the cut/copy buffer to 0!
13131 * text2.C (removeRow): remove the assert as it can!
13133 * lyxtext.h: added helper function firstRow returning firstrow and
13134 made firstrow private again.
13136 * BufferView2.C (lockInset): don't relock if we're already locked!
13138 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13139 the only paragraph.
13140 (removeRow): added Assert::(firstrow)
13142 * debug.C: forgot to add INSETTEXT here.
13144 2001-11-28 Juergen Vigna <jug@sad.it>
13146 * sp_spell.C (initialize): changed error text to more general
13147 spellchecker command use (not only ispell!)
13149 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13151 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13153 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13155 * vspace.C: initialise lyxgluelength on failure
13157 2001-11-28 Allan Rae <rae@lyx.org>
13159 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13160 declaration & definition that looks like a function declaration.
13162 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13164 * BufferView2.C (copy):
13165 (copyEnvironment): do not clear the selection when doing a copy.
13167 * text.C (paintFirstRow): compilation fix
13169 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13171 * tabular.C (Latex): correct line count when writing latex.
13173 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13175 * paragraph_pimpl.h:
13176 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13179 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13183 * LColor.C: change vfillline->added_space
13185 * text.C: add markers and text for added space
13187 * vspace.C: fix comment
13189 2001-11-28 André Pönitz <poenitz@gmx.net>
13191 * paragraph.C: whitespace changes
13192 * all the other files from the change on 2001/11/26:
13193 change *::pos_type into lyx::pos_type
13195 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13197 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13198 language of the document when inserting error insets.
13200 2001-11-26 André Pönitz <poenitz@gmx.net>
13202 * BufferView_pimpl.[Ch]:
13210 * paragraph_pimpl.[Ch]:
13213 * text2.C: reduce header dependencies, introduce type for positions
13215 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13217 * <various>: change to use Alert.h
13219 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13221 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13222 when encountering an unknown token.
13223 (readLyXformat2): Show an error message if there were unknown tokens.
13225 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13228 * BufferView_pimpl.C:
13232 * text2.C: use par->isInset()
13234 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13236 * paragraph_pimpl.h:
13237 * paragraph_pimpl.C: cleanup
13239 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13241 * text2.C (removeRow):
13242 * text.C (setHeightOfRow): remove useless (and costly) call to
13245 2001-11-20 Allan Rae <rae@lyx.org>
13247 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13248 Now need Inset*::checkInsertChar() to return true for appropriate
13249 cases so that the characters in the minibuffer will actually be
13252 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13254 * text.C: change the order of the includes.
13255 (workWidth): initialize it at once.
13256 (workWidth): make maxw unsigned
13257 (setHeightOfRow): remove unused variable (inset)
13258 (selectSelectedWord): remove unused variable (inset)
13259 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13261 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13263 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13264 server is not running.
13266 (closeConnection): add debug info when server is disabled.
13268 * ColorHandler.C (getGCForeground): send debug message to GUI
13271 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13273 * kbmap.C (bind): modify because return conventions of
13274 kb_sequence::parse have changed.
13276 * kbsequence.C (parse): only ignore spaces and not any stupid
13277 control character. This avoids tests like s[i] <= ' ', which are
13278 guaranteed to fail with 8bit characters and signed chars.
13279 Change return code to string::npos when there have been no error
13280 (0 was a bad idea when error is at first character)
13282 2001-11-14 José Matos <jamatos@fep.up.pt>
13285 * buffer.C (simpleDocBookOnePar): removed unused argument.
13287 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13289 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13290 insets which are part of a word. Paragraph::isLetter takes care of
13291 that now. Use Paragraph::isInset to identify insets.
13292 (selectSelectedWord): do not test for hyphenation break.
13294 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13295 that protected spaces are considered as spaces.
13297 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13300 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13303 * lyxserver.C: fix it. and small cleanup.
13305 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13307 * BufferView_pimpl.C: use inline helpers
13310 * LaTeXFeatures.C: fix typos
13313 * Spacing.C: move spacing_string into class
13315 * ToolbarDefaults.C: move stuff into namespace anon
13317 * layout.h: update enum
13319 * lyxfunc.C: use better debug
13321 * minibuffer.h: fix typo
13325 * WorkArea.C: add and use Debug::WORKAREA
13329 * text2.C: code re-organisation, inline helpers
13331 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13333 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13334 std::vector.empty().
13336 2001-11-09 Allan Rae <rae@lyx.org>
13338 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13339 '\n's after tables. Tabular and ERT inset work now makes this no
13342 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13345 * minibuffer.C: fix crash, improve drop-down completion
13347 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13350 * lyxserver.C: invalidate fd's when doing endPipe()
13352 2001-11-08 José Matos <jamatos@fep.up.pt>
13354 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13355 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13358 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13360 2001-11-07 José Matos <jamatos@fep.up.pt>
13363 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13366 * buffer.C (sgmlOpenTag):
13367 * buffer.C (sgmlCloseTag): removed debug info.
13369 * buffer.h (sgmlOpenTag):
13370 * buffer.h (sgmlCloseTag): made public.
13372 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13374 * buffer.C (saveParamsAsDefaults):
13375 * lyx_cb.C (MenuLayoutSave): remove
13377 * LyXAction.C (init):
13379 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13381 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13383 * buffer.C (setPaperStuff): removed from here...
13385 * bufferparams.C (setPaperStuff): ... and moved there.
13387 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13391 * XFormsView.C: add support for drop-down completion
13393 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13395 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13398 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13400 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13403 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13405 * lyx_main.C: change ref to known bugs
13407 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13409 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13410 to work around older babel problems.
13412 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13414 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13416 2001-10-24 Juergen Vigna <jug@sad.it>
13418 * tabular-old.C (ReadOld): below variable changes reflected.
13420 * tabular.[Ch]: added ltType struct for longtable header/footer
13421 defines and changed all instances where they are used. Added
13422 future support for double top/bottom rows.
13424 2001-10-24 José Matos <jamatos@fep.up.pt>
13426 * buffer.h (docbookHandleCaption):
13427 * buffer.C (docbookHandleCaption): removed unused function.
13428 (makeDocBookFile): moved docbook supported version to v4.1.
13430 2001-10-24 José Matos <jamatos@fep.up.pt>
13433 * tabular.C (docbookRow): new function to export docbook code of a row.
13434 (DocBook): now honors the longtable flags.
13436 2001-10-23 José Matos <jamatos@fep.up.pt>
13439 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13440 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13442 * buffer.C (makeLinuxDocFile):
13443 (makeDocBookFile): reworked the preamble, more clean, and with
13444 support for lyx defined entities. Changed the document declaration
13445 to be more XML friendly.
13447 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13448 if we need to output XML that should be done with a filter.
13450 2001-10-22 Juergen Vigna <jug@sad.it>
13452 * sp_pspell.h (class PSpell): add alive function needed in the
13453 controller to see if the spellchecker could be started.
13455 2001-10-22 Juergen Vigna <jug@sad.it>
13457 * buffer.C (insertStringAsLines): modify the font for inserting
13458 chars in certain conditions by calling checkInsertChar(font).
13460 2001-10-19 Juergen Vigna <jug@sad.it>
13462 * text.C (workWidth): use getRow instead of wrong algorithm.
13463 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13465 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13470 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13472 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13474 * text.C (workWidth): do not search for the exact row when
13475 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13476 optimization for big documents.
13478 2001-10-18 Juergen Vigna <jug@sad.it>
13480 * text.C (workWidth): new function with added Inset * parameter.
13482 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13484 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13486 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13487 change return type of getColumnNearX.
13490 * text.C (changeRegionCase): use uppercase/lowercase instead of
13493 (rightMargin): simplify code by factoring out the uses of
13498 (appendParagraph): use Paragraph::size_type
13500 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13502 * vspace.C (asLatexString): add a missing break
13504 2001-10-15 Herbert Voss <voss@perce.de>
13506 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13508 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13510 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13513 2001-10-10 André Pönitz <poenitz@gmx.net>
13515 * lyxfunc.C: removed greek_kb_flag.
13517 2001-10-10 Herbert Voss <voss@perce.de>
13519 * lyx_main.C: delete global string help_lyxdir.
13521 2001-10-09 Herbert Voss <voss@perce.de>
13523 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13525 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13527 * lyx_main.C: added global string help_lyxdir.
13529 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13531 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13533 * lyxrc.C (set_font_norm_type): support iso8859-4
13535 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13537 * LaTeX.C (deplog): add another regex for MikTeX
13539 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13541 * lyxrc.C (set_font_norm_type): support iso8859-3
13543 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13545 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13547 * LaTeXFeatures.C: remove special case of french and index
13549 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13550 before \begin{document}). This solves several incompatibilities.
13552 2001-10-03 Garst Reese <reese@isn.net>
13554 * lyx_cb.C: change CheckTex error msg.
13556 2001-10-03 José Matos <jamatos@fep.up.pt>
13558 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13560 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13562 * .cvsignore: update
13564 * lyx_main.C (commandLineVersionInfo): use new style version info.
13566 * buffer.C (writeFile):
13568 (makeLinuxDocFile):
13569 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13571 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13573 * version.h: update to use stuff in version.C
13575 * version.C.in: new file. Contains version information determined
13576 at compile time. This is a merging of version.h and
13579 2001-10-03 Juergen Vigna <jug@sad.it>
13581 * BufferView_pimpl.C (update): don't change "dirty" status in
13584 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13586 * WorkArea.C (c-tor): re-position version string slightly.
13588 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13590 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13591 revert to previous code.
13593 WorkArea.[Ch]: (show, destroySplash): methods removed.
13595 WorkArea.C: rework code so that it's an amalgam of the codes before and
13596 after the splash screen was moved to WorkArea.
13598 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13601 * vspace.C (inPixels):
13604 * buffer.C (insertStringAsLines):
13605 (asciiParagraph): fix types to be large enough
13607 * lyxlex_pimpl.h: change member status from short to int
13609 * layout.h: fix type of endlabeltype
13612 * kbsequence.C (parse): change return type to string::size_type
13614 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13617 * Bullet.C (bulletSize):
13618 (bulletEntry): do not use short ints as parameters
13620 * BufferView2.C (insertLyXFile): change a char to an int.
13622 * WorkArea.C (WorkArea): remove unneeded floats in computation
13624 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13626 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13628 * paragraph.C (asString): Do not ignore newline/hfill chars when
13629 copying to the clipboard.
13631 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13633 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13634 after a multi-line inset.
13636 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13638 * paragraph.C (validate): Set NeedLyXFootnoteCode
13640 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13642 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13643 and decrease-error to decrease.
13645 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13647 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13648 it more readable (should be equivalent)
13650 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13652 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13654 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13656 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13657 of a cursor (row, etc.) after a character has been deleted
13658 (deleteEmptyParagraphMechanism): call the method above on _all_
13659 cursors held by the LyXText when a double space has been
13662 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13664 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13666 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13668 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13669 background. Use greyOut() and the new show() methods to toggle between
13670 the foreground and background. Add code to remove the splash after
13671 its initial showing.
13673 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13674 (create_forms): no longer call Dialogs::showSplash.
13676 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13678 * .cvsignore: add version_info.h
13680 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13682 * version_info.h.in: new file
13684 * Makefile.am: add version_info.h.in
13686 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13687 version_info.h instead of VERSION_INFO
13689 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13691 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13692 The ERT inset now returns string().
13694 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13696 * lyxtext.h, text.C (selectNextWord): renamed as
13697 selectNextWordToSpellcheck.
13699 * text.C (selectNextWordToSpellcheck): Modified to not select
13700 words inside an ERT inset.
13702 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13704 * lyx_cb.C (MenuLayoutSave): change a bit the question
13706 * sp_base.h: include <sys/types.h>
13708 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13710 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13712 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13714 * several files: fix typos in user-visible strings
13716 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13718 * text2.C (pasteSelection): do not set the selection, since it
13719 will be cleared later. Actually, the intent was to fix the way the
13720 selection was set, but I figured rmoving the code was just as good.
13722 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13724 * FontLoader.C (available): Check if font is available without
13727 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13729 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13731 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13733 * lyxrc.[Ch]: added display_graphics variable and associated code.
13735 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13737 * bufferparams.C (hasClassDefaults): new method. Returns true if
13738 the buffer parameters correspond to known class defaults
13740 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13742 * XFormsView.C (show): set minimum size to the main window.
13744 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13746 * text2.C (copySelection):
13748 * lyxfind.C (LyXReplace):
13749 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13750 LyXText::selectionAsString.
13752 * paragraph.C (asString): add "label" argument to the second form
13754 * text2.C (selectionAsString): add "label" argument and pass it to
13755 Paragraph::asString.
13757 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13759 * lyx_main.C (commandLineHelp): remove version information
13761 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13763 * lyx_main.C: add -version commandline option
13765 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13767 * paragraph.h: make the optional constructor arg required instead.
13768 some modifications to other files because of this.
13770 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13772 * lyxserver.C (C_LyXComm_callback): make it static
13774 * lyx_main.C (error_handler): make it static
13776 * lyx_gui.C (LyX_XErrHandler): make it static
13778 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13780 * WorkArea.C: make the extern "C" methods static.
13782 * Makefile.am (lyx_LDADD): simplify
13784 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13786 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13787 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13789 * LyXAction.C (init):
13790 * lyxfunc.C (dispatch): associated code removal.
13792 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13794 * lyxfont.h (isSymbolFont): shut off warning
13796 * text.C (setHeightOfRow):
13797 (getVisibleRow): fix crash with empty paragraphs which have a
13800 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13802 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13805 2001-09-04 José Matos <jamatos@fep.up.pt>
13808 * tabular.C (docbook): rename docBook method to docbook.
13810 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13812 * Makefile.am: add dependencies to main.o.
13814 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13816 * FontLoader.C (available): Return false if !lyxrc.use_gui
13818 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13820 * FontInfo.C (query):
13821 * converter.C (view):
13822 * importer.C (Import):
13823 * exporter.C (Export): Can not -> cannot.
13825 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13827 * BufferView_pimpl.C: allow to create index inset even if
13830 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13832 * buffer.C (getLists): replace boost::tie code with an explicit pair
13833 as boost::tie can break some compilers.
13835 * iterators.h: Added a std:: declaration to the return type of
13838 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13840 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13843 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13845 * iterators.[Ch]: New files. Provide paragraph iterators.
13847 * buffer.C (changeLanguage): Use paragraph iterators.
13848 (isMultiLingual): ditto
13850 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13852 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13854 * FontLoader.C: Support for cmr font.
13856 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13858 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13859 (available): New method.
13861 * FontInfo.C (getFontname): Use scalable fonts even when
13862 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13865 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13867 * converter.C (Formats::view): reverted! Incorrect fix.
13869 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13871 * converter.C (Formats::view): only output the -paper option
13872 if the dvi viewer is xdvi, thereby fixing bug #233429.
13874 2001-08-23 Herbert Voss <voss@perce>
13876 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13878 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13880 * Spacing.h (Spacing): Set space to Default on in the default
13883 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13885 * vc-backend.h (RCS::versionString): add RCS to version
13886 (CVS::versionString): add CVS to version
13888 * vc-backend.C (scanMaster): do not add CVS to version.
13889 (scanMaster): do not add RCS to version
13891 * lyxvc.C (versionString): new method
13893 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13895 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13897 * Spacing.C (set): initialize fval
13899 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13901 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13904 2001-08-16 Juergen Vigna <jug@sad.it>
13906 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13908 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13910 * BufferView_pimpl.C:
13913 * text2.C: setParagraph takes linespacing now
13915 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13917 * LyxAction.C: add internal LFUN_CITATION_INSERT
13919 * LyXView.C: actually apply fix
13921 * bufferlist.C: fix open non-existent file
13923 * lyxfind.C: fix indentation
13925 * lyxfunc.C: remove unneeded assert, fix typo
13927 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13929 * MenuBackend.C: use "Floatname List"
13931 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13933 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13934 when converting LaTeX layout to insetERT.
13935 Generate a non-collapsed float when reading old float
13937 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13939 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13942 2001-08-13 Juergen Vigna <jug@sad.it>
13944 * text.C (fill): return 0 instead of 20 as this seems to be the more
13947 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13949 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13952 2001-08-13 Juergen Vigna <jug@sad.it>
13954 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13956 (SearchBackward): comment out the unlocking of the inset_owner this
13957 should not be needed!
13959 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13961 * Many files: Remove inherit_language, and add latex_language
13963 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13964 collapsible insets.
13966 2001-08-10 Juergen Vigna <jug@sad.it>
13968 * text.C (prepareToPrint): fixed hfill-width in draw!
13970 * BufferView2.C (selectLastWord): save the selection cursor as this
13971 now is cleared in the function LyXText::clearSelection!
13973 2001-08-08 Juergen Vigna <jug@sad.it>
13975 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13976 BACKSPACE type functions.
13978 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13979 is only cutted from the document but not put in the cut-buffer, where
13980 still the old stuff should be.
13982 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13984 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13986 * tabular.C (SetWidthOfCell): fixed special case where the width
13988 (LeftLine): handle '|' in align_special.
13990 (LeftAlreadyDrawed): ditto
13991 (SetWidthOfCell): ditto
13993 2001-08-07 Juergen Vigna <jug@sad.it>
13995 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13997 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13999 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14000 * lyxlex.[hC]: ditto
14002 2001-08-06 Juergen Vigna <jug@sad.it>
14004 * text.C (getVisibleRow): fix up row clearing a bit.
14006 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14008 * minibuffer.C: make sure the X server sees the changes in the input.
14010 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14012 * paragraph.C (getFont): split into...
14013 (getLabelFont): this
14014 (getLayoutFont): and this
14015 * paragraph_pimpl.C (realizeFont): calling this
14017 * text2.C (getFont): split into...
14018 (getLayoutFont): this
14019 (getLabelFont): and this
14020 (realizeFont): all three calling this
14022 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14025 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14027 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14029 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14031 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14032 layouts from the Quote inset insertion.
14034 2001-08-03 Juergen Vigna <jug@sad.it>
14036 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14038 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14039 only if status not is already CHANGED_IN_DRAW (second level).
14041 * text.C (draw): don't set the need_break_row when inside an
14044 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14046 * buffer.C (parseSingleLyXformat2Token): handle more latex
14049 * bufferview_funcs.[hC]: change function names to
14050 begin with small char, adjust other files.
14052 2001-08-02 André Pönitz <poenitz@gmx.net>
14055 BufferView_pimpl.C: remove broken special code for math-greek
14057 2001-08-02 Juergen Vigna <jug@sad.it>
14059 * BufferView_pimpl.C (update): redone this function so that we
14060 update the text again if there was a CHANGE_IN_DRAW.
14062 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14063 (drawFromTo): added a new internal bool which is used by draw() and
14065 (general): some cursor drawing problems fixed.
14067 2001-08-01 Juergen Vigna <jug@sad.it>
14069 * lyxfind.C (LyXFind): fixed
14070 (SearchForward): ditto
14071 (SearchBackward): ditto
14073 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14074 spurius drawing of the cursor in the main area.
14076 * text2.C (status): small fix which could lead to a segfault!
14077 (clearSelection): remove unneeded BufferView param.
14079 2001-08-01 André Pönitz <poenitz@gmx.net>
14081 * lyxfunc.C: small change due to changed mathed interface
14083 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14085 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14087 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14089 * lyxfunc.c: fail gracefully if file doesn't exist
14094 * BufferView_pimpl.C: IsDirWriteable() proto changed
14096 * LyXView.C: fix updateWindowTitle() to store the last title
14098 2001-07-31 Juergen Vigna <jug@sad.it>
14100 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14101 the font (wrong since using of Paragraph::highestFontInRange).
14103 * paragraph.C (highestFontInRange): added a default_size parameter.
14105 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14106 (setHeightOfRow): reformat
14108 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14110 * converter.[hC] + affected files: move to (inital-char)lowercase
14113 * ParagraphParameters.C (ParagraphParameters): remove commented code
14115 * PainterBase.[Ch]: remove commented code
14117 * LaTeXFeatures.h: add "bool floats" for float.sty
14119 * LaTeXFeatures.C (LaTeXFeatures): init floats
14120 (require): handle float
14121 (getPackages): do it with floats
14123 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14125 * BufferView_pimpl.C (Dispatch): improve handling of
14126 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14128 * commandtags.h: #include lyxfont.h here temporarily to avoid
14131 * bufferlist.h: include LString.h here.
14133 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14135 * text2.C (getStringToIndex): new method.
14137 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14139 * *: Reduced header file dependencies all over.
14141 2001-07-30 Baruch Even <baruch@lyx.org>
14143 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14145 2001-07-29 Baruch Even <baruch@lyx.org>
14147 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14149 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14151 * ParameterStruct.h (endif): add a default constructor to make
14152 sure that all variables is initialized.
14154 * ParagraphParameters.C (ParagraphParameters): adjust
14156 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14158 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14159 index; also, check that there is something to index, and that it
14160 does not span over several paragraphs.
14161 (doubleClick): use WHOLE_WORD_STRICT for double click.
14163 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14165 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14168 2001-07-26 Baruch Even <baruch@lyx.org>
14170 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14171 an InsetFig figure, backwards compatible reading of old figure code.
14173 2001-07-27 Juergen Vigna <jug@sad.it>
14175 * text2.C: font.realize function adaption.
14177 * text.C (draw): add a warnings lyxerr text if needed.
14179 * layout.C: font.realize function adaption.
14181 * language.C: add inherit_language and implement it's handlings
14183 * bufferview_funcs.C (StyleReset): remove language parameter from
14184 font creation (should be language_inherit now).
14186 * bufferparams.C (writeFile): handle ignore_language.
14188 * paragraph.C (getFontSettings): the language has to be resolved
14189 otherwise we have problems in LyXFont!
14191 * lyxfont.C (lyxWriteChanges): added document_language parameter
14192 (update): removed unneeded language parameter
14194 * paragraph.C (validate): fixed wrong output of color-package when
14195 using interface colors for certain fonts in certain environments,
14196 which should not seen as that on the final output.
14198 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14200 * BufferView_pimpl.C:
14205 * LyXAction.C: add thesaurus support
14208 * lyxfind.C: add "once" parameter, for thesaurus, to not
14209 move to the next match
14211 2001-07-26 Juergen Vigna <jug@sad.it>
14213 * lyxfont.C (realize): honor ignore_language too!
14216 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14218 * text.C (draw): one place more for ignore_language to not draw
14221 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14223 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14225 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14227 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14228 the minipage conversion problem.
14230 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14232 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14235 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14237 * BufferView.h: don't forward declare WorkArea
14239 * BufferView.C: don't include WorkArea.h
14241 2001-07-25 André Pönitz <poenitz@gmx.net>
14245 * lyxfunc.C: new LFUN 'math-space'
14247 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14249 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14251 * text2.C (toggleInset): call open/close
14253 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14255 * lyxfunc.C (dispatch): add debug for the disabled case
14257 * font.C (buttonText): make similar to rectText
14259 * buffer.C (readInset): comment out parsing of insetlist and
14262 * PainterBase.C (rectText): small correction
14264 * BufferView_pimpl.C: comment out insettheorem and insetlist
14265 * LyXAction.C: ditto
14266 * commandtags.h: ditto
14268 2001-07-24 Juergen Vigna <jug@sad.it>
14270 * text.C (draw): honor the ignore_language.
14272 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14274 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14276 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14279 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14281 * lyxtext.h: remove unused (and unimplemented) methods
14283 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14285 * text.C (getVisibleRow): honor background color
14288 * Painter.h: remove default color argument for fillRectangle
14290 * text.C (backgroundColor): new method
14292 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14294 * text.C (getVisibleRow): adjust
14296 * font.[Ch] (rectText): new method, metrics
14297 (buttonText): new method, metrics
14299 * PainterBase.[hC]: make rectText and buttonText always draw and take
14302 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14304 * ToolbarDefaults.C (read):
14305 * MenuBackend.C (read): allow escaping in all strings
14307 * BufferView_pimpl.C (insertAndEditInset): new method.
14308 (Dispatch): use insertAndEditInset whenever appropriate.
14310 * BufferView_pimpl.C (insertNote): removed
14312 * BufferView_pimpl.C (smartQuote): new method, moved from
14313 BufferView; if an insetquote cannot be inserted, insert a '"'
14316 * BufferView2.C: remove insertCorrectQuote();
14318 * lyxfunc.C (getStatus): Add support for all remaingin
14319 inset-insert lfuns.
14321 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14323 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14324 command (necessary to pass " as parameter of self-insert.
14326 * text.C (selectWordWhenUnderCursor):
14327 (selectWord): add word_location parameter
14328 (selectWordWhenUnderCursor): same + remove special code for word
14330 (selectNextWord): use kind() to guess type of insetspecialchar,
14333 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14334 (insertErtContents): create ert insets as collapsed.
14335 (readInset): better compatibility code for Info inset.
14337 2001-07-20 Juergen Vigna <jug@sad.it>
14339 * lyxfunc.C (dispatch): use always LyXFind now!
14341 * text2.C (init): add a reinit flag so that the LyXText can be
14342 reinited instead of deleted and reallocated (used in InsetText).
14344 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14350 2001-07-18 Juergen Vigna <jug@sad.it>
14352 * text.C (selectNextWord): handle insets inside inset by calling
14353 always the bv->text functions so that we can go up the_locking_inset!
14355 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14356 in strange locations when inside an inset!
14358 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14359 handling to include insets.
14361 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14363 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14365 * LyXAction.C (init):
14367 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14368 LIGATURE_BREAK, since the name is so stupid.
14370 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14372 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14375 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14377 * sp_form.[Ch]: remove.
14379 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14381 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14384 * src/buffer.C (readInset): ditto.
14386 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14388 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14389 menuSeparator(), endOfSentenceDot(), ldots() and
14390 hyphenationPoint(), which are therefore removed.
14391 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14393 * LyXAction.C (init):
14394 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14396 * paragraph.C (getWord): removed.
14398 * BufferView_pimpl.C (Dispatch): use last word or selection for
14399 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14401 * lyx_main.C (queryUserLyXDir): do not ask before creating
14402 user_dir, except if it has been named explicitely.
14404 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14406 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14407 a document of zero size.
14409 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14411 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14412 approriately in the c-tor and in require().
14413 (getPackages): output the appropriate LaTeX for natbib support.
14415 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14416 variables "use_natbib" and "use_numerical_citations" when reading the
14418 (readInset): read the various natbib cite commands.
14419 (validate): white-space change.
14421 * bufferparams.[Ch]: new variables "bool use_natbib" and
14422 "bool use_numerical_citations".
14423 (writeFile): output them in the LyX file.
14425 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14427 * lyxfunc.C (getStatus): add support for all the inset insertion
14430 * text2.C (insertInset):
14431 * paragraph.C (insetAllowed):
14432 * BufferView_pimpl.C (insertInset): update to take in account the
14433 renaming of insertInsetAllowed
14435 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14437 * text2.C (getInset): new method. returns inset at cursor position.
14439 * BufferView_pimpl.C (Dispatch): changes because of this.
14441 * LyXAction.C (init): rename open-stuff to inset-toggle.
14443 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14445 * text2.C (toggleInset): renamed from openStuff; use
14448 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14450 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14452 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14454 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14456 * buffer.C (readLyXformat2): Add filename to the error dialog
14458 2001-07-18 Juergen Vigna <jug@sad.it>
14460 * tabular.C (GetCellNumber): put an assert here instead of the check!
14462 2001-07-17 Juergen Vigna <jug@sad.it>
14464 * BufferView_pimpl.C (toggleSelection): adapted too.
14466 * text.C (selectNextWord): adapted for use with insets.
14467 (selectSelectedWord): ditto
14469 2001-07-17 Juergen Vigna <jug@sad.it>
14471 * sp_spell.C (PSpell): fix initialitation order.
14473 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14475 * paragraph.C: spacing
14477 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14479 * sp_spell.C: repair language selection for pspell
14481 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14483 * lyxfunc.h: change more methods to begin with lower char.
14485 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14487 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14488 for unknown layouts.
14490 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14492 * buffer.C (readLyXformat2): Generate an error dialog if there are
14495 2001-07-16 Juergen Vigna <jug@sad.it>
14497 * sp_spell.C: always compile ISpell part.
14499 * lyxrc.C: added use_pspell entry and it's handling.
14501 2001-07-13 Juergen Vigna <jug@sad.it>
14503 * sp_spell.C: removed double includes.
14505 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14507 Consistent use of Lsstream.h:
14508 * Lsstream.h: added using std::stringstream for consistencies sake.
14510 * buffer.C: removed using std::stringstream
14512 * lyxfont.C (stateText):
14513 * paragraph.C (asString):
14514 * text.C (selectNextWord, selectSelectedWord):
14515 * text2.C (setCounter):
14516 * vspace.C (asString, asLatexString):
14517 std::ostringstream -> ostringstream.
14519 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14521 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14522 * commandtags.h: add LFUN_HELP_ABOUTLYX
14523 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14525 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14527 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14529 * lyx_gui_misc.C: remove spellchecker
14530 * lyxfunc.C: showSpellchecker
14532 * sp_ispell.h: added
14533 * sp_pspell.h: added
14534 * sp_spell.C: added
14535 * sp_form.[Ch]: removed
14536 * spellchecker.[Ch]: removed
14538 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14540 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14542 (simpleTeXSpecialChars): Simply print the input character without
14543 any special translation if pass_thru is set.
14545 * layout.h: Added bool pass_thru to layout class for being able to
14546 implement pass through of a paragraph for Literate Programming.
14548 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14549 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14550 * layout.C (Read): add "passthru" to list of layout tags and add
14551 code to set the pass_thru boolean when it is read.
14553 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14555 * trans_decl.h: remove allowed from KmodInfo
14557 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14558 remove allowed code
14561 * paragraph_pimpl.C (erase): use boost::prior
14563 * Painter.C (text): use data() instead of c_str() when length is
14565 * WorkArea.C (putClipboard): ditto
14566 * font.h (width): ditto
14568 * BufferView2.C: use it-> instead of (*it). for iterators
14570 * paragraph_pimpl.C: ditto
14571 * paragraph.C: ditto
14572 * minibuffer.C: ditto
14573 * language.C: ditto
14575 * encoding.C: ditto
14576 * counters.C: ditto
14577 * converter.C: ditto
14579 * Variables.C: ditto
14580 * TextCache.C: ditto
14581 * MenuBackend.C: ditto
14582 * LyXAction.C: ditto
14584 * FloatList.C: ditto
14585 * DepTable.C: ditto
14586 * ColorHandler.C (LyXColorHandler): ditto
14588 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14590 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14592 * text2.C (openStuff): reintroduce this method (which had been
14593 nuked in NEW_INSETS frenzy).
14595 * lyxfunc.C (Dispatch): when an action has not been handled, use
14596 its name in the error message, not its number.
14598 * paragraph.C (inInset): change method name to begin with lowercase.
14601 * text2.C: updates because of this.
14603 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14605 * ToolbarDefaults.C (add): add spaces in error message
14607 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14609 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14610 (readLyXformat2): rename return_par to first_par, use lyxlex's
14611 pushToken and remove the manual push handling.
14612 (parseSingleLyXformat2Token): add another ert comp. variable:
14613 in_tabular, rename return_par to first_par. handle newlines better
14615 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14617 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14619 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14621 * text2.C (getParFromID): removed
14623 * buffer.C (getParFromID): new method moved form lyxtext.
14624 * BufferView2.C (insertErrors): adjust
14625 (setCursorFromRow): adjust
14626 * BufferView_pimpl.C (restorePosition): adjust
14627 * lyxfunc.C (Dispatch): adjust
14628 * undo_funcs.C (textUndo): adjust
14630 (textHandleUndo): adjust
14631 (textHandleUndo): adjust
14633 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14635 * buffer.C: up' the LYX_FORMAT
14637 * lyxfont.h: turn NO_LATEX on as default
14639 * buffer.C (insertErtContents): new methods of tex style compability.
14640 (parseSingleLyXformat2Token): use it several places.
14641 * tabular.C (OldFormatRead): and here
14643 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14645 * text2.C: remove some commented code.
14648 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14649 * trans.C: changes because of the above.
14651 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14653 * text2.C (setCounter): Fix counters bug with bibliography layout.
14655 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14657 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14658 own member functions
14659 (simpleTeXSpecialChars): ditto
14661 2001-07-06 Juergen Vigna <jug@sad.it>
14663 * a lot of files: changed the access to LyXText::status and the
14664 call of undo-functions.
14666 * undo.[Ch]: added a inset_id to the undo informations.
14668 * undo_funcs.[Ch]: added and moved here all undo functions.
14670 * lyxtext.h: give the status enum a weight, made status_ a private
14671 variable and made accessor functions for it, removed the whole bunch
14672 of undo-functions as they are now in their own file, make some
14673 functions publically available. Added function ownerParagraph with
14676 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14677 made InInset() a const function, added getParFromID() function.
14679 * buffer.[Ch]: added const version for inset_iterator functions,
14680 added getInsetFromID() function.
14682 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14683 changed undo functions for new version.
14685 2001-07-05 Juergen Vigna <jug@sad.it>
14687 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14688 unknow mechanism does not call the proper constructor but only this
14689 one also if I request the other!?
14691 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14693 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14695 * text2.C (LyXText): use initialization lists.
14697 * lyxtext.h (Selection): initialize set_ and mark_
14698 (init): remove method
14700 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14702 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14704 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14706 * screen.[Ch]: change method names to begin with lowercase
14708 * BufferView_pimpl.C (updateScrollbar): simplify further and
14709 hopefully make it a bit faster.
14711 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14713 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14714 calling directly xforms functions.
14716 * Painter.C (Painter):
14717 * lyx_cb.C (MenuWrite):
14718 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14721 * lyx_gui.C: remove bogus guiruntime extern declaration.
14723 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14725 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14727 (redoDrawingOfParagraph): ditto
14728 (redoParagraphs): ditto
14729 (cutSelection): don't create a object for CutAndPaste use the
14730 static method directly
14731 (pasteSelection): ditto
14733 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14736 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14738 * modifications to some other files because of this.
14740 * Makefile.am (lyx_SOURCES): add XFormsView
14742 * XFormsView.[Ch]: new files
14744 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14745 the main window. Move the gui dependent stuff to XFormsView
14747 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14749 * tabular.C (GetCellInset): update cur_cell also in the row/col
14750 version of this function.
14752 * lyxfunc.C: no need to include figure_form.h here.
14758 * lyxvc.C: no need to include forms.h here.
14760 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14762 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14764 * lyxfunc.C (Dispatch):
14766 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14767 constructor argument.
14769 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14771 * paragraph.C (Paragraph): dont't clear, and just set layout.
14772 (makeSameLayout): use params's copy contructor.
14774 * ParagraphParameters.[Ch] (makeSame): delete method
14776 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14778 * Variables.[Ch]: fix indentation, rename set to isSet
14780 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14782 * lyxfunc.C (Dispatch): fix typo
14784 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14786 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14789 * bufferlist.C: include assert.h for emergencyWrite().
14791 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14793 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14794 give up at last (bug #425202) !
14796 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14802 * spellchecker.C: strip spellchecker options and bring up
14803 preferences tab instead
14805 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14807 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14808 the istringstream constructor
14810 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14812 * paragraph.C (getLayout): fix return value
14814 * paragraph.h: do not declare getLayout as inline.
14816 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14818 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14820 * lyxcursor.h (operator<): new func
14821 (operator>): new func
14822 (operator>=): new func
14823 (operator<=): new func
14825 * text.C (changeCase): use selection.start and selection.end
14826 (changeRegionCase): require from to be <= to. Require par to be a
14829 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14831 2001-06-27 Juergen Vigna <jug@sad.it>
14833 * text.C (cursorLeftOneWord): changed to return the cursor and added
14834 overlay with BufferView * parameter which calls this one.
14836 (selectWord): use new getWord function.
14837 (changeCase): renamed from changeWordCase as and extended to work
14838 also on selections.
14840 * lyxtext.h: added enum word_location
14842 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14843 changeCase as this operates now also on selections.
14845 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14847 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14849 * many files: send debug output to Debug::INFO instead of
14852 * converter.C (View):
14854 (Move): send debug output to Debug::FILES instead of console.
14856 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14858 * lyxfunc.C (getStatus): use func_status
14860 * func_status.h: new header, describing the results of
14861 LyXFunc::getStatus;
14863 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14866 2001-06-25 The LyX Project <jug@sad.it>
14868 * buffer.C (sgmlOpenTag):
14870 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14872 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14874 * text2.C: remove some dead code
14876 * tabular.C (GetCellInset): store the last cell checked (gotten)
14878 * tabular.h: add the helper for the speedup
14880 * lyxtext.h: remove some dead code
14882 2001-06-26 The LyX Project <Asger>
14884 * paragraph.C: Change export to LaTeX of alignment to
14885 \begin{center} and family for better roundtrip work with reLyX.
14887 * Tune the math drawing a bit.
14889 2001-06-25 The LyX Project <Asger>
14891 * LColor.C (LColor): New color for math background. New color
14894 2001-06-25 The LyX Project <jug@sad.it>
14896 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14898 * lyxfunc.C (Open):
14899 * bufferlist.C (newFile): do not restrict to files ending with
14902 * BufferView_pimpl.C (MenuInsertLyXFile):
14904 2001-06-24 The LyX Project <jug@sad.it>
14906 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14909 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14911 * lyxtext.h: rename most methods to begin with a small char.
14912 Lots of changes because of this.
14914 * paragraph.C (Paragraph): do not call fitToSize
14915 (erase): call Pimpl::erase
14916 (insertChar): call Pimpl::insertChar
14917 (insertInset): call Pipl::insertInset
14918 (breakParagraph): do not call fitToSize
14919 (breakParagraphConservative): do not call fitToSize
14920 (fitToSize): remove method
14922 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14924 2001-06-24 The LyX Project <Asger>
14926 * Fix Qt compilation^2
14928 2001-06-24 The LyX Project <jug@sad.it>
14930 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14931 depthHook(getDepth()-1).
14934 * ParagraphParameters.h:
14935 * ParameterStruct.h: change type of depth to unsigned int ==
14936 depth_type. Many adaptations to other files before of that.
14938 2001-06-24 The LyX Project <Asger>
14940 * Fix Qt compilation.
14942 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14944 * paragraph.h: renamed several methods to begin with small letter.
14945 several changes to many parts of the code because of this.
14947 2001-06-23 The LyX Project <jug@sad.it>
14949 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14950 rewritten to discard all double spaces when KeepEmpty is off
14951 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14952 to only handle newlines but not fiddle with spaces and friends.
14954 * lyxfunc.C (MenuNew): when doing 'new from template', use
14955 template_path as default directory
14957 2001-06-23 The LyX Project <Asger>
14959 * Clean-up of header file includes all over
14960 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14962 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14964 * paragraph.h: renamed from lyxparagraph.h
14966 2001-06-23 Asger <lyx@violet.home.sad.it>
14968 * Buffer.h: Removed Buffer::resize
14969 * BufferList.h: Removed BufferList::resize
14970 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14971 the document lazily when we change the width, or the font settings.
14973 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14975 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14977 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14979 * buffer.h: remove out of date comment
14981 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14984 * screen.C: fix "theoretical" GC leak
14986 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14988 * LaTeX.C (scanAuxFile):
14989 (deplog): remove trailing \r when reading stream (useful under
14992 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14994 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14995 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14996 and BufferView::theLockingInset(Inset*), so should use them and not
14997 access bv_->text->the_locking_inset directly.
14999 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15001 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15004 * tex-defs.h: remove old unused file
15006 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15008 * BufferView_pimpl.C: fix typo, remove minibuffer message
15009 when buffer has loaded
15011 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15013 * lyxfunc.C (Dispatch): use stringstream
15014 (MenuNew): use stringstream
15015 (Open): use stringstream
15017 * importer.C (Import): use stringstream
15019 * bufferview_funcs.C (CurrentState): use stringstream
15021 * LaTeX.C (run): use stringstream
15023 * BufferView_pimpl.C (savePosition): use stringstream
15024 (restorePosition): use stringstream
15025 (MenuInsertLyXFile): use stringstream
15027 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15040 * vspace.C: removed // -*- C++ -*- as first line.
15043 * version.h: added // -*- C++ -*- as first line.
15045 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15047 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15049 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15052 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15054 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15057 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15059 * gettext.C: include LString.h even when --disable-nls is on.
15061 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15063 * converter.h (Get): changed argument type from int to
15064 FormatList::size_type to avoid unnecessary conversion.
15066 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15069 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15071 * gettext.h: include LString.h even when --disable-nls is on.
15073 2001-06-07 Juergen Vigna <jug@sad.it>
15075 * text.C (BreakAgain): subst spaces with tabs.
15077 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15078 (resizeInsetsLyXText): set force on resizeLyXText.
15080 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15082 * gettext.h (gettext_init):
15083 (locale_init): use a real definition instead of a macro
15085 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15087 * Bufferview_pimpl.C:
15089 * LColor.C: further lcolor tidies
15091 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15093 * BufferView_pimpl.C (updateScrollbar): simplify.
15095 * BufferView2.C: don't include insets/insetinfo.h, change
15096 prototype for insertInset and call the Pimpl version. let
15097 updateInset call Pimpl version.
15099 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15100 gotoInset to BufferView::Pimpl
15102 2001-06-01 Juergen Vigna <jug@sad.it>
15104 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15105 inside a LockingInset (is the update needed at all?).
15107 2001-05-31 Juergen Vigna <jug@sad.it>
15109 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15110 here not the old one otherwise how should we compare it afterwards
15113 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15118 * FontInfo.C: bring C functions into global namespace when
15121 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15123 * LString.h: make sure config.h has been loaded before LString.h.
15125 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15126 (one for each char read by EatLine!).
15128 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15131 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15133 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15134 to the same as the par we break from
15136 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15138 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15140 * MenuBackend.C (expand): also create menu entries for wide
15141 versions of the floats.
15143 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15145 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15147 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15148 frontends/Makefile.am
15154 * tabular.C (getTokenValue): add std::
15156 * tabular-old.C (getTokenValue): add std::
15157 (getTokenValue): ditto
15158 (getTokenValue): ditto
15160 * screen.C (ToggleSelection): adjust
15162 * lyxtext.h: put selection cursors inside a Selection struct.
15164 * lyxfunc.C (moveCursorUpdate): adjust
15166 * lyxfont.C (latexWriteStartChanges): add std::
15168 * lyxfind.C: adjust
15170 * font.h: delete with(char const *, LyXFont const &)
15172 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15174 * FontInfo.C (getFontname): add std::
15176 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15177 (workAreaButtonPress): adjust
15178 (tripleClick): adjust
15180 (moveCursorUpdate): adjust
15183 * BufferView2.C (gotoInset): adjust
15185 2001-05-30 Juergen Vigna <jug@sad.it>
15187 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15188 to check pspell I add this as default as I now have new pspell
15189 libraries and they seem to use this.
15191 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15193 * text2.C (CutSelection): make the cursor valid before the call to
15196 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15198 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15199 relied on 0 terminated strings and other horrors. Bug found due to
15200 the new assert in lyxstring!
15202 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15205 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15207 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15210 * lyxfunc.C (processKeySym): change method of getting to the
15213 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15214 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15215 * BufferView_pimpl.[Ch]: here as private methods.
15217 2001-05-28 Juergen Vigna <jug@sad.it>
15219 * text.C (SetHeightOfRow): added the update() call again as it is
15220 needed to initialize inset dimensions!
15222 2001-05-16 Juergen Vigna <jug@sad.it>
15224 * text2.C (SetCharFont): Add new function with BufferView * and
15225 bool toggleall parameters for setting insets internal fonts.
15226 (SetFont): Freeze the undo as we may change fonts in Insets and
15227 all this change should be inside only one Undo!
15229 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15230 setting font's in insets as for them we have the SetFont function!
15232 2001-05-15 Juergen Vigna <jug@sad.it>
15234 * text2.C (ClearSelection): to be sure we REALLY don't have any
15237 * tabular.C (TeXCellPreamble): fixed the left border problem for
15240 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15242 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15245 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15247 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15248 LFUN_BREAKPARAGRAPH.
15250 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15251 help test to "internal only", similar for LFUN_INSERT_URL
15253 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15254 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15255 auto_region_delete and deadkeys.
15257 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15260 * LColor.C: remove some dead entries, tidy a little
15262 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15264 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15266 (Dispatch): implement LFUN_ESCAPE
15268 * commandtags.h: add LFUN_ESCAPE
15270 * LyXAction.C (init): add entry for LFUN_ESCAPE
15272 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15273 Remove commented code.
15274 (insertNote): moved here
15275 (open_new_inset): moved here
15277 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15280 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15282 * kbmap.C (findbinding): clean it up and make it work correctly.
15284 * lyx_main.C (init): do not pass argc and argv as parameters
15286 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15288 * buffer.C: fix path for OS/2 & Win32
15292 * lyx_main.C: Added os:: class.
15294 * os2_defines.h: update
15296 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15298 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15299 better by trying again with reduced state.
15301 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15303 * lyxrc.C (read): print error about invalid key sequence only when
15304 debugging (because not all latinX keysyms are known to some X
15307 * kbsequence.C (getiso): add a few std:: qualifiers
15308 (getiso): comment out extra return statement.
15310 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15312 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15314 (Dispatch): enhance the accent inset a bit. (not perfect)
15316 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15318 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15320 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15322 * bufferlist.C (emergencyWrite): fix assert() call
15324 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15326 * text.C (InsertChar): Added trivial patch to only send the "you
15327 can not do multiple spaces this way" message once during a
15330 2001-05-08 Baruch Even <baruch@lyx.org>
15332 * Makefile.am: Changed order of libraries to get LyX to link properly
15333 with the gnome frontend.
15335 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15337 * LaTeXFeatures.h: add a std:: qualifier
15339 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15341 * paragraph.C (String): use stringstream
15343 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15345 * paragraph.C (writeFile): remove footflag arg
15347 * buffer.C (makeLaTeXFile): use stringstream
15348 (latexParagraphs): remove footnot gurba
15350 * LaTeXFeatures.C (getPackages): use stringstream
15351 (getMacros): likewise
15352 (getTClassPreamble): likewise
15353 (getFloatDefinitions): new method
15355 * paragraph.C (writeFile): reindent
15358 * WorkArea.h: revert the xpos + etc changes.
15360 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15362 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15364 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15365 (pasteSelection): likewise
15366 * text2.C (CreateUndo): likewise
15368 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15370 * minibuffer.C (peek_event): temporarily reduce the functionality
15371 of the minibuffer (to allow args on lfuns)
15373 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15374 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15376 * buffer.C (readInset): add compability reading of old float
15377 lists, add reading of new style float list.
15378 (readInset): avoid reevaluation of inscmd.getCmdName()
15379 (getLists): reindent
15381 * MenuBackend.C (MenuItem): implement parsing of
15382 md_floatlistinsert and md_floatinsert.
15383 (expand::LastFiles): move initalizaton of iterators out of loop,
15384 avoid reevaluation.
15385 (expand::Documents): introduce typdedef vector<string> Strings,
15387 (expand::ExportFormats): introduce typedef vector<Format const *>
15388 Formats, and use it.
15389 (expand): implement FloatListInsert and FloatInsert.
15391 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15392 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15393 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15395 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15397 (Dispatch::LFUN_FLOAT_LIST): implement
15399 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15401 * LaTeX.C (run): Fix problem with --export code.
15403 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15405 * BufferView.[Ch] (workarea): removed.
15406 (getClipboard) new method; wrapper for workarea()->getClipboard()
15408 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15411 * WorkArea.h (width, height, xpos, ypos): These methods all
15412 returned the dimensions of the work_area sub-area of WorkArea,
15413 resulting in a position error if the WorkArea were resized. Now
15414 return the dimensions of the entire WorkArea.
15416 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15418 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15420 * LaTeX.C (deplog): correct the syntax of regex reg1
15422 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15424 * undo.C: remove !NEW_INSETS cruft
15426 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15428 * text2.C: remove !NEW_INSETS cruft
15430 * text.C: remove !NEW_INSETS cruft
15432 * tabular.C: remove !NEW_INSETS cruft
15434 * spellchecker.C: remove !NEW_INSETS cruft
15436 * lyxtext.h: remove !NEW_INSETS cruft
15438 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15440 * lyxfunc.C: remove !NEW_INSETS cruft
15442 * lyxfind.C: remove !NEW_INSETS cruft
15444 * lyx_cb.C: remove !NEW_INSETS cruft
15446 * figureForm.C: remove !NEW_INSETS cruft
15448 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15450 * buffer.[Ch]: remove !NEW_INSETS cruft
15452 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15454 * CutAndPaste.C: remove !NEW_INSETS cruft
15456 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15458 * BufferView2.C: remove !NEW_INSETS cruft
15460 * BufferView.h: remove !NEW_INSETS cruft
15462 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15464 * Lsstream.h: include LString.h before the sstream headers to
15465 fix problem with gcc 2.95.3 and lyxstring
15467 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15469 * lyx_main.C: add using directives when needed for C functions
15470 declared in std:: namespace.
15472 2001-04-27 Juergen Vigna <jug@sad.it>
15474 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15475 (SetHeightOfRow): comment out the update call should not be needed!
15477 2001-04-13 Juergen Vigna <jug@sad.it>
15479 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15480 (LyXTabular): tried to minimize operator= operations (and realized
15481 hopfully Lars wish).
15483 2001-04-27 Juergen Vigna <jug@sad.it>
15485 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15487 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15489 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15491 * buffer.C (readInset): hack to make listof algorithm work
15493 * BufferView_pimpl.C: hack to make listof algorithm work
15495 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15497 * LyXAction.C: removed all !NEW_INSETS cruft
15498 (init): moved lfun_item in method
15500 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15502 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15504 * BufferView2.C (theLockingInset): white space.
15506 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15508 * minibuffer.C: include <iostream>
15510 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15512 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15514 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15516 * text.[Ch] (TransposeChars): new method
15518 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15520 * call message directly through LyXView instead of through LyXFunc
15521 * BufferView2.C: adjust
15522 * BufferView_pimpl.C: adjust
15523 * FontLoader.C: adjust
15525 * bufferview_funcs.C: adjust
15526 * converter.C: adjust
15527 * figureForm.C: adjust
15528 * importer.C: adjust
15530 * lyx_gui_misc.C: adjust
15531 * lyxfunc.C: adjust
15534 + more files in subdirs
15536 * lyxparagraph.h (size): move up int file
15539 * adjust all uses of Assert to lyx::Assert.
15541 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15542 lyxfunctional in namespace lyx
15543 * layout.C (hasLayout): ditto
15546 (delete_layout): ditto
15547 (NumberOfClass): ditto
15548 * converter.C (GetFormat): ditto
15553 * bufferlist.C (getFileNames): ditto
15554 (emergencyWriteAll): ditto
15557 * MenuBackend.C (hasSubmenu): ditto
15560 * BufferView_pimpl.C (getInsetByCode): ditto
15562 2001-04-18 Juergen Vigna <jug@sad.it>
15564 * vspace.C (asLatexString): fixed the 100% problem.
15566 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15568 * lyxfunc.C (Dispatch):
15570 * minibuffer.h: add a few std:: qualifiers
15572 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15574 * minibuffer.[Ch]: reimplement so that commands is initiated and
15575 run from lyxfunc, simplified som handling, and made the completion
15576 and history code for complete. wip.
15578 * lyxfunc.C (processKeySym): call message
15579 (miniDispatch): new temporary method
15580 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15581 (LFUN_MESSAGE): implement
15582 (LFUN_MESSAGE_PUSH): implement
15583 (LFUN_MESSAGE_POP): implement
15584 (initMiniBuffer): the initial/defualt minibuffer message.
15586 * lyxfont.[Ch]: inline some more getters
15588 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15590 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15592 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15593 (AutoSave): use LFUN_MESSAGE
15594 (Reconfigure): ditto
15596 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15598 * figureForm.C: use LFUN_MESSAGE
15600 * converter.C (runLaTeX): use LFUN_MESSAGE
15602 * bufferview_funcs.C: use LFUN_MESSAGE
15604 (changeDepth): ditto
15606 * bufferparams.h: use boost::
15608 * bufferlist.h: inherit privately from noncopyable
15610 * bufferlist.C (loadLyXFile): remove some commented code.
15612 * buffer.C (runChktex): use LFUN_MESSAGE
15614 * ShareContainer.h: inherit privately from noncopyable
15616 * ParagraphParameters.[hC] (depth): inline it.
15618 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15620 (message): new method
15621 (messagePush): ditto
15622 (messagePop): ditto
15623 (show): init minibuffer
15624 (showState): direct call
15626 * LaTeX.[Ch]: inherit privately from noncopyable
15627 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15628 instead of WriteStatus.
15630 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15632 * BufferView_pimpl.C (buffer): don't init minibuffer
15633 (workAreaButtonPress): use LFUN_MESSAGE
15634 (workAreaButtonRelease): ditto
15635 (savePosition): ditto
15636 (restorePosition): ditto
15637 (MenuInsertLyXFile): ditto
15638 (workAreaExpose): don't init minibuffer
15639 (update): remove commented code, simplify
15641 * BufferView2.C (openStuff): use LFUN_MESSAGE
15642 (toggleFloat): ditto
15645 (copyEnvironment): ditto
15646 (pasteEnvironment): ditto
15651 (updateInset): remove some commented code
15653 * lastfiles.h: inherit privately from noncopyable
15656 * lyx_main.h: ditto
15658 * lyxlex_pimpl.h: ditto
15660 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15661 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15662 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15664 * LyXAction.h: inherit privately from noncopyable, add methods
15665 func_begin, func_end, returning iterators to the func map.
15667 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15668 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15669 (func_begin): new method
15670 (func_end): new method
15672 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15674 (copySelection): ditto
15675 (pasteSelection): ditto
15677 * BufferView.C: whitespace change
15678 * BufferView.h: inherit privately from noncopyable
15680 2001-04-16 Allan Rae <rae@lyx.org>
15682 * tabular-old.C (l_getline):
15683 * spellchecker.C (sc_check_word):
15684 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15685 an unrecognised preprocessor directive. So ensure they're wrapped.
15687 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15689 * src/exporter.C (Export): Give an error message when path to file
15692 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15694 * LaTeX.C (deplog): Always check that foundfile exists.
15696 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15699 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15701 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15703 * tabular.[Ch] (getLabelList): implement new method
15705 * minibuffer.h: comment ouf setTiimer
15707 * minibuffer.C (ExecutingCB): constify res
15708 (peek_event): constify s
15709 (Set): constify ntext
15710 (Init): constify nicename
15712 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15714 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15715 (savePosition): use two params to Minibuffer::Set
15716 (restorePosition): ditto
15718 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15720 * lyx_main.C: include language.h
15722 * Makefile.am (lyx_main.o): add language.h
15724 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15730 * CutAndPaste.C: include gettext.h
15732 * lyxfont.h: remove old hack with ON and OFF.
15735 * lyxfont.h: do not include language.h...
15740 * bufferview_funcs.C:
15746 * paragraph.C: ... but do it here instead
15748 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15750 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15752 * tabular.C: small reformat
15754 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15757 (BreakParagraph): ditto
15758 (SetOnlyLayout): ditto
15761 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15764 * lastfiles.C: removed most using decl, add std:: where needed
15766 * buffer.C: ws changes
15768 * MenuBackend.C (class compare_format): put into anon namespace
15769 (expand): constify label, names, action, action2
15772 * text.C (SingleWidth): constify font
15773 (IsBoundary): constify rtl2
15774 (GetVisibleRow): constify ww
15776 * LaTeX.C (deplog): constify logfile
15778 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15780 (workAreaExpose): constify widthChange, heightChange
15782 * lyxrow.C (par): moved
15785 * lyxrow.h: as inlines here
15787 * lyxfont.h (shape): moved from lyxfont.C
15788 (emph): moved from lyxfont.C
15790 * lyxfont.C (LyXFont): use initialization list for all
15792 (shape): move to lyxfont.h as inline
15793 (emph): move to lyxfont.h as inline
15796 2001-04-04 Juergen Vigna <jug@sad.it>
15798 * vspace.C: had to include stdio.h for use of sscanf
15800 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15803 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15804 independent of xforms.
15806 2001-04-02 Juergen Vigna <jug@sad.it>
15808 * spellchecker.C: fixed namespace placing!
15810 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15812 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15813 the LyXParagraph * is 0.
15815 2001-03-29 Juergen Vigna <jug@sad.it>
15817 * vspace.C: added support for %, c%, p%, l%.
15818 (stringFromUnit): added helper function.
15819 (asLatexString): changed to give right results for the %-values.
15821 * buffer.C: convert the widthp in a width%.
15823 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15825 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15828 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15829 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15831 * lyx_cb.[Ch]: see above.
15833 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15837 * lyx.[Ch]: replaced by figure_form.[Ch].
15841 * lyxfunc.C: changed headers associated with above changes.
15843 2001-03-27 Juergen Vigna <jug@sad.it>
15845 * BufferView_pimpl.C: set the temporary cursor right!
15847 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15849 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15851 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15853 * LString.h: removed "using std::getline"!
15855 * BufferView_pimpl.C (Dispatch): changes due to changes in
15856 InsetInclude::Params.
15858 * buffer.C (tag_name): removed redundant break statements as they were
15859 producing lots of warnings with my compiler.
15861 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15863 * LString.h: add "using std::getline" when using the real <string>.
15865 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15867 * buffer.C: removed bitset usage.
15868 PAR_TAG moved to an anonymous name space.
15869 (tag_name): new funtion, also in the anonymous namespace.
15870 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15871 (makeDocBookFile): clean code. Completed transition from string arrays
15873 (SimpleDocBookOnePar): code clean.
15875 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15877 * tabular.C: add some comments.
15879 2001-03-22 Juergen Vigna <jug@sad.it>
15881 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15882 compatibility read a bit and fixed bug with minipage in different
15885 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15887 * buffer.C (pop_tag): removed.
15888 (push_tag): removed.
15889 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15890 array replaced with vector. Added support for CDATA sections.
15891 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15893 (makeDocBookFile): XML conformant declaration of CDATA section,
15894 fixed bug related to <emphasis> in the first paragraph char.
15895 (sgmlOpenTag): exclude empty tags.
15896 (sgmlCloseTag): ditto.
15898 * buffer.h (pop_tag): removed.
15899 (push_tag): removed.
15901 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15903 * language.h (Languages): added size_type and size().
15905 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15907 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15908 response on compability reading of minipages. One probliem is that
15909 the old usage of minipages was «flertydig»
15911 * several files here and in subdirs: don't use static at file
15912 scope use anon namespaces instead.
15914 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15916 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15917 LaTeX output. This is necessary for Literate document
15920 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15922 * buffer.C: insert hfill when needed.
15924 * tabular.C (l_getline): use string::erase, small whitespace change.
15926 * BufferView_pimpl.C: try the anon namespace.
15927 * WorkArea.C: ditto
15929 2001-03-16 Juergen Vigna <jug@sad.it>
15931 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15932 otherwise it won't open options-dialogs.
15934 * buffer.C: honor pextraWidth(p) on converting minipages.
15936 * tabular.C (l_getline): changed the functions to strip trailing \r.
15938 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15940 * BufferView_pimpl.C:
15941 * minibuffer..C: added "using SigC::slot" declaration.
15943 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15945 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15951 * paragraph.C: ditto
15953 * lyxtext.h: NO_PEXTRA
15955 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15957 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15958 * ParameterStruct.h: ditto
15959 * ParagraphParameters.h: ditto
15960 * lyxparagraph.h: ditto
15962 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15964 * buffer.C: add compability for minipage alignment.
15965 (latexParagraphs): remove unwanted pextra check.
15967 * several files: remove CXX_WORKING_NAMESPACES
15969 * buffer.C (pop_tag): tie is in namespace boost
15971 * BufferView.h: noncopyable is in namespace boost
15973 * lyx_main.h: ditto
15976 * lastfiles.h: ditto
15977 * bufferlist.h: ditto
15978 * ShareContainer.h: ditto
15980 * LyXAction.h: ditto
15983 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15985 * Merging changes from BRANCH_MVC back into HEAD.
15987 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15989 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15991 * BufferView_pimpl.C: change from intl.C
15995 * Makefile.am: move combox.*
16001 * intl.C: remove dialog (covered by prefs)
16003 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16005 * lyxfunc.C (Dispatch): removed redundant break statement.
16007 2001-03-14 Juergen Vigna <jug@sad.it>
16009 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16011 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16013 * buffer.C: add hack to fix compability reading of minipages.
16015 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16017 * buffer.C (getLists): Cleanup.
16019 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16021 * lyxfont.C (update): don't honor toggleall on font size.
16023 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16027 * Makefile.am: moved to frontends/xforms/
16031 * BufferView_pimpl.C: changes for moved mathpanel
16033 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16035 * gettext.h: fix gettext_init() in --disable-nls
16037 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16039 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16041 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16044 * lyx.h: strip external form
16046 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16048 * BufferView_pimpl.C: add comment, destroySplash()
16050 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16052 * BufferView_pimpl.C:
16056 * lyxfunc.C: use re-worked insetinclude
16058 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16060 * buffer.C: add using std::stringstream.
16062 * lyx_cb.C: readd using std::ios.
16064 * buffer.C: add using std::map.
16066 * BufferView_pimpl.C: add using std::vector.
16068 * ShareContainer.h: add std:: to swap.
16070 * buffer.h: add some typedefs
16071 * buffer.C (getLists): use them
16072 (getLists): renamed from getTocList.
16073 add a counter for the different float types and use it in the
16075 (getLists): use the same counter for the NEW_INSETS and the "non"
16078 * lyx_cb.h: remove unused items, includes, using etc.
16080 * ShareContainer.h: remove some commented code, add more comments
16081 and "documentation".
16083 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16085 * buffer.C (getTocList): make the list also when NEW_INSETS is
16088 * buffer.h: remove TocType
16090 * buffer.C (getTocList): change to return a map<string,
16091 vector<TocItem> >, implement for dynamic number of list.
16093 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16094 * text2.C (PasteSelection): adjust
16095 * CutAndPaste.C (pasteSelection): adjust
16097 * FloatList.C (FloatList): update from the new_insets branch.
16098 * Floating.[Ch]: ditto
16099 * LaTeXFeatures.C: ditto
16101 * lyxlex_pimpl.C: ditto
16103 * paragraph.C (Last): remove when NEW_INSETS is defined.
16105 * other file: changes because of the above.
16107 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16109 * lyxparagraph.h: rename next to next_, previous to previous_,
16110 make them private for NEW_INSETS. Rename Next() to next(),
16111 Previous() to previous().
16113 * other files: changes because of the above.
16115 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16118 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16121 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16123 * main.C (main): pass lyx_localedir to gettext_init().
16125 * gettext.h: remove locale_init and gettext_init macros
16127 * gettext.C (locale_init): new function
16128 (gettext_init): new function
16130 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16133 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16135 * Moved credits to frontends:
16136 * credits.[Ch]: removed
16137 * credits_form.[Ch]: removed
16138 * lyx_gui_misc.C: remove credits stuff
16141 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16143 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16145 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16146 unneeded destructor.
16148 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16149 a standalone pointer again.
16151 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16153 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16159 * ToolbarDefaults.C:
16168 * BufferView_pimpl.C: use new file dialog in GUII
16171 * lyx_cb.C: remove LayoutsCB to Toolbar
16173 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16175 * ShareContainer.h (get): add std:: qualifier
16177 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16179 * ShareContainer.h: define a proper ShareContainer::value_type
16180 type (and use typename to please compaq cxx)
16182 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16184 * lyxparagraph.h: move serveral local vars to
16185 ParameterStruct/ParagraphParameters., use ShareContainer in
16186 FontTable., make vars in FontTable private and add getter and
16189 * paragraph.C: changes because of the above.
16191 * lyxfont.h: remove copy constructor and copy assignment. (the
16192 default ones is ok), move number inside FontBits. move inlines to
16195 * lyxfont.C: add number to initializaton of statics, move several
16196 inlines here. constify several local vars. some whitespace
16197 cleanup. Dont hide outerscope variables.
16199 * Spacing.h: add two new constructors to match the set methods.
16201 * ShareContainer.h: new file, will perhaps be moved to support
16203 * ParameterStruct.h: new file
16205 * ParagraphParameters.h: new file
16207 * ParagraphParameters.C: new file
16209 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16210 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16212 * BufferView_pimpl.C: ParagraphParameter changes.
16213 * buffer.C: Likewise.
16214 * bufferview_funcs.C: Likewise.
16215 * text.C: Likewise.
16216 * text2.C: Likewise.
16218 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16220 * lyxfind.C (LyXReplace): do not redefine default argument in
16222 (IsStringInText): ditto
16223 (SearchForward): ditto
16224 (SearchBackward): ditto
16226 2001-03-06 Juergen Vigna <jug@sad.it>
16228 * lyxfind.C (IsStringInText): put parentes around expressions.
16230 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16232 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16234 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16236 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16238 * stl_string_fwd.h: add comment
16240 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16243 * tabular.C: remove unused DocBook methods
16249 killed DO_USE_DEFAULT_LANGUAGE
16251 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16253 * lyx_gui.C: do not include language.h.
16255 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16256 arguments in function implementation.
16258 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16260 * BufferView_pimpl.C: add <ctime>
16262 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16264 * BufferView_pimpl.C: add using std::find_if
16266 2001-02-27 José Matos <jamatos@fep.up.pt>
16268 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16271 2001-02-11 José Matos <jamatos@fep.up.pt>
16273 * buffer.C (makeDocBookFile): command styles now have a parameter as
16274 "title" by default.
16276 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16278 * layout_forms.[Ch]: removed
16279 * lyx_cb.[Ch]: out character
16280 * lyx_gui.C: out character
16281 * lyx_gui_misc.C: out character
16282 * bufferview_funcs.C: : out character,
16283 added toggleall as parameter in ToggleAndShow
16285 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16287 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16289 * text2.C (SetCurrentFont): Disable number property at boundary.
16291 2001-02-26 Juergen Vigna <jug@sad.it>
16293 * lyxfunc.C (getStatus): added a string argument override function so
16294 that this is correctly called from LyXFunc::Dispatch if it contains a
16295 do_not_use_argument which is used!
16296 (Dispatch): added check for "custom" export and call appropriate func.
16298 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16300 * lyxrc.C: Add language_command_local, language_use_babel and
16301 language_global_options.
16303 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16305 * buffer.C (makeLaTeXFile): Use language_use_babel and
16306 language_global_options.
16308 2001-02-23 Juergen Vigna <jug@sad.it>
16310 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16311 which works with LyXText and putted it inside BufferView. Here now we
16312 only call for that part the BufferView::Dispatch() function.
16314 * BufferView.C (Dispatch): added.
16316 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16317 functions which needs to use a LyXText over from LyXFunc.
16318 (MenuInsertLyXFile): added
16319 (getInsetByCode): added
16320 (moveCursorUpdate): added
16321 (static TEXT): added
16323 2001-02-22 Juergen Vigna <jug@sad.it>
16325 * BufferView_pimpl.C (update): call a status update to see if LyXText
16328 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16330 * vc-backend.C (revert): implement for CVS
16331 (getLog): implement for CVS
16333 2001-02-20 Juergen Vigna <jug@sad.it>
16335 * text2.C (ClearSelection): added BufferView param for inset_owner call
16337 * lyxfunc.C (TEXT): added this function and use it instead of
16338 directly owner->view()-text of getLyXText().
16340 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16342 * src/layout_forms.C: out preamble
16343 * src/layout_forms.h: out preamble
16344 * src/lyx_cb.C: out preamble
16345 * src/lyx_cb.h: out preamble
16346 * src/lyx_gui.C: out preamble
16347 * src/lyx_gui_misc.C: out preamble
16348 * src/lyxfunc.C: connect with guii preamble
16350 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16352 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16354 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16356 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16357 whether to run bibtex.
16359 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16361 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16363 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16365 * Makefile.am (lyx_SOURCES): removed bibforms.h
16367 * vspace.h: doxygen
16369 * text.C (GetVisibleRow): make several local vars const
16371 * tabular.C: small cleanup.
16373 * lyxserver.C (callback): use compare instead of strncmp
16375 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16376 inlines to after class or to paragraph.C
16378 * lyxfont.h: remove friend operator!=
16380 * converter.h: move friend bool operator< to non friend and after
16383 * combox.h: small cleanup
16385 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16386 to inlines after class def.
16388 * buffer.C (pop_tag): use string operations instead of strcmp
16390 * bmtable.c: doxygen, small cleanup
16392 * LaTeX.h: remove friend operator==
16394 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16406 * BufferView_pimpl.C:
16407 * BufferView.[Ch]: remove cruft
16409 2001-02-14 Juergen Vigna <jug@sad.it>
16411 * lyxfunc.C: removed #if 0 unused code
16413 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16415 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16417 * text2.C (SetSelection): added a BufferView * parameter
16419 2001-02-13 Juergen Vigna <jug@sad.it>
16421 * lyxfunc.C (Dispatch): fixed protected blank problem.
16422 * BufferView2.C (protectedBlank): added LyxText * parameter.
16424 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16425 (AppendColumn): same as above for column_info.
16427 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16428 (moveCursorUpdate): use a LyXText param for support of InsetText.
16430 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16431 (tripleClick): ditto
16433 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16435 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16437 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16439 * text2.C (SetSelection): set correct update status if inset_owner
16440 (ToggleFree): ditto
16442 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16444 * tabular.C: remove some commented code.
16446 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16448 * BufferView_pimpl.C: call hideSplash()
16450 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16453 * bibforms.h: remove
16456 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16457 add LFUN_CHILD_CREATE
16459 * counters.h: fix tiny typo
16464 * lyx.C: move splash to frontends/xforms/
16466 * lyx_gui_misc.C: move Include and Bibform to frontends
16468 * lyxvc.h: clarify comment
16470 * vspace.C: tiny housekeeping
16472 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16474 * text.C (PrepareToPrint): RTL Fix.
16476 * paragraph.C (GetUChar): New method.
16477 (String): Use GetUChar.
16479 * buffer.C (asciiParagraph): Use GetUChar.
16481 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16483 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16485 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16488 * buffer.C: rename to getLogName(), handle
16489 build log / latex log nicely
16491 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16494 * MenuBackend.h: remove support for reference menuitem type.
16496 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16498 * BufferView_pimpl.C: housekeeping
16499 * BufferView_pimpl.h:
16504 * minibuffer.h: move Timeout GUI-I
16506 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16508 * lyxrc.C (read): Update converters data-structures.
16510 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16512 * LaTeX.h (operator!=): add operator != for Aux_Info
16514 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16516 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16518 * LaTeXLog.C: deleted, useful code moved to Buffer
16521 * buffer.C: new function getLatexLogName()
16527 * lyxfunc.C: use frontends for LaTeX and VC logs
16529 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16531 * LaTeX.h: yet another std:: that Allan forgot.
16533 * Variables.C (set): renamed from isset(), because this clashes
16534 with some HP-UX macros (grr).
16536 2001-02-06 Allan Rae <rae@lyx.org>
16538 * LaTeX.h: Another bug fix. Missing std:: this time.
16540 2001-02-04 Allan Rae <rae@lyx.org>
16542 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16543 floats problem. I've left it commented out because it's not quite
16544 correct. It should also test that the current object is a table or
16545 figure inset. But I haven't gotten around to figuring out how to do
16546 that. I *think* it'll be something like: "table" == inset.type()
16548 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16551 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16553 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16554 all the citation/databases/styles in the auxilary file.
16555 (run): Rerun latex if there was a babel language error.
16557 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16559 * text.C (Backspace): Preserve the font when changing newline char
16561 (BreakParagraph): If the cursor is before a space, delete the space.
16563 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16565 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16567 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16568 new argument (code).
16569 (ChangeCitationsIfUnique): New method.
16571 * paragraph.C (GetPositionOfInset): Handle bibkey.
16573 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16575 * BufferView_pimpl.h: change type of Position::par_pos to
16576 LyXParagraph::size_type.
16578 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16580 * BufferView_pimpl.C (savePosition, restorePosition): Write
16581 messages to minibuffer.
16583 2001-01-28 José Matos <jamatos@fep.up.pt>
16585 * buffer.C (makeDocBookFile): adds support for document language.
16586 A silly restriction on the name of LatexCommand types where removed.
16587 Added support for CDATA sections, allows to chars unescaped, used
16588 among others in code, to avoid escape < and >.
16590 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16592 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16593 saved positions instrad of a stack. Furthermore, a position is
16594 stored using paragraph id/paragraph position.
16596 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16597 Remove LFUN_REF_BACK.
16599 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16601 * converter.C (dvipdfm_options): New method.
16603 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16605 * vspace.C (isValidLength): Fix for empty input string.
16607 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16609 * LyXAction.C (init): change description of LFUN_FIGURE to
16612 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16614 * LaTeX.C: add using directive
16616 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16618 * MenuBackend.C (expand): Fix the sorting of the formats.
16620 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16622 * lyx_main.C: tiny error message fix
16624 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16626 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16627 calling fl_initialize(). This fixes the problem with ',' as
16628 decimal separator in text files.
16630 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16632 * trans.C (process): Fix the keymap bug.
16634 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16636 * LaTeX.C (scanAuxFiles): New method. Provides support for
16637 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16638 (scanLogFile) Scan for "run BibTeX" messages.
16640 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16641 OT1 font encoding. Also, load the aecompl package if the ae
16644 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16646 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16648 * texrow.C (increasePos): turn two error messages into debug
16651 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16653 * LaTeX.C (scanAux): Handle the \@input macro.
16654 (runBibTeX): Use scanAux().
16656 * language.C (latex_options_): New field.
16658 * LaTeXFeatures.C (getMacros): Add language macros.
16660 * buffer.C (makeLaTeXFile): Small fix.
16662 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16664 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16666 * text2.C: add a using directive.
16668 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16673 * lyxfunc.C: kill LyXBell.
16675 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16677 * text.C (IsBoundary): Remove the error message
16679 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16681 * lyxrc.C (setDefaults): Correct initialization value for
16684 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16686 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16689 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16690 and GotoNextNote().
16692 * src/LyXAction.C: Added reference-next.
16694 * text.C (InsertChar): Use contains instead of strchr.
16696 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16698 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16700 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16701 alignment commands (when needed).
16703 * text.C (InsertChar): Add ':' to number separator chars.